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)
[Enter steps to reproduce:]
tried running debbuger on this code:
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
Commands
Non-Core Packages