[Catalyst] Two problems
Vsevolod (Simon) Ilyushchenko
simonf at cshl.edu
Wed Mar 30 19:00:04 CEST 2005
Hi,
After trying my Hops example with the newest Catalyst, I get this under
Apache 2 or CGI:
Can't locate object method "log" via package "Apache::RequestRec" at
/opt/software/perl/lib/perl5/site_perl/5.8.5/Catalyst/Engine.pm line 451
I tried to debug the code under the Perl web server, but it's not
possible any more - if the code runs under the debugger, each HTTP
request causes the error below. I tried to look into it, and I think it
happens because Socket.pm tries to read from STDIN, which does not work
right under the debugger. I wish the debugging ability came back.
Thanks,
Simon
***
You can connect to your server at http://localhost:3000/
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 370.
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 370
Socket::sockaddr_in('undef') called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm line 234
HTTP::Server::Simple::__ANON__[/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm:284]('Catalyst::Engine::Server::Simple::NetServer0')
called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm line 214
HTTP::Server::Simple::__ANON__[/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm:217]('Catalyst::Engine::Server::Simple::NetServer0',
'port', 3000) called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm line 185
HTTP::Server::Simple::run('Catalyst::Engine::Server::Simple=HASH(0x8c00bf8)')
called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/Catalyst/Engine/Server.pm
line 35
Catalyst::Engine::Server::run('Hops', 3000) called at script/server.pl
line 19
Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 370.
at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 370
Socket::sockaddr_in('undef') called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm line 234
HTTP::Server::Simple::__ANON__[/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm:284]('Catalyst::Engine::Server::Simple::NetServer0')
called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm line 214
HTTP::Server::Simple::__ANON__[/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm:217]('Catalyst::Engine::Server::Simple::NetServer0',
'port', 3000) called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/HTTP/Server/Simple.pm line 185
HTTP::Server::Simple::run('Catalyst::Engine::Server::Simple=HASH(0x8c00bf8)')
called at
/opt/software/perl/lib/perl5/site_perl/5.8.5/Catalyst/Engine/Server.pm
line 35
Catalyst::Engine::Server::run('Hops', 3000) called at
script/server.pl line 19
--
Simon (Vsevolod ILyushchenko) simonf at cshl.edu
http://www.simonf.com
Terrorism is a tactic and so to declare war on terrorism
is equivalent to Roosevelt's declaring war on blitzkrieg.
Zbigniew Brzezinski, U.S. national security advisor, 1977-81
More information about the Catalyst
mailing list