dpo / atom-python-debugger

IDE-like Python debugger for Atom
MIT License
42 stars 13 forks source link

Uncaught Error: This socket has been ended by the other party #26

Closed Rayree closed 7 years ago

Rayree commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64 Electron: 1.3.13 OS: Unknown Windows version Thrown From: python-debugger package 0.2.0

Stack Trace

Uncaught Error: This socket has been ended by the other party

At events.js:160

Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:286:12)
    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/python-debugger/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLButtonElement.dispatch (/packages/python-debugger/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/python-debugger/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -3:57.7.0 python-debugger:toggle (input.hidden-input)
     -3:53.3.0 core:backspace (input.hidden-input)
     -3:48.1.0 core:move-left (input.hidden-input)
  2x -3:37.4.0 core:move-right (input.hidden-input)
     -3:36.4.0 markdown-writer:insert-new-line (input.hidden-input)
     -3:36.4.0 editor:newline (input.hidden-input)
     -3:35.7.0 markdown-writer:insert-new-line (input.hidden-input)
     -3:35.7.0 editor:newline (input.hidden-input)
     -3:33.2.0 core:backspace (input.hidden-input)
     -3:32.3.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -3:30.1.0 core:move-left (input.hidden-input)
     -3:26.7.0 markdown-writer:insert-new-line (input.hidden-input)
     -3:26.7.0 editor:newline (input.hidden-input)
     -3:26.5.0 markdown-writer:insert-new-line (input.hidden-input)
     -3:26.5.0 editor:newline (input.hidden-input)
  2x -2:51.7.0 core:backspace (input.hidden-input)

Non-Core Packages

activate-power-mode 1.4.0 
atom-beautify 0.29.23 
atom-html-preview 0.1.22 
atom-terminal-panel 4.4.4 
atomic-chrome 0.3.0 
autocomplete-modules 1.6.9 
autocomplete-python 1.8.63 
color-picker 2.2.5 
editor-settings 1.1.2 
emmet 2.4.3 
file-icons 2.1.4 
filecolor 0.4.0 
git-plus 7.7.0 
markdown-scroll-sync 2.1.2 
markdown-table-formatter 2.9.0 
markdown-writer 2.6.4 
minimap 4.28.1 
php-integrator-autocomplete-plus 1.5.0 
pigments 0.39.1 
python-debugger 0.2.0 
sync-settings 0.8.1 
tasks 2.6.6 
tool-bar 1.1.0 
tool-bar-almighty 0.8.2 
tree-view-background 0.4.1 
krlinus commented 6 years ago

Why is this closed? The bug is very much alive

rakuna commented 5 years ago

Just received this error as well.

[Enter steps to reproduce:]

  1. open debugger in python code that executes without any errors
  2. hit any of the buttons in the debugger (except clear)
  3. error window pops up.

Atom: 1.29.0 x64 Electron: 2.0.5 OS: Microsoft Windows 10 Pro Thrown From: python-debugger package 0.2.0

Stack Trace

Uncaught Error: This socket has been ended by the other party

At events.js:183

Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:351:12)
    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/autocomplete-python/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLButtonElement.dispatch (/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:4121:28)

Commands

  3x -2:49.6.0 core:move-down (input.hidden-input)
     -2:48.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -2:48 core:backspace (input.hidden-input)
     -2:47.6.0 intentions:highlight (input.hidden-input)
     -2:47.4.0 core:save (input.hidden-input)
     -2:46.5.0 script:run (input.hidden-input)
     -0:40 intentions:highlight (input.hidden-input)
     -0:39.4.0 symbols-view:toggle-file-symbols (input.hidden-input)
     -0:37.8.0 editor:consolidate-selections (input.hidden-input)
     -0:37.8.0 core:cancel (input.hidden-input)
     -0:36.4.0 intentions:highlight (input.hidden-input)
     -0:35.5.0 symbols-view:toggle-project-symbols (input.hidden-input)
     -0:33.8.0 editor:consolidate-selections (input.hidden-input)
     -0:33.8.0 core:cancel (input.hidden-input)
  2x -0:22.1.0 python-debugger:toggle (input.hidden-input)
  3x -0:17.1.0 python-debugger:breakpoint (input.hidden-input)

Non-Core Packages

atom-clock 0.1.16 
autocomplete-python 1.10.9 
busy-signal 1.4.3 
highlight-selected 0.14.0 
intentions 1.1.5 
linter 2.2.0 
linter-flake8 2.3.0 
linter-pycodestyle 2.1.3 
linter-pydocstyle 0.4.7 
linter-ui-default 1.7.1 
linter-write-good 0.9.0 
minimap 4.29.8 
minimap-highlight-selected 4.6.1 
minimap-pigments 0.2.2 
pigments 0.40.2 
Pymakr undefined 
python-debugger 0.2.0 
script 3.18.1 
Elijawhan commented 5 years ago

I too am receiving this error [Enter steps to reproduce:]

  1. Open the debugging window
  2. click run

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

Stack Trace

Uncaught Error: This socket has been ended by the other party

At events.js:183

Error: This socket has been ended by the other party
    at Socket.writeAfterFIN [as write] (net.js:351:12)
    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/autocomplete-python/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLButtonElement.dispatch (/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/autocomplete-python/node_modules/jquery/dist/jquery.js:4121:28)

Commands

Non-Core Packages

atom-python-run 0.9.7 
atom-runner 2.7.1 
autocomplete-python 1.10.12 
python-debugger 0.2.0