"No diagram found" when trying to general .png from command line

0 votes
asked 5 days ago in Question / help by Marius

Using latest release v1.2022.5

java -jar ..\plantuml\plantuml.jar ./*.puml -v
(0.000 - 254 Mo) 249 Mo - SecurityProfile LEGACY
(0.003 - 254 Mo) 249 Mo - PlantUML Version 1.2022.5
(0.003 - 254 Mo) 249 Mo - GraphicsEnvironment.isHeadless() false
(0.003 - 254 Mo) 249 Mo - Forcing resource load on OpenJdk      
(0.072 - 254 Mo) 248 Mo - Found 1 files
(0.072 - 254 Mo) 248 Mo - Working on test copy.puml
(0.093 - 254 Mo) 247 Mo - Using default charset      
(0.098 - 254 Mo) 247 Mo - Reading from test copy.puml
(0.107 - 254 Mo) 247 Mo - Setting current dir: C:\Temp\ERD\diagrams\.
(0.108 - 254 Mo) 247 Mo - Setting current dir: C:\Temp\ERD\diagrams\
(0.108 - 254 Mo) 247 Mo - Reading file: test copy.puml
(0.109 - 254 Mo) 247 Mo - Number of image(s): 0
Warning: no image in test copy.puml
No diagram found

test copy.puml file contains this:

@startuml

Bob -> Alice : hello

@enduml

Thanks!!

commented 2 days ago by kirchsth (2,880 points)
Hi Marius,
I cannot reproduce the problem.
Why is your text colored?
Are you using a plain text file or something like html,...?

Can you try it with plain text like
@startuml
Bob -> Alice : hello
@enduml

Best regards
Helmut

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...