Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Charlie Savage
RE: Unable to run graph_html with profiler [ reply ]  
2008-07-09 08:44
Hi Amit,

Yes, should be very soon...

Charlie

By: amit roha
RE: Unable to run graph_html with profiler [ reply ]  
2008-07-08 01:34
Hi Charlie,

I run into exactly same issue. My configuration is ruy 1.8.6 and rails 1.2. I have using rby_prof version 0.6.0. I am using Mac OS X 10.5.4.

Do you have any release coming up soon?

-Amit

By: Charlie Savage
RE: Unable to run graph_html with profiler [ reply ]  
2008-06-15 03:51
Hi Aditya,

Hmm...is this rails code that is calling ruby-prof? Might be that its not passing the correct options to ruby-prof. Also, I vaguely remember a similar issue a while back that I patched up. I'm planning on doing another release fairly soon, perhaps that will fix it up.

By: Aditya Sanghi
Unable to run graph_html with profiler [ reply ]  
2008-05-20 09:30
Hi Guys,

I'm using the Ruby Profiler with the graph_html option. I've already patched by rails profiler.rb to use the measure_method, however I'm unable to run with the graph_html option. It gives the following error:

/usr/lib/ruby/gems/1.8/gems/ruby-prof-0.6.0/lib/ruby-prof/graph_html_printer.rb:51:in `read': can't convert Fixnum into String (TypeError)

I've tried this on Ubuntu as as well as Windows.

I'm using ruby-prof 0.6.0 and Rails 2.0.2

After having dug into code, it seems that the print interface as called from the profiler sends a 0 which is what is set to the options hash in the ruby-prof printer classes.

Any guidelines as to where the problem and fix should be? Is this valid to be raised in the Bugs section?

Cheers,
Aditya