{"action":"created","issue":{"url":"https://api.github.com/repos/izuzak/atom-pdf-view/issues/77","labels_url":"https://api.github.com/repos/izuzak/atom-pdf-view/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/izuzak/atom-pdf-view/issues/77/comments","events_url":"https://api.github.com/repos/izuzak/atom-pdf-view/issues/77/events","html_url":"https://github.com/izuzak/atom-pdf-view/issues/77","id":107920980,"number":77,"title":"Uncaught Error: ENOENT: no such file or directory, open '.../presentation.pdf'","user":{"login":"devurandom","id":63082,"avatar_url":"https://avatars.githubusercontent.com/u/63082?v=3","gravatar_id":"","url":"https://api.github.com/users/devurandom","html_url":"https://github.com/devurandom","followers_url":"https://api.github.com/users/devurandom/followers","following_url":"https://api.github.com/users/devurandom/following{/other_user}","gists_url":"https://api.github.com/users/devurandom/gists{/gist_id}","starred_url":"https://api.github.com/users/devurandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devurandom/subscriptions","organizations_url":"https://api.github.com/users/devurandom/orgs","repos_url":"https://api.github.com/users/devurandom/repos","events_url":"https://api.github.com/users/devurandom/events{/privacy}","received_events_url":"https://api.github.com/users/devurandom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-23T13:35:39Z","updated_at":"2015-09-23T14:48:22Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Compile a TeX file using atom-latex (ctrl+alt+B), which will invoke atom-pdf-view\r\n2. Delete the generated (and currently visible) PDF file, e.g. from the terminal\r\n\r\n**Atom Version**: 1.0.15\r\n**System**: \"Gentoo Base\r\n**Thrown From**: [pdf-view](https://github.com/izuzak/atom-pdf-view) package, v0.25.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught Error: ENOENT: no such file or directory, open '.../presentation.pdf'\r\n\r\n```\r\nAt fs.js:97\r\n\r\nError: ENOENT: no such file or directory, open '.../presentation.pdf'\r\n  at Error (native)\r\n  at Object.fs.openSync (fs.js:549:18)\r\n  at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)\r\n  at Object.fs.readFileSync (fs.js:397:15)\r\n  at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:384:29)\r\n  at PdfEditorView.module.exports.PdfEditorView.updatePdf (~/.atom/packages/pdf-view/lib/pdf-editor-view.coffee:110:33)\r\n  at ~/.atom/packages/pdf-view/lib/pdf-editor-view.coffee:44:12\r\n  at later (/usr/share/atom/resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:724:25)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -7:45.2.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -7:42.2.0 core:save (atom-text-editor.editor.is-focused)\r\n     -7:41.4.0 latex:build (atom-text-editor.editor.is-focused)\r\n     -6:58.4.0 core:move-right (atom-text-editor.editor.is-focused)\r\n     -5:54.3.0 core:save (atom-text-editor.editor.is-focused)\r\n     -4:15 latex:build (atom-text-editor.editor.is-focused)\r\n  2x -3:34.3.0 core:delete (atom-text-editor.editor.is-focused)\r\n     -3:14.4.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -3:12.1.0 core:save (atom-text-editor.editor.is-focused)\r\n  2x -2:38.3.0 latex:build (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    \"disabledPackages\": [\r\n      \"linter-chktex\",\r\n      \"tree-view\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nhyperclick, v0.0.32\r\nlanguage-latex, v0.6.1\r\nlanguage-lua, v0.9.4\r\nlanguage-pfm, v0.82.0\r\nlanguage-rust, v0.4.5\r\nlatex, v0.25.1\r\nlatexer, v0.2.7\r\nlinter, v1.6.0\r\nlinter-clojure, v1.0.0\r\nlinter-lua, v1.0.0\r\nlinter-luacheck, v1.1.2\r\nlinter-rust, v0.2.9\r\nmarkdown-preview-plus, v2.1.1\r\nnuclide-arcanist, v0.0.32\r\nnuclide-blame, v0.0.32\r\nnuclide-blame-provider-hg, v0.0.32\r\nnuclide-blame-ui, v0.0.32\r\nnuclide-buck-files, v0.0.32\r\nnuclide-clang-atom, v0.0.32\r\nnuclide-code-format, v0.0.32\r\nnuclide-debugger-atom, v0.0.32\r\nnuclide-debugger-hhvm, v0.0.32\r\nnuclide-debugger-lldb, v0.0.32\r\nnuclide-diagnostics-store, v0.0.32\r\nnuclide-diagnostics-ui, v0.0.32\r\nnuclide-diff-view, v0.0.32\r\nnuclide-file-tree, v0.0.32\r\nnuclide-file-tree-deux, v0.0.32\r\nnuclide-file-watcher, v0.0.32\r\nnuclide-find-references, v0.0.32\r\nnuclide-flow, v0.0.32\r\nnuclide-fuzzy-filename-provider, v0.0.32\r\nnuclide-hack, v0.0.32\r\nnuclide-hack-symbol-provider, v0.0.32\r\nnuclide-hg-repository, v0.0.32\r\nnuclide-installer, v0.0.32\r\nnuclide-language-hack, v0.0.32\r\nnuclide-objc, v0.0.32\r\nnuclide-ocaml, v0.0.32\r\nnuclide-open-filenames-provider, v0.0.32\r\nnuclide-quick-open, v0.0.32\r\nnuclide-remote-projects, v0.0.32\r\nnuclide-test-runner, v0.0.32\r\nnuclide-toolbar, v0.0.32\r\nnuclide-type-hint, v0.0.32\r\npdf-view, v0.25.0\r\npreview-inline, v0.4.4\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/izuzak/atom-pdf-view/issues/comments/142625419","html_url":"https://github.com/izuzak/atom-pdf-view/issues/77#issuecomment-142625419","issue_url":"https://api.github.com/repos/izuzak/atom-pdf-view/issues/77","id":142625419,"user":{"login":"izuzak","id":38924,"avatar_url":"https://avatars.githubusercontent.com/u/38924?v=3","gravatar_id":"","url":"https://api.github.com/users/izuzak","html_url":"https://github.com/izuzak","followers_url":"https://api.github.com/users/izuzak/followers","following_url":"https://api.github.com/users/izuzak/following{/other_user}","gists_url":"https://api.github.com/users/izuzak/gists{/gist_id}","starred_url":"https://api.github.com/users/izuzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izuzak/subscriptions","organizations_url":"https://api.github.com/users/izuzak/orgs","repos_url":"https://api.github.com/users/izuzak/repos","events_url":"https://api.github.com/users/izuzak/events{/privacy}","received_events_url":"https://api.github.com/users/izuzak/received_events","type":"User","site_admin":true},"created_at":"2015-09-23T14:48:22Z","updated_at":"2015-09-23T14:48:22Z","body":"Published a new version (0.27.0) with another approach. Mind giving that a try as well? Thanks for the help! :heart: "}}