#10176: ImportError: No module named sagenb on openSUSE
------------------------------+---------------------------------------------
   Reporter:  mpatel          |       Owner:  jason, was  
       Type:  defect          |      Status:  needs_review
   Priority:  blocker         |   Milestone:  sage-4.6    
  Component:  notebook        |    Keywords:              
     Author:  Leif Leonhardy  |    Upstream:  N/A         
   Reviewer:                  |      Merged:              
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by hivert):

 Replying to [comment:17 leif]:
 > '''New spkg: http://spkg-
 upload.googlecode.com/files/sagenb-0.8.7.p1.spkg'''
 >
 > '''md5sum:''' {{{6fe0e76e336fc24e71b5c591a112f8fb
 sagenb-0.8.7.p1.spkg}}}
 >
 > Florent, again: Please install / build, test and report! ;-)

 Here is the result of ptestlong of sage-4.6.rc0 with the following
 non-standard spkg
 {{{
 setuptools-0.6c9.p0.spkg
 readline-6.1.spkg
 sagenb-0.8.7.p1.spkg
 }}}
 {{{
 sage -t  -long -force_lib devel/sage/sage/all.py
 Traceback (most recent call last):
   File "/home/florent/.sage//tmp/all.py", line 2, in <module>
     from sage.all_cmdline import *;
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/all_cmdline.py", line 14, in <module>
     from sage.all import *
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/all.py", line 64, in <module>
     from sage.misc.all       import *         # takes a while
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/misc/all.py", line 16, in <module>
     from sage_timeit_class import timeit
   File "sage_timeit_class.pyx", line 3, in init
 sage.misc.sage_timeit_class (sage/misc/sage_timeit_class.c:837)
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/misc/sage_timeit.py", line 12, in <module>
     import timeit as timeit_, time, math, preparser, interpreter
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/misc/interpreter.py", line 95, in <module>
     import IPython.ipapi
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/IPython/__init__.py", line 58, in <module>
     __import__(name,glob,loc,[])
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/IPython/Shell.py", line 45, in <module>
     from IPython.iplib import InteractiveShell
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/IPython/iplib.py", line 59, in <module>
     from sets import Set
 ImportError: cannot import name Set

          [0.5 s]
 sage -t  -long -force_lib devel/sage/sage/all_cmdline.py
 Traceback (most recent call last):
   File "/home/florent/.sage//tmp/all_cmdline.py", line 2, in <module>
     from sage.all_cmdline import *;
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/all_cmdline.py", line 14, in <module>
     from sage.all import *
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/all.py", line 64, in <module>
     from sage.misc.all       import *         # takes a while
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/misc/all.py", line 16, in <module>
     from sage_timeit_class import timeit
   File "sage_timeit_class.pyx", line 3, in init
 sage.misc.sage_timeit_class (sage/misc/sage_timeit_class.c:837)
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/misc/sage_timeit.py", line 12, in <module>
     import timeit as timeit_, time, math, preparser, interpreter
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/sage/misc/interpreter.py", line 95, in <module>
     import IPython.ipapi
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/IPython/__init__.py", line 58, in <module>
     __import__(name,glob,loc,[])
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/IPython/Shell.py", line 45, in <module>
     from IPython.iplib import InteractiveShell
   File "/home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python
 /site-packages/IPython/iplib.py", line 59, in <module>
     from sets import Set
 ImportError: cannot import name Set

          [0.5 s]
 [...]
 ----------------------------------------------------------------------

 The following tests failed:

         sage -t  -long -force_lib devel/sage/sage/all.py # 0 doctests
 failed
         sage -t  -long -force_lib devel/sage/sage/all_cmdline.py # 0
 doctests failed
 ----------------------------------------------------------------------
 Total time for all tests: 1907.5 seconds
 }}}
 Note that if I launch the same tests alone:
 {{{
 sage -t -long -force_lib "devel/sage/sage/all.py"
          [1.1 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 1.1 seconds

 sage -t -long -force_lib "devel/sage/sage/all_cmdline.py"
          [1.1 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 1.1 seconds
 }}}
 So this is probably the usual parallel test problem.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10176#comment:40>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to