[freeside-users] Problems with latex and 1.9.1 vanilla release

vlad stereomind at gmail.com
Thu Jan 7 08:17:11 PST 2010


Nevermind. fixed.

For some reason, the files latex.fmt and pdflatex.fmt never made it into the
/var/lib/texmf/web2c/pdftex folder.
They were both in ~root/.texlive2007/texmf-var/web2c/pdftex folder.

I copied them in the proper location, and ran  "fmtutil --refresh --fmtdir
/var/lib/texmf/web2c/pdftex"

Now everything works.

I dunno if this is a Fedora 12 issue or not, but if anyone runs into this,
that's how you fix it.



Vlad

On Thu, Jan 7, 2010 at 9:41 AM, vlad <stereomind at gmail.com> wrote:

> errr not main.cgi.
> Misc.pm is what I meant.
>
> /coffee
>
> Vlad
>
>
>
>
> On Thu, Jan 7, 2010 at 9:13 AM, vlad <stereomind at gmail.com> wrote:
>
>> Hello folks.
>>
>> I'm running into a strange problem with vanilla FS 1.9.1 on Fedora 12,
>> 64bit.
>> Apache 2.2.13, perl 5.10.0, mod_perl 2.0.4. Selinux is disabled. Apache
>> running as user freeside.
>>
>> Everything works perfectly as far as the UI is concerned. I'm able to
>> create customers, packages, etc etc.
>> I cannot, however, get the invoices to print or display in PDF format. I
>> get the following error:
>>
>> --------------------------------
>>
>>  pslatex /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.1.XkjqxIay.tex failed; see /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.1.XkjqxIay.log for details?
>>
>>
>> Trace begun at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Exceptions.pm line 129
>>
>>
>>
>> HTML::Mason::Exceptions::rethrow_exception('pslatex /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.1.XkjqxIay.tex failed; see /usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.1.XkjqxIay.log for details?^J') called at /usr/local/lib/perl5/site_perl/5.10.0/FS/Misc.pm line 752
>>
>>
>>
>> FS::Misc::_pslatex('/usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.1.XkjqxIay') called at /usr/local/lib/perl5/site_perl/5.10.0/FS/Misc.pm line 653
>> FS::Misc::generate_ps('/usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/invoice.1.XkjqxIay') called at /usr/local/lib/perl5/site_perl/5.10.0/FS/cust_bill.pm line 2891
>>
>>
>>
>> FS::cust_bill::print_ps('FS::cust_bill=HASH(0x7f49455d2188)', 'HASH(0x7f494110fa08)') called at /usr/local/lib/perl5/site_perl/5.10.0/FS/cust_bill.pm line 1252
>>
>>
>> FS::cust_bill::lpr_data('FS::cust_bill=HASH(0x7f49455d2188)', 'HASH(0x7f494110fdc8)') called at /usr/local/lib/perl5/site_perl/5.10.0/FS/cust_bill.pm line 1286
>>
>>
>>
>> FS::cust_bill::print('FS::cust_bill=HASH(0x7f49455d2188)', 'HASH(0x7f49455d67a0)') called at /var/www/html/freeside/misc/send-invoice.cgi line 24
>> HTML::Mason::Commands::__ANON__('invnum', 1, 'notice_name', 'Invoice', 'method', 'print') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 135
>>
>>
>>
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f49455c8cc8)', 'invnum', 1, 'notice_name', 'Invoice', 'method', 'print') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1284
>>
>>
>>
>> eval {...} at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1274
>> HTML::Mason::Request::comp(undef, undef, undef, 'invnum', 1, 'notice_name', 'Invoice', 'method', 'print') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 943
>>
>>
>>
>> HTML::Mason::Request::call_next('FS::Mason::Request=HASH(0x7f49455c47e0)') called at /var/www/html/freeside/autohandler line 1
>> HTML::Mason::Commands::__ANON__('invnum', 1, 'notice_name', 'Invoice', 'method', 'print') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 135
>>
>>
>>
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f49455d5fc0)', 'invnum', 1, 'notice_name', 'Invoice', 'method', 'print') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1279
>>
>>
>>
>> eval {...} at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1274
>> HTML::Mason::Request::comp(undef, undef, undef, 'invnum', 1, 'notice_name', 'Invoice', 'method', 'print') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 473
>>
>>
>>
>> eval {...} at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 473
>> eval {...} at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 425
>> HTML::Mason::Request::exec('FS::Mason::Request=HASH(0x7f49455c47e0)') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm line 168
>>
>>
>>
>> HTML::Mason::Request::ApacheHandler::exec('FS::Mason::Request=HASH(0x7f49455c47e0)') called at /usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm line 825
>> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f4942feb670)', 'Apache2::RequestRec=SCALAR(0x7f4942fa8c28)') called at /usr/local/etc/freeside/handler.pl line 88
>>
>>
>>
>> eval {...} at /usr/local/etc/freeside/handler.pl line 88
>> HTML::Mason::handler('Apache2::RequestRec=SCALAR(0x7f4942fa8c28)') called at -e line 0
>> eval {...} at -e line 0
>>
>>  -----------------------------------
>>
>> latex/pslatex/pdflatex/dvips are all installed and run from CLI, even as
>> user freeside.
>>
>> I did "make texmf"... This doesn't seem to be related. The latex templates
>> are all vanilla.
>>
>> The .log file does NOT get created.
>> The invoice.xxxxx.eps and invoice.xxxxx.tex DO get created. They appear to
>> be properly generated. I can manually run "pslatex invoice.xxxxx.tex" and it
>> will create the dvi file.
>>
>> Something is getting borked in main.cgi and I'm sure it's something
>> simple, but I cannot pinpoint it.
>>
>>
>> Any clues?
>> Thanks,
>>
>>
>> Vlad
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://420.am/pipermail/freeside-users/attachments/20100107/f0ddc815/attachment.htm>


More information about the freeside-users mailing list