{"action":"opened","issue":{"url":"https://api.github.com/repos/mrohland/plantuml/issues/5","labels_url":"https://api.github.com/repos/mrohland/plantuml/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mrohland/plantuml/issues/5/comments","events_url":"https://api.github.com/repos/mrohland/plantuml/issues/5/events","html_url":"https://github.com/mrohland/plantuml/issues/5","id":89447703,"number":5,"title":"Uncaught ReferenceError: path is not defined","user":{"login":"nguyenchr","id":5554109,"avatar_url":"https://avatars.githubusercontent.com/u/5554109?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenchr","html_url":"https://github.com/nguyenchr","followers_url":"https://api.github.com/users/nguyenchr/followers","following_url":"https://api.github.com/users/nguyenchr/following{/other_user}","gists_url":"https://api.github.com/users/nguyenchr/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenchr/subscriptions","organizations_url":"https://api.github.com/users/nguyenchr/orgs","repos_url":"https://api.github.com/users/nguyenchr/repos","events_url":"https://api.github.com/users/nguyenchr/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenchr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-19T02:30:55Z","updated_at":"2015-06-19T02:30:55Z","closed_at":null,"body":"1. Open Atom from command line\r\n2. Navigate to plantuml text file\r\n3. cmd+ctrl+p\r\n\r\n`plantuml` installed at `/usr/local/bin/plantuml` and `/usr/local/bin` is in `$PATH`\r\n\r\n**Atom Version**: 0.210.0\r\n**System**: Mac OS X 10.10.3\r\n**Thrown From**: [plantuml](https://github.com/mrohland/plantuml) package, v0.1.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught ReferenceError: path is not defined\r\n\r\n```\r\nAt /Users/nguyenchr/.atom/packages/plantuml/lib/file-utils.coffee:34\r\n\r\nReferenceError: path is not defined\r\n  at Function.module.exports.FileUtil.getPngFilename (/Users/nguyenchr/.atom/packages/plantuml/lib/file-utils.coffee:34:16)\r\n  at module.exports.FileUtil.getPngFilePath (/Users/nguyenchr/.atom/packages/plantuml/lib/file-utils.coffee:14:28)\r\n  at Object.module.exports.Plantuml.generate (/Users/nguyenchr/.atom/packages/plantuml/lib/plantuml.coffee:25:23)\r\n  at atom-workspace.subscriptions.add.atom.commands.add.plantuml:generate (/Users/nguyenchr/.atom/packages/plantuml/lib/plantuml.coffee:12:32)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)\r\n  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:01.1.0 plantuml:generate (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    \"ignoredNames\": [\r\n      \".git\",\r\n      \".svn\",\r\n      \".DS_Store\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"vim-mode\",\r\n      \"go-plus\",\r\n      \"highlight-column\"\r\n    ],\r\n    \"themes\": [\r\n      \"atom-light-ui\",\r\n      \"monokai\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nSublime-Style-Column-Selection, v1.3.0\r\natom-jshint, v2.0.0\r\ncoffee-compile, v0.16.0\r\nhighlight-selected, v0.9.3\r\nlanguage-plantuml, v0.1.0\r\nlanguage-rust, v0.4.3\r\nlinter, v0.12.6\r\nlinter-rust, v0.1.0\r\nmonokai, v0.14.0\r\noverrides, v0.10.0\r\nplantuml, v0.1.0\r\npretty-json, v0.3.3\r\nracer, v0.11.0\r\ntravis-ci-status, v0.15.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}