Public bug reported:

Binary package hint: tinyerp-server

This package doesn't work if  python2.5 is installed in the system:
tinyerp-client simply reports that it cannot connect to local server.

The following patch is required to make it work under python 2.5 and
python2.4:

diff -u /usr/lib/tinyerp-server/old.netsvc.py /usr/lib/tinyerp-server/netsvc.py
--- /usr/lib/tinyerp-server/old.netsvc.py       2006-11-30 06:20:14.000000000 
-0300
+++ /usr/lib/tinyerp-server/netsvc.py   2007-05-21 05:26:58.000000000 -0400
@@ -7,6 +7,7 @@
 import SocketServer
 import socket
 import logging
+import sys
 
 try:
        from ssl import *
@@ -196,6 +197,8 @@
                        self.name=name
 
 class GenericXMLRPCRequestHandler:
+       if sys.hexversion >= 0x02050000:
+               rpc_paths = None
        def _dispatch(self, method, params):
                import traceback
                try:


Thanks,

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

-- 
tinyerp-server does not work in ubuntu feisty python2.5
https://bugs.launchpad.net/bugs/115938
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