Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bug prevents loading on some OS X systems: expects case-insensitive file system
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:
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/
There is no 'lib' at that path, but a 'Lib' directory does exist:
[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:
[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

bug report, mac

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.