Subject: | file not seekable |
file not seekable with 1.16 whereas it is with older 1.10 ZIP module
Hi, bear with me it is my first bug report
This was in the source of tv_grab_uk_bleb
##########################################################################
# Warning - Archive::Zip versions 1.11 to 1.13 contain a bug which
## causes tv_grab_uk_bleb to fail. Please downgrade to Archive::Zip 1.10 #
# or upgrade to a later version if available.
##########################################################################
This is the perl version I use
This is perl, v5.8.6 built for i386-linux
Linux localhost 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 AMD
Sempron(tm) unknown GNU/Linux
$ head -2 /usr/lib/perl5/vendor_perl/5.8.5/Archive/Zip.pm
#! perl -w
# $Revision: 1.104.2.1 $
This is the error
$ tv_grab_uk_bleb --output tototv --days 1
using config filename /home/myntl/.xmltv/tv_grab_uk_bleb.conf
downloading listings
http://www.bleb.org/tv/data/listings/1?format=XMLTV&file=zip&channels=bbc1,bbc2,itv1,ch4,five,bbc3&days=0:
error: file not seekable
at /usr/lib/perl5/vendor_perl/5.8.5/Archive/Zip.pm line 950
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x851d070)',
'IO::Scalar=GLOB(0x8519218)') called at /usr/bin/tv_grab_uk_bleb line 177
line 177 and 178 are
my $zip = Archive::Zip->new();
$zip->readFromFileHandle($fake_filehandle);
With the 1.10 version it works ok
(I just replaced Zip.pm by an older version)
$ tv_grab_uk_bleb --output tototv --days 3 --offset 0
using config filename /home/myntl/.xmltv/tv_grab_uk_bleb.conf
downloading listings
http://www.bleb.org/tv/data/listings?format=XMLTV&file=zip&channels=bbc1&days=0:
removing stop time before start time: <programme start="20060221043000
+0000" stop="20060220000000 +0000" channel="south.bbc1.bbc.co.uk"> at
/usr/lib/perl5/vendor_perl/5.8.6/XMLTV/Grab_XML.pm line 369.