peele / plantuml-preview

Atom package.
MIT License
23 stars 13 forks source link

Uncaught Error: ENOENT: no such file or directory, open '/var/folders/03/tk_44x0s38g1q9cjw6_bh_48... #20

Closed sundevilyang closed 8 years ago

sundevilyang commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0 System: Mac OS X 10.11.5 Thrown From: plantuml-preview package, v0.11.2

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/var/folders/03/tk_44x0s38g1q9cjw6_bh_480000gn/T/plantuml-preview/test.svg'

At fs.js:584

Error: ENOENT: no such file or directory, open '/var/folders/03/tk_44x0s38g1q9cjw6_bh_480000gn/T/plantuml-preview/test.svg'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:159:20)
    at Object.fs.readFileSync (fs.js:431:33)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:427:29)
    at /Users/Young/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:310:23
    at exit (/Users/Young/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:326:7)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:215:47)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:229:18
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:100:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -0:01.2.0 plantuml-preview:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "emmet",
      "linter-rubocop"
    ]
  },
  "plantuml-preview": {
    "bringFront": true,
    "dotLocation": "/usr/local/bin/dot",
    "jarLocation": "/usr/local/share/plantuml.jar",
    "java": "/usr/bin/java"
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
atom-alignment, v0.12.1
color-picker, v2.1.1
cucumber, v0.5.0
jshint, v1.8.5
language-docker, v1.1.6
language-haml, v0.24.0
language-plantuml, v0.2.0
language-rspec, v0.5.0
linter, v1.11.14
linter-coffeelint, v1.1.2
linter-haml, v1.2.1
linter-ruby, v1.2.2
linter-scss-lint, v3.0.4
markdown-scroll-sync, v2.1.2
minimap, v4.24.6
plantuml-preview, v0.11.2
term3, v0.22.1
trailing-spaces, v0.3.2

# Dev
No dev packages