Thanks Andres, that had crossed my mind but I don't know where CPAN puts
their modules so I was wary of trying that until I had a definitive answer.

Interestingly I uninstalled Math::BigInt and it seems to work without
installing anything else. Looks like it drops down to using Math::Calc
instead.
Any issues in doing this ?


Andrew


On Fri, Mar 23, 2012 at 8:03 AM, Andres Basile <[email protected]> wrote:

> Hello Andrew,
>
> The first think that came to my mind is to try with the CPAN library
> instead of the Debian repository one.
> as root, try:
>
> # cpan -i Math::BigInt
> [yes.. yes.. yes..]
>
> # grep "VERSION " /usr/local/share/perl/5.14.2/Math/BigInt.pm
> $VERSION = '1.997';
>
> I just tried last branch 1.3 on Wheezy with CPAN libraries and it worked
> fine.
> I hope it helps you.
> Andres.-
>
> On Thu, Mar 22, 2012 at 9:38 PM, Andrew Rowland <[email protected]>wrote:
>
>> Hi Guys
>>
>> I'm getting this issue when trying to print an invoice.
>> I know it has been an issue in the past and has been marked as fixed but
>> I'm still getting an internal server error in the log with this message.
>>
>>
>> [Fri Mar 23 05:29:30 2012] [error] [client 127.0.0.1] Can't call method
>> "is_zero" on an undefined value at /usr/share/perl5/Math/BigInt.pm line
>> 1197., referer:
>> http://localhost/ledgersmb/is.pl?action=edit&id=10840&path=bin/mozilla&login=andrew&sessionid=&callback=ar.pl%3faction%3dtransactions%26direction%3dDESC%26oldsort%3dtransdate%26till%3d%26outstanding%3d%26path%3dbin%2fmozilla%26login%3dandrew%26sessionid%3d%26summary%3d1%26title%3dSales%2520Transactions%26open%3dY%26l_transdate%3dY%26l_invnumber%3dY%26l_name%3dY%26l_amount%3dY%26l_paid%3dY%26sort%3dtransdate
>> [Fri Mar 23 05:29:30 2012] [error] [client 127.0.0.1] Compilation failed
>> in require at /progs/ledgersmb/is.pl line 7., referer:
>> http://localhost/ledgersmb/is.pl?action=edit&id=10840&path=bin/mozilla&login=andrew&sessionid=&callback=ar.pl%3faction%3dtransactions%26direction%3dDESC%26oldsort%3dtransdate%26till%3d%26outstanding%3d%26path%3dbin%2fmozilla%26login%3dandrew%26sessionid%3d%26summary%3d1%26title%3dSales%2520Transactions%26open%3dY%26l_transdate%3dY%26l_invnumber%3dY%26l_name%3dY%26l_amount%3dY%26l_paid%3dY%26sort%3dtransdate
>> [Fri Mar 23 05:29:30 2012] [error] [client 127.0.0.1] Premature end of
>> script headers: is.pl, referer:
>> http://localhost/ledgersmb/is.pl?action=edit&id=10840&path=bin/mozilla&login=andrew&sessionid=&callback=ar.pl%3faction%3dtransactions%26direction%3dDESC%26oldsort%3dtransdate%26till%3d%26outstanding%3d%26path%3dbin%2fmozilla%26login%3dandrew%26sessionid%3d%26summary%3d1%26title%3dSales%2520Transactions%26open%3dY%26l_transdate%3dY%26l_invnumber%3dY%26l_name%3dY%26l_amount%3dY%26l_paid%3dY%26sort%3dtransdate
>>
>>
>> Am running Debian Wheezy if that helps
>>
>> Can someone suggest a workaround if there is one or maybe point me at the
>> relevant spot in the code so I can investigate
>>
>> Thanks
>>
>> Andrew
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> Ledger-smb-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Ledger-smb-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to