#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):
> We are probably getting close. I'm investigating this further. Also:
I'll be more or
> less hanging on irc the whole day (It is 10am in paris)...
More infos: I added some more log stuff to the function add:
{{{
def add(self,dist):
if dist.location not in self.paths and dist.location not in
self.sitedirs:
log.info("**************appending %s to pth
file"%(dist.location))
self.paths.append(dist.location); self.dirty = True
else:
log.info("####### %s already in self.paths or self.sitedirs
not adding"%dist.location)
log.info("####### %s,%s"%(dist.location in self.paths,
dist.location in self.sitedirs))
Environment.add(self,dist)
}}}
I appear that sagenb is allready in self.paths and therefor not added !
Here is a exerpt from the log
{{{
Removing sagenb 0.8.7-patched from easy-install.pth file
Adding sagenb 0.8.7-patched to easy-install.pth file
####### /home/data/Sage-Install/readline/sage-4.6.rc0/devel/sagenb-main
already in self.paths or self.sitedirs not adding
####### False,True
Saving .pth file "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-packages/easy-
install.pth"...
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/setuptools-0.6c9-py2.6.egg" -> "./setuptools-0.6
c9-py2.6.egg"
Making path relative: "/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" -> "./Twis
ted-9.0.0-py2.6-linux-x86_64.egg"
Making path relative: "/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" ->
"./zope.interface-3.6.1-py2.6-linux-x86_64.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/zope.proxy-3.6.0-py2.6-linux-x86_64.egg" -> "./z
ope.proxy-3.6.0-py2.6-linux-x86_64.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/zope.exceptions-3.6.1-py2.6.egg" -> "./zope.exce
ptions-3.6.1-py2.6.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/zope.testing-3.9.5-py2.6.egg" -> "./zope.testing
-3.9.5-py2.6.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/ZConfig-2.8.0-py2.6.egg" -> "./ZConfig-2.8.0-py2
.6.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/zdaemon-2.0.4-py2.6.egg" -> "./zdaemon-2.0.4-py2
.6.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/ZODB3-3.7.0-py2.6-linux-x86_64.egg" -> "./ZODB3-
3.7.0-py2.6-linux-x86_64.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/Pygments-0.11.1-py2.6.egg" -> "./Pygments-0.11.1
-py2.6.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/Jinja2-2.1.1-py2.6-linux-x86_64.egg" -> "./Jinja
2-2.1.1-py2.6-linux-x86_64.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/Sphinx-0.6.3-py2.6.egg" -> "./Sphinx-0.6.3-py2.6
.egg"
Making path relative: "/home/data/Sage-
Install/readline/sage-4.6.rc0/local/lib/python2.6/site-
packages/SQLAlchemy-0.5.8-py2.6.egg" -> "./SQLAlchemy-0.5
.8-py2.6.egg"
Saving /home/data/Sage-Install/readline/sage-4.6.rc0/local/lib/python2.6
/site-packages/easy-install.pth
}}}
I need to understand more what's happening. In the meantime I'm also
ptestlong-ing {{{http://spkg-
upload.googlecode.com/files/sagenb-0.8.7.p1.spkg}}}.
So far it looks good.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10176#comment:35>
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.