Andreone / dokuwiki_plantuml

A plugin for Dokuwiki that generates UML graphs from text using PlantUML
http://www.dokuwiki.org/plugin:plantuml
13 stars 20 forks source link

plantuml.jar is not working #15

Closed jkettsjr closed 10 years ago

jkettsjr commented 10 years ago

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

jkettsjr commented 10 years ago

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.

Used Yum to update php, java, and graphviz. Updated plantuml Cheked the plantuml settings Modified the .htaccess.dist file Working as expected now.

izacaslo commented 8 years ago

@jkettsjr Please, detail the modification you did to .htaccess file.

jkettsjr commented 8 years ago

We stopped using the product. Too many problems and no real solutions or support.

Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone

-------- Original message -------- From: izacaslo notifications@github.com Date: 01/15/2016 10:43 AM (GMT-05:00) To: Andreone/dokuwiki_plantuml dokuwiki_plantuml@noreply.github.com Cc: Jeffrey Ketts jketts@aegistg.com Subject: Re: [dokuwiki_plantuml] plantuml.jar is not working (#15)

@jkettsjrhttps://github.com/jkettsjr Please, detail the modification you did to .htaccess file.

Reply to this email directly or view it on GitHubhttps://github.com/Andreone/dokuwiki_plantuml/issues/15#issuecomment-171995452.

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.