Cannot run Sage

10 views
Skip to first unread message

A. Akbar Hidayat

unread,
Jan 29, 2010, 10:21:45 PM1/29/10
to sage-s...@googlegroups.com
Hi guyz...

im using the binary version of sage for Arch Linux. However, when i run sage, i got a long error message. I post the error message on the attachment.

I was able to use sage before, without any error. But the error occured this morning. so im actually confused why i got the error.

Thanks in advance
error.txt

Alex Ghitza

unread,
Jan 30, 2010, 2:01:45 AM1/30/10
to sage-s...@googlegroups.com

Hi,

If you got the binary version of sage-4.3.1 for 32-bit Arch Linux from
the downloads web page, it's the one I built on my system. And sure
enough, I had the same problem as you yesterday.

Let me guess: did you update your system? In particular, did you
upgrade your gcc from 4.4.2 to 4.4.3 recently? Somehow that messes
things up (I'm not sure why). In any case, I had to rebuild Sage from
scratch on my machine.

I will make a new binary distribution and upload it somewhere, and I'll
send you the link when that's done.


Best,
Alex

> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to sage-support...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
Non-text part: text/html
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook
> 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', (69, 0))
>
> 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', (47, 0))
>
> ---------------------------------------------------------------------------
> RuntimeError Traceback (most recent call last)
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/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
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/bin/ipy_profile_sage.py in <module>()
> 5 preparser(True)
> 6
> ----> 7 import sage.all_cmdline
> 8 sage.all_cmdline._init_cmdline(globals())
> 9
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/all_cmdline.py in <module>()
> 12 try:
> 13
> ---> 14 from sage.all import *
> 15 from sage.calculus.predefined import x
> 16 preparser(on=True)
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/all.py in <module>()
> 62 get_sigs()
> 63
> ---> 64 from sage.misc.all import * # takes a while
> 65
> 66 from sage.misc.sh import sh
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/misc/all.py in <module>()
> 68 from sage_eval import sage_eval, sageobj
> 69
> ---> 70 from sage_input import sage_input
> 71
> 72 from cython import cython_lambda, cython_create_local_so
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/misc/sage_input.py in <module>()
> 161 """
> 162
> --> 163 from sage.misc.functional import parent
> 164 import math
> 165
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/misc/functional.py in <module>()
> 35
> 36
> ---> 37 from sage.rings.complex_double import CDF
> 38 from sage.rings.real_double import RDF, RealDoubleElement
> 39
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/bin/complex_double.pyx in init sage.rings.complex_double (sage/rings/complex_double.c:14299)()
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc in ComplexField(prec, names)
> 84 if not C is None:
> 85 return C
> ---> 86 C = ComplexField_class(prec)
> 87 cache[prec] = weakref.ref(C)
> 88 return C
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc in __init__(self, prec)
> 175 ParentWithGens.__init__(self, self._real_field(), ('I',), False)
> 176 # self._populate_coercion_lists_()
>
> --> 177 self._populate_coercion_lists_(coerce_list=[complex_number.RRtoCC(self._real_field(), self)])
> 178
> 179 def __reduce__(self):
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_number.so in sage.rings.complex_number.RRtoCC.__init__ (sage/rings/complex_number.c:12936)()
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/categories/map.so in sage.categories.map.Map.__init__ (sage/categories/map.c:1962)()
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/categories/homset.pyc in Hom(X, Y, category)
> 150 # For the moment, this is the category, for compatibility with the current implementations
>
> 151 # of Homset in rings, schemes, ...
>
> --> 152 H = category.hom_category().parent_class(X, Y, category = category)
> 153
> 154 ##_cache[key] = weakref.ref(H)
>
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/categories/rings.pyc in __new__(cls, X, Y, category)
> 115 <class 'sage.rings.number_field.morphism.CyclotomicFieldHomset_with_category'>
> 116 """
> --> 117 from sage.rings.homset import RingHomset
> 118 return RingHomset(X, Y, category = category)
> 119
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/rings/homset.pyc in <module>()
> 15
> 16 import morphism
> ---> 17 import quotient_ring
> 18
> 19 def is_RingHomset(H):
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/rings/quotient_ring.pyc in <module>()
> 30 import commutative_ring
> 31 import ideal
> ---> 32 import sage.rings.polynomial.multi_polynomial_ideal
> 33 import sage.structure.parent_gens
> 34 from sage.interfaces.all import singular as singular_default, is_SingularElement
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/rings/polynomial/multi_polynomial_ideal.py in <module>()
> 227 from __future__ import with_statement
> 228
> --> 229 from sage.interfaces.all import (singular as singular_default,
> 230 macaulay2 as macaulay2_default,
> 231 magma as magma_default)
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/all.py in <module>()
> 6
> 7 from expect import is_ExpectElement
> ----> 8 from gap import gap, gap_reset_workspace, gap_console, gap_version, is_GapElement, Gap
> 9 from genus2reduction import genus2reduction, Genus2reduction
> 10 from gfan import gfan, Gfan
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in <module>()
> 985 #print "Automatically updating the cached Gap workspace:"
>
> 986 #print WORKSPACE
>
> --> 987 gap_reset_workspace(verbose=False)
> 988
> 989 # Delete all gap workspaces that haven't been used in at least 1
>
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in gap_reset_workspace(max_workspace_size, verbose)
> 976 pass
> 977 # end for
>
> --> 978 g.eval('SaveWorkspace("%s");'%WORKSPACE)
> 979
> 980
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in eval(self, x, newlines, strip, **kwds)
> 478 input_line += ';'
> 479
> --> 480 result = Expect.eval(self, input_line, **kwds)
> 481
> 482 if not newlines:
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, **kwds)
> 981 try:
> 982 with gc_disabled():
> --> 983 return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != ''])
> 984 except KeyboardInterrupt:
> 985 # DO NOT CATCH KeyboardInterrupt, as it is being caught
>
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in _eval_line(self, line, allow_use_file, wait_for_prompt)
> 683 try:
> 684 if self._expect is None:
> --> 685 self._start()
> 686 E = self._expect
> 687 #import pdb; pdb.set_trace()
>
>
> /media/data/sage-4.3.1-archlinux-32bit-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in _start(self)
> 360 self._session_number = n
> 361 return
> --> 362 raise RuntimeError, msg
> 363
> 364 if self.__use_workspace_cache and self.__make_workspace:
>
> RuntimeError: Unable to start gap
> Error importing ipy_profile_sage - perhaps you should run %upgrade?
> WARNING: Loading of ipy_profile_sage failed.

