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

local rendering does not work #19

Open
aaa34169 opened this issue May 6, 2015 · 6 comments
Open

local rendering does not work #19

aaa34169 opened this issue May 6, 2015 · 6 comments

Comments

@aaa34169
Copy link

aaa34169 commented May 6, 2015

Hi

thanks you for your plugin first.
it s a great feature for my electrnic notebook.

unfortunatly, he doen't work.
I succeed to generate a png with the simple command : c:/plantnum.jar test.txt
but when i used the dokuwiki plugin, it fails
my configuration is :
Render Locally = Yes
Path to Java = "C:/Program Files/Java/jre7/bin/java.exe"
Path to Plant UML jar File = /c:/plantnum.jar
Remote url of PlantUML servlet =
Enable "New UML Graph" button in editor = Yes
Image used to draw the toolbar button = res/icon1.png

i have a "prohibited sign" instead of my png

@Andreone
Copy link
Owner

I think that the path to plantuml jar is wrong. Should be
c:\plantuml.jar

@jkettsjr
Copy link

We use Linux not widows.

There is an error in the code that prevents it from publishing well. It seems to render but only to a temp directory.

We wrote a script as a work around a long time ago. I am not sure our team is even using the tool anymore

-------- Original message --------
From: Andreone notifications@github.com
Date: 06/19/2015 9:56 AM (GMT-05:00)
To: Andreone/dokuwiki_plantuml dokuwiki_plantuml@noreply.github.com
Subject: Re: [dokuwiki_plantuml] local rendering does not work (#19)

I think that the path to plantuml jar is wrong. Should be
c:\plantuml.jar

Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-113522531.

The information contained in this message, and any attachments, may contain privileged and/or proprietary information that is intended solely for the person or entity to which it is addressed. Moreover, it may contain export restricted technical data controlled by Export Administration Regulations (EAR) or the International Traffic in Arms Regulations (ITAR). Any review, retransmission, dissemination, or re-export to foreign or domestic entities by anyone other than the intended recipient in accordance with EAR and/or ITAR regulations is prohibited.

@izacaslo
Copy link

@jkettsjr I use linux too. I did try the remote and local rendering, but both fail: i get a "prohibited sign" instead as well. Can u please help me with it?

@wade0564
Copy link

wade0564 commented May 14, 2016

I also have this problem in windows .
My plantuml configuration as follow :
The path to your Java runtime interpreter : D:/Program Files/Java/jdk1.7.0_71/bin/java.exe
The path to the PlantUML jar file : D:/worksapce/repos/trunk/zhouwu/plantuml/plantuml.jar
but the uml diagram is generated fail.

config items wrong or some other reason ?

I'm sure the plantuml.jar and java runtime env are both ok.But I cant find any log infomation to solve this problem.

@MichaelLing83
Copy link

Hi,

Maybe this is obvious, but I just want to say it for the record. And I'm using the stand-alone version of DokuWiki.

The problem is in the path to Java runtime interpreter. You cannot have a space there. So please try to use the following:

The path to your Java runtime interpreter (eg. /usr/bin/java): "C:\Program Files\Java\jre1.8.0_112\bin\java.exe"
The path to the PlantUML jar file: C:\somewhere_withou_spaces\plantuml.jar

BTW, if you check the box "Allow debug", there will be a debug.log under data/cache stating what went wrong.

@perlyking
Copy link

Following @MichaelLing83's advice I checked the log and I had mistyped the path to the jar. On Ubuntu 14.04 I also removed openjdk-9 and reverted to jre-default.

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

7 participants