question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EOFError: Ran out of input

See original GitHub issue

Issue Type: Bug

6

Error 2020-07-22 20:17:13: stderr jediProxy Error (stderr) Traceback (most recent call last):
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\inference\compiled\subprocess\__init__.py", line 261, in _send
    is_exception, traceback, result = pickle_load(self._get_process().stdout)
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\_compatibility.py", line 396, in pickle_load
    return pickle.load(file, encoding='bytes')
EOFError: Ran out of input

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\environment.py", line 75, in _get_subprocess
    info = self._subprocess._send(None, _get_info)
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\inference\compiled\subprocess\__init__.py", line 273, in _send
    stderr,
jedi.api.exceptions.InternalError: The subprocess D:\Program-Files\Anaconda3\envs\py36-idea\python.exe has crashed (EOFError('Ran out of input',), stderr=).

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\completion.py", line 661, in watch
    response = self._process_request(rq)
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\completion.py", line 589, in _process_request
    all_scopes=True,
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\__init__.py", line 885, in names
    return Script(source, path=path, encoding=encoding).get_names(
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\__init__.py", line 185, in __init__
    project, environment=environment, script_path=self.path
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\inference\__init__.py", line 90, in __init__
    self.compiled_subprocess = environment.get_inference_state_subprocess(self)
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\environment.py", line 114, in get_inference_state_subprocess
    return InferenceStateSubprocess(inference_state, self._get_subprocess())
  File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\environment.py", line 80, in _get_subprocess
    exc))
jedi.api.environment.InvalidPythonEnvironment: Could not get version information for 'D:\\Program-Files\\Anaconda3\\envs\\py36-idea\\python.exe': InternalError("The subprocess D:\\Program-Files\\Anaconda3\\envs\\py36-idea\\python.exe has crashed (EOFError('Ran out of input',), stderr=).",)

Extension version: 2020.7.94776 VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:22:06.216Z) OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel® Core™ i7-6500U CPU @ 2.50GHz (4 x 2592)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.89GB (7.72GB free)
Process Argv E:\downloads\chrome
Screen Reader no
VM 0%

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jianboycommented, Jul 28, 2020

@jianboy Can you try with this version and see if you get this error: https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix ?

I had download and try it. this insiders plugin has no error.

1reaction
jianboycommented, Jul 27, 2020

All python version has error. I think it has nothing to do with the python version. python plugin has problem I test version :

v2020.7.96456           error
v2020.7.94776           error
v2020.6.89148           ok
v2020.5.80290           ok
vv2020.3.71113         ok

I can not install another verison from vscode directly. So I had to download from github. 2020-07-28_065853

By using the dichotomy, I can already locate the version that caused the problem

BaiduHi_2020-7-28_6-54-52

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get "Pickle - EOFError: Ran out of input" reading ...
This error comes when your pickle file is empty (0 Bytes). You need to check the size of your pickle file first. This...
Read more >
Python :Why do I get "Pickle - EOFError: Ran out of ... - YouTube
Python :Why do I get "Pickle - EOFError : Ran out of input " reading an empty file?(5solution). 115 views 2 weeks ago....
Read more >
EOFError: Ran out of Input · Issue #814 · instaloader ...
Hello,. I was using Instaloader. I stopped the script by doing Ctrl + C. And I got this error "EOFError: Ran out of...
Read more >
Ran out of input when num_workers>0 - #22 by chaslie
I solved the issue by changing protocol=None in pythons multiprocessing/reduction.py to 4. class ForkingPickler(pickle.Pickler): '''Pickler ...
Read more >
Ran out of input" from Django file cache when file is empty
When using Django file cache, if a cache file ends up empty for some reason (yes, this actually happened in the wild), an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found