search for: threaderror

Displaying 8 results from an estimated 8 matches for "threaderror".

Did you mean: readerror
2010 Jun 15
2
ThreadError: stopping only thread
Running Rails 2.3.5 I am new to Ruby and Rails. From the console I get the following ThreadError below. Any suggestions are very welcome. >> app.get "/slides" => 200 >> app.request.path_parameters => {"action"=>"index", "controller"=>"slides"} >> app.get "/slides/1" ThreadError: stopping only thread...
2006 Aug 25
1
#<ActiveRecord::StatementInvalid: ThreadError: killed thread
Wht exactly does this mean? #<ActiveRecord::StatementInvalid: ThreadError: killed thread: That a thread was killed in the middle of a query? Thanks for your help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro...
2007 Jun 28
1
ThreadError from DRb server
Hi there, I''ve just started using aaf for searching and it''s running well apart from one error I received: A ThreadError occurred in person#search: current thread not owner (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in `mon_check_owner'' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in `mon_check_owner'' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:220:in...
2010 May 09
2
console ThreadError ("thread ... tried to join itself")
...ails 2 and I''ve immediately hit a problem in the console. This must be well known so perhaps someone could just tell me the solution. mattleopard$ script/console Loading development environment (Rails 2.3.5) >> app.get "photos" => 200 >> app.get "photos" ThreadError: thread 0x1003c7368 tried to join itself from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ action_controller/reloader.rb:31:in `lock'' from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/ action_controller/reloader.rb:31:in `run'' from /Library/Ruby/Gems/1.8/gems/actionpac...
2006 Sep 04
2
The real reason why Sync and Mutex behave differently
...in addition to exclusive, so it is much more complicated. However, the main difference between them, when one is using exclusive locking, is in the way they perform unlocking. Mutex: Thread.critical = true @locked = false begin t = @waiting.shift t.wakeup if t rescue ThreadError retry end Thread.critical = false begin t.run if t rescue ThreadError end self With Mutex, the next thread to unlock is shifted off the beginning of the array. With Sync, there is one key difference: wait = sync_waiting self.sync_waiting = [] Threa...
2006 Feb 22
0
Can you make an HTTP request inside an Ajax action?
...TP GET request to another server. That works fine. I''d like to throw that inside an action called with link_to_remote, but that''s having problems. The error I get follows. Any ideas? Pat http://localhost:3000/main/ -> /javascripts/prototype.js [2006-02-22 06:08:11] ERROR ThreadError: timeout within critical session /usr/local/lib/ruby/1.8/timeout.rb:49:in `timeout'' /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout'' /usr/local/lib/ruby/1.8/webrick/httprequest.rb:329:in `_read_data'' /usr/local/lib/ruby/1.8/webrick/httpre...
2005 Jan 25
2
Testing preRelease 0.3
...39; from ./rubytorrent/peer.rb:152:in `start'' ... 17 levels... from ./rubytorrent/server.rb:61:in `add_torrent'' from ./rubytorrent.rb:62:in `initialize'' from rtpeer.rb:71:in `new'' from rtpeer.rb:71 Exception `ThreadError'' at c:/ruby/lib/ruby/1.8/thread.rb:112 - killed thread
2007 Dec 18
3
First Shoot, many more to appear: Rails on Ruby 1.9
Guys, Subject says everything: http://www.frederico-araujo.com/2007/12/18/my-first-successful-booting-rails-2-0-2-ruby-1-9-attempt Even ActionView uses Proc.binding (which isn''t correctly supported in 1.9) it appears that lot of folks will try to put their hands in Ruby 1.9 when it comes out, and of course, try to get Rails with Mongrel running in it. Zed, Wayne, Evan and ry: maybe we