[moin-user] Migrate from 1.8.1 to 1.9.9

Paul Boddie paul at boddie.org.uk
Sat Jul 8 14:51:56 EDT 2017


On Saturday 8. July 2017 19.39.30 Karl Auer wrote:
> 
> In the Apache error log, I see only two likely candidates. The first is
> only a warning:
> 
> WARNING MoinMoin.log:112 /usr/local/lib/python2.7/dist-
> packages/MoinMoin/support/werkzeug/filesystem.py:63:
> BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will
> use UTF-8 as filesystem encoding instead of 'ANSI_X3.4-1968'

This reminds me of discussions in the Python core development community, but I 
think they only concern Python 3, unless they're planning to backport them to 
Python 2.7 and break people's code.

> The second seems to be more serious (I've removed syslog prefixes, pids
> and tids for readability, and elided most of the traceback):
> 
> [wsgi:error] 2017-07-09 02:40:10,510 ERROR MoinMoin.wsgiapp:281 An
> exception has occurred [http://otherpi/].
> [wsgi:error] [remote 192.168.1.142:54646] Traceback (most recent call
> last):
> [wsgi:error] [remote 192.168.1.142:54646]   File
> "/usr/local/lib/python2.7/dist-
> packages/MoinMoin/support/werkzeug/wsgi.py", line 599, in __call__[...]
> [wsgi:error] File "/usr/local/lib/python2.7/dist-
> packages/MoinMoin/Page.py", line 1030, in parse_processing_instructions
> [wsgi:error]     if args in i18n.wikiLanguages():
> [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_iterable

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.

Paul


More information about the moin-user mailing list