Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Cannot call write after a stream was destroyed #62

Open
BAXYCode opened this issue Aug 18, 2021 · 0 comments
Open

Uncaught Error: Cannot call write after a stream was destroyed #62

BAXYCode opened this issue Aug 18, 2021 · 0 comments

Comments

@BAXYCode
Copy link

BAXYCode commented Aug 18, 2021

[Enter steps to reproduce:]

tried running debbuger on this code:

days = 10
file_list = ['l', 'b', 'c', 'd', 'f', 't', 'd']
if days > 0:
    for y in range(len(file_list)):
        days -= 1
        print(days)

Atom: 1.58.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Home
Thrown From: python-debugger package 0.2.0

Stack Trace

Uncaught Error: Cannot call write after a stream was destroyed

At events.js:200

Error [ERR_STREAM_DESTROYED] [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:431:19)
    at writeOrBuffer (_stream_writable.js:419:5)
    at Socket.Writable.write (_stream_writable.js:309:11)
    at PythonDebuggerView.module.exports.PythonDebuggerView.stopApp (/packages/python-debugger/lib/python-debugger-view.coffee:129:29)
    at PythonDebuggerView.module.exports.PythonDebuggerView.runApp (/packages/python-debugger/lib/python-debugger-view.coffee:72:6)
    at /packages/script/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLButtonElement.dispatch (/packages/script/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/script/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -5:34.6.0 intentions:highlight (input.hidden-input)
     -5:33.9.0 editor:paste-without-reformatting (input.hidden-input)
     -5:31.6.0 core:undo (input.hidden-input)
     -5:31.3.0 intentions:highlight (input.hidden-input)
     -5:30.7.0 script:run (input.hidden-input)
  3x -5:21 core:backspace (input.hidden-input)
     -5:04.0 intentions:highlight (input.hidden-input)
     -5:03.3.0 script:run (input.hidden-input)
     -4:44.8.0 core:backspace (input.hidden-input)
     -4:44 intentions:highlight (input.hidden-input)
     -4:43.3.0 script:run (input.hidden-input)
     -3:59.8.0 core:copy (span.syntax--meta.syntax--method-call.syntax--python)
     -3:26.8.0 python-debugger:toggle (input.hidden-input)
     -3:04.8.0 core:save-as (input.hidden-input)
  4x -2:46.6.0 core:backspace (input.hidden-input)
  2x -2:41.6.0 core:confirm (input.hidden-input)

Non-Core Packages

autocomplete-python 1.17.0 
busy-signal 2.0.1 
file-icons 2.1.47 
intentions 2.1.1 
linter 3.4.0 
linter-flake8 2.4.0 
linter-ui-default 3.4.1 
minimap 4.40.0 
predawn-syntax 1.0.4 
python-autopep8 0.1.3 
python-debugger 0.2.0 
script 3.32.2 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant