[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lpr PDF prints to file name _stdin_.pdf






On Mon, Oct 7, 2013 at 3:39 AM, Max van Biezen <..hidden..> wrote:
Hi,

I have an existing lsmb 1.2 system that started to print PDF to the file name _stdin_.pdf. This  used be a file name containing the invoice number. The file created is a valid pdf document. I did make some changes to perl on this ubuntu 12.04 system.

Hmm I missed that this was 1.2.  1.2 was before we replaced the template system or used libtex-driver. 

To verify I set up a fresh debian wheezy using lsmb 1.3.34 and to my surprise the same happens there. A PDF is printed to _stdin_.pdf and is a valid PDF document and when I print to screen all is ok as well. In both systems I noticed in the error.log of apache: Use of uninitialized value in lc at /usr/share/perl5/LaTeX/Driver.pm line 137.

The regular google search did not give me any pointers. How do I get the invoice numbers in to the file name of the PDF file?

That error most definitely should not occur in 1.2 because we don't use LaTeX::Driver.  That it is happening suggests to me it is actually hitting some mixture of 1.2 and 1.3 code.  You may, for example, have run make install on a 1.3 tarball.  I have absolutely no idea what will happen if you run 1.2 with some 1.3 modules, but it shouldn't be possible because we check db versions.  So at this point I can tell you that something is very wrong.

I would be happy to take a look at this from a paid support perspective.  However here are also some things you can do yourself:

1.  Look for LedgerSMB/Form in your LIBPERL and see where it is.  If you find ones in your vendor perl directory, or anywhere they shouldn't be, you may have some cleanup to do.

2.  You could try installing 1.2 from scratch on a new system and see if that would cause the same problems.

But something is really not right here.

Best Wishes,
Chris Travers 

Regards,

Max

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users




--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.
http://www.efficito.com/learn_more.shtml
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users