search for: gurba

Displaying 7 results from an estimated 7 matches for "gurba".

Did you mean: turba
2007 Mar 02
1
example standalone error.
Hello, Trying to get the example to work in standalone mode. I have the following in a file and am not certain why I get this undefined method error: error: ~/ruby sample_app.rb my sample app :) sample_app.rb:9: undefined method `new_worker'' for BackgrounDRb::MiddleMan:Class (NoMethodError) ### code follows ### # sample_app ... try to get stand-alone happiness. #require
2007 Mar 08
1
cant fully capture child output
I cant seem to get the io from a child process of a worker back to my client. There most be something academic I''m missing :/. I looked at examples in Pickaxe and Ruby PLEAC library ... and I believe the following should work: # called from within do_work... def backup(repo) logger.info(''SvnWorker backup repo ''+repo) tmp = [] my_project =
2004 Aug 06
3
seek, pause etc using icecast ?
On Wed, Sep 03, 2003 at 12:16:53PM +1000, Michael Smith wrote: > On Wednesday 03 September 2003 04:35, Hirendra Hindocha wrote: > > Hello, > > > > I have an icecast2 server streaming some mp3 files and am using > > winamp to listen to the stream, however I couldn't figure out if > > there is a way to seek or rewind. Is there a way to seek/fast > >
2007 Mar 02
0
example standalone error ... but if i ...
If I add .instance in front of new_worker I get the following error ... but for some reason i cant call new_worker directly...? error: ruby sample_app.rb my sample app :) ./backgroundrb/middleman.rb:440:in `ex'': undefined method `synchronize'' for nil:NilClass (NoMethodError) from ./backgroundrb/middleman.rb:401:in `[]'' from
2007 Mar 05
0
dynamic status back to client...
Hi, I have a long worker process I want to capture the output as dynamically as possible and send it to the client. I do the following currently: class SvnWorker < Worker::Base def do_stuff(args) tmp = [] my_project = args[:repo] # Import the contents of a 20 Meg project into a bare bones svn repo. import_status = `svn import #{path_to_extracted_zipdir} file://#{my_project}` tmp =
2007 Mar 08
0
worker cant delete?
Hi, I get the following error from my client program when I try to call delete after my worker is completed: goten at goten-server:~/projects/svn_working/m29svn_back/app$ ruby backup_app.rb {:done=>true, :txt=>["piping to tmp", "piping done", "getting youngest", "youngest got", "destfile
2007 Feb 28
0
example for standalone?
Hi, I have a web based project management app I have written using Camping. It can take existing web projects from zip, expand them temporarily, create a repo and import all the content into the repo. Anyone know of any examples (even the ones in /examples) that are for using Backgroundrb in standalone mode .... I''m kinda having some trouble integrating this into my application. 1) if