Hi there, I have a problem using Winpdb in Pythonscripts running in a program which uses an embedded Python interpreter. After linking all needed modules statically to python, "import rpdb2" can be done and leads to no error. But on using the next line "rpdb2.start_embedded_debugger('password')". an error occurs:
Exception in thread ioserver: Traceback (most recent call last): File "C:\Program Files\Python30\lib\threading.py", line 507, in _bootstrap_inn er self.run() File "S:\dev\adge\build\r3804\Debug_Win32\py\rpdb2.py", line 4570, in run threading.Thread.run(self) File "C:\Program Files\Python30\lib\threading.py", line 462, in run self._target(*self._args, **self._kwargs) File "S:\dev\adge\build\r3804\Debug_Win32\py\rpdb2.py", line 9639, in run (self.m_port, self.m_server) = self.__StartXMLRPCServer() File "S:\dev\adge\build\r3804\Debug_Win32\py\rpdb2.py", line 9730, in __StartX MLRPCServer server = CXMLRPCServer((host, port), logRequests = 0) File "C:\Program Files\Python30\lib\xmlrpc\server.py", line 530, in __init__ socketserver.TCPServer.__init__(self, addr, requestHandler, bind_and_activat e) File "C:\Program Files\Python30\lib\socketserver.py", line 400, in __init__ self.server_bind() File "C:\Program Files\Python30\lib\socketserver.py", line 411, in server_bind self.socket.bind(self.server_address) LookupError: unknown encoding: idna Does someone have an idea why this error occurs? Funny thing is that module "socketserver" is taken from "C:\Program Files\Python30\lib\xmlrpc\server.py", although the module search path does not contain "C:\Program Files\Python30\lib". Maybe this has something to do with the problem... Thanks, Adrian -- http://mail.python.org/mailman/listinfo/python-list