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

Re: payment error



Hi Bob;

Could you email me (offlist is fine) your LedgerSMB/DBObject.pm?


On Mon, Mar 10, 2014 at 11:20 PM, Bob Miller <..hidden..> wrote:
Hi Chris,


>
> 1.  What version of DBD::PG are you using?  It may be managed through
> your package manager, or you can man DBD::Pg and see what version is
> mentioned.

dpkg -l libdbd-pg-perl
<snip></snip>
ii  libdbd-pg-perl                                      2.19.2-2

> 2.  Could you try the latest 1.3 Payment.pm directly from svn?  You
> can download it by:
>
>
> wget
> https://svn.code.sf.net/p/ledger-smb/code/branches/1.3/LedgerSMB/DBObject/Payment.pm

diff Payment.pm Payment.pm.orig
738c738,739
<  $_ = "$_" for $self->_parse_array($self->{amount});
---
> $_ = "$_" for $self->_parse_array($self->{amount});

I applied the patch manually, hence the lack of a leading space, but
otherwise appears to be the same file...

Are there any other files I should update?



> Copy that over your existing LedgerSMB/DBObject/Payment.pm after
> backing up your current LedgerSMB files.  See if that fixes it.  I
> want to make sure it is not fixed in svn first.  (The number is just
> the id of a chart of account entry so the difference is not
> significant.)
>
>
> The error with LaTeX::Driver is not significant or related.  However,
> I am now a co-maintainer of this package and will look at getting this
> fixed.  Thanks!
>
>
> On Mon, Mar 10, 2014 at 6:58 PM, Bob Miller <..hidden..>
> wrote:
>         Hello,
>
>         > While perusing the logs, I also note this:
>         >
>         > [Mon Mar 10 07:54:44 2014] [error] [client 192.168.25.36]
>         Use of
>         > uninitialized value in lc
>         at /usr/share/perl5/LaTeX/Driver.pm line 137.,
>         > referer: https://ledger.computerisms.ca/is.pl
>         > [Mon Mar 10 07:54:45 2014] [error] [client 192.168.25.36]
>         2014/03/10
>         > 07:54:45 - INFO - LedgerSMB::new -- setting dbh from argstr
>         > $self->{dbh}=DBI::db=HASH(0x4485cd0), referer:
>         > https://ledger.computerisms.ca/is.pl
>         >
>         > Which seems a good explanation for why our invoices are
>         displaying
>         > differently.  I tried updating any latex packages on my
>         system, but they
>         > all claim to be up to date; using debian wheezy.
>
>
>         Merrr...
>
>         while this led me on a merry little chase, the actual problem
>         was my
>         letterhead.tex and invoice.tex files.  my stupid...
>
>         The error continues.  If I remove the lc function (is that
>         correct perl
>         terminology??) from line 137 in Driver.pm file, the error goes
>         away, and
>         it apparently does not affect the appearance of an invoice...
>
>
>
>
>         ------------------------------------------------------------------------------
>         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/13534_NeoTech
>         _______________________________________________
>         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
> ------------------------------------------------------------------------------
> 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/13534_NeoTech
> _______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users


------------------------------------------------------------------------------
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/13534_NeoTech
_______________________________________________
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
------------------------------------------------------------------------------
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/13534_NeoTech
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users