[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: import .tex template and PDF print error (was: Re: 1.4 UI: default template directory drop menu missing)
- Subject: Re: import .tex template and PDF print error (was: Re: 1.4 UI: default template directory drop menu missing)
- From: Max van Biezen <..hidden..>
- Date: Fri, 6 Jun 2014 13:25:44 +0200
Hi,
>> 1. When I simply delete the two .PNG files from invoice.tex and make
>> no changes to invoice.tex then it seems to finish its import
>> correctly.
>
> Templates are stored as text fields, so PostgreSQL checks for
> UTF8-correctness. Again, working on binary support but it isn't there yet.
Ah missed that.
>> 2. Using the import steps from point 1 and having deleted the two .PNG
>> files then when I try to print a PDF to screen then I get the
>> following error. Btw on this same server I have 1.3 running which
>> produces the PDF's correct.
>>
> That sounds like a compile error with the module. Please try this in your
> LedgerSMB root dir:
>
> perl -MLedgerSMB::Template::LaTeX -e print
> Please send me the resulting output.
root@srv2:/usr/local/lsmb14# perl -MLedgerSMB::Template::LaTeX -e print
Can't locate TeX/Encode.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at LedgerSMB/Template/LaTeX.pm line 61.
BEGIN failed--compilation aborted at LedgerSMB/Template/LaTeX.pm line 61.
Compilation failed in require.
BEGIN failed--compilation aborted.
Right, so after I installed this TeX/Encode.pm this error is gone.
> Maybe we are missing a dependency from the makefile?
I have other errors after installing Encode.pm, but I will first check
dependencies and then re-check things.
Max
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users