[Buildbot] #3524: debug mode in wamp is broken
Buildbot trac
trac at buildbot.net
Fri Apr 15 16:59:49 UTC 2016
#3524: debug mode in wamp is broken
--------------------+------------------------
Reporter: nand0p | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.9.0b7 | Keywords: wamp debug
--------------------+------------------------
this error occurs when wamp debug mode is enabled.
```
2016-04-15 12:53:36-0400 [-] Starting wamp with config: %r {'realm':
'buildbot', 'debug_lowlevel': False, 'router_url':
'ws://localhost:8080/ws', 'debug': False, 'debug_websockets': False,
'type': 'wamp'}
2016-04-15 12:53:36-0400 [-] while starting BuildMaster
Traceback (most recent call last):
File "/home/buildbot/.buildbot_venv/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1184, in gotResult
_inlineCallbacks(r, g, deferred)
File "/home/buildbot/.buildbot_venv/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/buildbot/.buildbot_venv/src/buildbot/master/buildbot/util/service.py",
line 46, in reconfigServiceWithBuildbotConfig
yield svc.reconfigServiceWithBuildbotConfig(new_config)
File "/home/buildbot/.buildbot_venv/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1274, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
File "/home/buildbot/.buildbot_venv/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
result = g.send(result)
File
"/home/buildbot/.buildbot_venv/src/buildbot/master/buildbot/wamp/connector.py",
line 153, in reconfigServiceWithBuildbotConfig
debug_app=wamp.get('debug', False)
exceptions.TypeError: __init__() got an unexpected keyword
argument 'debug_wamp'
```
Workaround is commenting out the following lines in wamp/connector.py:
#debug=wamp.get('debug_websockets', False),
#debug_wamp=wamp.get('debug_lowlevel', False),
#debug_app=wamp.get('debug', False)
--
Ticket URL: <http://trac.buildbot.net/ticket/3524>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list