Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Profiling Page by NTYProf Module - Error while convert system code in readable file - djain@dev2.lab tmp$ nytprofhtml .f nytprof.10255.out.10606 Reading nytprof.out Failed to open input 'nytprof.out': No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Devel/NYTProf/Data.pm line 84. djain@dev2.lab tmp$ vi /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Devel/NYTProf/Data.pm

Replies are listed 'Best First'.
Re: NYTprof Error
by roboticus (Chancellor) on Aug 27, 2010 at 05:18 UTC
Re: NYTprof Error
by dHarry (Abbot) on Aug 27, 2010 at 05:59 UTC

    Missing file? Permission issue? Please provide more information!

Re: NYTprof Error
by Khen1950fx (Canon) on Aug 27, 2010 at 12:16 UTC
    temp>nytprofhtml .f nytprof.10255.out.10606

    That won't get you very far. nytprofhtml isn't that hard to use. I would run it like this:

    perl -d:NYTProf /path/to/script.pl nytprofhtml --open
    Then look at your browser.
Re: NYTprof Error
by Anonymous Monk on Feb 07, 2019 at 12:56 UTC

    I am facing an issue while converting the nytprof.out file. The file has got generated. After typing the command
    nytprofhtml --open
    I get,
    Generating report...
    Reading nytprof.out
    File format error: token 0 (' '), chunk 735717, pos 5750535 at Devel/NYTProf/Data.pm line 78.
    Line 78 of Data.pm :my $profile = load_profile_data_from_file($file);
    Now my perl version is: 5.8.8 and nytprof is:2.09.
    Any help is appreciated.

      The current version of Perl is 5.28 and the current version of Devel::NYTProf is 6.06. Perl 5.8.8 is over 10 years old and Devel::NYTProf 2.02 is almost 10 years old.

      My recommendation is that you try first upgrading both, Perl and Devel::NYTProf to a more recent version to see whether the problem you encounter was addressed.