On Sat, Mar 15, 2014 at 7:18 AM, Robert J. Clay <[email protected]> wrote:
> On Sat, Mar 15, 2014 at 9:13 AM, Benedict White
> <[email protected]> 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
> [email protected]
> [email protected]
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel