Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#37 closed defect (fixed)

client.clientCreator fails

Reported by: tofu Owned by: ralphm
Priority: highest Milestone:
Component: generic Keywords:
Cc:

Description

The new changes in svn break clientCreator. There should be a test for this function.

Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py", line 186, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/internet/base.py", line 387, in _continueFiring
    callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py", line 822, in unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-x86_64.egg/twisted/internet/defer.py", line 737, in _inlineCallbacks
    result = g.send(result)
  File "./disco", line 44, in run
    yield client.clientCreator(factory)
  File "/usr/lib/python2.5/site-packages/wokkel/client.py", line 184, in clientCreator
    domain = factory.authenticator.jid.host
exceptions.AttributeError: 'DeferredClientFactory' object has no attribute 'authenticator'

Change History (1)

comment:1 Changed 13 years ago by ralphm

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

(In [126]) Change clientCreator to use the JID passed to the factory correctly.

Author: ralphm Fixes #37.

Note: See TracTickets for help on using tickets.