#7778: Update jsMath-image-fonts install path detection
--------------------------+-------------------------------------------------
Reporter: mpatel | Owner: was
Type: defect | Status: closed
Priority: major | Milestone: sage-4.3.1
Component: notebook | Resolution: fixed
Keywords: | Work_issues:
Author: Mitesh Patel | Upstream: N/A
Reviewer: Robert Marik | Merged:
--------------------------+-------------------------------------------------
Comment(by was):
Hi,
I upgraded sagenb.org to use sagenb-0.5. I then tried to install this
spkg. It definitely got confused and didn't work, for some reason (maybe
because of an old sagenb from before). I eventually *manually* copied
the fonts to:
/usr/local/sage/local/lib/python/site-packages/sagenb/data/jsmath/fonts
where sagenb is a symlink to sagenb-0.5-*egg/sagenb, and this did work.
Notice that:
{{{
r...@boxen:/usr/local/sage/local/lib/python/site-
packages/sagenb/data/jsmath/fonts# python
Python 2.5.2 (r252:60911, Jul 22 2009, 15:33:10)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> from pkg_resources import Requirement, working_set
>>> sagenb_path = working_set.find(Requirement.parse('sagenb')).location
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'location'
}}}
I'm really just recording this for posterity in case there really is
something wrong. I don't have time to delve deeper now.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7778#comment:4>
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.