Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1789 closed defect (fixed)

TypeError: makeDbgPerspective() takes no arguments (2 given)

Reported by: bsavelev Owned by:
Priority: major Milestone: 0.8.4
Version: 0.8.3p1 Keywords:
Cc:

Description

upgrade from 0.8.1 to 0.8.3p1 broke debugclient for me

twisted 8.1.0-4

I run buildbot debugclient -m localhost:9989 -pdebugpw When I click 'connect' button in buildbot master print to log:

2011-02-03 12:03:49+0300 [Broker,3,127.0.0.1] Peer will receive following PB traceback:
2011-02-03 12:03:49+0300 [Broker,3,127.0.0.1] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 195, in addCallback
            callbackKeywords=kw)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 186, in addCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib/python2.5/site-packages/buildbot/pbmanager.py", line 138, in requestAvatar
            d = defer.maybeDeferred(afactory, mind, username)
        --- <exception caught here> ---
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 106, in maybeDeferred
            result = f(*args, **kw)
        exceptions.TypeError: makeDbgPerspective() takes no arguments (2 given)

client failed to connect

Change History (3)

comment:1 Changed 8 years ago by dustin

  • Milestone changed from undecided to 0.8.4

comment:2 Changed 8 years ago by dustin

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 8 years ago by Dustin J. Mitchell

Fix DebugClient?'s pbmanager factory

Also: add some tests, remove non-working code

Fixes #1789

Changeset: 10ca0992dc1f11f08a2c3b2e55442db4ab5feae4

Note: See TracTickets for help on using tickets.