[moin-user] Migrate from 1.8.1 to 1.9.9

Karl Auer kauer at biplane.com.au
Sat Jul 8 21:09:09 EDT 2017


On Sat, 2017-07-08 at 20:51 +0200, Paul Boddie wrote:
> > [wsgi:error] TypeError: argument of type 'NoneType' is not iterable
> I hate this error! Every time I encounter it, I cannot remember what
> the cause of it is.
> 
> https://moinmo.in/MoinMoinBugs/argument_of_type_'NoneType'_is_not_ite
> rable

Thanks. I've had a look at that page. And made progress, see end of
this email.

The cache was cleaned using "sudo python /usr/local/lib/python2.7/dist-
packages/MoinMoin/script/moin.py --config-dir=/usr/local/share/moin --
wiki-url=localhost maint cleancache"

Every file in the entire tree below /usr/local/share/moin is readable
and writeable by www-data:www-data.

I don't understand "moin migration data". I'm guessing it is shorthand
for:

sudo python /usr/local/lib/python2.7/dist-
packages/MoinMoin/script/moin.py --config-dir=/usr/local/share/moin --
wiki-url=localhost migration data"

Can you confirm, or gove me a little more info on the exact procedure there?

> If it isn't filesystem permissions within data/cache, then it could
> be old cache files that have not been eliminated, or it could be .pyc
> files from older libraries within the MoinMoin package.

Unless there is code inside the data directory, the installation is a
clean 1.9.9 install, with only my data replacing the default data. That
does include the languages though... and wikiconfig.py.

I've been over and over wikiconfig.py and apache has been multiply
restarted...

Now to progress:

More or less on a hunch, I wiped my install back to clean (I kept a
copy of the clean install), copied my data into the data directory,
then copied the clean install's version of data/cache/wikiconfig over
mine. That replaced the i18n and surgeprotect directories. Ran "maint
cleancache" again and reset the permissions again, and my site now
works!

With one fairly big exception: No editor. All I get is the option to
edit text. Preferences are set to "free choice".

Any clues on where the editor is hiding?

Regards, K

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B




More information about the moin-user mailing list