Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] problem starting sup
@ 2011-01-26 23:59 Hamish D
  2011-01-27  0:24 ` Marc Weber
  2011-01-27  1:57 ` William Morgan
  0 siblings, 2 replies; 4+ messages in thread
From: Hamish D @ 2011-01-26 23:59 UTC (permalink / raw)
  To: sup-talk

I have a strange problem when trying to start sup from master. I am
running Ubuntu 10.10 x86_64. I have installed ruby and rubygems from
the archive, but installed all the gems with "gem install" and sup is
from git. I don't seem to be able to install xapian due to it looking
for some 32 bit libraries on a path that doesn't exist on my 64 bit
system, so I have installed the xapian-full gem, which installs fine.

When I start sup I get:

$ SUP_LOG_LEVEL=debug ruby -I /home/mish/dev/sup/sup-mainline/lib -w
/home/mish/dev/sup/sup-mainline/bin/sup
...
[Wed Jan 26 23:58:42 +0000 2011] locking /home/mish/.sup/lock...
/home/mish/dev/sup/sup-mainline/lib/sup/index.rb:84: warning: instance
variable @lock_update_thread not initialized
/home/mish/dev/sup/sup-mainline/lib/sup/util.rb:602:in
`method_missing': no Redwood::HookManager instance defined in method
call to run! (RuntimeError)
	from /home/mish/dev/sup/sup-mainline/bin/sup:381

Any ideas?

Hamish Downer
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] problem starting sup
  2011-01-26 23:59 [sup-talk] problem starting sup Hamish D
@ 2011-01-27  0:24 ` Marc Weber
  2011-01-27  1:57 ` William Morgan
  1 sibling, 0 replies; 4+ messages in thread
From: Marc Weber @ 2011-01-27  0:24 UTC (permalink / raw)
  To: sup-talk

Excerpts from Hamish D's message of Thu Jan 27 00:59:24 +0100 2011:
> Any ideas?

No, but you should talk about ruby --version output
and the git version of sup you're using?

Marc Weber
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] problem starting sup
  2011-01-26 23:59 [sup-talk] problem starting sup Hamish D
  2011-01-27  0:24 ` Marc Weber
@ 2011-01-27  1:57 ` William Morgan
  2011-01-30 23:07   ` Hamish D
  1 sibling, 1 reply; 4+ messages in thread
From: William Morgan @ 2011-01-27  1:57 UTC (permalink / raw)
  To: sup-talk

Reformatted excerpts from Hamish D's message of 2011-01-26:
> `method_missing': no Redwood::HookManager instance defined in method
> call to run! (RuntimeError)
>     from /home/mish/dev/sup/sup-mainline/bin/sup:381

This is masking another exception. Something is breaking before
HookManager is initialized, and in rescuing from it, we try and run the
shutdown hook, which of course dies.

Can you comment out that line? Or maybe try commenting out the three
lines starting with rescue and ending with ensure at line 372 in
bin/sup? This should at least unmask the exception.

Initting the hookmanager happens very early on in Sup, so I'm guessing
there's something wrong with your config file or the log file (the only
two things that happen before the hookmanager is brought up).
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] problem starting sup
  2011-01-27  1:57 ` William Morgan
@ 2011-01-30 23:07   ` Hamish D
  0 siblings, 0 replies; 4+ messages in thread
From: Hamish D @ 2011-01-30 23:07 UTC (permalink / raw)
  To: William Morgan; +Cc: sup-talk

> Initting the hookmanager happens very early on in Sup, so I'm guessing
> there's something wrong with your config file or the log file (the only
> two things that happen before the hookmanager is brought up).

I moved .sup out of the way and the error went away. Then with playing
with it I managed to delete the .sup directory that caused the errors
:/ If I ever happen to reproduce this I'll know what to do anyway.

Hamish
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-30 23:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 23:59 [sup-talk] problem starting sup Hamish D
2011-01-27  0:24 ` Marc Weber
2011-01-27  1:57 ` William Morgan
2011-01-30 23:07   ` Hamish D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox