On 8/27/10 7:15 AM, Jason Grout wrote:
I have a campus sage server setup in which I use the server_pool option.
My sage directory is rw for the notebook server, but only readable for
the server_pool users. I'm having a problem starting maxima from the
server_pool users:

sageser...@sage:~$ ssh sa...@localhost # ssh into one of the server_pool
users
sa...@sage:~$ ~sageserver/sage/sage -maxima
User sage0
;;; Loading #P"/home/sageserver/sage/local/lib/ecl/defsystem.fas"
;;; Loading #P"/home/sageserver/sage/local/lib/ecl/cmp.fas"
;;; Loading #P"/home/sageserver/sage/local/lib/ecl/sysfun.lsp"
Maxima encountered a Lisp error:

NIL is not of type (OR FILE-STREAM STRING PATHNAME).

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.

THROW: The catch RETURN-FROM-DEBUGGER is undefined.
No restarts available.

Broken at MAXIMA-LISP-DEBUGGER.
File:
"/home/sageserver/sage-4.5.2/spkg/build/maxima-5.20.1.p0/src/src/macsys.lisp"
(Position #18281)
MAXIMA>>


Does anyone know where this problem might be coming from? Is it an issue
with the sage directory being readable, but not writeable, by the
server_pool users?

Of course, the problem with launching maxima means that Sage locks up
when doing integrals, for example.


Here's a short answer fix, though I'm not happy with it:

I made my server_pool user have the same group as the notebook server user. It appears that there is a .cache folder in the notebook server user's home folder which contains some ECL-related files, and ECL throws errors if it can't find those.

I'll try to track this down when I have more time.

Thanks,

Jason


--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to