0
votes

I have used Eclipse, Jython & Pydev for a long time. Upgrading as and when new releases arrived. All has worked very well until recently when the Pydev code completion started marking common items such as dir or print as 'undefined variable'. But the program ran correctly.

The error log showed:

'The python client still hasn't connected back to the eclipse java vm (will retry..)'
'Attempt: 2 of 5 failed, trying again...(socket connected still null)'

and more attempts to 5 out of 5

'Error connecting to python process(most likely cause for failure is firewall blocking...misconfigured network)'

Also, attempting to create a live jython console CTRL+ALT+ENTER gives the following error:

'Create interactive Console' has encountered a problem Error initializing console. Unexpected error connecting to console. Failed to receive suitable Hello response from pydevconsole. Last msg received: Console already exited with value: 1 while waiting for an answer.

I have spent a lot of time looking for answers here and elsewhere that have included suggestions to check:

Mixed 32/64 bit installs; Firewall problems; IPV4 preference; localhost entries; path issues and others: all I've checked out with no success so far.

Software is Windows 10, Eclipse 4.21.0, Pydev 9.1.0.2021, Java JDK 11.0.13, Jython 2.7.2

I should be most grateful for any further help on this problem.

Many thanks