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

Re: LSMB with Pg 9 3, Apache 2.4, Perl 5.18 ?



I get a message saying Module::Plugable will be removed from later versions of Perl so should be installed from CPAN, not that it has been removed yet.

Arch uses the same versions.

Kind regards


Benedict White

Chris Travers <..hidden..> wrote:




On Sat, Mar 15, 2014 at 7:18 AM, Robert J. Clay <..hidden..> wrote:
On Sat, Mar 15, 2014 at 9:13 AM, Benedict White
<..hidden..> wrote:
> Yes, that is exactly what Arch uses and it can't create a database, see my earlier post on packaging for Arch.
> Do you get the same error?

  You mean this one: " LedgerSMB::Scripts::setup : : syntax error at
LedgerSMB/DBObject_Moose.pm"?   No, not that one; but then I'm not
working on 1.4 yet... (Yes, I do plan to...)

That syntax error is actually thrown earlier and because of late binding, that's all we see.

Typically if you see that error, first make sure that all dependencies load.  This means, in particular, LedgerSMB::PGDate, LedgerSMB::PGNumber, and LedgerSMB::MooseTypes. 

Best Wishes,
Chris Travers

   This is from the Apache loq:
------------------------------------------------------------------------------------------------------------------------------
2014/03/11 19:24:27 - ERROR - LedgerSMB::dberror LedgerSMB.pm (1100)
-- Logging SQL State 42883, error 7, string ERROR:  function
public.setting_get(unknown) does not exist
LINE 1: SELECT * FROM "public"."setting_get"($1)
                      ^
HINT:  No function matches the given name and argument types. You
might need to add explicit type casts.
Can't use string ("LedgerSMB::Setting") as a HASH ref while "strict
refs" in use at LedgerSMB.pm line 942.
Compilation failed in require at /usr/share/ledgersmb/setup.pl line 8.
[Tue Mar 11 19:24:27.709086 2014] [cgid:error] [pid 14744:tid
3012533056] [client 192.168.4.19:55620] End of script output before
headers: setup.pl, referer: http://lsmbtst/ledgersmb/setup.pl
------------------------------------------------------------------------------------------------------------------------------







--
Robert J. Clay
..hidden..
..hidden..

------------------------------------------------------------------------------
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-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel



--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.
http://www.efficito.com/learn_more