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

Comment(by hivert):

 > > Maybe we have a race condition in editing that? (You could retry with
 {{{./sage -f ...}}} when your build has finished.)

 > Could you also take a look at {{{easy-install.pth}}}'s modification time
 after reinstalling the spkg?

 Looks reasonable. It has been touched at the end of the build.

 I tried a {{{sage -f ./sage -f ../sagenb-0.8.7-patched.spkg}}} and get no
 changes:
 {{{
 [...]
 sing /home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python2.6
 /site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg
 Searching for zope.interface==3.6.1
 Best match: zope.interface 3.6.1
 Processing zope.interface-3.6.1-py2.6-linux-x86_64.egg
 zope.interface 3.6.1 is already the active version in easy-install.pth

 Using /home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python2.6
 /site-packages/zope.interface-3.6.1-py2.6-linux-x86_64.egg
 Searching for setuptools==0.6c9
 Best match: setuptools 0.6c9
 Processing setuptools-0.6c9-py2.6.egg
 setuptools 0.6c9 is already the active version in easy-install.pth
 Installing easy_install script to
 /home/florent/src/Sage/readline/sage-4.6.rc0/local/bin
 Installing easy_install-2.6 script to
 /home/florent/src/Sage/readline/sage-4.6.rc0/local/bin

 Using /home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python2.6
 /site-packages/setuptools-0.6c9-py2.6.egg
 Finished processing dependencies for sagenb==0.8.7-patched
 Old path: ""
 New path: ""

 real    0m8.013s
 user    0m5.983s
 sys     0m2.016s
 Successfully installed sagenb-0.8.7-patched
 Now cleaning up tmp files.
 Making Sage/Python scripts relocatable...
 Making script relocatable
 Finished installing sagenb-0.8.7-patched.spkg
 }}}

 I'm not sure what to do... If you have some time, maybe it could be easier
 to discuss on irc. I'm kind of busy tonight (it is 20:4 here) but I
 probably can find 1/2h if you need. I've no idea how this {{{setup.py
 /easy-install}}} stuff works and what could be the cause...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10176#comment:12>
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