James S White via RT wrote on 2/15/10 3:20 PM:
Show quoted text> Queue: Catalyst-Authentication-Store-LDAP
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=53279 >
>
> Yes, I'm just doing a "$c->session->{'user'} = $c->user;" is that not allowed?
> I just did it because I was lazy, I could remove it and re-look it up each time
> by storing the credentials in the session...
>
> Here is what Carp::Always returned. I see the same problems on debian(lenny) and CentOS_5.4. Would it be possible to make Catalyst-Authentication-Store-LDAP-0.1005.tar.gz available again, as that version seems to work fine...
>
you can always grab the tagged version from svn:
http://dev.catalystframework.org/svnweb/Catalyst/browse/Catalyst-Authentication-Store-LDAP/tags/0.1005/
However, it would be good to determine if this is a problem with the 1.006
release or not.
t0m: could this be due to the closure in User.pm for check_password() ?
and all those NEXT calls are Fail. James, you should probably look at upgrading
the offending plugins (looks like RequireSSL and Static::Simple).
Show quoted text>
> [error] Caught exception in engine "Can't store CODE items at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/logcroak.al) line 74
> Storable::logcroak('Can\'t store CODE items at ../../lib/Storable.pm (autosplit i...') called at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 291
> Storable::_freeze('CODE(0xa9d1308)', 'HASH(0x9b4f698)') called at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/nfreeze.al) line 278
> Storable::nfreeze('HASH(0x9b4f698)') called at /usr/lib/perl5/vendor_perl/5.8.8/Object/Signature.pm line 19
> Object::Signature::signature('HASH(0x9b4f698)') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst/Plugin/Session.pm line 146
> Catalyst::Plugin::Session::_save_session('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst/Plugin/Session.pm line 116
> Catalyst::Plugin::Session::finalize_session('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst/Plugin/Session.pm line 106
> Catalyst::Plugin::Session::finalize('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/5.8.8/NEXT.pm line 75
> NEXT::AUTOLOAD('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst/Plugin/Static/Simple.pm line 79
> Catalyst::Plugin::Static::Simple::finalize('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/5.8.8/NEXT.pm line 75
> NEXT::AUTOLOAD('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/RequireSSL.pm line 57
> Catalyst::Plugin::RequireSSL::finalize('pkild=HASH(0xb0d0c2c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst.pm line 1511
> eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst.pm line 1501
> Catalyst::handle_request('pkild') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst/Engine/HTTP.pm line 380
> Catalyst::Engine::HTTP::_handler('Catalyst::Engine::HTTP=HASH(0xa793ef4)', 'pkild', 3000, 'POST', '/jstree', 'HTTP/1.1') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst/Engine/HTTP.pm line 285
> Catalyst::Engine::HTTP::run('Catalyst::Engine::HTTP=HASH(0xa793ef4)', 'pkild', 3000, 'undef', 'HASH(0x9b4957c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Catalyst.pm line 1824
> Catalyst::run('pkild', 3000, 'undef', 'HASH(0x9b4957c)') called at ./script/pkild_server.pl line 55"
>
>
>
--
Peter Karman .
http://peknet.com/ . peter@peknet.com