Opened 22 months ago

#3524 new defect

debug mode in wamp is broken

Reported by: nand0p Owned by:
Priority: major Milestone: undecided
Version: 0.9.0b7 Keywords: wamp debug
Cc:

Description

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)

Change History (0)

Note: See TracTickets for help on using tickets.