Modify ↓
Ticket #669 (closed defect: fixed)
SimpleXMLRPCServer in python 2.4
Reported by: | Jack Neely <[email protected]…> | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
Looks like the SimpleXMLRPCServer API changes in 2.5. I'm getting:
Traceback (most recent call last): File "/usr/sbin/bcfg2-server", line 62, in ? ca=setup['ca'], File "/usr/lib/python2.4/site-packages/Bcfg2/Component.py", line 64, in run_component register=register, timeout=time_out, ca=ca) File "/usr/lib/python2.4/site-packages/Bcfg2/SSLServer.py", line 239, in __init__ XMLRPCDispatcher.__init__(self, allow_none, encoding) File "/usr/lib/python2.4/site-packages/Bcfg2/SSLServer.py", line 30, in __init__ encoding) TypeError: __init__() takes exactly 1 argument (3 given)
from bcfg2-server on RHEL 5 with python 2.4.
http://docs.python.org/library/simplexmlrpcserver.html states: "Changed in version 2.5: The allow_none and encoding parameters were added."
Attachments
Change History
comment:2 follow-up: ↓ 3 Changed 14 years ago by Jack Neely <[email protected]…>
- Status changed from closed to reopened
- Resolution fixed deleted
Sorry...we missed. I've attached a patch against 5260.
comment:3 in reply to: ↑ 2 Changed 14 years ago by solj
- Status changed from reopened to closed
- Resolution set to fixed
Replying to Jack Neely <[email protected]>:
Sorry...we missed. I've attached a patch against 5260.
Applied in [a88976e51483e4a9efd45cbbaaefc9e4222d0266] (SVN r5264). Thanks for the patch.
Note: See
TracTickets for help on using
tickets.
This should be fixed in [1dcfea59be46c5179bcbab235786abe52511ec2d] (SVN r5260)