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

Re: LedgerSMB 1.4.32 - installation



Thank you so much, Robert. To answer your questions:

I installed ledgersmb from the jessie main repo from Mint 18.

I've been playing a bit more and hopefully have more info to provide you here. I attempted to follow the instructions on: http://ledgersmb.org/faq/latex but I didn't have a Path.pm file in the Perl5/drivers folder, so carrying on, I created a sales order and tried to view it on the screen and got this error (to be expected according to the page):

[client 127.0.0.1:41830] AH01215: 2016/08/16 13:16:00 - ERROR - lsmb_legacy::_error old-handler.pl (104) -- 'latex error - latex exited with errors:: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.403936 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! : /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.403951 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: l.26 \\RequireXeTeX: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.403968 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.403972 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: !: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.403987 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! Fatal fontspec error: "cannot-use-pdftex": /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.403991 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! : /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404009 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! The fontspec package requires either XeTeX or LuaTeX.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404013 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! : /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404040 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! You must change your typesetting engine to, e.g., "xelatex" or: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404058 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! "lualatex"instead of plain "latex" or "pdflatex".: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404062 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! : /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404080 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! See the fontspec documentation for further information.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404084 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! : /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:16:00.404097 2016] [cgi:error] [pid 29391] [client
127.0.0.1:41830] AH01215: ! For immediate help type H <return>.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">

I looked in the Drivers.pm file and I changed pdf and ps references to xelatex from pdflatex and latex, and now I'm getting this error:

[Tue Aug 16 13:18:39.273878 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value $input in pattern match (m//) at /usr/share/ledgersmb/LedgerSMB/PGDate.pm line 164.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:39.273948 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value $string in string eq at /usr/share/ledgersmb/LedgerSMB/PGDate.pm line 131.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:39.312079 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/Taxes/Simple.pm line 53.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:39.312189 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value $params[0] in addition (+) at /usr/share/perl5/Math/BigFloat.pm line 1961.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:39.315518 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/bin/io.pl line 118.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:39.315819 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/bin/io.pl line 129.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:39.316756 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/bin/io.pl line 118.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl?action="">
[Tue Aug 16 13:18:44.025753 2016] [cgi:error] [pid 29393] [client
127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/Taxes/Simple.pm line 53.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.030052 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value $params[0] in addition (+) at /usr/share/perl5/Math/BigFloat.pm line 1961.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.048299 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1085.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.048527 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1086.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.048794 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1088.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.049036 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1090.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.050606 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1155.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.051313 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1178.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.051494 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1181.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.055218 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value $params[0] in addition (+) at /usr/share/perl5/Math/BigFloat.pm line 1961.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.055660 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value $params[0] in addition (+) at /usr/share/perl5/Math/BigFloat.pm line 1961.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.056518 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/Taxes/Simple.pm line 53.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.056649 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value $params[0] in addition (+) at /usr/share/perl5/Math/BigFloat.pm line 1961.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.057094 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1206.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.057277 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/OE.pm line 1207.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.057605 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in new at /usr/share/ledgersmb/LedgerSMB/Taxes/Simple.pm line 53.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.057735 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value $params[0] in addition (+) at /usr/share/perl5/Math/BigFloat.pm line 1961.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.344247 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in string eq at /usr/share/ledgersmb/LedgerSMB/Template/LaTeX.pm line 154.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.344353 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] AH01215: Use of uninitialized value in string eq at /usr/share/ledgersmb/LedgerSMB/Template/LaTeX.pm line 156.: /usr/share/ledgersmb/oe.pl, referer: http://localhost/ledgersmb/oe.pl
[Tue Aug 16 13:18:44.450153 2016] [cgi:error] [pid 29393] [client 127.0.0.1:48812] malformed header from script 'oe.pl': Bad header: This is XeTeX, Version 3.14159, referer: http://localhost/ledgersmb/oe.pl

Your time means so much to me, Robert. Thank you!! I have a sneaky feeling I'm awfully close.

Dawn


On Tue, Aug 16, 2016 at 1:37 PM, Robert J. Clay <..hidden..> wrote:
Dawn,

On Tue, Aug 16, 2016 at 1:26 PM, Dawn McNeill <..hidden..> wrote:
I think I'm over my head at this point lol I've been at this for days even wiping everything clean and trying V1.3x


   How have you been attempting to do the install?  And on which version of which OS?  And note that a 1.4.32 package is available at our apt.ledgersmb.org repository built for Debian 8 ('jessie').


 
The issues I'm seeing now are:
Creating "employee" contact appears to be creating customer (credit account AR, no wage and deductions tab) instead but I work around this by creating the employee in setup.pl instead of "Contacts" "Add Contact"

My biggest issue is the PDF/xelatex thing. Xelatex does work outside of ledgersmb interface. I went through the http://ledgersmb.org/system-requirements and ensured every Perl module was installed. I was able to get them all from Apt except Data::Dumper I used cpan. I've ensured it was installed by issue this command:
perl -e 'use Data::Dumper; print $Data::Dumper::VERSION."\n"'
2.161


   On Debian, Data::Dumper is part of the main Perl install, so you shouldn't need to install it from cpan for Debian or Debian derived OS's...  (Note that a base install of Debian/Ubuntu may only have a minimal Perl installed, rather than the full Perl represented by the 'perl' package...)


 
I then found this doc: https://sourceforge.net/p/ledger-smb/code/HEAD/tree/branches/1.4/INSTALL and ensured all those modules (including the Optional) were installed.

The Apache2 error I'm getting when I try to "pdf" a report is:

[Tue Aug 16 11:17:21.317791 2016] [cgi:error] [pid 29389] [client 127.0.0.1:40560] AH01215: 2016/08/16 11:17:21 - ERROR - LedgerSMB::_error /usr/share/ledgersmb/LedgerSMB.pm (640) -- undef error - Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/share/ledgersmb/LedgerSMB/Report.pm line 328.: /usr/share/ledgersmb/reports.pl, referer: http://localhost/ledgersmb/reports.pl?login=dawn&action="">_gifi&module=reports.pl&
[Tue Aug 16 11:17:21.319391 2016] [cgi:error] [pid 29389] [client 127.0.0.1:40560] AH01215: 2016/08/16 11:17:21 - ERROR - LedgerSMB::_error /usr/share/ledgersmb/LedgerSMB.pm (641) -- dbversion: 1.4.33-dev, company: testing:


   That 'dbversion' would seem to indicate that you're attempting to run or install it from a clone of the git repo?





Jame


Robert J. Clay
..hidden..

------------------------------------------------------------------------------

_______________________________________________
Ledger-smb-users mailing list
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users


------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users