Mariano, Try an absolute path, I have had similar problems. BTW, starting a VM as user X accessing a startup file belonging to user Y doesn't seem to work either (even if Unix permissions would allow it). Sven On 24 Aug 2010, at 12:01, Mariano Martinez Peck wrote:
Hi...I was running a pharo headless in Mac OS running something like this:
./Pharo/VM/Squeak\ 4.2.5beta1U.app/Contents/MacOS/Squeak\ VM\ Opt -headless Pharo/imagenes/Pharo-1.1-11411dev10.07.1/Pharo-1.1-11411dev10.07.1.image spaceTally.st
And I come to the problem that there is an error while trying to process spaceTally.st. This file is a text file that just contains "SpaceTally new printSpaceAnalysis"
Now....to conclude, the problem is that according to the wonderful and nice CodeLoader (I really hate this class...I promise I will do something with it) this:
'file:spaceTally.st' asUrl retrieveContents
should answer me the contents ("SpaceTally new printSpaceAnalysis") ...but instead nil is returned.
The file exist.
Is this wrong? is it expected? how can I fix it ?
Thanks!!
Mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project