tinyERp does not work with Python2.5 due to changes in SimpleXMLRPCServer.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tinyerp-server (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tinyerp-server
A new funcionality on python 2.5 breaks the ability for tinyerp-server to start
From "What's New in Python 2.5" document:
Library: The SimpleXMLRPCServer and DocXMLRPCServer classes now have a rpc_paths attribute that constrains XML-RPC operations to a limited set of URL paths; the default is to allow only '/' and '/RPC2'. Setting rpc_paths to None or an empty tuple disables this path checking.
A way to fix in tinyerp is to disable this path checking:
*** netsvc.py 2007-05-11 09:38:15.000000000 +0200
--- netsvc.new 2007-05-11 09:38:04.000000000 +0200
***************
*** 196,201 ****
--- 196,202 ----
class GenericXMLRPCRe
+ rpc_paths = None # this line correct error
def _dispatch(self, method, params):
See more info here:
http://
I had the same problem and found the same fix on the net. tinyerp- server/ netsvc. py
The fix works for me. The file to change is /usr/lib/
I'm running Ubuntu Feisty Fawn .