From: Colin M. <co...@it...> - 2007-11-29 00:27:08
|
Hi All, I get this error when trying to print or email an order Error! *Not a HASH reference at SL/OE.pm line 1378. **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl interpreter: 0x98d6008 at SL/OE.pm line 1378. * I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 Any tips? Have been working fine on Fedora Core 6 for a while. :-( Colin. |
From: Michael H. <mh...@it...> - 2007-11-29 17:33:20
|
Had this awhile back when we were customizing the invoice layout. Don't remember the exact cause but it ended up being a "special" character which wasn't being escaped properly. It would display fine but when converting to PDF, printing etc the interpreter wasn't happy. As I recall somebody Googled the error and found the cause pretty quickly. Thanks, Michael On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: > Hi All, > > I get this error when trying to print or email an order > > > Error! > > *Not a HASH reference at SL/OE.pm line 1378. > **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl interpreter: > 0x98d6008 at SL/OE.pm line 1378. > * > > I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 > > Any tips? > > Have been working fine on Fedora Core 6 for a while. :-( > > Colin. > > ---------------------------------------------------------------------- > --- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users |
From: Colin M. <co...@it...> - 2007-11-30 13:00:50
|
Thanks Michael. I've searched the mailing list for "hash reference" and "unreferenced scalar" and didn't find any solutions. the second search returned this thread and a similar (unanswered) post on 2007-10-22. is perl-5.8.8 supported? I'm using postgresql-8.2.5-1.fc8 I have done a default install - using setup.pl to my fedora 8 box. Create one dataset and one user (administrator type), one client and one service. Try to print (even HTML) and it errors. I have not performed any customisation. Any further ideas? Michael Hasse wrote: > Had this awhile back when we were customizing the invoice layout. > Don't remember the exact cause but it ended up being a "special" > character which wasn't being escaped properly. It would display fine > but when converting to PDF, printing etc the interpreter wasn't > happy. As I recall somebody Googled the error and found the cause > pretty quickly. > > > Thanks, > > Michael > > > On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: > > >> Hi All, >> >> I get this error when trying to print or email an order >> >> >> Error! >> >> *Not a HASH reference at SL/OE.pm line 1378. >> **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl interpreter: >> 0x98d6008 at SL/OE.pm line 1378. >> * >> >> I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 >> >> Any tips? >> >> Have been working fine on Fedora Core 6 for a while. :-( >> >> Colin. >> >> ---------------------------------------------------------------------- >> --- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> sql-ledger-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Colin M. <co...@it...> - 2007-12-02 08:10:45
|
Hi All, I have narrowed my problem down to something to do with tax. Lines 1375 - 1379 from OE.pm: # adjust taxes for lineitems my $total = 0; for (@{ $form->{lineitems} }) { $total += $_->{tax}; } I had this all working before my old machine died, but I just can't get this working. - very frustrating - invoices are keyed in (as sales orders), but I can't print, so can I get paid :-(. Please help. I have set up the taxes correctly in the system ==> taxes page, and set my ABN in the system --> defaults page - any hints please? Colin Manning wrote: > Thanks Michael. > > I've searched the mailing list for "hash reference" and "unreferenced > scalar" and didn't find any solutions. the second search returned this > thread and a similar (unanswered) post on 2007-10-22. > > is perl-5.8.8 supported? > > I'm using postgresql-8.2.5-1.fc8 > > I have done a default install - using setup.pl to my fedora 8 box. > Create one dataset and one user (administrator type), one client and one > service. > > Try to print (even HTML) and it errors. > > I have not performed any customisation. > > Any further ideas? > > > > > Michael Hasse wrote: > >> Had this awhile back when we were customizing the invoice layout. >> Don't remember the exact cause but it ended up being a "special" >> character which wasn't being escaped properly. It would display fine >> but when converting to PDF, printing etc the interpreter wasn't >> happy. As I recall somebody Googled the error and found the cause >> pretty quickly. >> >> >> Thanks, >> >> Michael >> >> >> On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: >> >> >> >>> Hi All, >>> >>> I get this error when trying to print or email an order >>> >>> >>> Error! >>> >>> *Not a HASH reference at SL/OE.pm line 1378. >>> **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl interpreter: >>> 0x98d6008 at SL/OE.pm line 1378. >>> * >>> >>> I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 >>> >>> Any tips? >>> >>> Have been working fine on Fedora Core 6 for a while. :-( >>> >>> Colin. >>> >>> ---------------------------------------------------------------------- >>> --- >>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> sql-ledger-users mailing list >>> sql...@li... >>> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>> >>> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> sql-ledger-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> >> > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Michael H. <mh...@it...> - 2007-12-03 01:33:09
|
If it was migrated from an old machine maybe it's something simple like a file or folder with bad permissions...? Thanks, Michael On Dec 2, 2007, at 12:10 AM, Colin Manning wrote: > Hi All, > > I have narrowed my problem down to something to do with tax. > > Lines 1375 - 1379 from OE.pm: > > # adjust taxes for lineitems > my $total = 0; > for (@{ $form->{lineitems} }) { > $total += $_->{tax}; > } > > I had this all working before my old machine died, but I just can't > get > this working. - very frustrating - invoices are keyed in (as sales > orders), but I can't print, so can I get paid :-(. > > Please help. > > > I have set up the taxes correctly in the system ==> taxes page, and > set > my ABN in the system --> defaults page - any hints please? > > > > > > Colin Manning wrote: >> Thanks Michael. >> >> I've searched the mailing list for "hash reference" and "unreferenced >> scalar" and didn't find any solutions. the second search returned >> this >> thread and a similar (unanswered) post on 2007-10-22. >> >> is perl-5.8.8 supported? >> >> I'm using postgresql-8.2.5-1.fc8 >> >> I have done a default install - using setup.pl to my fedora 8 box. >> Create one dataset and one user (administrator type), one client >> and one >> service. >> >> Try to print (even HTML) and it errors. >> >> I have not performed any customisation. >> >> Any further ideas? >> >> >> >> >> Michael Hasse wrote: >> >>> Had this awhile back when we were customizing the invoice layout. >>> Don't remember the exact cause but it ended up being a "special" >>> character which wasn't being escaped properly. It would display >>> fine >>> but when converting to PDF, printing etc the interpreter wasn't >>> happy. As I recall somebody Googled the error and found the cause >>> pretty quickly. >>> >>> >>> Thanks, >>> >>> Michael >>> >>> >>> On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: >>> >>> >>> >>>> Hi All, >>>> >>>> I get this error when trying to print or email an order >>>> >>>> >>>> Error! >>>> >>>> *Not a HASH reference at SL/OE.pm line 1378. >>>> **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl >>>> interpreter: >>>> 0x98d6008 at SL/OE.pm line 1378. >>>> * >>>> >>>> I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 >>>> >>>> Any tips? >>>> >>>> Have been working fine on Fedora Core 6 for a while. :-( >>>> >>>> Colin. >>>> >>>> ------------------------------------------------------------------- >>>> --- >>>> --- >>>> SF.Net email is sponsored by: The Future of Linux Business White >>>> Paper >>>> from Novell. From the desktop to the data center, Linux is going >>>> mainstream. Let it simplify your IT future. >>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>>> _______________________________________________ >>>> sql-ledger-users mailing list >>>> sql...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>>> >>>> >>> -------------------------------------------------------------------- >>> ----- >>> SF.Net email is sponsored by: The Future of Linux Business White >>> Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> sql-ledger-users mailing list >>> sql...@li... >>> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>> >>> >> >> --------------------------------------------------------------------- >> ---- >> SF.Net email is sponsored by: The Future of Linux Business White >> Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> sql-ledger-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> > > > ---------------------------------------------------------------------- > --- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users |
From: Colin M. <co...@it...> - 2007-12-03 12:08:47
|
Thanks for the reply Michael. Data was not migrated. If I create a new database and create only one customer and one service and then try and invoice or a sales order I get a HASH reference error. Has anyone had SL working with Fedora 8? Fedora 7? perl-5.8.8? Permissions are as set by setup.pl, and checked against the FAQ. Colin. Michael Hasse wrote: > If it was migrated from an old machine maybe it's something simple > like a file or folder with bad permissions...? > > > Thanks, > > Michael > > > On Dec 2, 2007, at 12:10 AM, Colin Manning wrote: > > >> Hi All, >> >> I have narrowed my problem down to something to do with tax. >> >> Lines 1375 - 1379 from OE.pm: >> >> # adjust taxes for lineitems >> my $total = 0; >> for (@{ $form->{lineitems} }) { >> $total += $_->{tax}; >> } >> >> I had this all working before my old machine died, but I just can't >> get >> this working. - very frustrating - invoices are keyed in (as sales >> orders), but I can't print, so can I get paid :-(. >> >> Please help. >> >> >> I have set up the taxes correctly in the system ==> taxes page, and >> set >> my ABN in the system --> defaults page - any hints please? >> >> >> >> >> >> Colin Manning wrote: >> >>> Thanks Michael. >>> >>> I've searched the mailing list for "hash reference" and "unreferenced >>> scalar" and didn't find any solutions. the second search returned >>> this >>> thread and a similar (unanswered) post on 2007-10-22. >>> >>> is perl-5.8.8 supported? >>> >>> I'm using postgresql-8.2.5-1.fc8 >>> >>> I have done a default install - using setup.pl to my fedora 8 box. >>> Create one dataset and one user (administrator type), one client >>> and one >>> service. >>> >>> Try to print (even HTML) and it errors. >>> >>> I have not performed any customisation. >>> >>> Any further ideas? >>> >>> >>> >>> >>> Michael Hasse wrote: >>> >>> >>>> Had this awhile back when we were customizing the invoice layout. >>>> Don't remember the exact cause but it ended up being a "special" >>>> character which wasn't being escaped properly. It would display >>>> fine >>>> but when converting to PDF, printing etc the interpreter wasn't >>>> happy. As I recall somebody Googled the error and found the cause >>>> pretty quickly. >>>> >>>> >>>> Thanks, >>>> >>>> Michael >>>> >>>> >>>> On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: >>>> >>>> >>>> >>>> >>>>> Hi All, >>>>> >>>>> I get this error when trying to print or email an order >>>>> >>>>> >>>>> Error! >>>>> >>>>> *Not a HASH reference at SL/OE.pm line 1378. >>>>> **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl >>>>> interpreter: >>>>> 0x98d6008 at SL/OE.pm line 1378. >>>>> * >>>>> >>>>> I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 >>>>> >>>>> Any tips? >>>>> >>>>> Have been working fine on Fedora Core 6 for a while. :-( >>>>> >>>>> Colin. >>>>> >>>>> ------------------------------------------------------------------- >>>>> --- >>>>> --- >>>>> SF.Net email is sponsored by: The Future of Linux Business White >>>>> Paper >>>>> from Novell. From the desktop to the data center, Linux is going >>>>> mainstream. Let it simplify your IT future. >>>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>>>> _______________________________________________ >>>>> sql-ledger-users mailing list >>>>> sql...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>>>> >>>>> >>>>> >>>> -------------------------------------------------------------------- >>>> ----- >>>> SF.Net email is sponsored by: The Future of Linux Business White >>>> Paper >>>> from Novell. From the desktop to the data center, Linux is going >>>> mainstream. Let it simplify your IT future. >>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>>> _______________________________________________ >>>> sql-ledger-users mailing list >>>> sql...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> ---- >>> SF.Net email is sponsored by: The Future of Linux Business White >>> Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> sql-ledger-users mailing list >>> sql...@li... >>> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>> >>> >> ---------------------------------------------------------------------- >> --- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> sql-ledger-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Trevor H. <tre...@th...> - 2007-12-03 19:40:45
|
Colin, This bit me this afternoon and it is due to an upgrade of Perl on Fedora7 and Fedora8. I tried some fix suggested in the support forum but it didn't work. To make sure I could get invoices out this afternoon I had to install SQL-Ledger on another box running Fedora5, without the updated Perl version, and that worked OK. If this doesn't get fixed soon a lot more people will feel the pain. Regards Trevor Hennion -- Infocentrality Ltd http://www.infocentrality.co.uk Colin Manning wrote: > Thanks for the reply Michael. > > Data was not migrated. > > If I create a new database and create only one customer and one service > and then try and invoice or a sales order I get a HASH reference error. > > Has anyone had SL working with Fedora 8? Fedora 7? perl-5.8.8? > > Permissions are as set by setup.pl, and checked against the FAQ. > > Colin. > > Michael Hasse wrote: >> If it was migrated from an old machine maybe it's something simple >> like a file or folder with bad permissions...? >> >> >> Thanks, >> >> Michael >> >> >> On Dec 2, 2007, at 12:10 AM, Colin Manning wrote: >> >> >>> Hi All, >>> >>> I have narrowed my problem down to something to do with tax. >>> >>> Lines 1375 - 1379 from OE.pm: >>> >>> # adjust taxes for lineitems >>> my $total = 0; >>> for (@{ $form->{lineitems} }) { >>> $total += $_->{tax}; >>> } >>> >>> I had this all working before my old machine died, but I just can't >>> get >>> this working. - very frustrating - invoices are keyed in (as sales >>> orders), but I can't print, so can I get paid :-(. >>> >>> Please help. >>> >>> >>> I have set up the taxes correctly in the system ==> taxes page, and >>> set >>> my ABN in the system --> defaults page - any hints please? >>> >>> >>> >>> >>> >>> Colin Manning wrote: >>> >>>> Thanks Michael. >>>> >>>> I've searched the mailing list for "hash reference" and "unreferenced >>>> scalar" and didn't find any solutions. the second search returned >>>> this >>>> thread and a similar (unanswered) post on 2007-10-22. >>>> >>>> is perl-5.8.8 supported? >>>> >>>> I'm using postgresql-8.2.5-1.fc8 >>>> >>>> I have done a default install - using setup.pl to my fedora 8 box. >>>> Create one dataset and one user (administrator type), one client >>>> and one >>>> service. >>>> >>>> Try to print (even HTML) and it errors. >>>> >>>> I have not performed any customisation. >>>> >>>> Any further ideas? >>>> >>>> >>>> >>>> >>>> Michael Hasse wrote: >>>> >>>> >>>>> Had this awhile back when we were customizing the invoice layout. >>>>> Don't remember the exact cause but it ended up being a "special" >>>>> character which wasn't being escaped properly. It would display >>>>> fine >>>>> but when converting to PDF, printing etc the interpreter wasn't >>>>> happy. As I recall somebody Googled the error and found the cause >>>>> pretty quickly. >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> Michael >>>>> >>>>> >>>>> On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> Hi All, >>>>>> >>>>>> I get this error when trying to print or email an order >>>>>> >>>>>> >>>>>> Error! >>>>>> >>>>>> *Not a HASH reference at SL/OE.pm line 1378. >>>>>> **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl >>>>>> interpreter: >>>>>> 0x98d6008 at SL/OE.pm line 1378. >>>>>> * >>>>>> >>>>>> I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 >>>>>> >>>>>> Any tips? >>>>>> >>>>>> Have been working fine on Fedora Core 6 for a while. :-( >>>>>> >>>>>> Colin. >>>>>> |
From: Dieter S. <dsi...@sq...> - 2007-12-03 20:40:21
|
On Mon, 3 Dec 2007, Trevor Hennion wrote: > Colin, > > This bit me this afternoon and it is due to an upgrade of Perl on > Fedora7 and Fedora8. > > I tried some fix suggested in the support forum but it didn't work. > > To make sure I could get invoices out this afternoon I had to install > SQL-Ledger on another box running Fedora5, without the updated Perl > version, and that worked OK. > > If this doesn't get fixed soon a lot more people will feel the pain. change the code in OE.pm on line 1375 to # adjust taxes for lineitems my $total = 0; for my $ref (@{ $form->{lineitems} }) { $total += $ref->{tax}; } report back if perl still barfs after the change. |
From: Trevor H. <tre...@th...> - 2007-12-03 22:23:12
|
Dieter Simader wrote: > On Mon, 3 Dec 2007, Trevor Hennion wrote: > >> Colin, >> >> This bit me this afternoon and it is due to an upgrade of Perl on >> Fedora7 and Fedora8. >> >> I tried some fix suggested in the support forum but it didn't work. >> >> To make sure I could get invoices out this afternoon I had to install >> SQL-Ledger on another box running Fedora5, without the updated Perl >> version, and that worked OK. >> >> If this doesn't get fixed soon a lot more people will feel the pain. > > change the code in OE.pm on line 1375 to > > # adjust taxes for lineitems > my $total = 0; > for my $ref (@{ $form->{lineitems} }) { > $total += $ref->{tax}; > } > > report back if perl still barfs after the change. > Dieter, Thanks for the reply, however I'm sorry to say it didn't work. Still get: Error! Not a HASH reference at SL/IS.pm line 395. Attempt to free unreferenced scalar: SV 0x944bfb8, Perl interpreter: 0x8d45008 at SL/IS.pm line 395. This is a link to the recent Perl upgrade http://lwn.net/Alerts/258413/ Doesn't mean much to me! Regards Trevor -- Infocentrality Ltd http://www.infocentrality.co.uk |
From: Dieter S. <dsi...@sq...> - 2007-12-03 23:17:23
|
On Mon, 3 Dec 2007, Trevor Hennion wrote: > Dieter Simader wrote: >> On Mon, 3 Dec 2007, Trevor Hennion wrote: >> >>> Colin, >>> >>> This bit me this afternoon and it is due to an upgrade of Perl on >>> Fedora7 and Fedora8. >>> >>> I tried some fix suggested in the support forum but it didn't work. >>> >>> To make sure I could get invoices out this afternoon I had to install >>> SQL-Ledger on another box running Fedora5, without the updated Perl >>> version, and that worked OK. >>> >>> If this doesn't get fixed soon a lot more people will feel the pain. >> >> change the code in OE.pm on line 1375 to >> >> # adjust taxes for lineitems >> my $total = 0; >> for my $ref (@{ $form->{lineitems} }) { >> $total += $ref->{tax}; >> } >> >> report back if perl still barfs after the change. >> > > Dieter, > > Thanks for the reply, however I'm sorry to say it didn't work. > Still get: > > Error! > Not a HASH reference at SL/IS.pm line 395. > Attempt to free unreferenced scalar: SV 0x944bfb8, Perl interpreter: > 0x8d45008 at SL/IS.pm line 395. OE.pm and IS.pm are two different things. This particular code construct also exists in other modules, so let's not test something you have not made changes to. Of course there will still be an error if you haven't made the change yet. So, please edit IS.pm and make the change and report back or try to print an order with the changed OE.pm file. If printing an order works we change all the other occurances where this code construct exists in the code. clear as mud? |
From: Colin M. <co...@it...> - 2007-12-04 00:55:51
|
If I comment out the offending lines in OE.pm I get the following output. Take note of the Order Number. Don't know if this is a red herring, or useful information.... I.T. Navigate Pty Ltd PO Box 562 Bakers Hill Western Australia 6562 Tel: 08 9574 0200 Fax: 08 9574 0201 ------------------------------------------------------------------------ S A L E S O R D E R To Ship To Client Client Order # Order Date Required by Salesperson Shipping Point Ship Via 1 29/11/2007 Colin Manning Item Number Description Qt'y Price Disc % Amount 1. B/H Consulting Business Hours Consulting : 4 Hours 1.00 4.00 20051101. B/H Consulting Business Hours Consulting : 9 Hours 1.00 9.00 20101101. B/H Consulting Business Hours Consulting : 3 Hours 1.00 3.00 ------------------------------------------------------------------------ Subtotal 16.00 OUTPUT GST on 16.00 @ 10 % 1.60 ------------------------------------------------------------------------ Seventeen ***** 60/100 Terms Net *7* days Total 17.60 All prices in AUD Funds Special order items are subject to a 10% order cancellation fee. X Dieter Simader wrote: > On Mon, 3 Dec 2007, Trevor Hennion wrote: > > >> Dieter Simader wrote: >> >>> On Mon, 3 Dec 2007, Trevor Hennion wrote: >>> >>> >>>> Colin, >>>> >>>> This bit me this afternoon and it is due to an upgrade of Perl on >>>> Fedora7 and Fedora8. >>>> >>>> I tried some fix suggested in the support forum but it didn't work. >>>> >>>> To make sure I could get invoices out this afternoon I had to install >>>> SQL-Ledger on another box running Fedora5, without the updated Perl >>>> version, and that worked OK. >>>> >>>> If this doesn't get fixed soon a lot more people will feel the pain. >>>> >>> change the code in OE.pm on line 1375 to >>> >>> # adjust taxes for lineitems >>> my $total = 0; >>> for my $ref (@{ $form->{lineitems} }) { >>> $total += $ref->{tax}; >>> } >>> >>> report back if perl still barfs after the change. >>> >>> >> Dieter, >> >> Thanks for the reply, however I'm sorry to say it didn't work. >> Still get: >> >> Error! >> Not a HASH reference at SL/IS.pm line 395. >> Attempt to free unreferenced scalar: SV 0x944bfb8, Perl interpreter: >> 0x8d45008 at SL/IS.pm line 395. >> > > OE.pm and IS.pm are two different things. This particular code construct > also exists in other modules, so let's not test something you have not > made changes to. Of course there will still be an error if you haven't > made the change yet. > > So, please edit IS.pm and make the change and report back or try to print > an order with the changed OE.pm file. If printing an order works we change > all the other occurances where this code construct exists in the code. > clear as mud? > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Colin M. <co...@it...> - 2007-12-04 00:57:34
|
i.e. lines 1375 - 1390 Colin Manning wrote: > If I comment out the offending lines in OE.pm I get the following output. > > Take note of the Order Number. > > > Don't know if this is a red herring, or useful information.... > > > I.T. Navigate Pty Ltd > PO Box 562 > Bakers Hill Western Australia 6562 > > > > > Tel: 08 9574 0200 > Fax: 08 9574 0201 > > ------------------------------------------------------------------------ > > > > > S A L E S O R D E R > > > To Ship To > Client Client > > > Order # Order Date Required by Salesperson Shipping Point Ship Via > 1 29/11/2007 > Colin Manning > > > Item Number Description Qt'y Price Disc % Amount > 1. B/H Consulting Business Hours Consulting : 4 Hours 1.00 > 4.00 > 20051101. B/H Consulting Business Hours Consulting : > > 9 Hours 1.00 > 9.00 > 20101101. B/H Consulting Business Hours Consulting : > > 3 Hours 1.00 > 3.00 > ------------------------------------------------------------------------ > Subtotal 16.00 > OUTPUT GST on 16.00 @ 10 % 1.60 > > ------------------------------------------------------------------------ > Seventeen ***** 60/100 > Terms Net *7* days Total 17.60 > > > All prices in AUD Funds > > > Special order items are subject to a 10% order cancellation fee. X > > > > > Dieter Simader wrote: > >> On Mon, 3 Dec 2007, Trevor Hennion wrote: >> >> >> >>> Dieter Simader wrote: >>> >>> >>>> On Mon, 3 Dec 2007, Trevor Hennion wrote: >>>> >>>> >>>> >>>>> Colin, >>>>> >>>>> This bit me this afternoon and it is due to an upgrade of Perl on >>>>> Fedora7 and Fedora8. >>>>> >>>>> I tried some fix suggested in the support forum but it didn't work. >>>>> >>>>> To make sure I could get invoices out this afternoon I had to install >>>>> SQL-Ledger on another box running Fedora5, without the updated Perl >>>>> version, and that worked OK. >>>>> >>>>> If this doesn't get fixed soon a lot more people will feel the pain. >>>>> >>>>> >>>> change the code in OE.pm on line 1375 to >>>> >>>> # adjust taxes for lineitems >>>> my $total = 0; >>>> for my $ref (@{ $form->{lineitems} }) { >>>> $total += $ref->{tax}; >>>> } >>>> >>>> report back if perl still barfs after the change. >>>> >>>> >>>> >>> Dieter, >>> >>> Thanks for the reply, however I'm sorry to say it didn't work. >>> Still get: >>> >>> Error! >>> Not a HASH reference at SL/IS.pm line 395. >>> Attempt to free unreferenced scalar: SV 0x944bfb8, Perl interpreter: >>> 0x8d45008 at SL/IS.pm line 395. >>> >>> >> OE.pm and IS.pm are two different things. This particular code construct >> also exists in other modules, so let's not test something you have not >> made changes to. Of course there will still be an error if you haven't >> made the change yet. >> >> So, please edit IS.pm and make the change and report back or try to print >> an order with the changed OE.pm file. If printing an order works we change >> all the other occurances where this code construct exists in the code. >> clear as mud? >> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> sql-ledger-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> >> > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Colin M. <co...@it...> - 2007-12-03 23:37:07
|
Hmm... Same error. Dieter Simader wrote: > On Mon, 3 Dec 2007, Trevor Hennion wrote: > > >> Colin, >> >> This bit me this afternoon and it is due to an upgrade of Perl on >> Fedora7 and Fedora8. >> >> I tried some fix suggested in the support forum but it didn't work. >> >> To make sure I could get invoices out this afternoon I had to install >> SQL-Ledger on another box running Fedora5, without the updated Perl >> version, and that worked OK. >> >> If this doesn't get fixed soon a lot more people will feel the pain. >> > > change the code in OE.pm on line 1375 to > > # adjust taxes for lineitems > my $total = 0; > for my $ref (@{ $form->{lineitems} }) { > $total += $ref->{tax}; > } > > report back if perl still barfs after the change. > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Colin M. <co...@it...> - 2007-12-04 04:25:42
|
Thanks for this tip Trevor, I installed vmware player and run fc6 for there just for SL till this gets resolved. Trevor Hennion wrote: > Colin, > > This bit me this afternoon and it is due to an upgrade of Perl on > Fedora7 and Fedora8. > > I tried some fix suggested in the support forum but it didn't work. > > To make sure I could get invoices out this afternoon I had to install > SQL-Ledger on another box running Fedora5, without the updated Perl > version, and that worked OK. > > If this doesn't get fixed soon a lot more people will feel the pain. > > Regards > > Trevor Hennion > > |