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

Twisted Reactor breaks twisted.web.xmlrpc #384

Closed
stiletto opened this issue Oct 18, 2011 · 2 comments
Closed

Twisted Reactor breaks twisted.web.xmlrpc #384

stiletto opened this issue Oct 18, 2011 · 2 comments

Comments

@stiletto
Copy link
Contributor

tornado.platform.twisted.TornadoReactor breaks twisted.web.xmlrpc because it doesn't call connectionLost().
Following code works fine if you remove "tornado.platform.twisted.install()":

# -*- coding: utf-8 -*-
from __future__ import print_function

import tornado.platform.twisted
tornado.platform.twisted.install()

from twisted.internet import defer,reactor

from twisted.web.xmlrpc import Proxy

service = Proxy('http://www.cookcomputing.com/xmlrpcsamples/RPC2.ashx')
result = service.callRemote('examples.getStateName', 13)
result.addCallback(lambda x: (print(x),reactor.stop()))
reactor.run()
@bdarnell
Copy link
Member

@stiletto, can you test with the change I just merged from pull request #389? It looks like it may fix the problems you're seeing.

@bdarnell
Copy link
Member

bdarnell commented Dec 7, 2011

I'm closing this issue, but please feel free to reopen if the problem is still present.

@bdarnell bdarnell closed this as completed Dec 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants