#1053 Update doesn't import templates to db.

1.4
closed-fixed
None
5
2014-02-10
2014-02-09
John Locke
No

Going to an open invoice, selecting "PDF" and "Screen" and then clicking Print, I get this error:

'Attempt to reload LedgerSMB/Template/LaTeX.pm aborted.
Compilation failed in require at (eval 1356) line 2
eval 'require LedgerSMB::Template::LaTeX
;' called at LedgerSMB/Template.pm line 320
LedgerSMB::Template::render('LedgerSMB::Template=HASH(0x5204bf0)', 'Form=HASH(0xa3f4a8)') called at bin/io.pl line 1994
lsmb_legacy::print_form(undef) called at bin/io.pl line 1574
lsmb_legacy::print called at old-handler.pl line 207
lsmb_legacy::ANON() called at /usr/share/perl5/Try/Tiny.pm line 76
eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x5116eb8)', 'Try::Tiny::Catch=REF(0x4f31e98)') called at old-handler.pl line 224
require old-handler.pl called at LedgerSMB/Template.pm line 322
LedgerSMB::Template::render('LedgerSMB::Template=HASH(0x5204bf0)', 'Form=HASH(0xa3f4a8)') called at bin/io.pl line 1994
lsmb_legacy::print_form(undef) called at bin/io.pl line 1574
lsmb_legacy::print called at old-handler.pl line 207
lsmb_legacy::ANON() called at /usr/share/perl5/Try/Tiny.pm line 76
eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x5116eb8)', 'Try::Tiny::Catch=REF(0x4f31e98)') called at old-handler.pl line 224
require old-handler.pl called at /usr/local/ledger/ledger14/is.pl line 7
'

Discussion

  • Chris Travers

    Chris Travers - 2014-02-09
    • summary: Errors when printing PDF Invoice --> Update doesn't import templates to db.
     
  • Chris Travers

    Chris Travers - 2014-02-10
    • assigned_to: Chris Travers
     
  • Chris Travers

    Chris Travers - 2014-02-10
    • status: open --> closed-fixed
     
  • Chris Travers

    Chris Travers - 2014-02-10

    svn 6826, requires new upgrade to test this fix. Workaround for current upgrade: run setup.pl on your db and select the option to add templates to your database.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks