[freeside] Problem with LaTeX invoices.

ivan ivan at 420.am
Tue Feb 15 19:04:25 PST 2005


On Mon, Feb 14, 2005 at 10:52:26AM -0800, TSS Support wrote:
> Using a default install of 1.5.0pre5 for a new project, on Debian Sarge. I 
> have the tetex-bin package installed, so pslatex is there. However, I am 
> getting the following error every few minutes per invoice:
> 
> failed: pslatex 
> /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.2.0OtXDXVf.tex 
> failed: Inappropriate ioctl for device at 
> /usr/local/share/perl/5.8.4/FS/cust_bill.pm line 1164. Stack: 
> [/usr/local/share/perl/5.8.4/FS/cust_bill.pm:1164] 
> [/usr/local/share/perl/5.8.4/FS/cust_bill.pm:361] [(eval 1098):1] 
> [/var/www/freeside/misc/bill.cgi:19] [/var/www/freeside/autohandler:1]
> 
> I can run pslatex okay from the command line. Looking in cust_bill.pm at 
> the appropriate line doesn't seem that enlightening. Anyone run into this 
> one before? Rooting around the documentation didn't seem to turn up 
> anything. I know this feature is new, so perhaps it's best to leave it out 
> for now - our successful Freeside on another server is still using text 
> billing for that reason.

Typeset invoices work fine once you have them setup, but installation
and setup problems don't report good error messages.  Missing LaTeX
fonts, template problems, LaTeX not understanding a custom .EPS logo,
many other things are all going to cause the same sort of error messages
running pslatex.  Best general advice I can offer is to take a look at
the end of the corresponding
"/usr/local/etc/freeside/cache.<datasrc>/invoice.<num>.<stuff>.log" file
for any information (i.e. 
/usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.2.0OtXDXVf.log)
in your case.

-- 
_ivan



More information about the freeside-users mailing list