I just compiled Sage 3.2.2 on a Linux 32 bit machine running the
latest SLED distribution. I also have Magma installed on this machine.
When I log in as a user "george" and try to evaluate 2+2 within a Sage
notebook by using Magma, I get the following error message. On the
other hand, Maple works fine.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/george/.sage/sage_notebook/worksheets/admin/2/code/
3.py", line 6, in <module>
    print _support_.syseval(magma, ur'''3*9''', '/home/george/.sage/
sage_notebook/worksheets/admin/2/cells/2')
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
server/support.py", line 317, in syseval
    system.chdir(dir)
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
interfaces/magma.py", line 700, in chdir
    magma.eval('ChangeDirectory("%s")'%dir)
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
interfaces/magma.py", line 387, in eval
    ans = Expect.eval(self, x).replace('\\\n','')
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
interfaces/expect.py", line 937, in eval
    return '\n'.join([self._eval_line(L, **kwds) for L in code.split
('\n') if L != ''])
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
interfaces/expect.py", line 633, in _eval_line
    self._start()
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
interfaces/magma.py", line 410, in _start
    self.attach_spec(MAGMA_SPEC)
  File "/usr/local/sage-3.2.3/local/lib/python2.5/site-packages/sage/
interfaces/magma.py", line 749, in attach_spec
    raise RuntimeError, s.strip()
RuntimeError: While attempting to compile /usr/local/sage-3.2.3/data/
extcode//magma/latex/latex.m (Data file non-existent):
Can't open lock file /usr/local/sage-3.2.3/data/extcode//magma/latex/
latex.lck for writing (Permission denied)

While attempting to compile /usr/local/sage-3.2.3/data/extcode//magma/
sage/basic.m (Data file non-existent):
Can't open lock file /usr/local/sage-3.2.3/data/extcode//magma/sage/
basic.lck for writing (Permission denied

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

Reply via email to