I was able to get through all of the installation steps in order to get the package working in atom, but when i pressed:
cntrl-alt-p to initiate the preview i got the error below.
This was what was in my atom ( test.pu ) file, before i executed the preview command.
s t a r t s
s t activate r t @startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
I looked at where the preview was trying to pull the file from , and the director ( /var/folders/wf/... ) exists but the file does not.
===== Stack Trace Below ======
Atom Version: 1.8.0
System: Mac OS X 10.10.3
Thrown From: plantuml-preview package, v0.11.2
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/var/folders/wf/_1_gmcyj4v5b1wxs_bd_7vzc0000gn/T/plantuml-preview/test.svg'
At fs.js:584
Error: ENOENT: no such file or directory, open '/var/folders/wf/_1_gmcyj4v5b1wxs_bd_7vzc0000gn/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/john/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:310:23
at exit (/Users/john/.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)
Hello, following the instructions on this post:
http://trevershick.github.io/atom/2015/12/04/plantuml-snippets.html
I was able to get through all of the installation steps in order to get the package working in atom, but when i pressed:
cntrl-alt-p to initiate the preview i got the error below.
This was what was in my atom ( test.pu ) file, before i executed the preview command.
I looked at where the preview was trying to pull the file from , and the director ( /var/folders/wf/... ) exists but the file does not.
===== Stack Trace Below ======
Atom Version: 1.8.0 System: Mac OS X 10.10.3 Thrown From: plantuml-preview package, v0.11.2
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/var/folders/wf/_1_gmcyj4v5b1wxs_bd_7vzc0000gn/T/plantuml-preview/test.svg'
Commands
Config
Installed Packages