On Wednesday 09 May 2007 07:35, Brian Harris wrote:
> Quotes didn't change the behavior for that script. However I get part-
> way through the example.sage script before the error:
I get the same error with a fresh 2.5 install. ipython is at version 0.8.0.
sage: version()
'SAGE Version 2.5, Release Date: 2007-05-08'
sage: attach "ctc.py"
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'> Traceback (most recent call last)
/home/malb/Uni/ctc/code/<ipython console> in <module>()
/home/malb/sage-2.5/local/lib/python2.5/site-packages/IPython/iplib.py in
ipmagic(self, arg_s)
955 else:
956 magic_args = self.var_expand(magic_args,1)
--> 957 return fn(magic_args)
958
959 def ipalias(self,arg_s):
/home/malb/sage-2.5/local/lib/python2.5/site-packages/IPython/Magic.py in
magic_run(self, parameter_s, runner)
1674 if restore_main:
1675 sys.modules['__main__'] = restore_main
-> 1676 self.shell.reloadhist()
1677
1678 return stats
/home/malb/sage-2.5/local/lib/python2.5/site-packages/IPython/iplib.py in
reloadhist(self)
1255
1256 if self.has_readline:
-> 1257 self.readline.clear_history()
1258 self.readline.read_history_file(self.shell.histfile)
1259
Martin
--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---