[Buildbot-devel] Still having notification problems after updating to latest

Dustin J. Mitchell dustin at v.igoro.us
Thu Nov 21 01:01:03 UTC 2013


On Mon, Nov 18, 2013 at 5:33 PM, Bob Hood <bhood2 at comcast.net> wrote:
> remote: exceptions.ValueError: set_wakeup_fd only works in main thread

As I said back in May, this is a misuse of Twisted, actually --
Twisted *very* much does not like running in a threaded environment,
and it looks like you're running it in an hg hook which hg runs in a
thread.  Basically, hg has a runtime that is incompatible with
Twisted.

As far as I know, this used to work, even if it was never a good idea.
 Benoit's suggestion to use a web hook is probably the best way out
here.  But you've prompted me to move hgbuildbot out of the codebase
and into the contrib/ directory where, honestly, it belongs.

The question about a non-unique identifier column is probably
http://trac.buildbot.net/ticket/2587

Dustin




More information about the devel mailing list