[freeside-users] Printing invoice issues
John
freesidelist at cci.net.au
Thu May 24 16:33:11 PDT 2007
My apologies if Im misleading you here, its been a long time since I installed freeside. I believe I ran into the same problem and found that dvips and other executables needed were not in a directory that had appropriate permissions to be used by the appropriate users. I created symbolic links in /usr/local/bin to rectify this. This is what it looked like in slackware 10.2. Hope this helps..
ln -s /usr/share/texmf/bin/dvips dvips
ln -s /usr/share/texmf/bin/MakeTeXPK MakeTeXPK
ln -s /usr/share/texmf/bin/access access
ln -s /usr/share/texmf/bin/afm2tfm afm2tfm
ln -s /usr/share/texmf/bin/allcm allcm
ln -s /usr/share/texmf/bin/allec allec
ln -s /usr/share/texmf/bin/allneeded allneeded
ln -s /usr/share/texmf/bin/bibtex bibtex
ln -s /usr/share/texmf/bin/ctangle ctangle
ln -s /usr/share/texmf/bin/cweav cweav
ln -s /usr/share/texmf/bin/dmp dmp
ln -s /usr/share/texmf/bin/dvi2fax dvi2fax
ln -s /usr/share/texmf/bin/dvicopy dvicopy
ln -s /usr/share/texmf/bin/dvihp dvihp
ln -s /usr/share/texmf/bin/dvilj dvilj
ln -s /usr/share/texmf/bin/dvilj2p dvilj2p
ln -s /usr/share/texmf/bin/dvilj4 dvilj4
ln -s /usr/share/texmf/bin/dvilj4l dvilj4l
ln -s /usr/share/texmf/bin/dvilj6 dvilj6
ln -s /usr/share/texmf/bin/dvipdfm dvipdfm
ln -s /usr/share/texmf/bin/dvipdft dvipdft
ln -s /usr/share/texmf/bin/dvired dvired
ln -s /usr/share/texmf/bin/dvitomp dvitomp
ln -s /usr/share/texmf/bin/dvitype dvitype
ln -s /usr/share/texmf/bin/e2pall e2pall
ln -s /usr/share/texmf/bin/ebb ebb
ln -s /usr/share/texmf/bin/einitex einitex
ln -s /usr/share/texmf/bin/elatex elatex
ln -s /usr/share/texmf/bin/epstopdf epstopdf
ln -s /usr/share/texmf/bin/etex etex
ln -s /usr/share/texmf/bin/evirtex evirtex
ln -s /usr/share/texmf/bin/fdf2tan fdf2tan
ln -s /usr/share/texmf/bin/fmtutil fmtutil
ln -s /usr/share/texmf/bin/fontexport fontexport
ln -s /usr/share/texmf/bin/fontimport fontimport
ln -s /usr/share/texmf/bin/fontinst fontinst
ln -s /usr/share/texmf/bin/gftodvi gftodvi
ln -s /usr/share/texmf/bin/gftopk gftopk
ln -s /usr/share/texmf/bin/gftype gftype
ln -s /usr/share/texmf/bin/gsftopk gsftopk
ln -s /usr/share/texmf/bin/inimf inimf
ln -s /usr/share/texmf/bin/inimpost inimpost
ln -s /usr/share/texmf/bin/iniomega iniomega
ln -s /usr/share/texmf/bin/initex initex
ln -s /usr/share/texmf/bin/kpsepath kpsepath
ln -s /usr/share/texmf/bin/kpsestat kpsestat
ln -s /usr/share/texmf/bin/kpsetool kpsetool
ln -s /usr/share/texmf/bin/kpsewhich kpsewhich
ln -s /usr/share/texmf/bin/kpsexpand kpsexpand
ln -s /usr/share/texmf/bin/lambda lambda
ln -s /usr/share/texmf/bin/latex latex
ln -s /usr/share/texmf/bin/mag mag
ln -s /usr/share/texmf/bin/makeindex makeindex
ln -s /usr/share/texmf/bin/makempx makempx
ln -s /usr/share/texmf/bin/makempy makempy
ln -s /usr/share/texmf/bin/mf mf
ln -s /usr/share/texmf/bin/mf-nowin mf-nowin
ln -s /usr/share/texmf/bin/mft mft
ln -s /usr/share/texmf/bin/mfw mfw
ln -s /usr/share/texmf/bin/mkfontdesc mkfontdesc
ln -s /usr/share/texmf/bin/mkindex mkindex
ln -s /usr/share/texmf/bin/mkocp mkocp
ln -s /usr/share/texmf/bin/mkofm mkofm
ln -s /usr/share/texmf/bin/mktexfmt mktexfmt
ln -s /usr/share/texmf/bin/mktexlsr mktexlsr
ln -s /usr/share/texmf/bin/mktexmf mktexmf
ln -s /usr/share/texmf/bin/mktexpk mktexpk
ln -s /usr/share/texmf/bin/mktextfm mktextfm
ln -s /usr/share/texmf/bin/mpost mpost
ln -s /usr/share/texmf/bin/mpto mpto
ln -s /usr/share/texmf/bin/mptopdf mptopdf
ln -s /usr/share/texmf/bin/newer newer
ln -s /usr/share/texmf/bin/odvicopy odvicopy
ln -s /usr/share/texmf/bin/odvips odvips
ln -s /usr/share/texmf/bin/odvitype odvitype
ln -s /usr/share/texmf/bin/ofm2opl ofm2opl
ln -s /usr/share/texmf/bin/omega omega
ln -s /usr/share/texmf/bin/omfonts omfonts
ln -s /usr/share/texmf/bin/opl2ofm opl2ofm
ln -s /usr/share/texmf/bin/otangle otangle
ln -s /usr/share/texmf/bin/otp2ocp otp2ocp
ln -s /usr/share/texmf/bin/outocp outocp
ln -s /usr/share/texmf/bin/ovf2ovp ovf2ovp
ln -s /usr/share/texmf/bin/ovp2ovf ovp2ovf
ln -s /usr/share/texmf/bin/oxdvi oxdvi
ln -s /usr/share/texmf/bin/oxdvi.bin oxdvi.bin
ln -s /usr/share/texmf/bin/patgen patgen
ln -s /usr/share/texmf/bin/pdfeinitex pdfeinitex
ln -s /usr/share/texmf/bin/pdfelatex pdfelatex
ln -s /usr/share/texmf/bin/pdfetex pdfetex
ln -s /usr/share/texmf/bin/pdfevirtex pdfevirtex
ln -s /usr/share/texmf/bin/pdfinitex pdfinitex
ln -s /usr/share/texmf/bin/pdflatex pdflatex
ln -s /usr/share/texmf/bin/pdftex pdftex
ln -s /usr/share/texmf/bin/pdftosrc pdftosrc
ln -s /usr/share/texmf/bin/pdfvirtex pdfvirtex
ln -s /usr/share/texmf/bin/pfb2pfa pfb2pfa
ln -s /usr/share/texmf/bin/pk2bm pk2bm
ln -s /usr/share/texmf/bin/pktogf pktogf
ln -s /usr/share/texmf/bin/pktype pktype
ln -s /usr/share/texmf/bin/pltotf pltotf
ln -s /usr/share/texmf/bin/pooltype pooltype
ln -s /usr/share/texmf/bin/ps2frag ps2frag
ln -s /usr/share/texmf/bin/ps2pk ps2pk
ln -s /usr/share/texmf/bin/pslatex pslatex
ln -s /usr/share/texmf/bin/readlink readlink
ln -s /usr/share/texmf/bin/rubibtex rubibtex
ln -s /usr/share/texmf/bin/rumakeindex rumakeindex
ln -s /usr/share/texmf/bin/t1mapper t1mapper
ln -s /usr/share/texmf/bin/tangle tangle
ln -s /usr/share/texmf/bin/tex tex
ln -s /usr/share/texmf/bin/texconfig texconfig
ln -s /usr/share/texmf/bin/texdoc texdoc
ln -s /usr/share/texmf/bin/texdoctk texdoctk
ln -s /usr/share/texmf/bin/texexec texexec
ln -s /usr/share/texmf/bin/texfind texfind
ln -s /usr/share/texmf/bin/texfont texfont
ln -s /usr/share/texmf/bin/texhash texhash
ln -s /usr/share/texmf/bin/texi2html texi2html
ln -s /usr/share/texmf/bin/texi2pdf texi2pdf
ln -s /usr/share/texmf/bin/texlinks texlinks
ln -s /usr/share/texmf/bin/texshow texshow
ln -s /usr/share/texmf/bin/texutil texutil
ln -s /usr/share/texmf/bin/tftopl tftopl
ln -s /usr/share/texmf/bin/thumbpdf thumbpdf
ln -s /usr/share/texmf/bin/tie tie
ln -s /usr/share/texmf/bin/ttf2afm ttf2afm
ln -s /usr/share/texmf/bin/updmap updmap
ln -s /usr/share/texmf/bin/vftovp vftovp
ln -s /usr/share/texmf/bin/virmf virmf
ln -s /usr/share/texmf/bin/virmpost virmpost
ln -s /usr/share/texmf/bin/viromega viromega
ln -s /usr/share/texmf/bin/virtex virtex
ln -s /usr/share/texmf/bin/vptovf vptovf
ln -s /usr/share/texmf/bin/weave weave
ln -s /usr/share/texmf/bin/xdvi xdvi
ln -s /usr/share/texmf/bin/xdvi.bin xdvi.bin
ln -s /usr/share/texmf/bin/xdvizilla xdvizilla
----- Original Message -----
From: Robert Smith
To: Freeside users mailing list
Sent: Friday, May 25, 2007 4:04 AM
Subject: [freeside-users] Printing invoice issues
Having an issue printing invoices.
If I even try to view a typeset invoice I get:
error: pslatex /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.8.ttPp7bqk.tex failed; see /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.8.ttPp7bqk.log for details?
context: ...
2218: #! LaTeX Error: Unknown graphics extension: .eps.
2219:
2220: my $sfile = shell_quote $file;
2221:
2222: system("pslatex $sfile.tex >/dev/null 2>&1") == 0
2223: or die "pslatex $file.tex failed; see $file.log for details?\n";
2224: system("pslatex $sfile.tex >/dev/null 2>&1") == 0
2225: or die "pslatex $file.tex failed; see $file.log for details?\n";
2226:
...
code stack: /usr/local/lib/perl5/site_perl/5.8.8/FS/cust_bill.pm:2222
/usr/local/www/apache22/data/freeside/view/cust_bill-pdf.cgi:22
/usr/local/www/apache22/data/freeside/autohandler:1
Any recommendations on where to start looking? (There is no .log file created, so I can't start there!)
Robert Smith
------------------------------------------------------------------------------
_______________________________________________
freeside-users mailing list
freeside-users at sisd.com
http://420.am/cgi-bin/mailman/listinfo/freeside-users
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.7/816 - Release Date: 23/05/2007 3:59 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20070525/6fc57c8a/attachment.htm
More information about the freeside-users
mailing list