$ yay -S krop
-> Could not find all required packages:
python-sip (Wanted by: krop)
Search Criteria
Package Details: krop 0.6.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/krop.git (read-only, click to copy) |
---|---|
Package Base: | krop |
Description: | A tool to crop PDF files, with an eye towards eReaders. |
Upstream URL: | http://arminstraub.com/computer/krop |
Licenses: | GPL-3.0-or-later |
Submitter: | archtux |
Maintainer: | Xavier |
Last Packager: | Xavier |
Votes: | 36 |
Popularity: | 0.84 |
First Submitted: | 2013-07-31 12:39 (UTC) |
Last Updated: | 2024-06-16 17:06 (UTC) |
Dependencies (10)
- python (python37AUR, python311AUR, python310AUR)
- python-pymupdf
- python-pypdf
- python-pyqt6 (python-pyqt6-pre-releaseAUR)
- python-pyqt6-sip
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- sip (make)
Required by (0)
Sources (1)
Mettacrawer commented on 2023-03-08 12:08 (UTC) (edited on 2023-03-08 12:08 (UTC) by Mettacrawer)
kzoli429 commented on 2021-11-29 12:55 (UTC)
With all dependencies installed, I have the following error messages:
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/krop/pdfcropper.py", line 28, in <module> from pyPdf import PdfFileReader, PdfFileWriter ModuleNotFoundError: No module named 'pyPdf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/krop", line 33, in <module> sys.exit(load_entry_point('krop', 'console_scripts', 'krop')()) File "/usr/lib/python3.9/site-packages/krop/application.py", line 81, in main from krop.mainwindow import MainWindow File "/usr/lib/python3.9/site-packages/krop/mainwindow.py", line 46, in <module> from krop.pdfcropper import PdfFile, PdfCropper, PdfEncryptedError, optimizePdfGhostscript File "/usr/lib/python3.9/site-packages/krop/pdfcropper.py", line 34, in <module> raise RuntimeError(_msg) RuntimeError: Please install PyPDF2 (or its predecessor pyPdf) first. On recent versions of Ubuntu, the following should do the trick: sudo apt-get install python-pypdf2 (or, if using python3) sudo apt-get install python3-pypdf2
Any solution? Thanks in advance.
Xavier commented on 2020-07-21 01:02 (UTC)
@s1ck-b0y good!
s1ck-b0y commented on 2020-07-21 00:06 (UTC)
Nevermind haha I deleted and rebuilt practically everything and now its working. I've probably messed the files in the past. Sorry for the trouble.
s1ck-b0y commented on 2020-07-20 12:27 (UTC)
Hi @XavierCLL. That's exactly what I did :c
Xavier commented on 2020-07-01 17:39 (UTC) (edited on 2020-07-01 17:43 (UTC) by Xavier)
Hi @s1ck-b0y, you need to rebuild (python-poppler-qt5 or python-poppler-qt5-git) from AUR, NOT use the binary from some unofficial repository (such as herecura or archlinuxcn), sometimes it happens with those unofficial repos that some libraries are out of sync with the latest version of python
s1ck-b0y commented on 2020-07-01 16:55 (UTC)
@XavierCLL Still cannot run it.
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/krop/vieweritem.py", line 21, in <module>
from popplerqt5 import Poppler
ImportError: /usr/lib/python3.8/site-packages/popplerqt5.cpython-38-x86_64-linux-gnu.so: cannot open shared object file: Permission denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/krop", line 11, in <module>
load_entry_point('krop', 'console_scripts', 'krop')()
File "/usr/lib/python3.8/site-packages/krop/application.py", line 81, in main
from krop.mainwindow import MainWindow
File "/usr/lib/python3.8/site-packages/krop/mainwindow.py", line 45, in <module>
from krop.vieweritem import ViewerItem
File "/usr/lib/python3.8/site-packages/krop/vieweritem.py", line 24, in <module>
raise RuntimeError(_msg)
RuntimeError: Please install popplerqt5 first.
Pinned Comments