Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 33878
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: akaplan [...] cpan
Requestors: NKH [...] cpan.org
Cc:
AdminCc:

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



Subject: nytprofhtml unable to open existing files
An "Unable to locate source file: 'setup/setup.ini'" is generated while the file exists and is readable. It may help to know that the file is eval'ed. nadim@naquadim ~/Desktop/gpad $ perl -d:NYTProf documentation/scripting/connected_boxes.pl nadim@naquadim ~/Desktop/gpad $ nytprofhtml Generating report... Unable to locate source file: 'setup/setup.ini' at /usr/bin/nytprofhtml line 113 Unable to open 'setup/setup.ini' for reading: No such file or directory Try running again in the same directory as you ran Devel::NYTProf,or ensure @INC is correct. at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/Devel/NYTProf/Reader.pm line 284 Devel::NYTProf::Reader::report('Devel::NYTProf::Reader=HASH(0x7d61a0)') called at /usr/bin/nytprofhtml line 113 nadim@naquadim ~/Desktop/gpad $ cat setup/setup.ini { STENCIL_FILES => [ 'setup/stencils/types.gpad', ], ACTION_FILES => [ 'setup/actions/align.pl', 'setup/actions/clipboard.pl', 'setup/actions/debug.pl', 'setup/actions/elements.pl', 'setup/actions/file.pl', 'setup/actions/mouse.pl', 'setup/actions/unsorted.pl', ], HOOK_FILES => [ 'setup/hooks/canonize_connections.pl', ], }
The error message is somewhat out of date. The reporter module was actually written before the profiler... So ignore the @INC junk. Problem here is that the file name was parsed out without removal of the single-quotes.
From: akaplan [...] cpan
On Sun Mar 09 15:18:48 2008, AKAPLAN wrote: Show quoted text
> The error message is somewhat out of date. The reporter module was > actually written before > the profiler... So ignore the @INC junk. > > Problem here is that the file name was parsed out without removal of > the single-quotes.
Actually, I can't replicate this with some basic eval and do's on an external script. Can I have the specific line that triggers this? (the line with the eval command and the runtime values of any variables on said line) Thanks.
This should be fixed in 0.09. Reopen if there are further issues