Skip to content

Exception because of missing glyphlist.txt #20

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

Closed
limick opened this issue Feb 19, 2018 · 2 comments
Closed

Exception because of missing glyphlist.txt #20

limick opened this issue Feb 19, 2018 · 2 comments

Comments

@limick
Copy link

limick commented Feb 19, 2018

I get an exception as follows:

/home/limick/testproject/.stack-work/install/x86_64-linux-nopie/lts-7.24/8.0.1/share/x86_64-linux-ghc-8.0.1/HPDF-1.5.0/Encodings/glyphlist.txt: openBinaryFile: does not exist (No such file or directory)

The file does indeed not exist at that path, and the compiled executable was copied to the server without it. What I don't understand is why the path is hardcoded. It's valid on the build machine, but not on the server. If the path was relative, I would know where to put the file.
Any guidance or documentation on how to make my executable find this file?
The commit used was: 9b1cb50

@limick
Copy link
Author

limick commented Feb 27, 2018

Seems to be an issue with relocatable packages.

@limick limick closed this as completed Feb 27, 2018
@tfausak
Copy link

tfausak commented Nov 6, 2019

I ran into this issue today. I was able to fix it by copying all the data files into a directory (like /opt/HPDF) and then setting the HPDF_datadir environment variable to that directory.

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

2 participants