[Buildbot-devel] Twisted exception with Buildbot 0.8.5 + Mercurial hook

Benoît Allard benoit at aeteurope.nl
Fri May 24 07:40:55 UTC 2013


[resending, forgot to CC the list]

> -----Original Message-----
> From: Bob Hood [mailto:bhood2 at comcast.net]
> Sent: Friday, May 24, 2013 2:46 AM
> To: Buildbot Mailing List
> Subject: [Buildbot-devel] Twisted exception with Buildbot 0.8.5 + Mercurial
> hook
> 
> I recently migrated our Buildbot 0.8.5 + Twisted 12.0.0 + zope 3.6.1 to a new
> Debian Linux instance that is running x64 and Python 2.7.3.  We are using
> Mercurial with the changegroup.buildbot hook, i.e.:
> 
>     [hooks]
>     changegroup.buildbot = python:buildbot.changes.hgbuildbot.hook
> 
> I'm now getting an exception in Twisted that I wasn't getting before whenever
> a change is pushed to the Mercurial server:
> 
> pushing to https://...
> searching for changes
> remote: adding changesets
> remote: adding manifests
> remote: adding file changes
> remote: added 1 changesets with 1 changes to 1 files
> remote: Unhandled Error
> remote: Traceback (most recent call last):
[...]
> remote:   File
> "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-
> x86_64.egg/twisted/internet/posixbase.py",
> line 212, in install
> remote:     _signals.installHandler(self.o)
> remote:   File
> "/usr/local/lib/python2.7/dist-packages/Twisted-12.0.0-py2.7-linux-
> x86_64.egg/twisted/internet/_signals.py",
> line 132, in _installHandlerUsingSetWakeup
> remote:     return set_wakeup_fd(fd)
> remote: exceptions.ValueError: set_wakeup_fd only works in main thread
> remote: rev 0e77c7bd37a38b14658eaa9e62bc0763723bde1b sent


Have you tried forking the buildbot hook ? 

http://docs.buildbot.net/latest/manual/cfg-changesources.html#compatibility

Regards
Benoît.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6467 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20130524/4b4f83e1/attachment.bin>


More information about the devel mailing list