Skip to content

Running VeraPDF throws IllegalArgumentException #19

Open
@bitsgalore

Description

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).

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions