Bonjour,

>From your traceback

> python2.5/site-packages/pyx/dvifile.py", line 386, in readfontmap
>      raise RuntimeError("cannot find font mapping file '%s'" % filename)
> RuntimeError: cannot find font mapping file 'psfonts.map'

I learn that the font mapping file is not found. It has been searched
as "map" and "dvips config" formats in dvifile.py. Now, the output of
the test file yields a perfectly valid entry from  the format "map":

> "map": /usr/local/texlive/2007/texmf-var/fonts/map/dvips/updmap/psfonts.map

The mapping file is indeed found.
This looks like a contradiction.

Are you sure that when running test.py the very same pyx was used? You
seem to have two installations of pyx:

  
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/
  /downloads/PyX-0.9/pyx

please tell me what versions of pyx you are using under

   
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/
   /downloads/PyX-0.9/pyx

Have you compiled the c-module pykpathsea or are you using pyx
"out of the box"?: That means do the files

  
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/pykpathsea/pykpathsea.so
  /downloads/PyX-0.9/pyx/pykpathsea/pykpathsea.so

exist? Or to be sure: in the directories pyx/pykpathsea: is there
anything else than __init__.py and pykpathsea.c?

Michael.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to