Skip to content
Discussion options

You must be logged in to vote

Solved the PlantUML error by modifying the configuration to remove "-tpng" option. Pasting new configuration below.

# get the path to the plantuml JAR file and configuration file
plantumlJAR = os.path.abspath('./tools/plantuml/plantuml.jar')
plantumlCfg = os.path.abspath('./skinparams.puml')

# construct the plantuml command
plantumlCommand = 'java -Djava.awt.headless=true -jar ' + plantumlJAR + ' --config ' + plantumlCfg + ' -failfast2'

# plantuml command
plantuml = plantumlCommand

Replies: 1 comment 2 replies

Comment options

jdillard
Jul 30, 2026
Collaborator Sponsor

You must be logged in to vote
2 replies
@codeaide
Comment options

@codeaide
Comment options

Answer selected by codeaide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants