Closed gagern closed 10 years ago
I've got more problems running UPnP-Inspector against my twisted install. Next one is the fact that coherence.upnp.core.utils.HeaderAwareHTTPClientFactory
does not call the __init__
implementation of its super class. As a consequence, its instances lack a _disconnectedDeferred
attribute which HTTPPageGetter.connectionLost
relies on. Disabling the __init__
method in coherence solved that.
If would be great if you could submit a pull-request.
Fixed.
@Hypfer: fixed where?
Fixed with https://github.com/coherence-project/Coherence/pull/6
At least the twisted.web.client._parse use.
-> Partly fixed O:)
There is one occurrence of _parse
left, even though one occurrence got removed.
Partly partly fixed.
Fixed.
coherence.upnp.core.utils.getPage
makes use oftwisted.web.client._parse
which is no longer available in recent versions of twisted. Namely the 13.2.0 I've installed here. The function was removed in this merge but simply using the new private code instead seems like a bad idea. So I suggest you either copy and paste the old_parse
function, or use something else likeurlparse.urlsplit
.