This is still a problem in Sage 5.5, and on linux 64-bit. Have you found a workaround?
Cheers
Stan
On Friday, November 23, 2012 10:01:18 PM UTC+1, Andre, der Besonnene wrote:
I'm trying to update to sage 5.4.1. When I start a notebook without a directory parameter, everything goes fine. But if I want to start a notebook with:
sage: notebook(directory="/home/sage/s/",interface='')
I get an error message.
....
Executing twistd --pidfile="s/sagenb.pid" -ny "s.sagenb/twistedconf.tac"
/\/\/\/\/\/\
.....
2012-11-23 21:31:23+0100 [-] File "/opt/sage/sage-5.4.1-linux-32bit-ubuntu_12.04.1_lts-i686-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/scripts/_twistd_unix.py", line 293, in setupEnvironment
2012-11-23 21:31:23+0100 [-] f = open(pidfile,'wb')
2012-11-23 21:31:23+0100 [-] IOError: [Errno 2] No such file or directory: '/home/sage/s/sagenb.pid'
..... /\/\/\/\/\
There is indeed no file /./../s/sagenb.pid, because sage creates a directory /./../s.sagenb/ .
greetings/Liebe Grüße aus dem nebeligen Seewinkel
Andre