Opened 19 years ago

Closed 19 years ago

#3182 closed defect (fixed)

BUG: py-pyx-0.7.1

Reported by: tom@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

from pyx import *

c = canvas.canvas() c.text(0, 0, "Hello, world!")

Traceback (most recent call last):

File "<stdin>", line 1, in ? File "/opt/local/lib/python2.4/site-packages/pyx/canvas.py", line 268, in text

return self.insert(self.texrunner.text(x, y, atext, *args, kwargs))

File "/opt/local/lib/python2.4/site-packages/pyx/text.py", line 1153, in text

self.execute(expr, self.defaulttexmessagesdefaultrun + self.texmessagesdefaultrun + texmessages)

File "/opt/local/lib/python2.4/site-packages/pyx/text.py", line 908, in execute

raise IOError("file '%s' is not available or not readable. No LaTeX font size files (*.lfs) available. Check

your installation." % lfsname) IOError: file '10pt.lfs' is not available or not readable. No LaTeX font size files (*.lfs) available. Check your installation.

Change History (7)

comment:1 Changed 19 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to mww@…

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

fixed

comment:3 Changed 19 years ago by tom@…

Resolution: fixed
Status: closedreopened
Summary: BUG: py-x-0.7.1BUG: py-pyx-0.7.1

(In reply to comment #1)

fixed

I'm still getting this missing font latex error for py-pyx-0.7.1 on a current. Did the fix get applied to the newly renamed py-pyx package?

As far as I can tell, my tetex package is working well and I'm fully selfupdated and upgraded, never having used force. Thank you so very much for your help.

comment:4 Changed 19 years ago by mww@…

whats the contents of your /opt/local/lib/python2.4/site-packages/pyx/siteconfig.py ? (assuming /opt/local is your prefix)

comment:5 Changed 19 years ago by tom@…

Okay, so, this is entirely my fault, but I don't know how to fix it. The siteconfig.py has some screwy directories:

/opt/local/lib/python2.4/site-packages/pyx twarge$

$ cat siteconfig.py lfsdir = '/opt/local/var/db/dports/build/file._Users_twarge_Development_Ports_py-pyx/work/ destroot/opt/local/share/pyx' sharedir = '/opt/local/var/db/dports/build/file._Users_twarge_Development_Ports_py-pyx/work/ destroot/opt/local/share/pyx' pyxrc = '/opt/local/var/db/dports/build/file._Users_twarge_Development_Ports_py-pyx/work/ destroot/etc/pyxrc'

You see, at some point I tried to make my own package called py-pyx before I discovered the one already in the ports tree. It seems to be confused by something I had done when developing the original port. I was following the directions in the tutorial online and when I was finished I had uninstalled my port. Now when I install py-pyx from the ports tree it somehow still retains those development directories.

Perhaps the bug reporter isn't the right place to have this discussion anymore. I deeply appreciate your time and help.

comment:6 Changed 19 years ago by mww@…

force-installing py-pyx should solve this issue (problem is, that pyx itself screws up the siteconfig.py when installed with destroot)

$ port install py-pyx -f

comment:7 Changed 19 years ago by tom@…

Resolution: fixed
Status: reopenedclosed

Works perfectly with force. How wonderful.

Note: See TracTickets for help on using tickets.