> Sorry I got the ticket number wrong somehow. I meant #10469 as
> a potential culprit for my sage-gdb problems.
> 
Just some more fun:
/local/bin/sage-ipython ERROR: An unexpected error occurred while tokenizing 
input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (49, 0))

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)

/home/work/fbissey/sandbox/sage-4.7.1.alpha1/local/lib/python2.6/site-
packages/IPython/ipmaker.pyc in force_import(modname)
     64         reload(sys.modules[modname])
     65     else:
---> 66         __import__(modname)
     67 
     68 

/home/work/fbissey/sandbox/sage-4.7.1.alpha1/local/bin/ipy_profile_sage.py in 
<module>()
      9 
     10     _ip.ex('from sage.all import Integer, RealNumber')
---> 11     os.chdir(os.environ["CUR"])
     12     import sage.misc.interpreter
     13 

/home/work/fbissey/sandbox/sage-4.7.1.alpha1/local/lib/python/UserDict.pyc in 
__getitem__(self, key)
     20         if hasattr(self.__class__, "__missing__"):
     21             return self.__class__.__missing__(self, key)
---> 22         raise KeyError(key)
     23     def __setitem__(self, key, item): self.data[key] = item
     24     def __delitem__(self, key): del self.data[key]

KeyError: 'CUR'
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.


In [1]: quit()
Do you really want to exit ([y]/n)? y
Exiting Sage (CPU time 0m0.05s, Wall time 0m7.35s).

But 
CUR="." ./local/bin/sage-ipython 

In [2]: quit
Do you really want to exit ([y]/n)? y
Exiting Sage (CPU time 0m0.03s, Wall time 0m4.80s).

Is ok. Just adding CUR for sage-gdb doesn't help, adding DOT_SAGE doesn't help 
either (in previous experience it had been useful to set for some reason).

Francois

This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

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

Reply via email to