Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

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

X Report information
Id: 32740
Status: resolved
Left: 0 min
Priority: 0/0
Queue: CPAN-SQLite

Owner: Nobody
Requestors: ZOFFIX <cpan [...] zoffix.com>
Cc:
AdminCc:

Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



X History Display mode: Brief headersFull headers
#   Mon Jan 28 12:46:37 2008 ZOFFIX - Ticket created  
Subject: Documentation error and a "feature" request
[text/plain 915b]
Hello. I've noticed that documentation contains an error:

my $info = CPAN::SQLite::Info(CPAN => $cpan);

Should read:

my $info = CPAN::SQLite::Info->new(CPAN => $cpan);

.. or at least that's what error say :)

Also, I was wondering if there would be a way to disable any print outs
the module does. I am getting this in the shell:

Reading information from C:\Perl\cpan\sources\authors\01mailrc.txt.gz
Reading information from C:\Perl\cpan\sources\modules\03modlist.data.gz
Reading information from
C:\Perl\cpan\sources\modules\02packages.details.txt.gz
No dist_name/version/cpanid for
T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/ValueTree.pm.gz: skipping
No dist_name/version/cpanid for T/TO/TOMC/Simple.pm.gz: skipping

And it is making the use of the module much harder.

I am on:
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Thanks

#   Thu Jan 31 23:20:41 2008 RKOBES - Correspondence added  
[text/plain 1.3k]
On Mon Jan 28 12:46:37 2008, ZOFFIX wrote:
> Hello. I've noticed that documentation contains an error:
>
> my $info = CPAN::SQLite::Info(CPAN => $cpan);
>
> Should read:
>
> my $info = CPAN::SQLite::Info->new(CPAN => $cpan);
>
> .. or at least that's what error say :)

Thanks for pointing that out - that's been fixed in my svn copy.

> Also, I was wondering if there would be a way to disable any print outs
> the module does. I am getting this in the shell:
>
> Reading information from C:\Perl\cpan\sources\authors\01mailrc.txt.gz
> Reading information from C:\Perl\cpan\sources\modules\03modlist.data.gz
> Reading information from
> C:\Perl\cpan\sources\modules\02packages.details.txt.gz
> No dist_name/version/cpanid for
> T/TO/TOMC/scripts/CS-Talk/source/dstructs/trees/ValueTree.pm.gz: skipping
> No dist_name/version/cpanid for T/TO/TOMC/Simple.pm.gz: skipping
>
> And it is making the use of the module much harder.
>
> I am on:
> This is perl, v5.10.0 built for MSWin32-x86-multi-thread
> (with 1 registered patch, see perl -V for more detail)
>
> Thanks

Are these messages appearing in the terminal window? Updating the
database both from the cpandb script and from within the CPAN.pm shell
should have these messages logged in a log file (by default, named
something like cpan_sqlite_log_time_of_day, in the same directory as the
cpandb.sql database file). Is that not happening for you?
#   Thu Jan 31 23:20:43 2008 RT_System - Status changed from 'new' to 'open'  
#   Sun Feb 03 19:43:38 2008 RKOBES - Correspondence added  
[text/plain 319b]
Actually, I see now that if you're using something other than the
supplied cpandb script it would be useful to make things less verbose.
In version 0.19, which has just been uploaded to CPAN, the information
messages will only get printed if the CPAN_SQLITE_DEBUG environment
variable is set. Thanks for the suggestion.
#   Sun Feb 03 19:43:51 2008 RKOBES - Status changed from 'open' to 'resolved'