Re: problem with backgroundrb

Babbu
Wed, 16 Jan 2008 06:17:13 -0000

On Jan 14, 10:47 pm, hemant
<gethem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Hi Sandeep,
>
> On Jan 14, 2008 9:29 PM, Babbu
<daksh.sand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
>
>
>
> > hi, i am using drb and it is working fine on my local pc on windows..
> > and after uploading the code to the server  it was working for
> > sometime but now it gives me error every time i invoke the process..
>
> > error---
>
> > uninitialized constant EmailWorker::Notifier - (NameError)
> > /usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > dependencies.rb:477:in `const_missing''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../lib/workers/email_worker.rb:14:in
> > `do_work''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../lib/workers/email_worker.rb:13:in
`each''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../lib/workers/email_worker.rb:13:in
> > `do_work''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../vendor/plugins/backgroundrb/
> > backgroundrb_rails.rb:36:in `start_process''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../vendor/plugins/backgroundrb/
> > backgroundrb_rails.rb:32:in `initialize''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../vendor/plugins/backgroundrb/
> > backgroundrb_rails.rb:32:in `new''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../vendor/plugins/backgroundrb/
> > backgroundrb_rails.rb:32:in `start_process''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../vendor/plugins/backgroundrb/
> > backgroundrb.rb:57:in `new_worker''
> > /usr/lib64/ruby/1.8/thread.rb:135:in `synchronize''
> > /data/flywheel/releases/20071214170355/config/../script/
> > backgroundrb/../../config/../vendor/plugins/backgroundrb/
> > backgroundrb.rb:49:in `new_worker''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1555:in `__send__''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1555:in
`perform_without_block''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1515:in `perform''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1589:in `main_loop''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1585:in `loop''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1585:in `main_loop''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1581:in `start''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1581:in `main_loop''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1430:in `run''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1427:in `start''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1427:in `run''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1347:in `initialize''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1627:in `new''
> > /usr/lib64/ruby/1.8/drb/drb.rb:1627:in `start_service''
> > /data/flywheel/releases/20071214170355/config/../script/backgroundrb/
> > start:98
> > /data/flywheel/releases/20071214170355/config/../script/backgroundrb/
> > start:94:in `fork''
> > /data/flywheel/releases/20071214170355/config/../script/backgroundrb/
> > start:94
> > /data/flywheel/releases/20071214170355/config/../script/backgroundrb/
> > start:86:in `fork''
> > /data/flywheel/releases/20071214170355/config/../script/backgroundrb/
> > start:86
>
> > -----
> > it says every time this (uninitialized constant EmailWorker::Notifier
> > - (NameError))
> > i also tried it without using notifier in my code but it always gives
> > the same error..
>
> > now i am afraid of this .. Help...
>
> I will suggest you to upgrade to new version:
>
> http://backgroundrb.rubyforge.org
>
> Please use either trunk or release tag 1.0.1
>
> --
> Let them talk of their oriental summer climes of everlasting
> conservatories; give me the privilege of making my own summer with my
> own coals.
>
> http://gnufied.org

Hi,
   I tried bot trunk and release tag 1.0.1 on my local pc on windows
   but it gives the error when i run the command
   ---- ruby script/backgroundrb start
  error is ---

script/backgroundrb:28:in `fork'': the fork() function is unimplemented
on this machine (NotImplementedError)
        from script/backgroundrb:28

==== Help....

Thanks,
Sandeep