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

Re: error print sales quote to pdf



Question:  did you load templates as part of your import process?

I wasn't able to reproduce this.  It may be a missing template from the stack trace.  If you try to pull up the template using the the System menu, can you pull it up?

If not, you can reload templates by going to setup.pl, logging into your database, and loading the templates again.  I recommend loading the 'demo' set.

Best Wishes,
Chris Travers

On Wed, Oct 1, 2014 at 7:39 AM, Max van Biezen <..hidden..> wrote:
HI,

I am using lsmb 1.4.2 and simply copied my 1.3.38 sales_quote.tex
template to 1.4.2  so I expected errors but now I run into an error
before even getting to the tex template, i think.

I try to print quote as pdf to screen. Doing the same for an invoice
works fine. Is this a tex problem after all or does this go further
than that?

Max

2014/10/01 16:32:19 - ERROR - Form::_error LedgerSMB/Form.pm (437) --
'Attribute (format) is required at constructor
LedgerSMB::Template::DB::new (defined at LedgerSMB/Template/DB.pm line
170) line 30
        LedgerSMB::Template::DB::new('LedgerSMB::Template::DB',
'HASH(0x663a708)') called at LedgerSMB/Template/DB.pm line 68
        LedgerSMB::Template::DB::get_template('LedgerSMB::Template::DB',
'sales_quotation', undef, 'tex') called at LedgerSMB/Template/LaTeX.pm
line 140
        LedgerSMB::Template::LaTeX::process('LedgerSMB::Template=HASH(0x64a4740)',
'HASH(0x5390d28)') called at LedgerSMB/Template.pm line 351
        LedgerSMB::Template::render('LedgerSMB::Template=HASH(0x64a4740)',
'Form=HASH(0x5f60728)') called at bin/io.pl line 1994
        lsmb_legacy::print_form(undef) called at bin/io.pl line 1578
        lsmb_legacy::print called at old-handler.pl line 206
        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(0x5d72078)',
'Try::Tiny::Catch=REF(0x5d08610)') called at old-handler.pl line 225
        require old-handler.pl called at /usr/local/lsmb14/oe.pl line 7
'
2014/10/01 16:32:19 - ERROR - Form::_error LedgerSMB/Form.pm (438) --
dbversion: 1.4.2

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users