Public bug reported:

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

** Affects: pdfarranger (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077836

Title:
  PDF Arranger fails to start due to user site packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdfarranger/+bug/2077836/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to