Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Any reason the new release would stop working in DokuWiki?

0 votes
When generating the following from a command line a png file is created accurately.
 
java -jar plantuml.jar -verbose test.txt
 
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
Jeff -> Bob: Authentication Request
@enduml
 
When using DokuWiki  and generating the following page the text file is created in the cache but no png is created. 
 
dokuwiki page:
(uml)
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
Jeff -> Bob: Authentication Request
(/uml)

text page created is the same with @startuml and @enduml
 
 
 
 
Using Dokuwiki Version: Release 2013-05-10a "Weatherwax"
 
Render Locally = Yes
Path to Java = /usr/bin/java
Path to Plant UML jar File = /var/www/dokuwiki/lib/plugins/planuml/local/plantuml.jar
Remote url of PlantUML servlet = http://plantuml.com
Enable "New UML Graph" button in editor = Yes
Image used to draw the toolbar button = res/icon1.png
 
java -jar plantuml.jar -version
PlantUML version 7980 (Wed Sep 18 12:17:57 EDT 2013)
(GPL source distribution)
OpenJDK Runtime Environment
OpenJDK 64-Bit Server VM
1.6.0_24-b24
Linux
 
The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.26.0 (20091210.2329)
Installation seems OK. File generation OK


<<<UPDATE 30 Sept 2013>>>
 
plantuml is working at the command line on the file generated by dokuwiki.
 
dokuwiki is generating all of the files for plantuml to funciton. 
 
What seems to be missing is the final step that generates the png file from the text file. Is there a script or cron that needs to run?
 
<<<UPDATE 10 October 2013>>>
 
I have been able to setup a shell script to run the plantuml.jar file and it works. However, in order for plantuml to work correctly it needs to be instant. Is there a call that is missing in the php or do I need to be looking for a rights issue?
asked Sep 25, 2013 in bug by anonymous
edited Oct 2, 2013

3 Answers

0 votes
No sure that it is related, but the server is on http://plantuml.com and not on http://plantuml.no-ip.org anymore.

Maybe you can try to change that ?
answered Sep 25, 2013 by plantuml (125,210 points)
That did fix a latency issue but still not rendering a .png file.
0 votes
Does it work again if you switch to an older plantuml.jar version ?

Otherwhise, you should report an issue to https://www.dokuwiki.org/plugin:plantuml
answered Sep 25, 2013 by plantuml (125,210 points)
I uploaded an older version of the .jar file and checked the .php files.

The tool still works at a command prompt but not through dokuwiki.

Per recommendation I opened an issue on that site.
0 votes

RESOLUTION!!


After several different trials discovered that the new version of Dokuwiki has a modification to the .htaccess.dist file that was causing a rights issue whith the java. 

  1. Used Yum to update php, java, and graphviz.
  2. Updated plantuml
  3. Cheked the plantuml settings
  4. Modified the .htaccess.dist file 

Working as expected now.

 

answered Oct 10, 2013 by anonymous
Ok, thanks for the note : we will put a link to this in the http://plantuml.sourceforge.net/running.html page
Hi,

in my installation I have the same problem, that the redering through plantuml server doesn't function within dokuwiki. So at the moment I try to install the local rendering, but also without success until now. Could you tell me in detail, what you changed? Or is it documented somewhere on the dokuwiki webside?

Regards
Juergen
HI

Dokuwiki 2013-12-08 "Binky" + PlantUML Version 7990
local and remote randering do not work....

Dokuwiki Configuration Manager :
render_local => yes
java => C:/Program Files/Java/jdk1.7.0_45/bin/java.exe
jar => D:/plantuml.7990.jar
remote_url => http://plantuml.com
button_enabled => yes
button_icon => res/icon1.png
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...