Skip Menu |
 

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: 0/
Queue: Storable

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

Bug Information
Severity: Important
Broken in: 1.0.14
Fixed in: (no value)



MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: Trouble storing an HTTP::Response object
Content-Type: multipart/mixed; boundary="----------=_1018627146-31821-3"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 463
Download (untitled) / with headers
text/plain 463b
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
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.5.HEAD-8860-1140703568-944.477-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 549
Download (untitled) / with headers
text/plain 549b
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
MIME-Version: 1.0
In-Reply-To: <rt-3.5.HEAD-8860-1140703568-944.477-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
References: <rt-3.5.HEAD-8860-1140703568-944.477-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.5.HEAD-8878-1140703684-1804.477-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: karl.royer [...] bigmite.co.uk
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 872
Download (untitled) / with headers
text/plain 872b
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
> >
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-1964-1513033385-1573.477-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 2479
Download (untitled) / with headers
text/plain 2.4k
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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