EOFError in simple “Hello World” script
up vote
4
down vote
favorite
since a few days I've got the issue that my Visual Studio Code debugging does somehow not work. Even with the most simple script I'm getting errors.
I am clueless about the error cause.
Environment:
- OS: Linux Mint 18.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-38-generic
- Visual Studio Code: 1.28.2
- Python: 3.5.2
Script:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set ts=4 sw=4 et sts=4 ai:
print("Hello World")
This is the output I get in the "python Debug Console" as soon as I press the debug arrow (F5):
cd /home/nsolthe/git/mass_deploy; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" python /home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py 33739 /home/nsolthe/git/mass_deploy/test.py
Hello World
Traceback (most recent call last):
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1292, in done
fut.result()
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 40, in result
reraise(self._exc_info)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 149, in callback
x = next(it)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1527, in on_threads
_, _, resp_args = yield self.pydevd_request(cmd, '')
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1317, in pydevd_request
return self._pydevd_request(self.loop, cmd_id, args)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 435, in pydevd_request
raise EOFError
EOFError
Anyone an idea why I get this errors?
Is there any more Information I can supply?
Regards
python-3.x visual-studio-code
add a comment |
up vote
4
down vote
favorite
since a few days I've got the issue that my Visual Studio Code debugging does somehow not work. Even with the most simple script I'm getting errors.
I am clueless about the error cause.
Environment:
- OS: Linux Mint 18.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-38-generic
- Visual Studio Code: 1.28.2
- Python: 3.5.2
Script:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set ts=4 sw=4 et sts=4 ai:
print("Hello World")
This is the output I get in the "python Debug Console" as soon as I press the debug arrow (F5):
cd /home/nsolthe/git/mass_deploy; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" python /home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py 33739 /home/nsolthe/git/mass_deploy/test.py
Hello World
Traceback (most recent call last):
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1292, in done
fut.result()
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 40, in result
reraise(self._exc_info)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 149, in callback
x = next(it)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1527, in on_threads
_, _, resp_args = yield self.pydevd_request(cmd, '')
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1317, in pydevd_request
return self._pydevd_request(self.loop, cmd_id, args)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 435, in pydevd_request
raise EOFError
EOFError
Anyone an idea why I get this errors?
Is there any more Information I can supply?
Regards
python-3.x visual-studio-code
I would imagine the maintainers of ptvsd would monitor stack overflow.. But just in case - you might want to reference issue here too.. github.com/Microsoft/ptvsd/issues - if self.pipe_w is None: ... github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py
– JGFMK
Nov 7 at 15:11
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
since a few days I've got the issue that my Visual Studio Code debugging does somehow not work. Even with the most simple script I'm getting errors.
I am clueless about the error cause.
Environment:
- OS: Linux Mint 18.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-38-generic
- Visual Studio Code: 1.28.2
- Python: 3.5.2
Script:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set ts=4 sw=4 et sts=4 ai:
print("Hello World")
This is the output I get in the "python Debug Console" as soon as I press the debug arrow (F5):
cd /home/nsolthe/git/mass_deploy; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" python /home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py 33739 /home/nsolthe/git/mass_deploy/test.py
Hello World
Traceback (most recent call last):
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1292, in done
fut.result()
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 40, in result
reraise(self._exc_info)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 149, in callback
x = next(it)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1527, in on_threads
_, _, resp_args = yield self.pydevd_request(cmd, '')
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1317, in pydevd_request
return self._pydevd_request(self.loop, cmd_id, args)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 435, in pydevd_request
raise EOFError
EOFError
Anyone an idea why I get this errors?
Is there any more Information I can supply?
Regards
python-3.x visual-studio-code
since a few days I've got the issue that my Visual Studio Code debugging does somehow not work. Even with the most simple script I'm getting errors.
I am clueless about the error cause.
Environment:
- OS: Linux Mint 18.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-38-generic
- Visual Studio Code: 1.28.2
- Python: 3.5.2
Script:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: set ts=4 sw=4 et sts=4 ai:
print("Hello World")
This is the output I get in the "python Debug Console" as soon as I press the debug arrow (F5):
cd /home/nsolthe/git/mass_deploy; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" python /home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py 33739 /home/nsolthe/git/mass_deploy/test.py
Hello World
Traceback (most recent call last):
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1292, in done
fut.result()
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 40, in result
reraise(self._exc_info)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/futures.py", line 149, in callback
x = next(it)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1527, in on_threads
_, _, resp_args = yield self.pydevd_request(cmd, '')
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 1317, in pydevd_request
return self._pydevd_request(self.loop, cmd_id, args)
File "/home/nsolthe/.vscode/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd/ptvsd/wrapper.py", line 435, in pydevd_request
raise EOFError
EOFError
Anyone an idea why I get this errors?
Is there any more Information I can supply?
Regards
python-3.x visual-studio-code
python-3.x visual-studio-code
edited Nov 7 at 12:57
asked Nov 6 at 12:59
nsolthe
212
212
I would imagine the maintainers of ptvsd would monitor stack overflow.. But just in case - you might want to reference issue here too.. github.com/Microsoft/ptvsd/issues - if self.pipe_w is None: ... github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py
– JGFMK
Nov 7 at 15:11
add a comment |
I would imagine the maintainers of ptvsd would monitor stack overflow.. But just in case - you might want to reference issue here too.. github.com/Microsoft/ptvsd/issues - if self.pipe_w is None: ... github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py
– JGFMK
Nov 7 at 15:11
I would imagine the maintainers of ptvsd would monitor stack overflow.. But just in case - you might want to reference issue here too.. github.com/Microsoft/ptvsd/issues - if self.pipe_w is None: ... github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py
– JGFMK
Nov 7 at 15:11
I would imagine the maintainers of ptvsd would monitor stack overflow.. But just in case - you might want to reference issue here too.. github.com/Microsoft/ptvsd/issues - if self.pipe_w is None: ... github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py
– JGFMK
Nov 7 at 15:11
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Since I reported the issue I did many things to my system. but at the baseline I have updated all involved parts of the system to the newest version available to me.
- Linux Mint 19.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-39-generic
- Visual Studio Code: 1.29.0
- Python: 3.6.6
Now these error messages don't come up anymore
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Since I reported the issue I did many things to my system. but at the baseline I have updated all involved parts of the system to the newest version available to me.
- Linux Mint 19.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-39-generic
- Visual Studio Code: 1.29.0
- Python: 3.6.6
Now these error messages don't come up anymore
add a comment |
up vote
0
down vote
Since I reported the issue I did many things to my system. but at the baseline I have updated all involved parts of the system to the newest version available to me.
- Linux Mint 19.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-39-generic
- Visual Studio Code: 1.29.0
- Python: 3.6.6
Now these error messages don't come up anymore
add a comment |
up vote
0
down vote
up vote
0
down vote
Since I reported the issue I did many things to my system. but at the baseline I have updated all involved parts of the system to the newest version available to me.
- Linux Mint 19.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-39-generic
- Visual Studio Code: 1.29.0
- Python: 3.6.6
Now these error messages don't come up anymore
Since I reported the issue I did many things to my system. but at the baseline I have updated all involved parts of the system to the newest version available to me.
- Linux Mint 19.2 Cinnamon 64-bit
- Linux Kernel: 4.15.0-39-generic
- Visual Studio Code: 1.29.0
- Python: 3.6.6
Now these error messages don't come up anymore
answered Nov 15 at 11:34
nsolthe
212
212
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53172416%2feoferror-in-simple-hello-world-script%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I would imagine the maintainers of ptvsd would monitor stack overflow.. But just in case - you might want to reference issue here too.. github.com/Microsoft/ptvsd/issues - if self.pipe_w is None: ... github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py
– JGFMK
Nov 7 at 15:11