search for: bin_parser

Displaying 11 results from an estimated 11 matches for "bin_parser".

2008 Mar 19
2
nil-error
...gins/backgroundrb/framework/packet/packet_master.rb:43:in `ask_worker'' /vendor/plugins/backgroundrb/server/master_worker.rb:105:in `process_work'' /vendor/plugins/backgroundrb/server/master_worker.rb:37:in `receive_data'' /vendor/plugins/backgroundrb/lib/../framework/packet/bin_parser.rb:29:in `call'' /vendor/plugins/backgroundrb/lib/../framework/packet/bin_parser.rb:29:in `extract'' /vendor/plugins/backgroundrb/server/master_worker.rb:33:in `receive_data'' /vendor/plugins/backgroundrb/framework/packet/core.rb:199:in `read_external_socket'' /vendo...
2007 Dec 18
5
querying status of worker with job_key
Hi, Is it possible to start a worker with job_key and then ask_status of that specific worker with the job_key? MiddleMan.ask_work(:worker => :auth_worker, :job_key=>''1'', :worker_method => :auth) and then MiddleMan.ask_status(:worker => :auth_worker, :job_key=>''1'') >From my testing of the new backgroundrb, asking status using job key
2007 Dec 25
6
error: no marshal_dump is defined for class Thread
.../vendor/plugins/backgroundrb/server/meta_worker.rb:202:in `receive_data'' /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:54:in `receive_internal_data'' /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/lib/../framework/bin_parser.rb:29:in `call'' /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/lib/../framework/bin_parser.rb:29:in `extract'' /var/www/apps/rpg/releases/20071224050255/vendor/plugins/backgroundrb/framework/worker.rb:52:in `receive_internal_data'' /var/www/apps/rp...
2008 Jan 17
2
Inconsistent Model creation behavior
...r/plugins/backgroundrb/ server/meta_worker.rb:207:in `receive_data'' from /Users/BBryant/Sites/date_site/trunk/vendor/plugins/backgroundrb/ framework/worker.rb:54:in `receive_internal_data'' from /Users/BBryant/Sites/date_site/trunk/vendor/plugins/BackgrounDRB/ lib/../framework/bin_parser.rb:29:in `call'' from /Users/BBryant/Sites/date_site/trunk/vendor/plugins/BackgrounDRB/ lib/../framework/bin_parser.rb:29:in `extract'' from /Users/BBryant/Sites/date_site/trunk/vendor/plugins/backgroundrb/ framework/worker.rb:52:in `receive_internal_data'' from /Users/...
2007 Dec 15
10
1) Error 2) sending request to a specific worker
...ve this error logged by bdrb: undefined method `send_request'' for nil:NilClass framework/packet_master.rb:58:in `ask_worker'' backgroundrb/server/master_worker.rb:59:in `process_work'' backgroundrb/server/master_worker.rb:16:in `receive_data'' backgroundrb/framework/bin_parser.rb:29:in `call'' backgroundrb/framework/bin_parser.rb:29:in `extract'' backgroundrb/server/master_worker.rb:12:in `receive_data'' backgroundrb/framework/core.rb:191:in `read_external_socket'' backgroundrb/framework/core.rb:183:in `handle_external_messages'' b...
2008 Jan 29
5
Authoritative Documentation
I''ve been using backgroundrb for... about an hour now. I must say, I''m impressed. But I''m a bit stumped on where to find the "official" documentation. There''s an API online at backgroundrb.rubyforge.org, but I don''t see the methods available for MiddleMan, etc. Right now, I''m trying to figure out how to get a list of all
2007 Dec 28
9
lost connection 2.0
I lost my "connection lost" error.. but now I''ve got a "Mysql::Error: MySQL server has gone away" error.. It comes from: /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in ''log''. I''m not sure if Rails / BackgroundRb uses it .. but i''ve got the mysql (2.7) gem
2007 Dec 08
0
Another fix release for backgroundrb rc2
...red. Whatever methods, you want to call from rails should be directly defined in your worker and you are good to go. Thus, please remove process_request method that was created by worker generator. - Worker generator has been updated to take care of case #1. - Some issues were found with bin_parser class and they are fixed now. - In most of the cases, now a invalid object dump won''t result in worker crash and you should be moving happily even after that. But keep an eye on your log file. - Introduced a :log: foreground option for debugging purpose. Installation: - Get it...
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`.
2007 Dec 06
10
Feedback on RC2
I tried to upgrade my existing application to RC2 last night. Like many, I use this mostly for running scheduled tasks. For the moment, I''ve abandoned the effort, but am looking forward to being able to use this. Feedback below: First, the reason I was looking forward to this upgrade was to use the threaded scheduler. I have an application with long-running tasks. I found that
2008 Jan 22
11
Unable to load Models which reference plugins?
I''m using a plugin which adds a method to ActiveRecord::Base http://similetimelinerailshelper.googlecode.com/svn/trunk/simile_timeline/ This adds an "acts_as" type declaration to the Models, via the file in vendor/plugins/simile_timeline/lib/simile_timeline.rb Rails is working with these declarations, and they are being used successfully in ''regular