Thread: [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 |
From: SourceForge.net <no...@so...> - 2011-02-15 00:46:19
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: It does look like you have a firewall enabled (sometimes some anti-virus can have firewalls builtin). Aside from that it could be some other connection issue (such as not having ipv4 properly configured), but that would be something more exoteric ;-) So, is there any chance you do have some other firewall running? (Maybe by having some anti-virus program?) Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-02-15 06:37:09
|
The following forum message was posted by foxterri at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: I have had another firewall before, but it is uninstalled. And there is no other proces running under Windows Task Manager which could be a firewall or anti-virus application. The only firewall + anti-virus I have is AVG Internet Security, which was the one I have tried to disable for a while, which didn't work. furthermore I have tried with python 2.6 and 2.7, and I have also tried to uninstall the Java JDK and installed it again. |
From: SourceForge.net <no...@so...> - 2011-02-15 18:04:12
|
The following forum message was posted by foxterri at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: It is not only eclipse where I have the problem. The problem does also appear when I try to open IDLE. Here I get two errors: Socket Error: No connection could be made because the target machine actively refused it and Idle's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection. I have also been in: Control Panel\System and Security\Action Center Here it says I have two firewalls installed but only AVG firewall is ON and Windows firewall is OFF. So I should only have AVG firewall, but it does still not work when I switch AVG firewall off. |
From: SourceForge.net <no...@so...> - 2011-02-15 18:05:15
|
The following forum message was posted by foxterri at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: BTW, I am able to open IDLE if i open it from the command prompt with: "idle -n" |
From: SourceForge.net <no...@so...> - 2011-02-16 00:00:56
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: Hi there, If connections are being refused, the most common thing is a firewall, now, if you're 100% sure it's not, take a look at: http://www.smartftp.com/support/kb/connection-refused-f58.html and try to identify what else could be wrong there (the only other case I saw where it was not the firewall was with a misconfigured network card under linux, but in that case even ping 127.0.0.1 would fail). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-09-27 20:35:40
|
The following forum message was posted by luizgarrido at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: Hi, I know that this post has no activity for a long time but... I was having a problem that my Eclipse PyDev autocomplete was not working and find out that my "C:\Windows\System32\drivers\etc\hosts" was the problem. So if anyone tried everything like me, I had to remove a line that I was using there to solve the problem. The line was pointing the localhost address to another place on my network (10.0.1.31 localhost). Removing that line, made localhost work like it should and the problem with PyDev Autocomplete was fixed. Thanks! Luiz Garrido |
From: Daniel S. <dan...@kl...> - 2011-09-28 14:07:41
|
Hi Luiz, Glad it worked out for you, the auto-complete issue wasn't when editing projects using the Remote System Explorer component was it ? Also can anyone chime in what would this make a difference? or that it would make a difference? On Tue, Sep 27, 2011 at 4:35 PM, SourceForge.net <no...@so...> wrote: > The following forum message was posted by luizgarrido at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: > > Hi, I know that this post has no activity for a long time but... > I was having a problem that my Eclipse PyDev autocomplete was not working and > find out that my "C:\Windows\System32\drivers\etc\hosts" was the problem. So > if anyone tried everything like me, I had to remove a line that I was using > there to solve the problem. The line was pointing the localhost address to another > place on my network (10.0.1.31 localhost). Removing that line, made localhost > work like it should and the problem with PyDev Autocomplete was fixed. > > Thanks! > Luiz Garrido > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > -- Daniel Sokolowski KL Insight http://klinsight.com/ Tel: 613-344-2116 | Fax: 613.634.7029 993 Princess Street, Suite 202 Kingston, ON K7L 1H3, Canada Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review re-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying distributing or disclosing same. |
From: SourceForge.net <no...@so...> - 2011-10-01 13:59:46
|
The following forum message was posted by kinow at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4360661: Thanks Luiz! That worked for me! |