#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: |
------------------------------+---------------------------------------------
Changes (by newvalueoldvalue):
* status: needs_info => needs_review
* author: => Leif Leonhardy
Comment:
'''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! ;-)
This spkg now contains the work-around '''adding''' the relative sagenb
path to {{{easy-install.pth}}} if (for whatever reason) there's no sagenb
path at all in it...
I've also updated the spkg patch, and added a cumulative diff for
reference / review (the Mercurial changeset contains ''two'' patches), but
you can just download and install the new spkg.
(I actually made a mistake in the previously attached patch s.t. the
{{{#!}}} in {{{spkg-install}}} ended up on the ''second'' line. I'm really
curious what messages you will ''now'' get - either ''"Adding relative
sagenb path to easy-install.pth"'' or ''"Making sagenb path in easy-
install.pth relative"''...)
I've again tested the spkg (only) on Ubuntu 10.04.
{{{
#!sh
$ ./sage -f /path/to/sagenb-0.8.7.p1.spkg
$ ./sage -t -long -sagenb # Though there are no long tests IIRC
}}}
should be sufficient to test it. (Others should perhaps test it on
different platforms as well.)
You could then do
{{{
#!sh
$ egrep "Adding|Removing" spkg/logs/sagenb-0.8.7.p1.log
$ grep easy-install\.pth spkg/logs/sagenb-0.8.7.p1.log # more matches
}}}
(also with your previous logs, i.e. {{{spkg/logs/sagenb-0.8.7.log}}} or
{{{spkg/logs/sagenb-0.8.7-patched.log}}}).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10176#comment:17>
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.