On Sun, May 31, 2009 at 7:14 AM, Janzo <[email protected]> wrote:
>
> Hello,
> I'm running the latest binaries of sagemath, this is the error I get,
> and I have no idea how to fix it and make it run. I'm afraid this is a
> newbie question, and sure the fix is obvious but I can't figure it.
> Could you help me please?


1. Try sage-4.0, which was just released.

2. Tell us as much information as you can about (a) what computer and
OS you are using, and (b) which binary you downloaded for it,
including the exact size of the file and if there were any errors when
you extracted it.

William

> Thanks a lot.
> (python and gap are intalled already)
>
> ----------------------------------------------------------------------
> | Sage Version 3.4.2, Release Date: 2009-05-05                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> The SAGE install tree may have moved.
> Regenerating Python.pyo and .pyc files that hardcode the install PATH
> (please wait at
> most a few minutes)...
> Do not interrupt this.
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call
> last)
>
> /home/ene/sage/local/lib/python2.5/site-packages/IPython/ipmaker.py in
> force_import(modname)
>     64         reload(sys.modules[modname])
>     65     else:
> ---> 66         __import__(modname)
>     67
>     68
>
> /home/ene/sage/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
>
> /home/ene/sage/local/lib/python2.5/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)
>
> /home/ene/sage/local/lib/python2.5/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
>
> /home/ene/sage/local/lib/python2.5/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
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/misc/
> sage_input.py in <module>()
>    161 """
>    162
> --> 163 from sage.misc.functional import parent
>    164 import math
>    165
>
> /home/ene/sage/local/lib/python2.5/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
>
> /home/ene/sage/local/bin/complex_double.pyx in
> sage.rings.complex_double (sage/rings/complex_double.c:13438)()
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/rings/
> complex_field.py in ComplexField(prec, names)
>     81         if not C is None:
>     82             return C
> ---> 83     C = ComplexField_class(prec)
>     84     cache[prec] = weakref.ref(C)
>     85     return C
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/rings/
> complex_field.py in __init__(self, prec)
>    172         ParentWithGens.__init__(self, self._real_field(),
> ('I',), False)
>    173 #        self._populate_coercion_lists_()
> --> 174         self._populate_coercion_lists_(coerce_list=
> [complex_number.RRtoCC(self._real_field(), self)])
>    175
>    176     def __reduce__(self):
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/rings/
> complex_number.so in sage.rings.complex_number.RRtoCC.__init__ (sage/
> rings/complex_number.c:12244)()
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/categories/
> map.so in sage.categories.map.Map.__init__ (sage/categories/map.c:1909)
> ()
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/categories/
> homset.py in Hom(X, Y, cat)
>    147     elif cat._is_subclass(category_types.Rings):
>    148
> --> 149         from sage.rings.homset import RingHomset
>    150         H = RingHomset(X, Y)
>    151
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/rings/homset.py
> in <module>()
>     15
>     16 import morphism
> ---> 17 import quotient_ring
>     18
>     19 RINGS = Rings()
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/rings/
> quotient_ring.py 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
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/rings/polynomial/
> multi_polynomial_ideal.py in <module>()
>    224 from __future__ import with_statement
>    225
> --> 226 from sage.interfaces.all import (singular as singular_default,
>    227                                  macaulay2 as
> macaulay2_default,
>    228                                  magma as magma_default)
>
> /home/ene/sage/local/lib/python2.5/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
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/interfaces/
> gap.py in <module>()
>    956     #print "Automatically updating the cached Gap workspace:"
>    957     #print WORKSPACE
> --> 958     gap_reset_workspace(verbose=False)
>    959
>    960     # Delete all gap workspaces that haven't been used in at
> least 1
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/interfaces/
> gap.py in gap_reset_workspace(max_workspace_size, verbose)
>    947             pass
>    948     # end for
> --> 949     g.eval('SaveWorkspace("%s");'%WORKSPACE)
>    950
>    951
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/interfaces/
> gap.py in eval(self, x, newlines, strip, **kwds)
>    474             input_line += ';'
>    475
> --> 476         result = Expect.eval(self, input_line, **kwds)
>    477
>    478         if not newlines:
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/interfaces/
> expect.py in eval(self, code, strip, synchronize, locals, **kwds)
>    972         try:
>    973             with gc_disabled():
> --> 974                 return '\n'.join([self._eval_line(L, **kwds)
> for L in code.split('\n') if L != ''])
>    975         except KeyboardInterrupt:
>    976             # DO NOT CATCH KeyboardInterrupt, as it is being
> caught
>
> /home/ene/sage/local/lib/python2.5/site-packages/sage/interfaces/
> gap.py in _eval_line(self, line, allow_use_file, wait_for_prompt)
>    681         try:
>    682             if self._expect is None:
> --> 683                 self._start()
>    684             E = self._expect
>    685             #import pdb; pdb.set_trace()
>
> /home/ene/sage/local/lib/python2.5/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 because the command 'gap -r -b -p -T
> -o 9999G /home/ene/sage/data//extcode/gap/sage.g' failed.
>
> Error importing ipy_profile_sage - perhaps you should run %upgrade?
> WARNING: Loading of ipy_profile_sage failed.
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to