Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Storable CPAN distribution.

Report information
The Basics
Id:
477
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
karl.royer [...] rdt.bigmite.co.uk
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
1.0.14
Fixed in:
(no value)



Subject: Trouble storing an HTTP::Response object
I ha written an HTML Checking tool which I plan to put on the Web. Recently I have problems retrieving a stored HTTP::Response object. On retrieval it complains about HTMLAppCheckBackground: Cannot restore overloading on SCALAR(0x8576498) (package URI::http) at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_retrieve.al) line 315, at /home/virtual-servers/bigmite.devk.bigmite.co.uk/cgi-bin/swat/HTMLAppCheckBackground line 132 This is a problem
On Fri Apr 12 11:59:06 2002, guest wrote:
Show quoted text
> I ha written an HTML Checking tool which I plan to put on the Web. > Recently I have problems retrieving a stored HTTP::Response
object.
Show quoted text
> On retrieval it complains about > > HTMLAppCheckBackground: Cannot restore overloading on > SCALAR(0x8576498) (package URI::http) at blib/lib/Storable.pm > (autosplit into blib/lib/auto/Storable/_retrieve.al) line 315, at > /home/virtual-servers/bigmite.devk.bigmite.co.uk/cgi- > bin/swat/HTMLAppCheckBackground line 132 > > This is a problem
From: karl.royer@bigmite.co.uk
This problem occurs when you have not loaded the URI::URL class initially, and the relevant AUTOLOAD code has not been evaluated. Thawing of the URL object's causes deserialisation issues. Yours, Karl Royer (yes I resolved this myself) On Thu Feb 23 09:06:08 2006, guest wrote:
Show quoted text
> On Fri Apr 12 11:59:06 2002, guest wrote:
> > I ha written an HTML Checking tool which I plan to put on the Web. > > Recently I have problems retrieving a stored HTTP::Response
> object.
> > On retrieval it complains about > > > > HTMLAppCheckBackground: Cannot restore overloading on > > SCALAR(0x8576498) (package URI::http) at blib/lib/Storable.pm > > (autosplit into blib/lib/auto/Storable/_retrieve.al) line 315,
at
Show quoted text
> > /home/virtual-servers/bigmite.devk.bigmite.co.uk/cgi- > > bin/swat/HTMLAppCheckBackground line 132 > > > > This is a problem
> >
On Fri Apr 12 11:59:06 2002, guest wrote:
Show quoted text
> I ha written an HTML Checking tool which I plan to put on the Web. > Recently I have problems retrieving a stored HTTP::Response object. On > retrieval it complains about > > HTMLAppCheckBackground: Cannot restore overloading on > SCALAR(0x8576498) (package URI::http) at blib/lib/Storable.pm > (autosplit into blib/lib/auto/Storable/_retrieve.al) line 315, at > /home/virtual-servers/bigmite.devk.bigmite.co.uk/cgi- > bin/swat/HTMLAppCheckBackground line 132 > > This is a problem
I can't reproduce this, it may have been fixed in the past: $ ~/perl/5.18.0-thr/bin/perl -MLWP::UserAgent -Ilib -MStorable=store -e '$ua = LWP::UserAgent->new; my $resp = $ua->get("https://users.perl5.git.perl.org/~tonyc/"); store($resp, "resp")' $ ~/perl/5.18.0-thr/bin/perl -Ilib -MData::Dumper -MStorable=retrieve -e '$x = retrieve("resp"); print Dumper($x)' $VAR1 = bless( { '_request' => bless( { '_content' => '', '_method' => 'GET', '_headers' => bless( { 'user-agent' => 'libwww-perl/6.31' }, 'HTTP::Headers' ), '_uri' => bless( do{\(my $o = 'https://users.perl5.git.perl.org/~tonyc/')}, 'URI::https' ) }, 'HTTP::Request' ), '_msg' => 'Protocol scheme \'https\' is not supported (LWP::Protocol::https not installed)', '_rc' => 501, '_content' => 'LWP will support https URLs if the LWP::Protocol::https module is installed. ', '_headers' => bless( { 'client-warning' => 'Internal response', 'content-type' => 'text/plain', '::std_case' => { 'client-warning' => 'Client-Warning', 'client-date' => 'Client-Date' }, 'client-date' => 'Mon, 11 Dec 2017 22:54:50 GMT' }, 'HTTP::Headers' ) }, 'HTTP::Response' ); Note the URI object was preserved. Tony


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.