search for: bdrbconnerror

Displaying 6 results from an estimated 6 matches for "bdrbconnerror".

Did you mean: drbconnerror
2007 Dec 18
1
Backgroundrb crash calling ask_status when worker not running
When I call ask_status on a worker that has not been started I get and exception of type BackgrounDRb::BdrbConnError, which is fine. I can deal with that, but I also find that the backgroundrb process dies as well. The scenario is simple: Call ask_status on a worker that is not auto loaded. I used a job_key, in case that makes a difference. -------------- next part -------------- An HTML attachment was...
2008 Jun 10
3
Backgroundrb fixes for transfering large amounts of data
...begin while (true) sock_data = "" begin while(sock_data << @connection.read_nonblock(1023)); end rescue Errno::EAGAIN @tokenizer.extract(sock_data) { |b_data| return b_data } end end rescue raise BackgrounDRb::BdrbConnError.new("Not able to connect") end end Regards, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080610/d02a94bb/attachment.html>
2007 Dec 13
4
Some fixes and updates
Hi , If you are following commits, I have pushed following changes: 1. Now, you can specify :environment option in config file to load production environment and stuff. 2. Exeptions that were exposed to the user has been changed to BdrbConnError if rails is not able to connect to bdrb server. 3. loading mechanism has been changed, so remove backgroundrb script from your backgroundrb directory and do a rake backgroundrb:setup and you should be good to go. -- Let them talk of their oriental summer climes of everlasting conservatories; gi...
2008 Jan 22
9
Cannot connect when spawning new workers on demand
...pper. I''ve made an app that lets you run a query on several servers at once, which are selected at runtime. Therefore, for each server that is selected, I spawn a new worker and assign its work. After everything is completed, the workers are deleted. I often get this error: BackgrounDRb::BdrbConnError in Multi com/indexController#uitvoeren Not able to connect Here''s the code that spawns the workers: (sorry for the linewraps) def uitvoeren # put selected servers in a session session[:selectedservers] = params[:servers] session[:running_cmd] = 1 @selected_servers = Sy...
2007 Dec 17
7
Get "some read error" on calls to worker
I''m running the latest from svn (rev 285). I''ve been having a problem launching a process repeatedly. What happens is that I get a debug message "some read error" and then the worker refuses to run again. I''ve stripped my worker down to just doing a puts and it still happens. Like the other threads I want to launch my workers as needed, however I get the
2008 Jan 11
18
getting started
Hey all, Been reading through all the old posts (and the docs) to familiarize myself but I still feel a bit lost. I''m on trunk and am having a bit of a hard time knowing where to start with the particular I''m trying to solve. So far, I''ve downloaded backgroundrb, done the basic rails setup, created my worker and started it using `script/backgroundrb start`.