Skip Menu |

This queue is for tickets about the App-ListNewCPANDists CPAN distribution.

Report information
The Basics
Id: 124757
Status: resolved
Priority: 0/
Queue: App-ListNewCPANDists

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

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



Subject: unable to open database file
Trying to use list-new-cpan-dists "naively" fails: $ list-new-cpan-dists --from-time 2018-03-10 list-new-cpan-dists: ERROR 500: Died: DBI connect('dbname=/home/eserte/cpan/index-lncd.db','',...) failed: unable to open database file at /opt/perl-5.26.1/lib/site_perl/5.26.1/App/ListNewCPANDists.pm line 61. Maybe the db has to be setup somehow, but the manpage does not explain how...
On Sun, 11 Mar 2018 18:06:08 GMT, SREZIC wrote: Show quoted text
> Trying to use list-new-cpan-dists "naively" fails: > > $ list-new-cpan-dists --from-time 2018-03-10 > list-new-cpan-dists: ERROR 500: Died: DBI > connect('dbname=/home/eserte/cpan/index-lncd.db','',...) failed: > unable to open database file at /opt/perl- > 5.26.1/lib/site_perl/5.26.1/App/ListNewCPANDists.pm line 61. > > Maybe the db has to be setup somehow, but the manpage does not explain > how...
I've added some documentation and modified the utility to fall back to ~/index-lncd.db if ~/cpan/ does not exist. The database is just for caching the retrieved data. Thanks.