[Moin-user] MoinMoin version number not updating in footer

xerofun xerofun at gmx.li
Mon Mar 18 09:49:31 EDT 2013


I had to dig this from the archives, as I didn't find my original mail to reply to it.

After updating from 1.9.4 to 1.9.7 I still see the 1.9.4 in the footer. Just like with the other
update from 1.9.3 to 1.9.4. None of the following actions changed anything: Apache restart, clearing
the cache

I checked all /usr/lib/python*.* directories and no other MoinMoin directories are present.

# find /usr/lib/ -name "MoinMoin"

I also switched to mod-wsgi after you suggested it.

All sys.path.insert() statements I changed and I was able to find, point to my configuration directory.

Where could the old version number be cached? It has to be somewhere right?

>> first of all, thanks for that great wiki software.
> :)
>> I just updated two wikis on two different servers from 1.9.3 to 1.9.4.
>> With "show_version = True"
> BTW, you can also just visit SystemInfo page (if you installed it).
>> one server is correctly showing "MoinMoin Release 1.9.4" in the page
>> footer. The other keeps showing "MoinMoin Release 1.9.3", altough I definetly used
>> moin-1.9.4.tar.gz. Also /usr/lib/python2.6/site-packages/MoinMoin/version.py shows the correct version.
> Maybe there is some other moin installation at some other place in
> sys.path. Or you have old *.pyc files (just guessing, not sure if it
> would use them if there are newer *.py files).
>> I'm using moin.cgi with Apache. /usr/bin/env python returns Python 2.6.6. There are no old libraries
>> installed anywhere.
>> I also tried to remove /usr/share/moin and /usr/lib/python2.6/site-packages/MoinMoin thus
>> reinstalling all core parts of moinmoin, but still no change. I use the standard modern theme, so
>> this is definetly not an issue of a hardcoded version number.
>> Any hints on what could be wrong?
> Well, I would look into the server adaptor script (moin.cgi maybe in
> your case, but better double check in your apache configuration / URL).
> Often there are some sys.path.insert() statements that setup the python
> search path. Just look into those directories, whether there is some
> MoinMoin/ subdirectory there.
> Also check whether it is really using python 2.6 for cgi (see the first
> line of the script). Maybe you also have some newer or older python on
> your system and it is using that (and the site-packages directory
> there).
> BTW, after solving that issue, maybe try to migrate to mod-wsgi (and
> moin.wsgi). It is relatively easy, much faster and using less disk I/O.
> WSGI is nowadays the standard way to run python web stuff.

More information about the Moin-user mailing list