PDF Arranger fails to start due to user site packages

Bug #2077836 reported by David Auer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pdfarranger (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,
I'm one of the upstream maintainers of PDF Arranger and we got some complaints from ubuntu users which were unable to start the apt/deb package in ubuntu 22.04. This is most likely due to incompatible pikepdf versions which the users installed via pip. To mitigate this, I suggest you patch the /usr/bin/pdfarranger entry script to add a `-s` flag (better yet `-sP` as soon as the Python version supports it) to the python interpreter call in the first line (shebang). This should prevent python to load incompatible module versions from the home directory. I do not have a solutions for users which installed stuff via "sudo pip", I guess they just made a mistake using their admin privileges which we can not work around.

From my point of view it would be much better if users would get more recent versions of pikepdf (>= 6 should be enough) and PDF Arranger (the newer the better) but that might not be possible with a LTS version. (We got a few bug reports for stuff that has been fixed for a long time upstream and newer PDF Arranger versions are compatible with newer pikepdf versions users might accidentally install.)

Thanks for your work as package mantainer and let me know if I can be of assistance.

David

To the reports: https://github.com/pdfarranger/pdfarranger/discussions/1017

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.