com.arm.debug.control.LaunchException: The script file ( altera_debug_server.py ) failed during execution See Target Console view for more details at com.arm.debug.control.target.AbstractTargetController.runSetupScript(AbstractTargetController.java:192) at com.arm.debug.control.target.AbstractTargetController.setupTarget(AbstractTargetController.java:69) at com.arm.debug.control.ConnectionController.doPreDebugServiceInitialization(ConnectionController.java:623) at com.arm.debug.control.ConnectionController.doInitialize(ConnectionController.java:531) at com.arm.debug.control.ConnectionController.manageThreadModelAndInitialize(ConnectionController.java:515) at com.arm.debug.control.ConnectionController.manageProgressResourceAndInitialize(ConnectionController.java:453) at com.arm.debug.control.ConnectionController.initialize(ConnectionController.java:400) at com.arm.debug.control.ConnectionManager.createConnection(ConnectionManager.java:282) at com.arm.debug.launcher.TargetLauncher.launch(TargetLauncher.java:20) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at com.arm.debug.control.VariableResolvingLaunchConfiguration.launch(VariableResolvingLaunchConfiguration.java:273) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.arm.debug.launch.script.ScriptException: The script file ( altera_debug_server.py ) failed during execution at com.arm.debug.launch.script.PythonScriptRunner.run(PythonScriptRunner.java:108) at com.arm.debug.launch.script.TargetControlScriptRunner.run(TargetControlScriptRunner.java:32) at com.arm.debug.control.target.AbstractTargetController.runSetupScript(AbstractTargetController.java:189) ... 14 more Caused by: Traceback (most recent call last): File "D:\Apps\altera\16.1\embedded\ds-5\sw\debugger\configdb\Scripts\altera_debug_server.py", line 7, in from rddi_dap_debug_server import startDebugServer File "D:\Apps\altera\16.1\embedded\ds-5\sw\debugger\configdb\Scripts\rddi_dap_debug_server.py", line 9, in import socket File "__pyclasspath__/Lib/socket$py.class", line 3, in File "__pyclasspath__/Lib/_socket$py.class", line 215, in at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:68) at org.python.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:49) at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:61) at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:52) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211) java.lang.IllegalStateException: java.lang.IllegalStateException: failed to create a child event loop at org.python.core.Py.JavaError(Py.java:546) at org.python.core.Py.JavaError(Py.java:537) at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:221) at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java:180) at org.python.core.PyObject.__call__(PyObject.java:419) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) at org.python.core.PyMethod.__call__(PyMethod.java:228) at org.python.core.PyMethod.__call__(PyMethod.java:223) at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1112) at org.python.core.PyType.type___call__(PyType.java:1713) at org.python.core.PyType.__call__(PyType.java:1696) at org.python.core.PyObject.__call__(PyObject.java:478) at org.python.core.PyObject.__call__(PyObject.java:482) at _socket$py.f$0(/Users/fwierzbicki/hg/jython/jython/dist/Lib/_socket.py:1891) at _socket$py.call_function(/Users/fwierzbicki/hg/jython/jython/dist/Lib/_socket.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:436) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:64) at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:46) at org.python.core.imp.loadFromLoader(imp.java:587) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:840) at org.python.core.imp.import_module_level(imp.java:959) at org.python.core.imp.importName(imp.java:1062) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:431) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1156) at org.python.core.imp.importFrom(imp.java:1132) at socket$py.f$0(/Users/fwierzbicki/hg/jython/jython/dist/Lib/socket.py:132) at socket$py.call_function(/Users/fwierzbicki/hg/jython/jython/dist/Lib/socket.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:436) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.core.ClasspathPyImporter.ClasspathPyImporter_load_module(ClasspathPyImporter.java:64) at org.python.core.ClasspathPyImporter$ClasspathPyImporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:46) at org.python.core.imp.loadFromLoader(imp.java:587) at org.python.core.imp.find_module(imp.java:537) at org.python.core.imp.import_next(imp.java:840) at org.python.core.imp.import_module_level(imp.java:959) at org.python.core.imp.importName(imp.java:1062) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:431) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importOne(imp.java:1081) at rddi_dap_debug_server$py.f$0(D:\Apps\altera\16.1\embedded\ds-5\sw\debugger\configdb\Scripts\rddi_dap_debug_server.py:372) at rddi_dap_debug_server$py.call_function(D:\Apps\altera\16.1\embedded\ds-5\sw\debugger\configdb\Scripts\rddi_dap_debug_server.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:436) at org.python.core.imp.createFromPyClass(imp.java:236) at org.python.core.imp.createFromPyClass(imp.java:205) at org.python.core.imp.loadFromSource(imp.java:651) at org.python.core.imp.find_module(imp.java:543) at org.python.core.imp.import_next(imp.java:840) at org.python.core.imp.import_module_level(imp.java:959) at org.python.core.imp.importName(imp.java:1062) at org.python.core.ImportFunction.__call__(__builtin__.java:1280) at org.python.core.PyObject.__call__(PyObject.java:431) at org.python.core.__builtin__.__import__(__builtin__.java:1232) at org.python.core.imp.importFromAs(imp.java:1156) at org.python.core.imp.importFrom(imp.java:1132) at org.python.pycode._pyx1.f$0(D:\Apps\altera\16.1\embedded\ds-5\sw\debugger\configdb\Scripts\altera_debug_server.py:48) at org.python.pycode._pyx1.call_function(D:\Apps\altera\16.1\embedded\ds-5\sw\debugger\configdb\Scripts\altera_debug_server.py) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1386) at org.python.core.__builtin__.execfile_flags(__builtin__.java:535) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286) at com.arm.jython.Jython.runScript(Jython.java:81) at com.arm.jython.Jython.runScript(Jython.java:94) at com.arm.debug.launch.script.PythonScriptRunner.run(PythonScriptRunner.java:91) ... 16 more Caused by: java.lang.IllegalStateException: failed to create a child event loop at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:68) at org.python.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:49) at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:61) at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:52) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211) ... 91 more Caused by: org.python.netty.channel.ChannelException: failed to open a new selector at org.python.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:128) at org.python.netty.channel.nio.NioEventLoop.(NioEventLoop.java:120) at org.python.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:87) at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:64) ... 99 more Caused by: java.io.IOException: Unable to establish loopback connection at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:101) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:68) at java.security.AccessController.doPrivileged(Native Method) at sun.nio.ch.PipeImpl.(PipeImpl.java:170) at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50) at java.nio.channels.Pipe.open(Pipe.java:155) at sun.nio.ch.WindowsSelectorImpl.(WindowsSelectorImpl.java:127) at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44) at org.python.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:126) ... 102 more Caused by: java.net.ConnectException: Connection timed out: connect at sun.nio.ch.Net.connect0(Native Method) at sun.nio.ch.Net.connect(Net.java:458) at sun.nio.ch.Net.connect(Net.java:450) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648) at java.nio.channels.SocketChannel.open(SocketChannel.java:189) at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:130) at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83) ... 110 more