Create file names /tmp/test.txt, with the following contents
@startuml version @enduml
Contents chosen to have the bare minimum to see if I could get this thing working at all.
Run the Plantuml: Generate action
I have tested running PlantUML manually and have been able to generate a png from the file in 1).
At /home/roger/.atom/packages/plantuml/lib/file-utils.coffee:35
TypeError: undefined is not a function
at Function.module.exports.FileUtil.getPngFilename (/home/roger/.atom/packages/plantuml/lib/file-utils.coffee:51:23)
at module.exports.FileUtil.getPngFilePath (/home/roger/.atom/packages/plantuml/lib/file-utils.coffee:23:30)
at Object.module.exports.Plantuml.generate (/home/roger/.atom/packages/plantuml/lib/plantuml.coffee:35:25)
at atom-workspace.subscriptions.add.atom.commands.add.plantuml:generate (/home/roger/.atom/packages/plantuml/lib/plantuml.coffee:17:26)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/usr/share/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
Steps to reproduce:
@startuml version @enduml
Contents chosen to have the bare minimum to see if I could get this thing working at all.Plantuml: Generate
actionI have tested running PlantUML manually and have been able to generate a png from the file in 1).
Atom Version: 1.0.2 System: Ubuntu 15.04 Thrown From: plantuml package, v0.1.2
Stack Trace
Uncaught TypeError: undefined is not a function
Commands
Config
Installed Packages