{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal/issues/37","repository_url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal","labels_url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal/issues/37/comments","events_url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal/issues/37/events","html_url":"https://github.com/platformio/platformio-atom-ide-terminal/issues/37","id":157668968,"number":37,"title":"Uncaught TypeError: Cannot read property 'element' of undefined","user":{"login":"squix78","id":716822,"avatar_url":"https://avatars1.githubusercontent.com/u/716822?v=3","gravatar_id":"","url":"https://api.github.com/users/squix78","html_url":"https://github.com/squix78","followers_url":"https://api.github.com/users/squix78/followers","following_url":"https://api.github.com/users/squix78/following{/other_user}","gists_url":"https://api.github.com/users/squix78/gists{/gist_id}","starred_url":"https://api.github.com/users/squix78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squix78/subscriptions","organizations_url":"https://api.github.com/users/squix78/orgs","repos_url":"https://api.github.com/users/squix78/repos","events_url":"https://api.github.com/users/squix78/events{/privacy}","received_events_url":"https://api.github.com/users/squix78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-05-31T13:16:28Z","updated_at":"2017-03-21T14:25:58Z","closed_at":null,"body":"[Enter steps to reproduce below:]\n1. ...\n2. ...\n\n**Atom Version**: 1.7.4\n**System**: Mac OS X 10.11.3\n**Thrown From**: [platformio-ide-terminal](https://github.com/platformio/platformio-atom-ide-terminal) package, v2.0.10\n### Stack Trace\n\nUncaught TypeError: Cannot read property 'element' of undefined\n\n```\nAt /Users/deichhor/.atom/packages/platformio-ide-terminal/lib/view.coffee:395\n\nTypeError: Cannot read property 'element' of undefined\n    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.adjustHeight (/Users/deichhor/.atom/packages/platformio-ide-terminal/lib/view.coffee:395:16)\n    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.maximize (/Users/deichhor/.atom/packages/platformio-ide-terminal/lib/view.coffee:195:8)\n    at HTMLButtonElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:220:36)\n    at HTMLButtonElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)\n    at HTMLButtonElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)\n```\n### Commands\n\n```\n     -2:33.3.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)\n     -2:31.5.0 core:save (atom-text-editor.editor.is-focused)\n     -2:21 platformio-ide:target:upload (atom-text-editor.editor)\n     -2:21 platformio-ide:target:upload-/Users/deichhor/git/esp8266-nfc (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-light-theme.theme-one-light-ui)\n     -2:03.3.0 platformio-ide:target:upload (atom-text-editor.editor)\n     -2:03.3.0 platformio-ide:target:upload-/Users/deichhor/git/esp8266-nfc (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-light-theme.theme-one-light-ui)\n     -0:44.9.0 core:copy (atom-text-editor.editor.is-focused)\n     -0:43.4.0 editor:newline (atom-text-editor.editor.is-focused)\n     -0:43 core:paste (atom-text-editor.editor.is-focused)\n     -0:37.6.0 core:cut (atom-text-editor.editor.is-focused)\n     -0:36.5.0 editor:newline (atom-text-editor.editor.is-focused)\n     -0:36.1.0 core:paste (atom-text-editor.editor.is-focused)\n  7x -0:34.4.0 core:backspace (atom-text-editor.editor.is-focused)\n     -0:18 core:move-up (atom-text-editor.editor.is-focused)\n  3x -0:17.5.0 core:backspace (atom-text-editor.editor.is-focused)\n     -0:09.1.0 core:save (atom-text-editor.editor.is-focused)\n```\n### Config\n\n``` json\n{\n  \"core\": {\n    \"themes\": [\n      \"one-light-ui\",\n      \"base16-tomorrow-light-theme\"\n    ]\n  },\n  \"platformio-ide-terminal\": {\n    \"core\": {},\n    \"style\": {}\n  }\n}\n```\n### Installed Packages\n\n``` coffee\n# User\nautocomplete-clang, v0.9.3\nbuild, v0.64.0\nlanguage-ini, v1.16.0\nlinter, v1.11.4\nlinter-gcc, v0.6.14\nplatformio-ide, v1.2.2\nplatformio-ide-terminal, v2.0.10\ntool-bar, v0.4.0\n\n# Dev\nNo dev packages\n```\n\nActually the core problem is that serial consoles keep dying and stacking up until they consume much of the space. When clicking on the fullscreen icon the above error appears. Here is a picture of the consoles which cannot be removed anymore. Only closing the window helps...\n![screenshot 2016-05-31 15 14 14](https://cloud.githubusercontent.com/assets/716822/15675460/6a879216-2742-11e6-8162-1a8c97a37e60.png)\n"},"comment":{"url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal/issues/comments/288094597","html_url":"https://github.com/platformio/platformio-atom-ide-terminal/issues/37#issuecomment-288094597","issue_url":"https://api.github.com/repos/platformio/platformio-atom-ide-terminal/issues/37","id":288094597,"user":{"login":"mrkaroshi","id":6320261,"avatar_url":"https://avatars2.githubusercontent.com/u/6320261?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkaroshi","html_url":"https://github.com/mrkaroshi","followers_url":"https://api.github.com/users/mrkaroshi/followers","following_url":"https://api.github.com/users/mrkaroshi/following{/other_user}","gists_url":"https://api.github.com/users/mrkaroshi/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkaroshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkaroshi/subscriptions","organizations_url":"https://api.github.com/users/mrkaroshi/orgs","repos_url":"https://api.github.com/users/mrkaroshi/repos","events_url":"https://api.github.com/users/mrkaroshi/events{/privacy}","received_events_url":"https://api.github.com/users/mrkaroshi/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T14:25:58Z","updated_at":"2017-03-21T14:25:58Z","body":"Same problem here, this is actually the cause of the python CPU usage issue I reported."}}
{"actor":{"display_login":"mrkaroshi"}}