Description
Reported by Uche Ogbuji.
Running MoinMoin 1.7 on OS X results in a Traceback such as attached: mointraceback.txt .
This seems to be a regression of an old bug I found here: http://sagemath.org:9002/sage_trac/ticket/104
The same fix is applicable. Here is an updated patch:
--- /Users/uche/lib/python2.5/site-packages/MoinMoin/util/filesys.py 2008-05-17 12:32:28.000000000 -0600 +++ MoinMoin/util/filesys.py 2008-06-07 09:12:30.000000000 -0600 @@ -212,8 +212,11 @@ """ try: from Carbon import File + except ImportError: + return None + try: return File.FSRef(path).as_pathname() - except (ImportError, File.Error): + except File.Error: return None else:
Steps to reproduce
- Install 1.7rc2 on Mac OS X Leopard
run it (python wikiserver.py)
Try to go to localhost:8080 -> Traceback
Example
Component selection
- general
Details
Workaround
Use patch in description.
Discussion
Cannot reproduce this error. Moin1.7rc2 runs fine on my Mac (10.5.2) -- OliverSiemoneit 2008-06-07 15:48:42
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.7/rev/8772197c9262 - thanks for the patch!