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

Cannot get any themes to work #55

Open
triynko opened this issue Jan 19, 2021 · 2 comments
Open

Cannot get any themes to work #55

triynko opened this issue Jan 19, 2021 · 2 comments

Comments

@triynko
Copy link

triynko commented Jan 19, 2021

Examples:
!includeurl https://raw.githubusercontent.com/Drakemor/RedDress-PlantUML/master/style.puml
!includeurl https://raw.githubusercontent.com/bschwarz/puml-themes/master/themes/cerulean/puml-theme-cerulean.puml

These all just render a syntax error, typically anywhere there's a directive starting with "!". Cannot seem to even set variables.

@triynko triynko changed the title Cannot get any theme's to work Cannot get any themes to work Jan 19, 2021
@triynko
Copy link
Author

triynko commented Jan 20, 2021

Smok from https://www.youtube.com/watch?v=EM-cvRubP4g suggests: "Upgrade the jar from plugin. The repo moved forward with new version. The plugin did not."

In the ".atom/packages/plantuml-viewer/node_modules/node-plantuml" folder, I see two jar files "plantuml.8047.jar" (5331KB) and "plantuml.jar" (3444KB). I'm unsure of which to replace and with what. The only other "plantuml.jar" file on my system (via "everything" search) is the on in ".vscode\extensions\jebbs.plantuml-2.14.1\plantuml.jar" (8197KB). I'll try dropping that one in and see what happens.

Update: So, replacing the JAR file under the "vendor" subfolder in the atom package actually got this to render the LIGHTORANGE theme without error... exactly once. I saw it displayed correctly. But now, it won't render anything at all. It's like it broke the entire plugin and cached something bad. Might be related to this issue which seems to describe the same "can only render once per session" behavior: #11

Update 2: Now it almost crashed my entire display. All three of my monitors when blank momentarily and the desktop had to redraw and reload explorer. The audio rendered crashed as well as the AWS VPN client, too. The plantuml-viewer rendering area displays the message: "Error occurred during initialization of VM Unable to allocate 260672KB bitmaps for parallel garbage collection for the requested 8341504KB heap."

@rufreakde
Copy link

Have the same issue running the plugin on mac

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

2 participants