dpo / atom-python-debugger

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

Uncaught TypeError: Cannot read property 'length' of undefined #1

Closed gfudim closed 8 years ago

gfudim commented 8 years ago

1.there is a problem with the input function

Atom Version: 1.5.3 System: Microsoft Windows 10 Pro Thrown From: python-debugger package, v0.0.1

Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

At /C:/Users/gilad/.atom/packages/python-debugger/lib/python-debugger-view.coffee:208

TypeError: Cannot read property 'length' of undefined
    at PythonDebuggerView.module.exports.PythonDebuggerView.runBackendDebugger (file:///C:/Users/gilad/.atom/packages/python-debugger/lib/python-debugger-view.coffee:109:5)
    at PythonDebuggerView.module.exports.PythonDebuggerView.runApp (file:///C:/Users/gilad/.atom/packages/python-debugger/lib/python-debugger-view.coffee:79:6)
    at HTMLButtonElement.<anonymous> (C:\Users\gilad\AppData\Local\atom\app-1.5.3\resources\app.asar\node_modules\atom-space-pen-views\node_modules\space-pen\lib\space-pen.js:220:36)
    at HTMLButtonElement.jQuery.event.dispatch (C:\Users\gilad\AppData\Local\atom\app-1.5.3\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (C:\Users\gilad\AppData\Local\atom\app-1.5.3\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

  8x -9:08.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -8:39 core:confirm (atom-text-editor.editor.mini.is-focused)
     -7:47.1.0 run:file (atom-text-editor.editor.is-focused)
     -6:56.1.0 python-debugger:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -5:50.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -5:39.5.0 symbols-view:toggle-project-symbols (atom-text-editor.editor.mini.is-focused)
     -5:35.2.0 run:file (atom-text-editor.editor.mini.is-focused)
  2x -5:31.9.0 python-debugger:toggle (div.atom-runner)
     -0:21.6.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:17.8.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:15.6.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -0:13.1.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:09.3.0 run:file (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "script",
      "atom-runner"
    ],
    "projectHome": "C:/Users/gilad/Documents"
  }
}

Installed Packages

# User
atom-runner, v2.5.2
autocomplete-python, v1.6.1
linter, v1.11.3
minimap, v4.19.0
pigments, v0.24.1
python-debugger, v0.0.1

# Dev
No dev packages
dpo commented 8 years ago

Thanks! Should be fixed in v0.0.2.