I built 3.1.3 with no trouble (parallel build now works), and in "make
test" I got the usual failures with Lisp and Maxima [1]. But now I can't
even start Sage!

When I do "./sage" in the appropriate directory, I get the traceback in
the attached file. The install log is at [2]. I edited the sage script
to point to the right directory, I have a clean shell, but I still get
the error.

As before, this on an Ubuntu Intrepid amd64 system. Suggestions?

Dan

  1. 
http://groups.google.com/group/sage-devel/search?group=sage-devel&q=tests+hang+with+3.1.2
  2. http://mathsci.kaist.ac.kr/~drake/logs/install-20081015.log
-- 
---  Dan Drake <[EMAIL PROTECTED]>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake
[EMAIL PROTECTED]:/opt/sage-3.1.3$ ./sage
----------------------------------------------------------------------
| SAGE Version 3.1.3, Release Date: 2008-10-14                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

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', (25, 0))

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

/opt/sage-3.1.3/local/bin/sage-startup in <module>()
     16                 from sage.all_cmdline import *
     17 
---> 18         
_=sage.misc.interpreter.load_startup_file(os.environ["SAGE_STARTUP_FILE"])
     19 
     20 

/opt/sage-3.1.3/local/lib/python2.5/site-packages/sage/misc/interpreter.pyc in 
load_startup_file(file)
    146     if os.path.exists(file):
    147         X = do_prefilter_paste('load "%s"'%file,False)
--> 148         _ip.runlines(X)
    149     if os.path.exists('attach.sage'):
    150         X = do_prefilter_paste('attach "attach.sage"',False)

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/ipapi.pyc in 
runlines(self, lines)
    305         clean=cleanup_ipy_script(script)
    306         # print "_ip.runlines() script:\n",clean #dbg
--> 307         self.IP.runlines(clean)
    308     def to_user_ns(self,vars, interactive = True):
    309         """Inject a group of variables into the IPython user namespace.

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/iplib.pyc in 
runlines(self, lines)
   1970                 # push to raw history, so hist line numbers stay in sync
   1971                 self.input_hist_raw.append("# " + line + "\n")
-> 1972                 more = self.push(self.prefilter(line,more))
   1973                 # IPython's runsource returns None if there was an error
   1974                 # compiling the code.  This allows us to stop 
processing right

/opt/sage-3.1.3/local/lib/python2.5/site-packages/sage/misc/interpreter.pyc in 
sage_prefilter(self, block, continuation)
    414         block2 = block
    415 
--> 416     return InteractiveShell._prefilter(self, block2, continuation)
    417 
    418 

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/iplib.pyc in 
_prefilter(self, line, continue_prompt)
   2259         #print 'pre <%s> iFun <%s> rest <%s>' % (pre,iFun,theRest)  # 
dbg
   2260 
-> 2261         return prefilter.prefilter(line_info, self)
   2262 
   2263 

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/prefilter.pyc in 
prefilter(line_info, ip)
    149         handler = check(line_info, ip)
    150         if handler:
--> 151             return handler(line_info)
    152 
    153     return ip.handle_normal(line_info)

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/iplib.pyc in 
handle_magic(self, line_info)
   2355         cmd = '%s_ip.magic(%s)' % (line_info.preWhitespace,
   2356                                    make_quoted_expr(iFun + " " + 
theRest))
-> 2357         self.log(line_info.line,cmd,line_info.continue_prompt)
   2358         #print 'in handle_magic, cmd=<%s>' % cmd  # dbg
   2359         return cmd

AttributeError: 'InteractiveShell' object has no attribute 'log'
WARNING: Failure executing file: </opt/sage-3.1.3/local/bin/sage-startup>
sage: 
Exiting SAGE (CPU time 0m0.04s, Wall time 0m3.36s).

Attachment: signature.asc
Description: Digital signature

Reply via email to