[Buildbot-commits] [Buildbot] #2105: Mercurial hook - exceptions.ValueError: signal only works in main thread

Buildbot nobody at buildbot.net
Fri Sep 16 04:24:33 UTC 2011


#2105: Mercurial hook - exceptions.ValueError: signal only works in main thread
----------------------+------------------------
Reporter:  jpichon    |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  0.8.4p2    |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by hsorby):

 I am also experiencing difficulties with this.  I have a few differences
 though.  #397 suggestion did work for me and I stopped getting the
 exception related to the signal handler.

 What happens for me, On the first push I get

 {{{
 #!text
   pushing to http://localhost:8000
   searching for changes
   remote: adding changesets
   remote: adding manifests
   remote: adding file changes
   remote: added 1 changesets with 1 changes to 1 files
   remote: rev c34a848fd0f45a56f807638acfcc7f6dbe172039 sent
 }}}

 and everything works great.  However on the second push I get:

 {{{
 #!text
  pushing to http://localhost:8000
  searching for changes
  remote: adding changesets
  remote: adding manifests
  remote: adding file changes
  remote: added 1 changesets with 1 changes to 1 files
  remote: error: changegroup.buildbot hook raised an exception:
 }}}
 and nothing gets sent to the build master.  As far as my limited tracing
 has gotten me is to the line of code

 {{{
 #!python
   reactor.run()
 }}}

 in the hgbuildbot.hook script this returns an exception from which it
 never recovers and I have to restart the mercurial server.  Thanks.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2105#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list