[ZCM] [ZC] 1548/ 4 Comment "Client.py broken because of deprecated
httplib usage"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Sun Mar 27 10:34:33 EST 2005
Issue #1548 Update (Comment) "Client.py broken because of deprecated httplib usage"
Status Pending, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/1548
==============================================================
= Comment - Entry #4 by efge on Mar 27, 2005 10:34 am
Could you provide the exception, traceback or the concrete problem you have with the current code ? As I say, it seems to work for me.
________________________________________
= Comment - Entry #3 by peterbe on Mar 15, 2005 1:07 pm
Solution: In Client.py change the line::
h=HTTP()
to this which works in Python2.3::
h=HTTP(self.host)
I don't know how to provide a patch. But the problem is still in Zope2.7.4 (haven't tested any higher version numbers) and it must be fixed soon.
I think this also affects bin/load_site.py
________________________________________
= Comment - Entry #2 by efge on Nov 10, 2004 12:12 pm
HTTP() works fine in my python 2.3.4.
The RemoteException call looks wrong, agreed.
________________________________________
= Request - Entry #1 by Anonymous User on Oct 21, 2004 2:36 pm
Client.py line 144:
h=HTTP()
This is deprecated as of Python 2.2 and causes an exception in Python 2.3.4. The HTTP class has been deprecated in favour of HTTPConnection. Also, on line 154, RemoteException is being passed the wrong number of parameters.
==============================================================
More information about the Zope-Collector-Monitor
mailing list