On Tue, Jun 02, 2009 at 08:35:43AM -0700, [email protected] wrote:
> 
> Hello,
> 
> sorry, I was already asking some time ago, but didn't get any answer.
> Maybe I have been a little bit unclear, so  I try it again. I was
> trying to setup Devel::NYTProf::Apache, but haven't had any luck
> sofar. Here I've got a Suse-System and in the /etc/apache2/default-
> server.conf I've included in the upper part:
> 
> <IfDefine NYTPROF>
> MaxClients 1
> PerlModule Devel::NYTProf::Apache
> </IfDefine>
> 
> Also in /etc/apache2/mod_perl-startup.pl I've included as first module
> Devel::NYTProf::Apache. When I start apache "/usr/sbin/httpd2 -f /etc/
> apache2/httpd.conf -k start -DNYTPROF &" I get 2 files, like it should
> be, like:
> 
> - nytprof.6533.out
> - nytprof.6533.out.6534
> 
> But when I try to convert them I always get this error-message:
> 
> Unable to open '/(eval 2)' for reading: No such file or directory. Try
> + running /usr/bin/nytprofhtml in the same directory as you ran Devel:
> +:NYTProf, or ensure @INC is correct. Unable to open '-e' for reading:
> No such file or directory. Unable to open '/(eval 7)' for reading: No
> such file or directory.
> [download]
> 
> So, if you have got any hints for me it would be great. Or is it just
> a bug?

It is odd. My first guess would be that the perl flag that adds
filename details to evals ($^P |= 0x100) isn't working.

What version of perl are you using? (print $] from your code)
Does your code alter $^P anywhere? (printf "%x", $^P from your code)

I'd like to see a debug trace from the profiler (not the reporter).

You say "error-message" but I presume they're actually warnings.
They only relate to string evals and you do get a report, yes?
In that case they're not having a significant effect on the report.

Tim.

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to