java.lang.RuntimeException: Error connecting to python process (Name:C:\opt\Python-3.1.1\PCbuild\python\_d.exe:EndName:Version3.1Executable:C:\opt\Python-3.1.1\PCbuild\python\_d.exe|C:\opt\Python-3.1.1|C:\opt\Python-3.1.1\DLLs|C:\opt\Python-3.1.1\PCbuild|C:\opt\Python-3.1.1\PCbuild\python31\_d.zip|C:\opt\Python-3.1.1\lib|C:\opt\Python-3.1.1\lib\plat-win|C:\opt\Python-3.1.1\lib\site-packages@$|Image|OpenGL|\_\_main\_\_|\_ast|\_bisect|\_bytesio|\_codecs|\_codecs\_cn|\_codecs\_hk|\_codecs\_iso2022|\_codecs\_jp|\_codecs\_kr|\_codecs\_tw|\_collections|\_csv|\_fileio|\_functools|\_heapq|\_hotshot|\_io|\_json|\_locale|\_lsprof|\_md5|\_multibytecodec|\_pickle|\_random|\_sha|\_sha1|\_sha256|\_sha512|\_sre|\_struct|\_subprocess|\_symtable|\_thread|\_warnings|\_weakref|\_winreg|array|atexit|audioop|binascii|builtins|cPickle|cStringIO|cmath|datetime|email|errno|exceptions|future\_builtins|gc|imageop|imp|itertools|marshal|math|mmap|msvcrt|nt|numpy|operator|os|os.path|parser|signal|strop|sys|thread|time|winreg|wx|wxPython|xxsubtype|zipimport|zlib "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py" 49590 49591)  \- the process in NOT ALIVE anymore (output=0) -  the output of the process is: Std output: pycompletionserver will start pycompletionserver creating socket pycompletionserver received error: Traceback (most recent call last): File "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py", line 262, in run s.bind((HOST, self.thisPort)) LookupError: unknown encoding: idna Err output: Exception in thread Thread-1: Traceback (most recent call last): File "C:\opt\Python-3.1.1\lib\threading.py", line 509, in \_bootstrap\_inner self.run() File "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py", line 262, in run s.bind((HOST, self.thisPort)) LookupError: unknown encoding: idna

