[Pydev-users] [Users] Eclipse frezes on code completion
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-02-14 19:46:28
|
The following forum message was posted by foxterri at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: Hi, When programming in Pydev in Eclipse, it keeps freezing every time it tries to auto complete some code Forexample when i type: newString = "abc" newString.something (newString"DOT"something) And then it frezes. And after a minute, if I am lucky it says "error connecting to python process" I get the following error from the eclipse error log: !ENTRY org.python.pydev 4 4 2011-02-14 20:17:43.640 !MESSAGE Error connecting to python process (Name:python:EndName:Version2.7Executable:C:\Python27\python.exe|C:\Python27|C:\ Python27\DLLs|C:\Python27\lib|C:\Python27\lib\lib-tk|C:\Python27\lib\plat-win|C: \Python27\lib\site-packages|C:\Python27\lib\site-packages\Pythonwin|C:\Python27\ lib\site-packages\setuptools-0.6c11-py2.7.egg-info|C:\Python27\lib\site-packages \win32|C:\Python27\lib\site-packages\win32\lib@$|Image|OpenGL|__builtin__|__main __|_ast|_bisect|_bytesio|_codecs|_codecs_cn|_codecs_hk|_codecs_iso2022|_codecs_j p|_codecs_kr|_codecs_tw|_collections|_csv|_fileio|_functools|_heapq|_hotshot|_io |_json|_locale|_lsprof|_md5|_multibytecodec|_random|_sha|_sha256|_sha512|_sre|_s truct|_subprocess|_symtable|_warnings|_weakref|_winreg|array|audioop|binascii|cP ickle|cStringIO|cmath|datetime|email|errno|exceptions|future_builtins|gc|hashlib |imageop|imp|itertools|marshal|math|mmap|msvcrt|nt|numpy|operator|os|os.path|par ser|signal|socket|strop|sys|thread|time|wx|wxPython|xxsubtype|zipimport|zlib "C:\eclipse\dropins\plugins\org.python.pydev_1.6.5.2011020317\PySrc\pycompletion server.py" 1266 1265) - the process in still alive (killing it now)- the output of the process is: Std output: pycompletionserver will start pycompletionserver creating socket pycompletionserver waiting for connection Err output: !STACK 0 java.lang.RuntimeException: Error connecting to python process (Name:python:EndName:Version2.7Executable:C:\Python27\python.exe|C:\Python27|C:\ Python27\DLLs|C:\Python27\lib|C:\Python27\lib\lib-tk|C:\Python27\lib\plat-win|C: \Python27\lib\site-packages|C:\Python27\lib\site-packages\Pythonwin|C:\Python27\ lib\site-packages\setuptools-0.6c11-py2.7.egg-info|C:\Python27\lib\site-packages \win32|C:\Python27\lib\site-packages\win32\lib@$|Image|OpenGL|__builtin__|__main __|_ast|_bisect|_bytesio|_codecs|_codecs_cn|_codecs_hk|_codecs_iso2022|_codecs_j p|_codecs_kr|_codecs_tw|_collections|_csv|_fileio|_functools|_heapq|_hotshot|_io |_json|_locale|_lsprof|_md5|_multibytecodec|_random|_sha|_sha256|_sha512|_sre|_s truct|_subprocess|_symtable|_warnings|_weakref|_winreg|array|audioop|binascii|cP ickle|cStringIO|cmath|datetime|email|errno|exceptions|future_builtins|gc|hashlib |imageop|imp|itertools|marshal|math|mmap|msvcrt|nt|numpy|operator|os|os.path|par ser|signal|socket|strop|sys|thread|time|wx|wxPython|xxsubtype|zipimport|zlib "C:\eclipse\dropins\plugins\org.python.pydev_1.6.5.2011020317\PySrc\pycompletion server.py" 1266 1265) - the process in still alive (killing it now)- the output of the process is: Std output: pycompletionserver will start pycompletionserver creating socket pycompletionserver waiting for connection Err output: at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractS hell.java:540) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(Ab stractShell.java:321) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(Ab stractShell.java:257) at org.python.pydev.editor.codecompletion.PyCodeCompletion.lazyStartShell(PyCod eCompletion.java:407) at org.python.pydev.editor.codecompletion.PyCodeCompletion.getCodeCompletionPro posals(PyCodeCompletion.java:118) at org.python.pydev.editor.codecompletion.PythonCompletionProcessor.getPythonPr oposals(PythonCompletionProcessor.java:234) at org.python.pydev.editor.codecompletion.PythonCompletionProcessor.computeComp letionProposals(PythonCompletionProcessor.java:158) at org.python.pydev.editor.simpleassist.SimpleAssistProcessor.computeCompletion Proposals(SimpleAssistProcessor.java:204) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionPropo sals(ContentAssistant.java:1834) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposal s(CompletionProposalPopup.java:556) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(Compl etionProposalPopup.java:553) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(Completio nProposalPopup.java:488) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(C ompletionProposalPopup.java:482) at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant .java:376) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display |