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

Re: Print sales order



On 19/10/12 07:20, Erik Huelsmann wrote:
Hi Brian,

Perl is missing Template::Plugin::LaTeX. It's the template processor's interface to LaTeX which is the engine used to produce PDFs.

There were same instructions how to install the missing plugin from Robert (Jame) to Kevin a few days ago. You need to (assuming Debian Squeeze):

$ aptitude install liblatex-driver-perl
$ aptitude install liblatex-encode-perl
$ aptitude install liblatex-table-perl
$ aptitude install libtemplate-perl

$ cpan Template::Plugin::Latex


Hi,

This is still not quite working for me.  I'm using a standard Debian squeeze server and the notes RE the setup have been posted to the list in the last few days.

I'd already installed the Debian packages listed.

When I run '$ cpan Template::Plugin::Latex' I'm getting:


..hidden..:/var/log# cpan Template::Plugin::Latexcpan
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 17 Oct 2012 15:43:03 GMT
CPAN: LWP::UserAgent loaded ok (v5.835)
CPAN: Time::HiRes loaded ok (v1.9719)
Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp29539'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225.
Fetching with LWP:
  http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.02)
............................................................................DONE
Fetching with LWP:
  http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Fri, 19 Oct 2012 10:43:03 GMT
..............
  New CPAN.pm version (v1.9800) available.
  [Currently running version is v1.9402]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


..............................................................DONE
Fetching with LWP:
  http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
Warning: Cannot install Template::Plugin::Latexcpan, don't know what it is.
Try the command

    i /Template::Plugin::Latexcpan/

to find objects with matching identifiers.
..hidden..:/var/log#




HTH,

Erik.

On Fri, Oct 19, 2012 at 2:23 AM, Brian Wolf <..hidden..> wrote:
After saving a sales order, a print button is displayed.  Clicking it produces an error:

Can't locate LaTeX/Encode.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/share/perl5/Template/Plugin/Latex.pm line 41.
BEGIN failed--compilation aborted at /usr/share/perl5/Template/Plugin/Latex.pm line 41.
Compilation failed in require at /usr/share/perl5/Template/Latex.pm line 41.
BEGIN failed--compilation aborted at /usr/share/perl5/Template/Latex.pm line 41.
Compilation failed in require at LedgerSMB/Template/LaTeX.pm line 58.
BEGIN failed--compilation aborted at LedgerSMB/Template/LaTeX.pm line 58.
Compilation failed in require at (eval 100) line 2.

Looks like Latex.pm is not working (at line 41).  I'm new to LedgerSMB; is there something not installed?  What is the resolution to this error?

Thanks.
Brian

Brian Wolf
Email: ..hidden..
Try out Activus Secure Payments™, our recurring payments application.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct


_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users