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










share|improve this question
























  • 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

















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










share|improve this question
























  • 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















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










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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




















  • 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














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






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    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

























    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






    share|improve this answer

























      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






      share|improve this answer























        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






        share|improve this answer












        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 15 at 11:34









        nsolthe

        212




        212






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            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





















































            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







            這個網誌中的熱門文章

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud

            Zucchini