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

Passing a config file with -version is invalid #38

Open
Kernald opened this issue Oct 8, 2019 · 2 comments
Open

Passing a config file with -version is invalid #38

Kernald opened this issue Oct 8, 2019 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@Kernald
Copy link

Kernald commented Oct 8, 2019

Using this command line:
plantuml -nometadata -p -tpng -config plantuml.skin < test_graph.puml > out.png

Works fine if the content of test_graph.puml is a regular graph. If it contains this:

@startuml
version
@enduml

Plantuml fails to generate anything:

ERROR
1
Syntax Error?
Some diagram description contains errors
@arnaudroques
Copy link
Contributor

I think the issue come from the fact that the plantuml.skin config file contains some lines which are included before "version".
Can you check without any plantuml.skin config file ?
Thanks

@arnaudroques arnaudroques added bug Something isn't working question Further information is requested labels Mar 21, 2023
@arnaudroques arnaudroques transferred this issue from plantuml/plantuml Mar 21, 2023
@Kernald
Copy link
Author

Kernald commented Mar 21, 2023

This is obviously the issue, but PlantUML should arguably not stop recognizing version because a configuration file has been specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants