arminstraub / krop

A simple graphical tool to crop the pages of PDF files, written in Python/Qt
http://arminstraub.com/software/krop
GNU General Public License v3.0
116 stars 16 forks source link

Issues with snap+gs, pdftk #33

Closed g-steinbach closed 2 years ago

g-steinbach commented 2 years ago

First: I like this app, thank you. But running in Kubuntu 20.04 (Focal):

The snap version of Krop does not see gs which is not a snap; the gs option is grayed out.

Krop fails - crashes - with Could not find object when used on a page that was excerpted from a multi-page PDF with pdftk, as in e.g. pdftk in.pdf cat 35 out.pdf.

Anyway, I installed Krop directly from Github and now it does all I want it to do, which is cutting out individual articles from NASA Tech Briefs, producing small output files. Except now I won't know when and how to upgrade to a new version.

arminstraub commented 2 years ago

I am glad to hear that the version on GitHub is working as it should on 20.04! That also suggests that the issues you describe are specific to the snap version; unfortunately, I don't know anything about how snap works (and what would have to be done to make gs visible inside a snap). I will therefore close this issue; however, feel free to reopen it if krop itself is not behaving correctly in some way (especially if you can reproduce the crash for the GitHub version).

If the version on GitHub works for you, you could use the features on GitHub to be notified of new releases: https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/about-notifications

g-steinbach commented 2 years ago

OK, I don't know how to reopen an issue but I tried the Github version of Krop on the pdftk output file, and it fails to process it with the same error message but it does not crash. I am attaching a screenshot KropError_20220531 and the offending input file TB35.pdf : BTW, it would be nice if the input file name showed somewhere, e.g. in the window title?