Package: python-moinmoin
Version: 1.9.0~rc2-1
Severity: normal
--- Please enter the report below this line. ---
I get the following failure after upgrading to 1.9.0.
belmer:/home/brente# moin-mass-migrate
Processing moin wiki at belmer.btv.ibm.com/profitwiki as user www-data ...
2009-12-07 11:39:19,392 WARNING MoinMoin.log:139 using logging configuration
read from built-in fallback in MoinMoin.log module!
2009-12-07 11:39:19,516 INFO MoinMoin.config.multiconfig:93 using farm config:
/etc/moin/farmconfig.pyc
Traceback (most recent call last):
File "/usr/bin/moin", line 5, in <module>
run()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/moin.py", line 15, in run
MoinScript().run(showtime=0)
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 138, in
run
self.mainloop()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 253, in
mainloop
plugin_class(args[2:], self.options).run() # all starts again there
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 138, in
run
self.mainloop()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/migration/data.py", line
36, in mainloop
self.init_request()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 178, in
init_request
self.request = ScriptContext(url, self.options.page)
File "/usr/lib/pymodules/python2.5/MoinMoin/web/contexts.py", line 426, in
__init__
wsgiapp.init(self)
File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 33, in init
context.lang = setup_i18n_preauth(context)
File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 215, in
setup_i18n_preauth
i18n.i18n_init(context)
File "/usr/lib/pymodules/python2.5/MoinMoin/i18n/__init__.py", line 72, in
i18n_init
meta_cache = caching.CacheEntry(request, 'i18n', 'meta', scope='wiki',
use_pickle=True)
File "/usr/lib/pymodules/python2.5/MoinMoin/caching.py", line 71, in __init__
self.arena_dir = get_arena_dir(request, arena, scope)
File "/usr/lib/pymodules/python2.5/MoinMoin/caching.py", line 32, in
get_arena_dir
return os.path.join(request.cfg.cache_dir, request.cfg.siteid, arena)
File "/usr/lib/pymodules/python2.5/MoinMoin/web/contexts.py", line 56, in get
res = obj.environ.setdefault(self.name, factory(obj))
File "/usr/lib/pymodules/python2.5/MoinMoin/web/contexts.py", line 132, in cfg
raise NotFound('<p>No wiki configuration matching the URL found!</p>')
werkzeug.exceptions.NotFound: 404 Not Found
Processing moin wiki at belmer.btv.ibm.com/profitwiki as user www-data failed
with code 256
Processing moin wiki at belmer.btv.ibm.com/infrawiki as user www-data ...
2009-12-07 11:39:19,563 WARNING MoinMoin.log:139 using logging configuration
read from built-in fallback in MoinMoin.log module!
2009-12-07 11:39:19,686 INFO MoinMoin.config.multiconfig:93 using farm config:
/etc/moin/farmconfig.pyc
Traceback (most recent call last):
File "/usr/bin/moin", line 5, in <module>
run()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/moin.py", line 15, in run
MoinScript().run(showtime=0)
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 138, in
run
self.mainloop()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 253, in
mainloop
plugin_class(args[2:], self.options).run() # all starts again there
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 138, in
run
self.mainloop()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/migration/data.py", line
36, in mainloop
self.init_request()
File "/usr/lib/pymodules/python2.5/MoinMoin/script/__init__.py", line 178, in
init_request
self.request = ScriptContext(url, self.options.page)
File "/usr/lib/pymodules/python2.5/MoinMoin/web/contexts.py", line 426, in
__init__
wsgiapp.init(self)
File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 33, in init
context.lang = setup_i18n_preauth(context)
File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 215, in
setup_i18n_preauth
i18n.i18n_init(context)
File "/usr/lib/pymodules/python2.5/MoinMoin/i18n/__init__.py", line 72, in
i18n_init
meta_cache = caching.CacheEntry(request, 'i18n', 'meta', scope='wiki',
use_pickle=True)
File "/usr/lib/pymodules/python2.5/MoinMoin/caching.py", line 71, in __init__
self.arena_dir = get_arena_dir(request, arena, scope)
File "/usr/lib/pymodules/python2.5/MoinMoin/caching.py", line 32, in
get_arena_dir
return os.path.join(request.cfg.cache_dir, request.cfg.siteid, arena)
File "/usr/lib/pymodules/python2.5/MoinMoin/web/contexts.py", line 56, in get
res = obj.environ.setdefault(self.name, factory(obj))
File "/usr/lib/pymodules/python2.5/MoinMoin/web/contexts.py", line 132, in cfg
raise NotFound('<p>No wiki configuration matching the URL found!</p>')
werkzeug.exceptions.NotFound: 404 Not Found
Processing moin wiki at belmer.btv.ibm.com/infrawiki as user www-data failed
with code 256
belmer:/home/brente#
My /etc/moin/wikilist contains the following like it always has.
www-data belmer.btv.ibm.com/profitwiki
www-data belmer.btv.ibm.com/infrawiki
My farmconfig.py contains this:
wikis = [
# Standalone server needs the port e.g. localhost:8000
# Twisted server can now use the port, too.
# wikiname, url regular expression (no protocol)
# ---------------------------------------------------------------
#("profitwiki", r".*"), # this is ok for a single wiki #bse 3-20-2007
("profitwiki", r"^belmer.btv.ibm.com/profitwiki.*$"), #to add infrawiki
bse 4-4-2008
("infrawiki", r"^belmer.btv.ibm.com/infrawiki.*$"), #to add infrawiki
bse 4-4-2008
("profitwiki", r"^belmer/profitwiki.*$"), #to add infrawiki bse 4-4-2008
("infrawiki", r"^belmer/infrawiki.*$"), #to add infrawiki bse 4-4-2008
# for multiple wikis, do something like this:
#("moinmoin", r"^moinmo.in/.*$"),
#("moinmaster", r"^master.moinmo.in/.*$"),
]
I found this in README.migration.gz:
Converting your DATA when upgrading MoinMoin
============================================
1.9.x migration
===============
If you use the moin 1.9.x code to do the migration, you need to give the
complete url (with protocol etc.): --wiki-url=http://wiki.example.org/
So I changed my wikilist to this:
www-data http://belmer.btv.ibm.com/profitwiki/
www-data http://belmer.btv.ibm.com/infrawiki/
I get the same errors when I run moin-mass-migrate with the full url.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.30.091104
Debian Release: squeeze/sid
500 testing www.debian-multimedia.org
500 testing security.debian.org
500 testing debian.linux.ibm.com
500 jaunty ppa.launchpad.net
--- Package information. ---
Depends (Version) | Installed
====================================-+-============
python (>= 2.4) | 2.5.4-2
python-support (>= 0.90.0) | 1.0.4
python-werkzeug | 0.5.1-1
python-pygments | 1.1.1+dfsg-2
python-parsedatetime | 0.8.7-1
Recommends (Version) | Installed
===================================-+-===========
default-mta |
OR mail-transport-agent |
python-xapian | 1.0.17-1
python-xappy |
fckeditor | 1:2.6.5-1
Suggests (Version) | Installed
======================================-+-============
apache2 | 2.2.14-2
OR httpd-cgi |
OR libapache2-mod-python |
OR python-twisted-web | 8.2.0-2
OR libapache2-mod-fcgid |
OR libapache2-mod-fastcgi |
python-flup |
python-4suite-xml |
python-xml | 0.8.4-10.1
python-gdchart |
python-docutils (>= 0.3.10) |
python-pyxmpp |
python-openid |
python-tz | 2009p-1
python-ldap | 2.3.10-1
python-mysqldb |
miscfiles |
OR wordlist |
antiword |
catdoc |
smbfs | 2:3.4.3-1
poppler-utils | 0.12.2-2
OR xpdf-utils |
docbook-dsssl |
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]