From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QvAIr-0000gp-Gh for garchives@archives.gentoo.org; Sun, 21 Aug 2011 15:51:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58D6321C22E; Sun, 21 Aug 2011 15:51:04 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id A9FA821C0F7 for ; Sun, 21 Aug 2011 15:50:55 +0000 (UTC) Received: by gxk9 with SMTP id 9so4060278gxk.40 for ; Sun, 21 Aug 2011 08:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=xm883fEuhn/S+mQn4V/PheJ+6+oMJV9TA0JGUXQ59mo=; b=bZIeiOBV/0A8o3xzIdwESBhE8a69mF/6sVrVxG1dyOd1balO981CrBp05Pnj5d02qe sp5XCCAGhqmn2QMbph332tEDX4uC+4Zw7FvdmFNKFawsVOINn+aOaeCwqGHfgs65PbQG Tg7WL9BWhi6WD/R/kxcqiO/UVGv+gha/y8JD0= Received: by 10.236.201.169 with SMTP id b29mr8215062yho.49.1313941855058; Sun, 21 Aug 2011 08:50:55 -0700 (PDT) Received: from [192.168.1.100] ([117.20.141.95]) by mx.google.com with ESMTPS id r28sm3576486yhm.66.2011.08.21.08.50.52 (version=SSLv3 cipher=OTHER); Sun, 21 Aug 2011 08:50:54 -0700 (PDT) Message-ID: <4E51295A.6060005@gmail.com> Date: Sun, 21 Aug 2011 23:50:50 +0800 From: P Purkayastha User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110812 Thunderbird/6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] Can not run sage-notebook Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 715609e30f80b243448c4cee38bc8028 Hi all, Thanks to the quick help, I could upgrade my sage to 4.7.1 (from 4.7.0). However, I am unable to run the notebook. And I also get a similar error when I run sage by itself. Do I need to recompile some packages? Thanks for any help. I will present below two logs. The first one is when sage is run. And the second one is when sage-notebook is run. 1. sage: ~> sage ---------------------------------------------------------------------- | Sage Version 4.7.1, Release Date: 2011-08-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/sage/all_cmdline.py", line 14, in from sage.all import * File "/usr/lib64/python2.7/site-packages/sage/all.py", line 85, in import sage.symbolic.pynac File "expression.pxd", line 6, in init sage.symbolic.pynac (sage/symbolic/pynac.cpp:19320) File "expression.pyx", line 6651, in init sage.symbolic.expression (sage/symbolic/expression.cpp:36442) File "/usr/lib64/python2.7/site-packages/sage/misc/decorators.py", line 648, in __call__ @sage_wraps(func) File "/usr/lib64/python2.7/site-packages/sage/misc/decorators.py", line 106, in f argspec = sage_getargspec(wrapped) File "/usr/lib64/python2.7/site-packages/sage/misc/sageinspect.py", line 1076, in sage_getargspec return inspect.ArgSpec(*_sage_getargspec_cython(sage_getsource(obj))) File "/usr/lib64/python2.7/site-packages/sage/misc/sageinspect.py", line 865, in _sage_getargspec_cython raise ValueError, "Could not parse cython argspec" ValueError: Could not parse cython argspec --------------------------------------------------------------------------- ValueError Traceback (most recent call last) /usr/lib64/python2.7/site-packages/IPython/ipmaker.pyc in force_import(modname, force_reload) 61 reload(sys.modules[modname]) 62 else: ---> 63 __import__(modname) 64 65 /usr/bin/ipy_profile_sage.py in () 5 preparser(True) 6 ----> 7 import sage.all_cmdline 8 sage.all_cmdline._init_cmdline(globals()) 9 /usr/lib64/python2.7/site-packages/sage/all_cmdline.py in () 22 if 'type object' in str(msg): 23 msg = str(msg) + '\n\n** In Sage, the easiest fix for this problem is to type "sage -ba"\n to rebuild all the Cython code (this takes several minutes).\n Alternatively, touch the last .pyx file in the traceback above. **\n' ---> 24 raise ValueError, msg 25 26 ValueError: Could not parse cython argspec Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. sage: 2. sage-notebook: ~> sage-notebook ---------------------------------------------------------------------- | Sage Version 4.7.1, Release Date: 2011-08-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- Please wait while the Sage Notebook server starts... Traceback (most recent call last): File "/usr/bin/sage-notebook-real", line 9, in from sage.server.notebook.all import notebook File "/usr/lib64/python2.7/site-packages/sage/server/notebook/all.py", line 22, in from sagenb.notebook.all import * File "/usr/lib64/python2.7/site-packages/sagenb/notebook/all.py", line 16, in from notebook_object import notebook, inotebook File "/usr/lib64/python2.7/site-packages/sagenb/notebook/notebook_object.py", line 17, in import notebook as _notebook File "/usr/lib64/python2.7/site-packages/sagenb/notebook/notebook.py", line 35, in from sagenb.misc.misc import (pad_zeros, cputime, tmp_dir, load, save, File "/usr/lib64/python2.7/site-packages/sagenb/misc/misc.py", line 183, in import sage.all File "/usr/lib64/python2.7/site-packages/sage/all.py", line 85, in import sage.symbolic.pynac File "expression.pxd", line 6, in init sage.symbolic.pynac (sage/symbolic/pynac.cpp:19320) File "expression.pyx", line 6651, in init sage.symbolic.expression (sage/symbolic/expression.cpp:36442) File "/usr/lib64/python2.7/site-packages/sage/misc/decorators.py", line 648, in __call__ @sage_wraps(func) File "/usr/lib64/python2.7/site-packages/sage/misc/decorators.py", line 106, in f argspec = sage_getargspec(wrapped) File "/usr/lib64/python2.7/site-packages/sage/misc/sageinspect.py", line 1076, in sage_getargspec return inspect.ArgSpec(*_sage_getargspec_cython(sage_getsource(obj))) File "/usr/lib64/python2.7/site-packages/sage/misc/sageinspect.py", line 865, in _sage_getargspec_cython raise ValueError, "Could not parse cython argspec" ValueError: Could not parse cython argspec ~ [1] >