Output after running callingtex.py from terminal

Platform is darwin
Python installation prefix is
/Library/Frameworks/Python.framework/Versions/2.5
Python executable is
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
PyX comes from
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/__init__.pyc
PyX version 0.10
PyX pykpathsea python module used

"        echo $0 \"$*\"" -->  /bin/sh ""
"           echo $SHELL" -->  /bin/bash
"   echo $BASH_SUBSHELL" -->  0
"               echo $-" -->  hBc
"             echo $ENV" -->
"        echo $BASH_ENV" -->
"        echo $TEXMFCNF" -->
"               echo $_" -->
 /Library/Frameworks/Python.framework/Versions/Current/bin/python
"            echo $PATH" -->
 
/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
"       which kpsewhich" -->  /usr/texbin/kpsewhich
"             which tex" -->  /usr/texbin/tex
"           which latex" -->  /usr/texbin/latex
"file `which kpsewhich`" -->  /usr/texbin/kpsewhich: Mach-O universal binary
with 2 architectures
 /usr/texbin/kpsewhich (for architecture i386): Mach-O executable i386
 /usr/texbin/kpsewhich (for architecture ppc): Mach-O executable ppc
"      file `which tex`" -->  /usr/texbin/tex: Mach-O universal binary with
2 architectures
 /usr/texbin/tex (for architecture i386): Mach-O executable i386
 /usr/texbin/tex (for architecture ppc): Mach-O executable ppc
"    file `which latex`" -->  /usr/texbin/latex: Mach-O universal binary
with 2 architectures
 /usr/texbin/latex (for architecture i386): Mach-O executable i386
 /usr/texbin/latex (for architecture ppc): Mach-O executable ppc

"psfonts.map" found at
"/Users/viralb/.texlive2009/texmf-var/fonts/map/dvips/updmap/psfonts.map" as
format "map"
warning: kpsewhich: Ignoring unknown file type `graphics/figure'.
"psfonts.map" found at
"/Users/viralb/.texlive2009/texmf-var/fonts/map/dvips/updmap/psfonts.map" as
format "graphics/figure"
warning: kpsewhich: Ignoring unknown file type `web2c'.
"psfonts.map" found at
"/Users/viralb/.texlive2009/texmf-var/fonts/map/dvips/updmap/psfonts.map" as
format "web2c"
warning: kpsewhich: Ignoring unknown file type `graphics/figure'.
warning: kpsewhich: Ignoring unknown file type `web2c'.
"psfonts.cmz" not found




I also ran 'hello world' from terminal and it gave me the output in pdf with
the following error message

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/dvifile.py:396:
UserWarning: Ignoring line 5782 in mapping file
'/Users/viralb/.texlive2009/texmf-var/fonts/map/dvips/updmap/psfonts.map':
Unknown token '<'
  warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno,
mappath, e))


Let me know if there is something else I should know about that error and
the one which says 'psfonts.cmz' not found...other than that....Thanks a lot
for getting me back on track...

-Viral


On Wed, Jun 23, 2010 at 10:08 AM, Michael SCHINDLER <
[email protected]> wrote:

> Hello Viral,
>
> On 23/06/10, viral brahmbhatt wrote:
> OK, I summarize:
> 1. You have TeX installed, and TeX's search tool (kpsewhich) finds the
>   psfonts.map.
> 2. PyX finds the psfonts.map
>
> I do not expect that you linked PyX to the kpsathsea library
> (something we should check later), PyX is calling kpsewhich directly.
>
> > And finally this is the output for the program callingtex.py
> >
> > Platform is darwin
> > Python installation prefix is
> /Library/Frameworks/Python.framework/Versions/2.5
> > Python executable is /Applications/MacPython
> 2.5/IDLE.app/Contents/MacOS/Python
>
> The last line tells me that you are using the graphical interface
> IDLE. Please run callingtex.py from a terminal and see if it works
> there. I think that IDLE does not know how to call kpsewhich.
>
> > PyX comes from
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/__init__.pyc
> > PyX version 0.10
> > PyX pykpathsea python module used
> >
> > "        echo $0 \"$*\"" -->  /bin/sh ""
> > "           echo $SHELL" -->  /bin/bash
> > "   echo $BASH_SUBSHELL" -->  0
> > "               echo $-" -->  hBc
> > "             echo $ENV" -->
> > "        echo $BASH_ENV" -->
> > "        echo $TEXMFCNF" -->
> > "               echo $_" -->  /bin/sh
> > "            echo $PATH" -->  /usr/bin:/bin:/usr/sbin:/sbin
> > "       which kpsewhich" -->
>
> The last line says that your Python interpreter (IDLE ?) does not
> find kpsewhich. The pb should be resolved by calling it from the
> terminal. (Take this as a general hint from someone who is _always_
> using the terminal ;-))
>
> Cordialement,
>   Michael
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to