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',
],
}