[Backgroundrb-devel] Error when starting bgrdb

Michael D'Auria michael.dauria at gmail.com
Wed Nov 22 08:53:11 EST 2006


Could you give us some version information?

On 11/22/06, Günter Ladwig <gladwig at gmx.de> wrote:
>
>
> On 22.11.2006, at 13:08, hemant wrote:
>
> > On 11/22/06, Günter Ladwig <gladwig at gmx.de> wrote:
> >> Hi,
> >>
> >> I get this error when starting bgdrb using "rake
> >> backgroundrb:start" (on a Mac using bgdrb 0.2.0):
> >>
> >> /Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/backgroundrb/server/
> >> lib/
> >> backgroundrb_server.rb:33:in `format_message': undefined method
> >> `strftime' for "2006-11-22T12:34:18.524572 ":String (NoMethodError)
> >>          from /usr/lib/ruby/1.8/logger.rb:320:in `add'
> >>          from /usr/lib/ruby/1.8/logger.rb:372:in `info'
> >>          from /Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/
> >> backgroundrb/server/lib/backgroundrb_server.rb:133:in `config'
> >>          from /Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/
> >> backgroundrb/server/lib/backgroundrb_server.rb:193:in `run'
> >>          from /Users/gl/Projects/xxxxx/xxxxx/config/../script/
> >> backgroundrb:29
> >>
> >> Seems strftime is called on a String object instead of DateTime/Time.
> >> Any ideas?
> >>
> >> Günter
> >> _______________________________________________
> >> Backgroundrb-devel mailing list
> >> Backgroundrb-devel at rubyforge.org
> >> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> >>
> >
> > I thought rake backgroundrb:start was not stable/usable yet. Did you
> > try ./script/backgoundrb start ?
>
> Well, according to the readme it should work. Anyway, I tried
> starting the server using "./script/backgroundrb start", but that
> produces the same error. For that matter, even "./script/backgroundrb
> --help" does not work.
>
> I had a look at logger.rb from the Ruby installation, and it seems
> format_message, which is overriden in backgroundrb_server.rb, is
> called with a String as a timestamp. I'm just wondering why it's
> working for everybody else.
>
> Günter
>
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061122/cb7c0142/attachment.html 


More information about the Backgroundrb-devel mailing list