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

Re: startman + master



are you trying the PGObject::Util::DBAdmin from github or from cpan?

I may have forgotten to update cpan.  Try building from github and if
that fixes it, I will release to cpan.

The repo is at https://github.com/ledgersmb/PGObject-Util-DBAdmin

Standard:

perl Makefile.PL
make
make install

Best Wishes,
Chris Travers

On Tue, Jul 14, 2015 at 5:58 PM, Chris Travers <..hidden..> wrote:
>> Can't call method "selectall_arrayref" on an undefined value at /usr/local/share/perl/5.14.2/PGObject/Util/DBAdmin.pm
>
> I think that's a problem on my list to solve.  The issue is the move
> to DBAdmin as a framework, and the fact that currently it bombs out if
> the connection fails.
>
> We need better handling of that.  It's a problem with master, and I
> was expecting to get it fixed last week.
>
> Best Wishes,
> Chris Travers
>
> On Tue, Jul 14, 2015 at 1:49 AM, Pongrácz István
> <..hidden..> wrote:
>> Hi,
>>
>> I try to install a master on debian 7 with starman (as it seems,
>> nginx+fcgiwrap does not work).
>>
>> It seems I was able to install all dependencies and I can load the setup.pl
>> opening page, where I can give super-user/password/db name.
>>
>> Unfortunately the next step failed with error. There are different errors,
>> depending on the database name: empty or filled.
>>
>> This is the case of empty database:
>>
>> Error!
>>
>> Can't call method "selectall_arrayref" on an undefined value at
>> /usr/local/share/perl/5.14.2/PGObject/Util/DBAdmin.pm line 142.
>> PGObject::Util::DBAdmin::list_dbs(LedgerSMB::Database=HASH(0x6f31100))
>> called at LedgerSMB/Scripts/setup.pm line 230
>> LedgerSMB::Scripts::setup::list_databases(LedgerSMB=HASH(0x50c42e0)) called
>> at LedgerSMB/Scripts/setup.pm line 141
>> LedgerSMB::Scripts::setup::login(LedgerSMB=HASH(0x50c42e0)) called at
>> lsmb-request.pl line 145 LedgerSMB::Handler::__ANON__() called at
>> /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at
>> /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try(CODE(0x50c9e50),
>> Try::Tiny::Catch=REF(0x6d1b468)) called at lsmb-request.pl line 157
>> LedgerSMB::Handler::call_script("setup.pl", LedgerSMB=HASH(0x50c42e0),
>> LedgerSMB::Locale::en=HASH(0x51ba680)) called at lsmb-request.pl line 185
>> require lsmb-request.pl called at LedgerSMB/PSGI.pm line 76
>> LedgerSMB::PSGI::_run_new("setup.pl") called at LedgerSMB/PSGI.pm line 40
>> LedgerSMB::PSGI::__ANON__() called at
>> /usr/local/share/perl/5.14.2/CGI/Emulate/PSGI.pm line 29
>> CGI::Emulate::PSGI::__ANON__(HASH(0x6ee89a8)) called at
>> /usr/share/perl5/Plack/Middleware/Static.pm line 18
>> Plack::Middleware::Static::call(Plack::Middleware::Static=HASH(0x6d1c810),
>> HASH(0x6ee89a8)) called at /usr/share/perl5/Plack/Component.pm line 39
>> Plack::Component::__ANON__(HASH(0x6ee89a8)) called at
>> /usr/share/perl5/Plack/Util.pm line 165 eval {...} called at
>> /usr/share/perl5/Plack/Util.pm line 165
>> Plack::Util::run_app(CODE(0x6d1c750), HASH(0x6ee89a8)) called at
>> /usr/share/perl5/Starman/Server.pm line 255
>> Starman::Server::process_request(Starman::Server=HASH(0x20f07e8),
>> Net::Server::Proto::TCP=GLOB(0x6ee8ab0)) called at
>> /usr/local/share/perl/5.14.2/Net/Server.pm line 74
>> Net::Server::run_client_connection(Starman::Server=HASH(0x20f07e8)) called
>> at /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 229 eval {...}
>> called at /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 229
>> Net::Server::PreFork::run_child(Starman::Server=HASH(0x20f07e8)) called at
>> /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 187
>> Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x20f07e8), 5)
>> called at /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 111
>> Net::Server::PreFork::loop(Starman::Server=HASH(0x20f07e8)) called at
>> /usr/local/share/perl/5.14.2/Net/Server.pm line 60
>> Net::Server::run(Starman::Server=HASH(0x20f07e8), "port", ARRAY(0x20f0b60),
>> "host", ARRAY(0x6d1a9e8), "proto", ARRAY(0x6d1c600), "serialize", "flock",
>> ...) called at /usr/share/perl5/Starman/Server.pm line 67
>> Starman::Server::run(Starman::Server=HASH(0x20f07e8), CODE(0x6d1c750),
>> HASH(0x20f0b18)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 18
>> Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x20f0938),
>> CODE(0x6d1c750)) called at /usr/share/perl5/Plack/Loader.pm line 88
>> Plack::Loader::run(Plack::Loader=HASH(0x20d0508),
>> Plack::Handler::Starman=HASH(0x20f0938)) called at
>> /usr/share/perl5/Plack/Runner.pm line 263
>> Plack::Runner::run(Plack::Runner=HASH(0x1eb5ec0)) called at /usr/bin/starman
>> line 31
>>
>>  This is the case of entered database name (non-existent db):
>>
>> Error!
>>
>> Can't call method "selectrow_array" on an undefined value at
>> /usr/local/share/perl/5.14.2/PGObject/Util/DBAdmin.pm line 124.
>> PGObject::Util::DBAdmin::server_version(LedgerSMB::Database=HASH(0x6f2fc38))
>> called at LedgerSMB/Scripts/setup.pm line 146
>> LedgerSMB::Scripts::setup::login(LedgerSMB=HASH(0x50c42e0)) called at
>> lsmb-request.pl line 145 LedgerSMB::Handler::__ANON__() called at
>> /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at
>> /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try(CODE(0x50c9e68),
>> Try::Tiny::Catch=REF(0x6d1b468)) called at lsmb-request.pl line 157
>> LedgerSMB::Handler::call_script("setup.pl", LedgerSMB=HASH(0x50c42e0),
>> LedgerSMB::Locale::en=HASH(0x51ba698)) called at lsmb-request.pl line 185
>> require lsmb-request.pl called at LedgerSMB/PSGI.pm line 76
>> LedgerSMB::PSGI::_run_new("setup.pl") called at LedgerSMB/PSGI.pm line 40
>> LedgerSMB::PSGI::__ANON__() called at
>> /usr/local/share/perl/5.14.2/CGI/Emulate/PSGI.pm line 29
>> CGI::Emulate::PSGI::__ANON__(HASH(0x6ee8810)) called at
>> /usr/share/perl5/Plack/Middleware/Static.pm line 18
>> Plack::Middleware::Static::call(Plack::Middleware::Static=HASH(0x6d1c810),
>> HASH(0x6ee8810)) called at /usr/share/perl5/Plack/Component.pm line 39
>> Plack::Component::__ANON__(HASH(0x6ee8810)) called at
>> /usr/share/perl5/Plack/Util.pm line 165 eval {...} called at
>> /usr/share/perl5/Plack/Util.pm line 165
>> Plack::Util::run_app(CODE(0x6d1c750), HASH(0x6ee8810)) called at
>> /usr/share/perl5/Starman/Server.pm line 255
>> Starman::Server::process_request(Starman::Server=HASH(0x20f07e8),
>> Net::Server::Proto::TCP=GLOB(0x6ee8ed0)) called at
>> /usr/local/share/perl/5.14.2/Net/Server.pm line 74
>> Net::Server::run_client_connection(Starman::Server=HASH(0x20f07e8)) called
>> at /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 229 eval {...}
>> called at /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 229
>> Net::Server::PreFork::run_child(Starman::Server=HASH(0x20f07e8)) called at
>> /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 187
>> Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x20f07e8), 5)
>> called at /usr/local/share/perl/5.14.2/Net/Server/PreFork.pm line 111
>> Net::Server::PreFork::loop(Starman::Server=HASH(0x20f07e8)) called at
>> /usr/local/share/perl/5.14.2/Net/Server.pm line 60
>> Net::Server::run(Starman::Server=HASH(0x20f07e8), "port", ARRAY(0x20f0b60),
>> "host", ARRAY(0x6d1a9e8), "proto", ARRAY(0x6d1c600), "serialize", "flock",
>> ...) called at /usr/share/perl5/Starman/Server.pm line 67
>> Starman::Server::run(Starman::Server=HASH(0x20f07e8), CODE(0x6d1c750),
>> HASH(0x20f0b18)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 18
>> Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x20f0938),
>> CODE(0x6d1c750)) called at /usr/share/perl5/Plack/Loader.pm line 88
>> Plack::Loader::run(Plack::Loader=HASH(0x20d0508),
>> Plack::Handler::Starman=HASH(0x20f0938)) called at
>> /usr/share/perl5/Plack/Runner.pm line 263
>> Plack::Runner::run(Plack::Runner=HASH(0x1eb5ec0)) called at /usr/bin/starman
>> line 31
>>
>> dbversion: 1.4.999, company:
>>
>> What am I missing?
>>
>> Running Makefile.PL shows every dependencies are installed, loaded, there
>> are no missing modules.
>>
>> Thanks,
>>
>> István
>>
>>
>> ------------------------------------------------------------------------------
>> Don't Limit Your Business. Reach for the Cloud.
>> GigeNET's Cloud Solutions provide you with the tools and support that
>> you need to offload your IT needs and focus on growing your business.
>> Configured For All Businesses. Start Your Cloud Today.
>> https://www.gigenetcloud.com/
>> _______________________________________________
>> Ledger-smb-devel mailing list
>> ..hidden..
>> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel