Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-wokkel API changed? #53

Open
ghost opened this issue May 27, 2014 · 1 comment
Open

python-wokkel API changed? #53

ghost opened this issue May 27, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented May 27, 2014

From google-code@jensdiemer.de on July 04, 2012 14:12:29

I tried to enable database_xmpp and get this traceback:

    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 705, in doRead
        protocol.makeConnection(transport)
      File "/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 462, in makeConnection
        self.connectionMade()
      File "/home/kippo/kippo/kippo/core/honeypot.py", line 504, in connectionMade
        self.transport.sessionno)
      File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 594, in write
        msg(message, printed=1, isError=self.isError)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 284, in msg
        self.observers[i](actualEventDict)
      File "/home/kippo/kippo/kippo/core/dblog.py", line 71, in emit
        match.groups()[2], int(match.groups()[3]))
      File "/home/kippo/kippo/kippo/dblog/xmpp.py", line 117, in createSession
        self.broadcast('createsession', ses)
      File "/home/kippo/kippo/kippo/dblog/xmpp.py", line 93, in broadcast
        (self.signals[msgtype], self.muc.server) , msg)
      File "/home/kippo/kippo/kippo/dblog/xmpp.py", line 102, in report
        self.muc.groupChat(to,  None, children=[body])
    exceptions.TypeError: groupChat() got an unexpected keyword argument 'children'

Seems that the python-wokkel api has been changed?

Original issue: http://code.google.com/p/kippo/issues/detail?id=53

@desaster
Copy link
Owner

Note that the xmpp implementation uses a modified version of wokkel.

Here's a gist on how install it along with kippo:
https://gist.github.com/desaster/6c5bbf30b43f797a5e1a

I haven't used the xmpp myself much after the initial tests. Someone really should look into rewriting/updating the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant