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

Running VeraPDF throws IllegalArgumentException #19

Open
bitsgalore opened this issue May 17, 2021 · 0 comments
Open

Running VeraPDF throws IllegalArgumentException #19

bitsgalore opened this issue May 17, 2021 · 0 comments

Comments

@bitsgalore
Copy link
Member

When I tried to run VeraPDF I got this:

Exception in thread "main" java.lang.ExceptionInInitializerError at org.verapdf.apps.GreenfieldCliWrapper.main(GreenfieldCliWrapper.java:54) Caused by: java.lang.IllegalArgumentException: Arg root:/opt/OPF Carrus/resources/libs/veraPDF/config must be a writable directory. at org.verapdf.apps.Applications.createConfigManager(Applications.java:105) at org.verapdf.apps.Applications.createAppConfigManager(Applications.java:119) at org.verapdf.cli.VeraPdfCli.(VeraPdfCli.java:60) ... 1 more

The directory "/opt/OPF Carrus/resources/libs/veraPDF/config" requires root access for writing.

Side note: this also made me realise Carrus use system file paths that contain whitespace ("OPF Carrus"). I know these can be handled perfectly well when done properly, but not too sure if including them is such a good idea, because it could result in complications?

Tested on Linux Mint 19.3 Tricia (MATE desktop).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant