Skip Menu |

This queue is for tickets about the PDL-Stats CPAN distribution.

Report information
The Basics
Id: 68737
Status: resolved
Priority: 0/
Queue: PDL-Stats

People
Owner: MAGGIEXYZ [...] cpan.org
Requestors: chm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.5.5
Fixed in: (no value)



Subject: cpan install does not rebuild PDL documentation database
I just did a cpan shell install of PDL::Stats for my system.
All tests passed and the install appeared to complete.
However, the pdldoc and in the pdl2/perldl shells I am
not able to browse the module docs.

The problem was fixed by running Basic/Doc/scantree.pl.

I don't think the PDL install installs that utility but it
should.  I'll be adding that bug to the PDL distribution
bug tracker to fix.  You might add a run of the command
as part of your install process if you find the scantree.pl
command in the PATH.

--Chris
Thanks for the report. I added $PDL::onlinedoc->scan(__FILE__) if $PDL::onlinedoc; at the top of PDL::Stats modules for online doc processing. I'll check if that's still working / sufficient. Yes I'd think scantree.pl is a better solution to the problem. Thanks! Best, Maggie On 2011-06-10 09:42:22, CHM wrote: Show quoted text
> I just did a cpan shell install of PDL::Stats for my system. > All tests passed and the install appeared to complete. > However, the pdldoc and in the pdl2/perldl shells I am > not able to browse the module docs. > > The problem was fixed by running Basic/Doc/scantree.pl. > > I don't think the PDL install installs that utility but it > should. I'll be adding that bug to the PDL distribution > bug tracker to fix. You might add a run of the command > as part of your install process if you find the scantree.pl > command in the PATH. > > --Chris
Subject: Re: [rt.cpan.org #68737] cpan install does not rebuild PDL documentation database
Date: Sat, 11 Jun 2011 11:20:30 -0400
To: bug-PDL-Stats [...] rt.cpan.org
From: chm <devel.chm.01 [...] gmail.com>
On 6/10/2011 11:15 AM, Maggie J. Xiong via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68737> > > Thanks for the report. I added > > $PDL::onlinedoc->scan(__FILE__) if $PDL::onlinedoc;
Does this work with pdldoc or only in the pdl2/perldl shells at runtime? Show quoted text
> at the top of PDL::Stats modules for online doc processing. I'll check > if that's still working / sufficient. Yes I'd think scantree.pl is a > better solution to the problem. Thanks!
I took a look at PDL::Doc and there is also a scantree method as well as routines for loading and saving the online database file. The methods can be used to update the online docs database directly. --Chris
Show quoted text
> > $PDL::onlinedoc->scan(__FILE__) if $PDL::onlinedoc;
> > Does this work with pdldoc or only in the pdl2/perldl > shells at runtime?
Doesn't work with pdldoc, Works in the pdl2/perldl shells. Show quoted text
> I took a look at PDL::Doc and there is also > a scantree method as well as routines for > loading and saving the online database file. > The methods can be used to update the online > docs database directly.
Thanks for the info. Will give it a try. Best, Maggie