[Buildbot-devel] Force Build Button problems ...
Kiffin Gish
kgish at interapy.nl
Tue Aug 18 20:33:03 UTC 2009
Thanks for the tip, but it didn't help. Now I get the following error:
2009-08-18 22:30:30+0200 [-] Unhandled Error
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/scripts/_twistd_unix.py", line 320, in startApplication
app.startApplication(application, not self.config['no_save'])
File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/application/app.py", line 714, in startApplication
service.IService(application).startService()
File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/application/service.py", line 278, in startService
service.startService()
File
"/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/buildbot/master.py", line 455, in startService
self.loadTheConfigFile()
--- <exception caught here> ---
File
"/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/buildbot/master.py", line 511, in loadTheConfigFile
self.loadConfig(f)
File
"/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/buildbot/master.py", line 529, in loadConfig
exec f in localDict
File "/home/buildbot/master/master.cfg", line 77, in ?
from buildbot.changes.svnpoller import SVNPoller
exceptions.SyntaxError: invalid syntax (svnpoller.py, line 283)
2009-08-18 22:30:30+0200 [-] The new config file is unusable, so I'll
ignore it.
2009-08-18 22:30:30+0200 [-] I will keep using the previous config file
instead.
The buildmaster appears to have encountered an error in the master.cfg
config
file during startup. It is probably running with an empty configuration
right
now. Please inspect and fix master.cfg, then restart the buildmaster.
On Tue, 2009-08-18 at 12:24 -0700, Andre LaBranche wrote:
> The salient error appears to be:
>
> > .CannotListenError: Couldn't listen on any:3001:
> > (98, 'Address already in use')
>
> Possibly because you are asking twice for the web status listener. The
> 'already in use' message is fairly self-explanatory. Try removing
> these two lines:
>
> > from buildbot.status.html import WebStatus
> > c['status'].append(WebStatus(3001))
>
> Also, verify that all the buildbot python processes are terminated
> before attempting to start it again.
>
> HTH,
> -dre
>
> On Aug 18, 2009, at 6:09 AM, Kiffin Gish wrote:
>
> > Hi there.
> >
> > If I try to enable the force build button as follows:
> >
> > # -----
> > from buildbot.status import html
> > c['status'].append(html.WebStatus(http_port=3001, allowForce=True))
> >
> > from buildbot.status.html import WebStatus
> > c['status'].append(WebStatus(3001))
> > # -----
> >
> > I get the following error message when I start buildbot:
> >
> > # -----
> > 2009-08-18 15:09:03+0200 [-] Unhandled error in Deferred:
> > 2009-08-18 15:09:03+0200 [-] Unhandled Error
> > Traceback (most recent call last):
> > File
> > "/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/
> > buildbot/master.py", line 795, in <lambda>
> > d.addCallback(lambda res: self.loadConfig_status(status))
> > File
> > "/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/
> > buildbot/master.py", line 967, in loadConfig_status
> > d.addCallback(addNewOnes)
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/internet/defer.py", line 195, in addCallback
> > callbackKeywords=kw)
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/internet/defer.py", line 186, in addCallbacks
> > self._runCallbacks()
> > --- <exception caught here> ---
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/internet/defer.py", line 328, in _runCallbacks
> > self.result = callback(self.result, *args, **kw)
> > File
> > "/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/
> > buildbot/master.py", line 964, in addNewOnes
> > s.setServiceParent(self)
> > File
> > "/usr/lib/python2.4/site-packages/buildbot-0.7.11p3-py2.4.egg/
> > buildbot/status/web/baseweb.py", line 541, in setServiceParent
> > service.MultiService.setServiceParent(self, parent)
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/application/service.py", line 185, in
> > setServiceParent
> > self.parent.addService(self)
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/application/service.py", line 304, in addService
> > service.privilegedStartService()
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/application/service.py", line 273, in
> > privilegedStartService
> > service.privilegedStartService()
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/application/internet.py", line 85, in
> > privilegedStartService
> > self._port = self._getPort()
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/application/internet.py", line 115, in _getPort
> > return getattr(reactor, 'listen%s' % (self.method,))(
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/internet/posixbase.py", line 356, in listenTCP
> > p.startListening()
> > File
> > "/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-
> > x86_64.egg/twisted/internet/tcp.py", line 858, in startListening
> > raise CannotListenError, (self.interface, self.port, le)
> > twisted.internet.error.CannotListenError: Couldn't listen on any:
> > 3001:
> > (98, 'Address already in use').
> >
> >
> > The buildmaster took more than 10 seconds to start, so we were
> > unable to
> > confirm that it started correctly. Please 'tail twistd.log' and look
> > for
> > a
> > line that says 'configuration update complete' to verify correct
> > startup.
> > # -----
> >
> > What's going wrong and how can I fix this?
> >
> > --
> > Kiffin Gish
> > Interapy Nederland BV
> > Keizersgracht 424-4
> > 1016 GC Amsterdam
> >
> > T: +31 (0)20 798 8300
> > F: +31 (0)20 798 8399
> > M: +31 (0)61 405 2604
> > E: kgish at interapy.nl
> > I: www.interapy.nl
> >
> >
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > trial. Simplify your report design, integration and deployment - and
> > focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
--
Kiffin Gish
Interapy Nederland BV
Keizersgracht 424-4
1016 GC Amsterdam
The Netherlands
T: +31 (0)20 798 8300
F: +31 (0)20 798 8399
M: +31 (0)61 405 2604
E: kgish at interapy.nl
I: www.interapy.nl
More information about the devel
mailing list