--
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

Alex Ghitza

unread,
Jan 30, 2010, 8:06:29 AM1/30/10
to sage-s...@googlegroups.com
On Sat, 30 Jan 2010 18:01:45 +1100, Alex Ghitza <agh...@gmail.com> wrote:
>
> I will make a new binary distribution and upload it somewhere, and I'll
> send you the link when that's done.
>

It's basically done; I am getting it compressed with lzma right now, so
it should be ready in about 30 minutes, and available at

http://sage.math.washington.edu/home/ghitza/sage-archlinux-32bit-4.3.1-i686-Linux-gcc-4.4.3.tar.lzma


Best,
Alex


>
> On Sat, 30 Jan 2010 10:21:45 +0700, "A. Akbar Hidayat" <ker...@gmail.com> wrote:
> > Hi guyz...
> >
> > im using the binary version of sage for Arch Linux. However, when i run
> > sage, i got a long error message. I post the error message on the
> > attachment.
> >
> > I was able to use sage before, without any error. But the error occured this
> > morning. so im actually confused why i got the error.
> >

keripix

unread,
Jan 30, 2010, 11:12:54 AM1/30/10
to sage-support
> Let me guess: did you update your system? In particular, did you
> upgrade your gcc from 4.4.2 to 4.4.3 recently? Somehow that messes
> things up (I'm not sure why). In any case, I had to rebuild Sage from
> scratch on my machine.

yes...you are correct.

> It's basically done; I am getting it compressed with lzma right now, so
> it should be ready in about 30 minutes, and available at

> http://sage.math.washington.edu/home/ghitza/sage-archlinux-32bit-4.3....

> Best,
> Alex

ok..thank you very much..this is great..

Drini

unread,
Feb 2, 2010, 12:16:52 PM2/2/10
to sage-support

On Jan 30, 7:06 am, Alex Ghitza <aghi...@gmail.com> wrote:


> On Sat, 30 Jan 2010 18:01:45 +1100, Alex Ghitza <aghi...@gmail.com> wrote:
>
> > I will make a new binary distribution and upload it somewhere, and I'll
> > send you the link when that's done.
>
> It's basically done; I am getting it compressed with lzma right now, so
> it should be ready in about 30 minutes, and available at
>

> http://sage.math.washington.edu/home/ghitza/sage-archlinux-32bit-4.3....
>
> Best,
> Alex
>
>
>
Is it still up? If not, a fix is available somewhere? I just ran into
this problem (arch 32bit also) today

Alex Ghitza

unread,
Feb 2, 2010, 4:01:50 PM2/2/10
to sage-s...@googlegroups.com
On Tue, 2 Feb 2010 09:16:52 -0800 (PST), Drini <pdsa...@gmail.com> wrote:
>
> Is it still up? If not, a fix is available somewhere? I just ran into
> this problem (arch 32bit also) today
>

Yes, try

http://modular.math.jmu.edu/linux/32bit/sage-4.3.1-fat-archlinux-i686-Linux.tar.lzma

(Other mirrors might have it as well by now.)


Best,
Alex

Harald Schilly

unread,
Feb 2, 2010, 5:15:49 PM2/2/10
to sage-support
On Feb 2, 10:01 pm, Alex Ghitza <aghi...@gmail.com> wrote:
> (Other mirrors might have it as well by now.)

I'm afraid, no. They have shut down the master server more than a day
ago, I don't know what has happened ... :(

H

Reply all
Reply to author
Forward
0 new messages