pydev | bkovt | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    code analysis broken w/ python 2.6 and 3.1

    pydev | 7 years ago | bkovt
    java.lang.RuntimeException: Error connecting to python process (Name:C:\opt\Python-3.1.1\PCbuild\python\_d.exe:EndName:Version3.1Executable:C:\opt\Python-3.1.1\PCbuild\python\_d.exe|C:\opt\Python-3.1.1|C:\opt\Python-3.1.1\DLLs|C:\opt\Python-3.1.1\PCbuild|C:\opt\Python-3.1.1\PCbuild\python31\_d.zip|C:\opt\Python-3.1.1\lib|C:\opt\Python-3.1.1\lib\plat-win|C:\opt\Python-3.1.1\lib\site-packages@$|Image|OpenGL|\_\_main\_\_|\_ast|\_bisect|\_bytesio|\_codecs|\_codecs\_cn|\_codecs\_hk|\_codecs\_iso2022|\_codecs\_jp|\_codecs\_kr|\_codecs\_tw|\_collections|\_csv|\_fileio|\_functools|\_heapq|\_hotshot|\_io|\_json|\_locale|\_lsprof|\_md5|\_multibytecodec|\_pickle|\_random|\_sha|\_sha1|\_sha256|\_sha512|\_sre|\_struct|\_subprocess|\_symtable|\_thread|\_warnings|\_weakref|\_winreg|array|atexit|audioop|binascii|builtins|cPickle|cStringIO|cmath|datetime|email|errno|exceptions|future\_builtins|gc|imageop|imp|itertools|marshal|math|mmap|msvcrt|nt|numpy|operator|os|os.path|parser|signal|strop|sys|thread|time|winreg|wx|wxPython|xxsubtype|zipimport|zlib "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py" 49590 49591)  \- the process in NOT ALIVE anymore (output=0) -  the output of the process is: Std output: pycompletionserver will start pycompletionserver creating socket pycompletionserver received error: Traceback (most recent call last): File "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py", line 262, in run s.bind((HOST, self.thisPort)) LookupError: unknown encoding: idna Err output: Exception in thread Thread-1: Traceback (most recent call last): File "C:\opt\Python-3.1.1\lib\threading.py", line 509, in \_bootstrap\_inner self.run() File "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py", line 262, in run s.bind((HOST, self.thisPort)) LookupError: unknown encoding: idna
  2. 0

    Code completion from DLLs

    pydev | 7 years ago | alextill
    java.lang.RuntimeException: The shell is still not connected, so, it is an invalid state to try to write to it.
  3. 0

    PyDev for Eclipse / Discussion / Please post to StackOverflow with PyDev tag:Is 1.4.4 simply does not work

    sourceforge.net | 2 years ago
    java.lang.RuntimeException: Error creating python process - exited before creating sockets - exitValue = (1)(O:\ivanoe\Tools\Python26\python.exe "O:\ivanoe\Tools\eclipse\configuration\org.eclipse.osgi\bundles\144\1\.cp\PySrc\pycompletionserver.py" 2669 2670) - os:Windows XP
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PyDev for Eclipse / Mailing Lists

    sourceforge.net | 1 year ago
    java.lang.RuntimeException: Error creating python process - exited before creating sockets - exitValue = (1)(O:\ivanoe\Tools\Python26\python.exe "O:\ivanoe\Tools\eclipse\configuration\org.eclipse.osgi\bundles\144\1\.cp\PySrc\ pycompletionserver.py" 2667 2668) - os:Windows XP
  6. 0

    Is 1.4.4 simply does not work

    pydev | 8 years ago | ivanoe
    java.lang.RuntimeException: Error creating python process - exited before creating sockets - exitValue = (1)(O:\ivanoe\Tools\Python26\python.exe "O:\ivanoe\Tools\eclipse\configuration\org.eclipse.osgi\bundles\144\1\\.cp\PySrc\pycompletionserver.py" 2667 2668) - os:Windows XP

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error connecting to python process (Name:C:\opt\Python-3.1.1\PCbuild\python\_d.exe:EndName:Version3.1Executable:C:\opt\Python-3.1.1\PCbuild\python\_d.exe|C:\opt\Python-3.1.1|C:\opt\Python-3.1.1\DLLs|C:\opt\Python-3.1.1\PCbuild|C:\opt\Python-3.1.1\PCbuild\python31\_d.zip|C:\opt\Python-3.1.1\lib|C:\opt\Python-3.1.1\lib\plat-win|C:\opt\Python-3.1.1\lib\site-packages@$|Image|OpenGL|\_\_main\_\_|\_ast|\_bisect|\_bytesio|\_codecs|\_codecs\_cn|\_codecs\_hk|\_codecs\_iso2022|\_codecs\_jp|\_codecs\_kr|\_codecs\_tw|\_collections|\_csv|\_fileio|\_functools|\_heapq|\_hotshot|\_io|\_json|\_locale|\_lsprof|\_md5|\_multibytecodec|\_pickle|\_random|\_sha|\_sha1|\_sha256|\_sha512|\_sre|\_struct|\_subprocess|\_symtable|\_thread|\_warnings|\_weakref|\_winreg|array|atexit|audioop|binascii|builtins|cPickle|cStringIO|cmath|datetime|email|errno|exceptions|future\_builtins|gc|imageop|imp|itertools|marshal|math|mmap|msvcrt|nt|numpy|operator|os|os.path|parser|signal|strop|sys|thread|time|winreg|wx|wxPython|xxsubtype|zipimport|zlib "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py" 49590 49591)  \- the process in NOT ALIVE anymore (output=0) -  the output of the process is: Std output: pycompletionserver will start pycompletionserver creating socket pycompletionserver received error: Traceback (most recent call last): File "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py", line 262, in run s.bind((HOST, self.thisPort)) LookupError: unknown encoding: idna Err output: Exception in thread Thread-1: Traceback (most recent call last): File "C:\opt\Python-3.1.1\lib\threading.py", line 509, in \_bootstrap\_inner self.run() File "C:\opt\eclipse-rcp-galileo-win32\eclipse\plugins\org.python.pydev\_1.5.4.2010011921\PySrc\pycompletionserver.py", line 262, in run s.bind((HOST, self.thisPort)) LookupError: unknown encoding: idna

      at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt()
    2. org.python.pydev
      AbstractASTManager.getBuiltinCompletions
      1. org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:469)
      2. org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:252)
      3. org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:200)
      4. org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:95)
      5. org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:223)
      6. org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:1)
      7. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModuleAndRelatedModulesManager(ProjectModulesManager.java:265)
      8. org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:245)
      9. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getModule(AbstractASTManager.java:388)
      10. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinMod(AbstractASTManager.java:932)
      11. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinComps(AbstractASTManager.java:913)
      12. org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:895)
      12 frames
    3. com.python.pydev
      AbstractAnalysisBuilderRunnable.run
      1. com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.<init>(AbstractScopeAnalyzerVisitor.java:142)
      2. com.python.pydev.analysis.visitors.OccurrencesVisitor.<init>(OccurrencesVisitor.java:66)
      3. com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:44)
      4. com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:38)
      5. com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:228)
      6. com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:145)
      6 frames
    4. org.python.pydev
      RunnableAsJobsPoolThread$1.run
      1. org.python.pydev.core.concurrency.RunnableAsJobsPoolThread$1.run(RunnableAsJobsPoolThread.java:95)
      1 frame
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame