{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platformio-atom-ide/issues/78","repository_url":"https://api.github.com/repos/platformio/platformio-atom-ide","labels_url":"https://api.github.com/repos/platformio/platformio-atom-ide/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio-atom-ide/issues/78/comments","events_url":"https://api.github.com/repos/platformio/platformio-atom-ide/issues/78/events","html_url":"https://github.com/platformio/platformio-atom-ide/issues/78","id":143214242,"number":78,"title":"Uncaught TypeError: Cannot read property 'toLowerCase' of undefined","user":{"login":"brbrr","id":5654161,"avatar_url":"https://avatars.githubusercontent.com/u/5654161?v=3","gravatar_id":"","url":"https://api.github.com/users/brbrr","html_url":"https://github.com/brbrr","followers_url":"https://api.github.com/users/brbrr/followers","following_url":"https://api.github.com/users/brbrr/following{/other_user}","gists_url":"https://api.github.com/users/brbrr/gists{/gist_id}","starred_url":"https://api.github.com/users/brbrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brbrr/subscriptions","organizations_url":"https://api.github.com/users/brbrr/orgs","repos_url":"https://api.github.com/users/brbrr/repos","events_url":"https://api.github.com/users/brbrr/events{/privacy}","received_events_url":"https://api.github.com/users/brbrr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platformio-atom-ide/labels/help%20wanted","name":"help wanted","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"orgkhnargh","id":699961,"avatar_url":"https://avatars.githubusercontent.com/u/699961?v=3","gravatar_id":"","url":"https://api.github.com/users/orgkhnargh","html_url":"https://github.com/orgkhnargh","followers_url":"https://api.github.com/users/orgkhnargh/followers","following_url":"https://api.github.com/users/orgkhnargh/following{/other_user}","gists_url":"https://api.github.com/users/orgkhnargh/gists{/gist_id}","starred_url":"https://api.github.com/users/orgkhnargh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orgkhnargh/subscriptions","organizations_url":"https://api.github.com/users/orgkhnargh/orgs","repos_url":"https://api.github.com/users/orgkhnargh/repos","events_url":"https://api.github.com/users/orgkhnargh/events{/privacy}","received_events_url":"https://api.github.com/users/orgkhnargh/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-03-24T10:48:05Z","updated_at":"2016-04-18T11:47:34Z","closed_at":"2016-04-18T11:47:34Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. update to dev version\r\n2. restart atom\r\n\r\n**Atom Version**: 1.6.0\r\n**System**: Mac OS X 10.11.3\r\n**Thrown From**: [platformio-ide](https://github.com/platformio/platformio-atom-ide) package, v1.1.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'toLowerCase' of undefined\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/directory.js:47\r\n\r\nTypeError: Cannot read property 'toLowerCase' of undefined\r\n    at new Directory (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/directory.js:47:39)\r\n    at /Users/brbrr/.atom/packages/platformio-ide/lib/maintenance.js:268:54\r\n    at Array.map (native)\r\n    at Object.handleLibChanges (/Users/brbrr/.atom/packages/platformio-ide/lib/maintenance.js:226:16)\r\n    at /Users/brbrr/.atom/packages/platformio-ide/lib/main.js:203:19\r\n    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at Project.module.exports.Project.addPath (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:255:29)\r\n    at AtomEnvironment.module.exports.AtomEnvironment.openLocations (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1029:26)\r\n    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:244:18)\r\n    at emitTwo (events.js:92:20)\r\n    at EventEmitter.emit (events.js:172:7)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:09.6.0 project-manager:list-projects (atom-text-editor.editor.is-focused)\r\n  5x -0:08.6.0 core:move-down (atom-text-editor.editor.mini.is-focused)\r\n     -0:07.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"quick-query\",\r\n      \"data-atom\",\r\n      \"linter-erb\",\r\n      \"color-picker\",\r\n      \"symbols-view\",\r\n      \"gitignore-snippets\",\r\n      \"project-plus\",\r\n      \"terminal-plus\",\r\n      \"imdone-atom\",\r\n      \"build\",\r\n      \"autocomplete-clang\",\r\n      \"dash\",\r\n      \"markdown-writer\",\r\n      \"merge-conflicts\",\r\n      \"todo-show\",\r\n      \"api-docs\"\r\n    ],\r\n    \"ignoredNames\": [\r\n      \".idea\",\r\n      \".git\",\r\n      \"*.lock\",\r\n      \"*tags*\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"one-dark-syntax\"\r\n    ]\r\n  },\r\n  \"platformio-ide\": {\r\n    \"customPATH\": \"/Users/brbrr/.nvm/versions/node/v5.1.0/bin:/usr/local/bin:/Users/brbrr/.rbenv/shims:/usr/local/bin:/Users/brbrr/.rbenv/bin:/usr/lo\\ncal/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/brbrr/Documents/Development/IdeaProjects/Selenium_Drivers:/opt/X11/bin:/usr/local/Mac\\nGPG2/bin:/Users/brbrr/.atom/packages/platformio-ide/penv/bin:/usr/local/smlnj/bin:/usr/local/share/npm/bin/:/Users/brbrr/Developme\\nnt/Utils/android-sdk-macosx/build-tools:/Users/brbrr/Development/Utils/android-sdk-macosx/platform-tools:/Users/brbrr/Development/\\nUtils/android-sdk-macosx/tools\",\r\n    \"useDevelopPlatformIO\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-ctags, v4.5.0\r\nautoclose-html, v0.23.0\r\nemmet, v2.4.3\r\nlanguage-arduino, v0.4.1\r\nlanguage-ini, v1.14.0\r\nlanguage-rspec, v0.5.0\r\nlinter, v1.11.4\r\nlinter-gcc, v0.6.8\r\nlinter-rubocop, v0.4.7\r\nlinter-ruby, v1.2.2\r\nminimap, v4.21.0\r\nminimap-find-and-replace, v4.5.0\r\nminimap-git-diff, v4.2.0\r\nplatformio-ide, v1.1.0\r\nplatformio-ide-terminal, v2.0.3\r\nproject-manager, v2.7.6\r\nruby-block, v0.3.5\r\nsynced-sidebar, v0.4.3\r\ntool-bar, v0.4.0\r\ntool-bar-main, v0.0.9\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32212444-uncaught-typeerror-cannot-read-property-tolowercase-of-undefined?utm_campaign=plugin&utm_content=tracker%2F29335434&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F29335434&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/platformio/platformio-atom-ide/issues/comments/211343844","html_url":"https://github.com/platformio/platformio-atom-ide/issues/78#issuecomment-211343844","issue_url":"https://api.github.com/repos/platformio/platformio-atom-ide/issues/78","id":211343844,"user":{"login":"orgkhnargh","id":699961,"avatar_url":"https://avatars.githubusercontent.com/u/699961?v=3","gravatar_id":"","url":"https://api.github.com/users/orgkhnargh","html_url":"https://github.com/orgkhnargh","followers_url":"https://api.github.com/users/orgkhnargh/followers","following_url":"https://api.github.com/users/orgkhnargh/following{/other_user}","gists_url":"https://api.github.com/users/orgkhnargh/gists{/gist_id}","starred_url":"https://api.github.com/users/orgkhnargh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orgkhnargh/subscriptions","organizations_url":"https://api.github.com/users/orgkhnargh/orgs","repos_url":"https://api.github.com/users/orgkhnargh/repos","events_url":"https://api.github.com/users/orgkhnargh/events{/privacy}","received_events_url":"https://api.github.com/users/orgkhnargh/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T11:47:34Z","updated_at":"2016-04-18T11:47:34Z","body":"Great!"}}