View Single Post
Bug prevents loading on some OS X systems: expects case-insensitive file system
Old
dobbs
Guest
 
Status:
Posts: n/a
Exclamation Bug prevents loading on some OS X systems: expects case-insensitive file system - 02-01-2009, 02:49 PM

While trying to load Alice on my PowerBook, the title billboard will show, but Alice will not proceed any further. The Console app shows an IOException:
Code:
2/1/2009 12:19:10p [0x0-0xc10c1].edu.cmu.cs.stage3[75840] edu.cmu.cs.stage3.alice.core.ExceptionWrapper: IOException attempting to load jython-2.1/lib/alice/__init__.py
There is no 'lib' at that path, but a 'Lib' directory does exist:
Code:
[Vertigo:Contents/Required/jython-2.1] dobbs% dir
total 1432
drwxrwxrwx   4 dobbs  admin     272 May  3  2006 .
drwxrwxrwx  18 dobbs  admin     952 May  3  2006 ..
drwxrwxrwx   6 dobbs  admin    4488 May  3  2006 Lib
drwxrwxrwx   3 dobbs  admin     102 May 12  2005 cachedir
-rwxrwxrwx   1 dobbs  admin  719950 Mar 24  2003 jython.jar
-rwxrwxrwx   1 dobbs  admin    1700 Feb  5  2003 jythonLicense.txt
-rwxrwxrwx   1 dobbs  admin      34 Feb 18  2002 registry
[Vertigo:Contents/Required/jython-2.1] dobbs%
Normally, this isn't an issue on Macs as the default installation settings produce a case-insensitive file system, but some people do install that option. This affects the 2.0 release as well as the 2.2 beta.

My quick fix was to add a symbolic link to Lib named 'lib' in the jython-2.1 directory:
Code:
[Vertigo:Contents/Required/jython-2.1] dobbs% dir lib
lrwxr-xr-x  1 dobbs  admin  4 Feb  1 11:13 lib -> Lib/
[Vertigo:Contents/Required/jython-2.1] dobbs%
I don't know how comprehensive this fix is, but the editor now loads.
   
Reply With Quote