[freeside-users] freeside invoices not printing...URGENT!
Kristian Hoffmann
khoff at fire2wire.com
Mon Feb 6 20:09:13 PST 2006
Did you read the log file as the error message suggests? That would
probably be a good place to start.
Make sure you have a LaTeX package like teTeX installed on your system.
Chances are, you either don't have pslatex, it's not in freeside's PATH,
or something else is awry.
See http://www.sisd.com/freeside/list-archive/msg04401.html for some
additional troubleshooting hints.
-Kristian
On Mon, 6 Feb 2006, Kajani Kaunda wrote:
> Hello,
>
> The freeside-daily utilty bills customers and successfully sends the e-mail invoice. But it does not print the invoice. Re-printing the invoice is giving us the error below.
>
> System error
>
> error: pslatex /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.11.UKtnuTyY.tex failed; see /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.11.UKtnuTyY.log for details?
>
> context: ...
> 1641: chdir($dir);
> 1642:
> 1643: my $sfile = shell_quote $file;
> 1644:
> 1645: system("pslatex $sfile.tex >/dev/null 2>&1") == 0
> 1646: or die "pslatex $file.tex failed; see $file.log for details?\n";
> 1647: system("pslatex $sfile.tex >/dev/null 2>&1") == 0
> 1648: or die "pslatex $file.tex failed; see $file.log for details?\n";
> 1649:
> ...
>
> code stack: /usr/lib/perl5/5.8.0/FS/cust_bill.pm:1645
> /usr/lib/perl5/5.8.0/FS/cust_bill.pm:646
> /usr/lib/perl5/5.8.0/FS/cust_bill.pm:666
> /usr/local/apache/htdocs/freeside/misc/print-invoice.cgi:11
> /usr/local/apache/htdocs/freeside/autohandler:1
>
> raw error
>
>
> pslatex /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.11.UKtnuTyY.tex failed; see /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.11.UKtnuTyY.log for details?
>
> Trace begun at /usr/lib/perl5/5.8.0/HTML/Mason/Exceptions.pm line 129
> HTML::Mason::Exceptions::rethrow_exception('pslatex /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.11.UKtnuTyY.tex failed; see /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.11.UKtnuTyY.log for details?^J') called at /usr/lib/perl5/5.8.0/FS/cust_bill.pm line 1645
> FS::cust_bill::print_ps('FS::cust_bill=HASH(0x9ecd5c4)', '', undef) called at /usr/lib/perl5/5.8.0/FS/cust_bill.pm line 646
> FS::cust_bill::lpr_data('FS::cust_bill=HASH(0x9ecd5c4)', undef) called at /usr/lib/perl5/5.8.0/FS/cust_bill.pm line 666
> FS::cust_bill::print('FS::cust_bill=HASH(0x9ecd5c4)', undef) called at /usr/local/apache/htdocs/freeside/misc/print-invoice.cgi line 11
> HTML::Mason::Commands::__ANON__('keywords', 11) called at /usr/lib/perl5/5.8.0/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9ec653c)', 'keywords', 11) called at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 1255
> eval {...} at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 1249
> HTML::Mason::Request::comp(undef, undef, 'keywords', 11) called at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 916
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9eb0810)') called at /usr/local/apache/htdocs/freeside/autohandler line 1
> HTML::Mason::Commands::__ANON__('keywords', 11) called at /usr/lib/perl5/5.8.0/HTML/Mason/Component.pm line 135
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9cd4c2c)', 'keywords', 11) called at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 1250
> eval {...} at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 1249
> HTML::Mason::Request::comp(undef, undef, undef, 'keywords', 11) called at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 461
> eval {...} at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 461
> eval {...} at /usr/lib/perl5/5.8.0/HTML/Mason/Request.pm line 413
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9eb0810)') called at /usr/lib/perl5/5.8.0/HTML/Mason/ApacheHandler.pm line 167
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9eb0810)') called at /usr/lib/perl5/5.8.0/HTML/Mason/ApacheHandler.pm line 817
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9b22dc0)', 'Apache=SCALAR(0x9cb88f4)') called at /usr/local/etc/freeside/handler.pl line 305
> eval {...} at /usr/local/etc/freeside/handler.pl line 305
> HTML::Mason::handler('Apache=SCALAR(0x9cb88f4)') called at /dev/null line 0
> eval {...} at /dev/null line 0
> Please help!.
>
> Kind regards,
>
> Kajani Kaunda
>
>
More information about the freeside-users
mailing list