2010/5/12 Jérôme Tremblay <jerome.tremb...@gmail.com>: > I am unable to run GAP from a network account on my mac. > > sage: gap('(1,2,3)') > > raise an exception. > > sage: gap_console() > > gives a little more information: > > Couldn't open saved workspace /Network/Servers/hostname.ca/Users/ > tremblayj/.sage//gap/workspace-4762775528093915922 > > When I use a local account, everything works fine. > > Can anyone help me? > > > > > Full session: > > sage: gap('(1,2,3)') > --------------------------------------------------------------------------- > TypeError Traceback (most recent call > last) > > /Network/Servers/thales.math.uqam.ca/Users/tremblayj/<ipython console> > in <module>() > > /Library/sage/local/lib/python2.6/site-packages/sage/interfaces/ > expect.py in __call__(self, x, name) > 1030 > 1031 if isinstance(x, basestring): > -> 1032 return cls(self, x, name=name) > 1033 try: > 1034 return self._coerce_from_special_method(x) > > /Library/sage/local/lib/python2.6/site-packages/sage/interfaces/ > expect.py in __init__(self, parent, value, is_name, name) > 1449 except (TypeError, KeyboardInterrupt, > RuntimeError, ValueError), x: > 1450 self._session_number = -1 > -> 1451 raise TypeError, x > 1452 self._session_number = parent._session_number > 1453 > > TypeError: Unable to start gap > sage: gap_console() > Couldn't open saved workspace /Network/Servers/thales.math.uqam.ca/ > Users/tremblayj/.sage//gap/workspace-4762775528093915922 > sage: version() > 'Sage Version 4.4.1, Release Date: 2010-05-02' > sage:
I created a ticket with a patch: http://trac.sagemath.org/sage_trac/ticket/9938 Basically, GAP does not start if the path to the GAP workspace file contains more than 82 characters. Franco -- -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org