Public bug reported:

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 ----
                        self.name=name
  
  class GenericXMLRPCRequestHandler:
+         rpc_paths = None # this line correct error
        def _dispatch(self, method, params):
                import traceback
                try:

See more info here:
http://tinyerp.org/forum/viewtopic.php?t=3296

** Affects: tinyerp-server (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
tinyERp does not work with Python2.5 due to changes in SimpleXMLRPCServer.py
https://bugs.launchpad.net/bugs/113954
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to