Eclipse mit PyDev erkennt keine builtins mehr...

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
Antworten
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Hab PyDev Update eingespielt. Nun erkennt es keine builtins mehr...

Dazu gibt es ein FAQ Eintag: http://pydev.org/faq.html#PyDevFAQ-When ... tcanIdo%3F

Hab mal in .metadata/.log geschaut. Dort finde ich u.a. diesen Eintrag:

Code: Alles auswählen

!ENTRY org.python.pydev.shared_core 4 4 2014-08-04 13:39:18.934
!MESSAGE Port not bound (found port -1). Is there an enabled firewall?
!STACK 0
java.io.IOException: Port not bound (found port -1). Is there an enabled firewall?
Also scheint es so zu sein, das PyDev nicht mit der shell Kommunizieren kann...
Das ganze unter Linux Mint Debian Edition...

PyDev Version: 3.0.0.201406111920-7v--7uVyx2EKHY

Kompletter Log Eintrag:

Code: Alles auswählen

!SESSION 2014-08-04 13:49:18.248 -----------------------------------------------
eclipse.buildId=debbuild
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.python.pydev.shared_core 4 4 2014-08-04 13:49:25.254
!MESSAGE Port not bound (found port -1). Is there an enabled firewall?
!STACK 0
java.io.IOException: Port not bound (found port -1). Is there an enabled firewall?
	at org.python.pydev.shared_core.net.SocketUtil.checkValidPort(SocketUtil.java:69)
	at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:440)
	at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:322)
	at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:255)
	at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:150)
	at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:125)
	at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:298)
	at org.python.pydev.editor.codecompletion.revisited.SystemModulesManager.getBuiltinModule(SystemModulesManager.java:1)
	at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinMod(AbstractInterpreterManager.java:138)
	at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getBuiltinCompletions(AbstractInterpreterManager.java:114)
	at org.python.pydev.plugin.nature.PythonNature.getBuiltinCompletions(PythonNature.java:1030)
	at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinComps(AbstractASTManager.java:975)
	at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:961)
	at com.python.pydev.analysis.scopeanalysis.AbstractScopeAnalyzerVisitor.<init>(AbstractScopeAnalyzerVisitor.java:150)
	at com.python.pydev.analysis.visitors.OccurrencesVisitor.<init>(OccurrencesVisitor.java:90)
	at com.python.pydev.analysis.OccurrencesAnalyzer.analyzeDocument(OccurrencesAnalyzer.java:40)
	at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:234)
	at com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:152)
	at org.python.pydev.core.concurrency.RunnableAsJobsPoolThread$1.run(RunnableAsJobsPoolThread.java:102)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Jemand eine Idee?

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Ich denke es liegt schlicht an einem Bug in PyDev v3.0.0...

Habe ein frische VM mit Linux Mint 17 aufgesetzt. Eclipse 3.8 installiere, Aptana Studio 3 als Eclipse Plugin installiert. Dann hat man wieder ein PyDev 3 und es endet mit dem selben Fehler...

Dann mal Aptana weg gelassen und PyDev direkt von http://pydev.org/updates installiert. So erhält man PyDev v3.6.0

Ein neueres Aptana mit PyDev > v3.0 gibt es wohl nur mit einer neueren Ecplise Version: https://github.com/aptana/studio3/wiki/Release%20Notes

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Antworten