Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Git-CPAN-Patch CPAN distribution.

Report information
The Basics
Id: 46469
Status: resolved
Priority: 0/
Queue: Git-CPAN-Patch

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.1.6
Fixed in: (no value)



Subject: backpan-init should not die if broken tarballs exist at backpan
This happens when trying to import Encode using "git backpan-init Encode" (apologies for the non-English locale, the messages just say that the tar file is broken): opening backpan index Use of uninitialized value in string eq at /usr/local/share/perl/5.8.8/Parse/BACKPAN/Packages.pm line 83. Use of uninitialized value in string eq at /usr/local/share/perl/5.8.8/Parse/BACKPAN/Packages.pm line 83. Use of uninitialized value in string eq at /usr/local/share/perl/5.8.8/Parse/BACKPAN/Packages.pm line 83. [MSG] No '/home/slavenr/.cpanplus/custom-sources' dir, skipping custom sources created tag '2.27' (c9f394fddd30c698042f9906273c9f00a4db2177) importing Encode-2.28 importing Encode (http://backpan.perl.org/authors/id/D/DA/DANKOGAI/Encode-2.28.tar.gz) downloading Encode-2.28.tar.gz extracting distribution [ERROR] Unable to extract '/tmp/NX1yI_s3I5/Encode-2.28.tar.gz' to /tmp/NX1yI_s3 I5': Unable to read '/tmp/NX1yI_s3I5/Encode-2.28.tar.gz': Invalid header block a t offset unknown Error listing contents of archive '/tmp/NX1yI_s3I5/Encode-2.28.tar.gz': /bin/tar: Ovo ne izgleda kao tar arhiva /bin/tar: Preskačem do slijedećeg zaglavlja /bin/tar: Pogrešan izlaz (naknadno) zbog prijašnjih pogrešaka In fact, the backpan file http://backpan.perl.org/authors/id/D/DA/DANKOGAI/Encode-2.28.tar.gz is broken: it's HTML, not a tarball. I suspect that there will be here and then broken distribution tarballs on backpan and are impossible to be removed by the author, so it would be nice if backpan-init could ignore tarballs automatically. Regards, Slaven
Subject: Re: [rt.cpan.org #46469] backpan-init should not die if broken tarballs exist at backpan
Date: Sun, 31 May 2009 15:10:01 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Hi! Slaven_Rezic via RT wrote: Show quoted text
> This happens when trying to import Encode using "git backpan-init > Encode" (apologies for the non-English locale, the messages just say > that the tar file is broken):
Oooh, good catch! And don't worry about the non-English locale: it gives an exotic flair to the bug. ;-) Show quoted text
> I suspect that there will be here and > then broken distribution tarballs on backpan and are impossible to be > removed by the author, so it would be nice if backpan-init could ignore > tarballs automatically.
A perfectly valid argument. I've uploaded version 0.1.7 of git-cpan-patch that should take care of that. Joy, `/anick
Works!
Subject: Re: [rt.cpan.org #46469] backpan-init should not die if broken tarballs exist at backpan
Date: Tue, 14 Jul 2009 21:25:29 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Slaven_Rezic via RT wrote: Show quoted text
> Queue: Git-CPAN-Patch > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=46469 > > > Works!
Excellent! :-)