-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug]: ocrmypdf v15.1.0+git8.2b0e1498 (snap): GPL Ghostscript 9.55.0: Can't find initialization file gs_init.ps. ghostscript.py:118 #1167
Comments
Command line? |
Sorry… |
addition: |
Inside the snap the envvar GS_LIB is:
whereas the actual installed location is This inconsistency seems like it has to do with Ubuntu's packaging of ghostscript. The snap documentation is quite thin. Can't find any description of how to manage runtime environment variables and |
just FYI: I did snap revert to |
Yes, the old image is based on Ubuntu 20.04 and new one is on 22.04. Ocrmypdf 15 doesn't support the 20.04 dependencies anymore, and the problem is something wrong with how Ghostscript is packaged in 22.04. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@brlin-tw Any chance you can help with this since you previously helped with the ocrmypdf snap? |
Sure I'll check it out, no promises for any ETAs, though. |
I have this exact issue, tried the pip3 version, same issue. |
There are new Snap Edge releases at Install OCRmyPDF on Linux | Snap Store… Do they work? I am wondering a bit because @jbarlow83 hasn't said yet that the issue is resolved. |
The build script are configured to auto-release new versions of the main code, but I don't know much about snap or how to fix the snap-specific issues that are coming up. Snap is on the chopping block at this point - I tried to fix it, but I can't find answers to basic questions about how snap is supposed to work in its official documentation, so I'm hoping others with domain knowledge will be able to fix it. |
OK, understood. Maybe, @brlin-tw can help as you asked him before. Or someone else having knowledge about Snap. Hopefully, this issue can be resolved, so I can upgrade from v14 to v15 of OCRmyPDF Snap. |
I plan to investigate this issue in the next few days, when there's any progress I'll make sure to let you know. |
@jbarlow83 @brlin-tw Sorry for this inquiry. Any news on this issue? Or is it unsolvable? (Would like to update my local snap after a while…) |
Apologies for the ignorance, unfortunately I'm being out-of-capacity recently and got little time looking into it, I'll make sure to let you know if there's any progress(or, in a very unlikely event, not fixable). |
|
@omidraha the fix is only available in the channel
To install it you have to :
|
@jbarlow83 @loxK @omidraha |
What were you trying to do?
System
ocrmypdf v15.1.0+git8.2b0e1498 101 latest/stable shael7aerien -
snapd 2.60.4 20290 latest/stable canonical✓ snapd
Bug
Where are you installing from?
Ubuntu snap
What operating system are you working on?
Linux
Relevant log output
The text was updated successfully, but these errors were encountered: