Description
belongs to 1.6dev
moin --config-dir=/usr/share/moin/mywiki --wiki-url=localhost/mywiki maint reducewiki
failed and gives
Traceback (most recent call last): File "/usr/bin/moin", line 6, in ? run() File "/usr/lib/python2.4/site-packages/MoinMoin/script/moin.py", line 15, in run MoinScript().run(showtime=0) File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 137, in run self.mainloop() File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 244, in mainloop plugin_class(args[2:], self.options).run() # all starts again there File "/usr/lib/python2.4/site-packages/MoinMoin/script/__init__.py", line 137, in run self.mainloop() File "/usr/lib/python2.4/site-packages/MoinMoin/script/maint/reducewiki.py", line 77, in mainloop self.copypage(request, destdir, pagename) File "/usr/lib/python2.4/site-packages/MoinMoin/script/maint/reducewiki.py", line 45, in copypage pagedir = os.path.join(rootdir, 'pages', wikiutil.quoteWikinameFS(pagename)) File "/usr/lib/python2.4/posixpath.py", line 62, in join elif path == '' or path.endswith('/'): AttributeError: 'NoneType' object has no attribute 'endswith'
Component selection
1.6dev
- general
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
moin --config-dir=/usr/share/moin/mywiki --wiki-url=localhost/mywiki maint reducewiki --target-dir=/tmp/target
Discussion
Plan
- Priority:
- Assigned to:
- Status: no bug, just missing target-dir