[freeside-users] freeside invoices not printing...URGENT!
Kajani Kaunda
kajanikaunda at burcomw.com
Tue Feb 21 01:09:58 PST 2006
Hello,
Thanks for your reply!.
I do have tetex installed. I have read your suggested links to no avail. I
thought I must try to run 'pslatex filename' from the command line to mimic
what goes in cust_bill.pm. The logic being, if it works on the command line
then it must work in the cust_bill.pm. and if it does not work then the
cust_bill.pm is probably ok but that there is something wrong the the
configurations of the pslatex e.t.c. stuff...am i making sense? So, is it
possible to run pslatex from the command line?
then again i read a link which seemed to suggest that it was a font
problem?! se link below (i hope i understood it...)
http://www.sisd.com/freeside/list-archive/msg04392.html
if true then how do i add more fonts for the latex system?
I hope i am not hurting your brain, but it is hard not to respond to your
kindness...
Kindest Regards,
Kajani
----- Original Message -----
From: "Kristian Hoffmann" <khoff at fire2wire.com>
To: "Freeside users mailing list" <freeside-users at sisd.com>
Sent: Tuesday, February 07, 2006 6:09 AM
Subject: Re: [freeside-users] freeside invoices not printing...URGENT!
> 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
>>
>>
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at sisd.com
> http://420.am/cgi-bin/mailman/listinfo/freeside-users
More information about the freeside-users
mailing list