Skip Menu |

This queue is for tickets about the CPAN-Dependency CPAN distribution.

Report information
The Basics
Id: 14541
Status: resolved
Priority: 0/
Queue: CPAN-Dependency

People
Owner: SAPER [...] cpan.org
Requestors: david [...] landgren.net
nospam-abuse [...] bloodgate.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.08
Fixed in: 0.09



Subject: Fails to load CPANTS database from cpants.perl.org
The link to the CPANTS database in the doc is broken: "The CPANTS web site at http://http://cpants.dev.zsi.at/, where the CPANTS database can be downloaded." Apart from that, the example code from the POD fails when trying to load the database from http://cpants.perl.org: DBI connect('dbname=cpants.db','',...) failed: file is encrypted or is not a database(1) at dbdimp.c line 57 at test.pl line 5 fatal: Can't read SQLite database: file is encrypted or is not a database(1) at dbdimp.c line 57 at test.pl line 5 Also, the error message when "cpants.db" is missing could also be a lot more clear - for a normal user it looks like something went horrible wrong instead of just telling him that it couldn't find the file :) Best wishes, Tels
Date: Sun, 11 Sep 2005 18:29:58 +0200
From: Sébastien Aperghis-Tramoni <maddingue [...] free.fr>
To: bug-CPAN-Dependency [...] rt.cpan.org
Subject: Re: [cpan #14541] Fails to load CPANTS database from cpants.perl.org
RT-Send-Cc:
You wrote: Show quoted text
> The link to the CPANTS database in the doc is broken: > > "The CPANTS web site at http://http://cpants.dev.zsi.at/, where the CPANTS > database can be downloaded."
Oh right, I'll correct that in the next release. Show quoted text
> Apart from that, the example code from the POD fails when trying to load the > database from http://cpants.perl.org: > > DBI connect('dbname=cpants.db','',...) failed: file is encrypted or > is not a database(1) at dbdimp.c line 57 at test.pl line 5 > fatal: Can't read SQLite database: file is encrypted or is not > a database(1) at dbdimp.c line 57 at test.pl line 5
Hmm, I could blame Thomas for having changed the format of its database, but that would be unfair :-) I think this error is caused by the fact that he switched to SQLite3 while CPAN::Dependency still expects the SQLite2 version. I need to correct that and also check whether the schema has changed again. Show quoted text
> Also, the error message when "cpants.db" is missing could also be a lot more > clear - for a normal user it looks like something went horrible wrong instead > of just telling him that it couldn't find the file :)
Heh :) I'll try to add clearer messages in the next release. I can't promise when this release will come because I don't have internet access at home right now (I'm currently answering from an internet café..) -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Documentation for CPANTS
The URL to the CPANTS database is out of date (404). The correct URL is http://cpants.perl.org/ Thanks, David
Date: Mon, 17 Oct 2005 11:28:05 +0200
From: Sébastien Aperghis-Tramoni <maddingue [...] free.fr>
To: bug-CPAN-Dependency [...] rt.cpan.org
Subject: Re: [cpan #15069] Documentation for CPANTS
RT-Send-Cc:
David Landgren (via RT) wrote: Show quoted text
> The URL to the CPANTS database is out of date (404). The correct URL is > > http://cpants.perl.org/
This has already been corrected in the documentation for the next release. Thanks -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Version 0.09 fixes these bugs. Thanks for your reports. -- Close the world, txEn eht nepO.