Description

moin maint reducewiki needs an exception for AttributeError

Traceback (most recent call last):
  File "/usr/local/bin/moin", line 6, in <module>
    run()
  File "/usr/local/lib/python2.6/dist-packages/MoinMoin/script/moin.py", line 15, in run
    MoinScript().run(showtime=0)
  File "/usr/local/lib/python2.6/dist-packages/MoinMoin/script/__init__.py", line 138, in run
    self.mainloop()
  File "/usr/local/lib/python2.6/dist-packages/MoinMoin/script/__init__.py", line 253, in mainloop
    plugin_class(args[2:], self.options).run() # all starts again there
  File "/usr/local/lib/python2.6/dist-packages/MoinMoin/script/__init__.py", line 138, in run
    self.mainloop()
  File "/usr/local/lib/python2.6/dist-packages/MoinMoin/script/maint/reducewiki.py", line 90, in mainloop
    self.copypage(request, destdir, pagename)
  File "/usr/local/lib/python2.6/dist-packages/MoinMoin/script/maint/reducewiki.py", line 59, in copypage
    pagedir = os.path.join(rootdir, 'pages', wikiutil.quoteWikinameFS(pagename))
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Example

Component selection

Details

MoinMoin Version

1.9

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/ReducewikiTraceback (last edited 2010-05-25 13:45:32 by ReimarBauer)