Displaying 20 results from an estimated 80000 matches similar to: "breakpoint on log error?"
2006 Jan 09
5
Paypal IPN - unable to access breakpoint during POST?
Hi all,
I''m trying to debug some code in my paypal instant payment notification
action.
Why can I not access the breakpoint placed inside the action that paypal
POSTs to? It just doesn''t find the server, but it works fine when placed
inside other actions.
I''ve appended the code to the end of this post.
Thanks everyone!
Tom
--
def paypal_ipn
notify =
2006 Mar 10
9
Observers?
Hello all!
I''m having an issue with Observers, and I''m hoping someone knows the
answer.
Here is the definition:
app/models/vehicle_observer.rb
> class VehicleObserver < ActiveRecord::Observer
> def after_save(vehicle)
> breakpoint
> if vehicle.has_new_mil_indication?
> UserMailer.deliver_mil_notice(vehicle)
> end
> end
> end
2006 Apr 22
2
Question about functional tests and log/test.log
Here''s something a bit weird:
After running functional tests, my test log contains many lines,
including many like these:
> Processing UserController#attempt_login (for 0.0.0.0 at 2006-04-22
> 02:38:08) [POST]
> Session ID:
> Parameters: {"user"=>{"password"=>"bogus",
> "email"=>"tmornini@bogus.com"},
2006 Feb 02
3
breakpointer failing
Hey there,
I got a new workstation going on here an Intel iMac, and I''ve compiled
and installed everything with intel binaries. Everything works fine, I
even got that cool clever lighttpd script running
(http://www.bigbold.com/snippets/posts/show/303).
But the one thing that doesn''t work is breakpoints and the breakpointer script.
When I run script/breakpointer, I get the
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out.
It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0
But it seems to contain portions of, but not the complete library.
Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8.
What am I missing?
> tmornini$ rails --version
> Rails 1.0.0
>
> tmornini$ rails test | grep
2006 Jan 05
1
Action fails silently - breakpoint doesn''t hit
I have a simple user registration controller with scaffold code. The
only change I made to the view is to add a second password field for
confirmation. I do have a db table called users with all the fields
except ofcourse the extra password field. The field has a different name
so it does not get into the user hash. The ''user.new'' action works fine
and displays the form. The
2006 Jul 12
1
HOWTO: Install RMagick on OS X
Hello all fellow Mac OS X Railers.
I''m just setting up a new MacBook from scratch.
Everything has gone very easily, so I decide to attempt
to install RMagick from scratch once again, something
that I''ve wrestled with in the past, finally punting and
going with a DarwinPorts ImageMagick install then direct
gem install of RMagick.
Well, I had no problems and have achieved
2006 Apr 23
4
Ruby, Rails & Linux - Which distro
Did I sound like our President? :)
<spin>
I didn''t explain myself well. I am not thinking of buying the
identically equipped PC laptop either at the same price.
If I had a $2500-$3000 budget (laptop, Applecare + case etc) I might
consider the Mac, but then in the PC laptop universe there are more
options of going with the slower processors (T2300 or T2400) for about
$1,000 less
2012 May 23
0
gam (mgcv) vs. multiple regression breakpoint analysis: inconsistencies?
Dear useRs,
I have a question with respect to fitting a non-linearity using gam
(mgcv package, version 1.7-16).
In a study I'm currently conducting, I'd like to find out if there is
a breakpoint after which the effect of Age of Acquisition (AOA) of the
second language changes. I.e. if the slope of AOA before the
breakpoint (at a certain AOA) is different from the slope past the
2010 May 20
1
About the breakpoint when making heatmap with lots of variables
HI,All
I am trying to create a heatmap with 24 samples with 15672 varibles, I read
in the table in R, and then made it as a matrix, then try to create the
heatmap using heatmap(x,...)
However, I received the error message as:
> heatmap(t(x))
Error: cannot allocate vector of size 936.8 Mb
R(2925,0xa0b16500) malloc: *** mmap(size=982261760) failed (error code=12)
*** error: can't allocate
2006 Feb 02
4
uninitialized constant Test (NameError)
I have three Rails apps on my laptop.
Two can runs tests just fine.
The third generates this error when I try to run any tests:
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
> active_support/dependencies.rb:200:in `const_missing'':
> uninitialized constant Test (NameError)
> from ./test/unit/../test_helper.rb:5
> from
2006 Apr 14
0
Bug: Requiring "breakpoint" causes the entire Rails framework to load.
Hi
I''m working with:
1. Ruby 1.8.4 (i386-mswin32)
2. RubyGems 0.8.11
3. Rails 1.1.2 (obtained through RubyGems)
4. ruby-breakpoint (0.5.0)
(Note that all of these are latest stable versions of the software)
Whenever I require ''breakpoint'', the entire Rails framework gets
loaded as well.
I tried "gem uninstall rails", and then require
2007 Jan 03
0
NoMethodError when using Breakpoint
When I put something like:
breakpoint["here is the place"]
in my code (say, in the controller), the breakpointer will run
correctly. But after I exit out of the breakpointer, the browser gets a
"NoMethodError" saying:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.[]
This happens
2012 Aug 20
0
Re: gdbsx bug : fail on a breakpoint
Hmm... I don't know whats the real cause. Is it during boot of the HVM
guest, or is the guest completely up and you are trying to set
breakpoing?
For immediate use, can you just rebuilt the kernel with module built
in? I don't have a setup right now to debug/fix it, and am very busy
with PVH and preparing for xen summit, so need some time to debug and
fix it.
thanks,
mukesh
PS: please
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation
campfire (no pun intended) story.
I just helped a customer migrate from a single box
to a 5 box system.
2 Lighty
2 FCGI
1 DB
Everything went quite well. I scripted everything
so it would be easy to add more boxes in the future.
3 scripts, one for each box type above.
Then came time to get the site working. :-)
Lighty came up easily.
The DB came up
2005 Aug 11
0
win32-process + ruby-breakpoint = strange behavior
I''m getting really strange behavior with win32/process. Here''s the code:
-----
require ''win32/process''
require_gem ''ruby-breakpoint''
x = Process.create :app_name => "ruby bin/run_device.rb
devices/terminal_server.rb"
puts "done"
puts "done"
Process.kill 9, x
puts "done"
------
2005 Aug 11
4
win32-process + ruby-breakpoint = strangebehavior
> -----Original Message-----
> From: win32utils-devel-bounces@rubyforge.org
> [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of
> Bill Atkins
> Sent: Thursday, August 11, 2005 8:39 AM
> To: win32utils-devel@rubyforge.org
> Subject: [Win32utils-devel] win32-process + ruby-breakpoint =
> strangebehavior
>
>
> I''m getting really strange
2009 Jun 28
1
testing an ARFIMA model for structural breaks with unknown breakpoint
Dear R users,
I'm trying to use the "strucchange" package to determine structural breaks
in an ARFIMA model.
Unfortunately I'm not so familiar with this topic (and worse, I'm a beginner
in R), so I don't know exactly how to specify my model so that the
"Fstats","sctest" and "breakpoint" functions to recognize it and to
calculate the
2008 Jun 16
1
"stuck" in kmdb due to dtrace breakpoint()
So I realize this is somewhat stupid, and I''ve actually gotten myself out of kmdb to kill my dtrace script but this has happened in the past and I''m wondering if there''s any better way around it than hitting :c a bunch of times.
Say you set a breakpoint() to fire in a common function. This will drop you into kmdb where you can do some debugging, you take a look around
2005 Sep 19
2
warning: already initialized constant
Hello all.
I''m new to Rails and working on replacing an existing Perl based app.
Everything has been smooth, and I''m beginning to get the hang of things.
I just implemented DB based photo handling, with code directly from the
Pragmatic Rails book.
Here''s a fresh server log of my app, with a logged in user (by cookie
and session) getting a list of his photos. The