Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working for me #16

Open
mcondarelli opened this issue Nov 13, 2017 · 2 comments
Open

Not working for me #16

mcondarelli opened this issue Nov 13, 2017 · 2 comments

Comments

@mcondarelli
Copy link

Hi,
Thanks for the good work!
I tried using it and I did the standard

git clone https://github.com/borco/plantumlqeditor.git
qmake && make

It compiled without any Error/Warning but, when launched I got the following error message:

mcon@black:~/projects/plantumlqeditor$ ./plantumlqeditor
new file cache item ->   key: 16a971bc7f4bf0d7d20dc0b1e1d3a3db.svg   cost: 0       path: /home/mcon/.cache/PlantUML Editor/PlantUML Editor/16a971bc7f4bf0d7d20dc0b1e1d3a3db.svg
new file cache item ->   key: 53c56c72c55cc8abc747e0271e21c8b8.svg   cost: 0       path: /home/mcon/.cache/PlantUML Editor/PlantUML Editor/53c56c72c55cc8abc747e0271e21c8b8.svg
using assistant:           "/home/mcon/projects/plantumlqeditor/assistant.xml"
using assistant icon path: "/home/mcon/projects/plantumlqeditor/icons"
QFileInfo::absolutePath: Constructed with empty filename
new file cache item ->   key: 16a971bc7f4bf0d7d20dc0b1e1d3a3db.svg   cost: 0       path: /home/mcon/.cache/PlantUML Editor/PlantUML Editor/16a971bc7f4bf0d7d20dc0b1e1d3a3db.svg
QWidget::setMinimumSize: (/PreviewWidget) Negative sizes (-1,-1) are not possible

The last line is repeated (multiple times) on window resize.

Problems are:

  • No Diagram is visible, neither with initial "class Foo" neither with classic "Bob->Alice : hello" on line 3 (I preserved the "@startuml / @enduml" bracketing).
  • [Refresh] button appears grayed, but if I press it I get again:
QFileInfo::absolutePath: Constructed with empty filename
new file cache item ->   key: 3c9aea62d03123d8ddd508ac8c67921c.svg   cost: 0       path: /home/mcon/.cache/PlantUML Editor/PlantUML Editor/3c9aea62d03123d8ddd508ac8c67921c.svg
QWidget::setMinimumSize: (/PreviewWidget) Negative sizes (-1,-1) are not possible
  • The cache files exist in the correct place, but they are empty

I am evidently missing something, but I can't divine what.
Any help welcome.

TiA

@JKorbelRA
Copy link

Hi, you need to provide plantUML !!! JAR !!! path, not binary path (/usr/bin/plantuml) which is actually a bash script. I had the same issue as well, added pull request for better logging of this issue. (java -jar will return error saying /usr/bin/plantuml is not a JAR file, but this message is silently discarded in this version of plantumlqeditor).

@manero6
Copy link

manero6 commented Mar 26, 2020

Different plantuml.jar files can be found here:

https://plantuml.com/download

GPL v2 worked for me ʕ•ᴥ•ʔ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants