{"action":"closed","issue":{"url":"https://api.github.com/repos/fxdgear/atom-python-debugger/issues/19","labels_url":"https://api.github.com/repos/fxdgear/atom-python-debugger/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/fxdgear/atom-python-debugger/issues/19/comments","events_url":"https://api.github.com/repos/fxdgear/atom-python-debugger/issues/19/events","html_url":"https://github.com/fxdgear/atom-python-debugger/issues/19","id":96405662,"number":19,"title":"Fail on files with first line commented.","user":{"login":"artyom-smushkov","id":9966061,"avatar_url":"https://avatars.githubusercontent.com/u/9966061?v=3","gravatar_id":"","url":"https://api.github.com/users/artyom-smushkov","html_url":"https://github.com/artyom-smushkov","followers_url":"https://api.github.com/users/artyom-smushkov/followers","following_url":"https://api.github.com/users/artyom-smushkov/following{/other_user}","gists_url":"https://api.github.com/users/artyom-smushkov/gists{/gist_id}","starred_url":"https://api.github.com/users/artyom-smushkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artyom-smushkov/subscriptions","organizations_url":"https://api.github.com/users/artyom-smushkov/orgs","repos_url":"https://api.github.com/users/artyom-smushkov/repos","events_url":"https://api.github.com/users/artyom-smushkov/events{/privacy}","received_events_url":"https://api.github.com/users/artyom-smushkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-21T20:07:44Z","updated_at":"2015-07-21T20:14:12Z","closed_at":"2015-07-21T20:14:12Z","body":"[Enter steps to reproduce below:]\r\n1. Open some python file.\r\n2. Comment the first line.\r\n3. Press F7 on any of the lines.\r\n\r\n**Atom Version**: 1.0.0\r\n**System**: Ubuntu 14.04.2\r\n**Thrown From**: [atom-python-debugger](https://github.com/fxdgear/atom-python-debugger) package, v0.3.4\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: undefined is not a function\r\n\r\n```\r\nAt /home/templarrr/.atom/packages/atom-python-debugger/lib/python-debugger.js:41\r\n\r\nTypeError: undefined is not a function\r\n    at Object.module.exports.insert (/home/templarrr/.atom/packages/atom-python-debugger/lib/python-debugger.js:41:14)\r\n    at atom-workspace.<anonymous> (/home/templarrr/.atom/packages/atom-python-debugger/lib/python-debugger.js:10:22)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:241:29)\r\n    at /opt/atom/resources/app.asar/src/command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)\r\n    at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/opt/atom/resources/app.asar/src/window-event-handler.js:180:20)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  4x -2:23.7.0 core:undo (atom-text-editor.editor.is-focused)\r\n     -2:21.9.0 linter:set-bubble-transparent (atom-text-editor.editor.is-focused)\r\n     -1:10.7.0 python-debugger:insert (atom-text-editor.editor.is-focused)\r\n     -1:02.1.0 core:select-down (atom-text-editor.editor.is-focused)\r\n     -1:01.6.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -0:56.3.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:52.8.0 python-debugger:remove (atom-text-editor.editor.is-focused)\r\n 31x -0:50.1.0 core:undo (atom-text-editor.editor.is-focused)\r\n     -0:42.1.0 core:save (atom-text-editor.editor.is-focused)\r\n  2x -0:37.3.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -0:35.5.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:32.3.0 python-debugger:insert (atom-text-editor.editor.is-focused)\r\n 42x -0:20.8.0 core:undo (atom-text-editor.editor.is-focused)\r\n     -0:17.7.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:17.2.0 linter:set-bubble-transparent (atom-text-editor.editor.is-focused)\r\n     -0:01.7.0 python-debugger:insert (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-python-debugger, v0.3.4\r\nautocomplete-plus-python-jedi, v0.3.6\r\ndjango-templates, v0.5.0\r\nlinter, v1.2.4\r\nlinter-flake8, v1.5.0\r\npython-isort, v0.0.7\r\nscript, v2.26.3\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}