Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4307280
By: hweber
For me, it happens in a module as simple as this one:
class Test(object):
pass
Te
^
|
Put cursor here and press Ctrl+Space.
With Python 2.5, I get offered the dropdown list, with "Test" right at the top.
With Python 2.5.1, Eclipse goes on vacation for a minute or so. When it comes
back, it is without a result for the code completion.
I have found an entry in the error log. It seems that the Python process
responsible
for the code completion dies for some reason:
eclipse.buildId=M20060629-1905
java.version=1.5.0_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86
This is a continuation of log file
C:\Programme\Python25\Lib\site-packages\.metadata\.bak_0.log
Created Time: 2007-04-23 16:29:14.028
Error
Fri May 11 09:20:24 CEST 2007
java.lang.Exception: Error connecting to python process
(c:\programme\python25\python.exe
"C:\Programme\eclipse\plugins\org.python.pydev_1.3.2\PySrc\pycompletionserver.py"
52000 55352) - the process in NOT ALIVE anymore (output=0) - the output of
the process is: Std output:
pycompletionserver will start
Err output:
java.lang.RuntimeException: java.lang.Exception: Error connecting to python
process (c:\programme\python25\python.exe
"C:\Programme\eclipse\plugins\org.python.pydev_1.3.2\PySrc\pycompletionserver.py"
52000 55352) - the process in NOT ALIVE anymore (output=0) - the output of
the process is: Std output:
pycompletionserver will start
Err output:
at
org.python.pydev.editor.codecompletion.PyCodeCompletion.lazyStartShell(PyCod
eCompletion.java:329)
at
org.python.pydev.editor.codecompletion.PyCodeCompletion.getCodeCompletionPro
posals(PyCodeCompletion.java:105)
at
org.python.pydev.editor.codecompletion.PythonCompletionProcessor.getPythonPr
oposals(PythonCompletionProcessor.java:244)
at
org.python.pydev.editor.codecompletion.PythonCompletionProcessor.computeComp
letionProposals(PythonCompletionProcessor.java:176)
at
org.python.pydev.editor.simpleassist.SimpleAssistProcessor.computeCompletion
Proposals(SimpleAssistProcessor.java:145)
at
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionPropo
sals(ContentAssistant.java:1612)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposal
s(CompletionProposalPopup.java:473)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$17(Compl
etionProposalPopup.java:470)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(Completio
nProposalPopup.java:405)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(C
ompletionProposalPopup.java:399)
at
org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletion
s(ContentAssistant.java:1441)
at
org.python.pydev.editor.codecompletion.PyContentAssistant.showPossibleComple
tions(PyContentAssistant.java:31)
at
org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:777
)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(Projec
tionViewer.java:1519)
at
org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java
:82)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:8
0)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerW
rapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Parameteriz
edCommand.java:424)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerServic
e.java:160)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeybo
ard.java:466)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:
799)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyb
oard.java:846)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(Wor
kbenchKeyboard.java:564)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.ja
va:506)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(Wor
kbenchKeyboard.java:122)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:982)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3346)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3246)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.Exception: Error connecting to python process
(c:\programme\python25\python.exe
"C:\Programme\eclipse\plugins\org.python.pydev_1.3.2\PySrc\pycompletionserver.py"
52000 55352) - the process in NOT ALIVE anymore (output=0) - the output of
the process is: Std output:
pycompletionserver will start
Err output:
at
org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractS
hell.java:437)
at
org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractS
hell.java:311)
at
org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(Ab
stractShell.java:233)
at
org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(Ab
stractShell.java:191)
at
org.python.pydev.editor.codecompletion.PyCodeCompletion.lazyStartShell(PyCod
eCompletion.java:323)
... 61 more
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users