EasyinnovaSL / DPFManager

DPF Manager: Digital Preservation Formats Manager (Image files)
GNU General Public License v3.0
31 stars 14 forks source link

Relative path-ed files not found #201

Open victormunoz opened 8 years ago

victormunoz commented 8 years ago

When dpfmanager is run from CLI files passed with relative paths are not found

marhop commented 7 years ago

I can confirm this behaviour. This is sad given how pretty the CLI is apart from that!

Apparently the . and .. elements in file paths are not resolved starting from the current working directory but from the DPF Manager installation directory. Here are some details (installation on Debian 9 with the current deb package for DPF Manager 3.5.1):

victormunoz commented 7 years ago

Yes. This is a known issue ...for a long time. It is produced by the tool we use to generate the exe. We have spend many hours looking into this, but there seems to be no way to configure the tool to change this behavior. Any help would be appreciated ;)

But, there is a possible workaround. Instead of running the executable, you can run directly the jar: java -jar "/opt/DPF Manager/DPF Manager-jfx.jar" check .