sublime_diagram_plugin icon indicating copy to clipboard operation
sublime_diagram_plugin copied to clipboard

error: No diagrams overlap selections.

Open mikest opened this issue 6 years ago • 4 comments

I get the following error when using the render selection feature. I have a user config like so:

{
    "output_format": "svg",

    // The full path to the plantuml.jar file
    "jar_file": "/usr/local/Cellar/plantuml/1.2018.3/libexec/plantuml.jar"
}

Default config remains unchanged. (As an aside, the default config uses a windows path...)

error: No diagrams overlap selections.

Nothing to process.```

plantuml has been installed via homebrew and functions normally from the command line.

mikest avatar Aug 17 '18 17:08 mikest

Sublime3 v3.1.1, Build 3176

mikest avatar Aug 17 '18 17:08 mikest

Did you have any text selected? It only looks in a selection if you have one. Otherwise, it would help to see the file you’re rendering...

jvantuyl avatar Aug 24 '18 08:08 jvantuyl

I'm having the same issue.

Got the same error using the following file. Tried selecting nothing, selecting everything, and selecting only the contents between the uml tags.

@startuml

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response

@enduml

Chovin avatar Dec 09 '18 12:12 Chovin

I've seen this happen if GRAPHVIZ_DOT environment variable is not set.

If you restart Sublime Text and this is the case, there will be an error about it in the console.

davidkhess avatar Jun 09 '20 15:06 davidkhess