= Description =

Reported by Uche Ogbuji.

Running MoinMoin 1.7 on OS X results in a Traceback such as attached: [[attachment: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 ==
## Describe the steps needed to reproduce the bug. If we can't reproduce it, we  probably can't fix it.
 1. Install 1.7rc2 on Mac OS X Leopard
 2. run it (`python wikiserver.py`)
 3. Try to go to localhost:8080 -> Traceback

== Example ==
##Add URL that show the bug, screenshot or test wiki markup that fail...

##URL: 

##attachment:screenshot.png

##{{{
##Example wiki markup that fail
##}}}

== Component selection ==

## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ...

 * general

== Details ==

## If you got a traceback, please save the traceback page as html and attach here:
## attachment:traceback.html


== Workaround ==
## How to deal with the bug until it is fixed

Use patch in description.

= Discussion =

Cannot reproduce this error. Moin1.7rc2 runs fine on my Mac (10.5.2) -- OliverSiemoneit <<DateTime(2008-06-07T16:48:42+0100)>>


= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to:
 * Status: fixed by http://hg.moinmo.in/moin/1.7/rev/8772197c9262 - thanks for the patch!

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBugFixed