Thanks for reporting the issue. This added backport patch should make it run with Python 3.12
Search Criteria
Package Details: dupeguru 4.3.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/dupeguru.git (read-only, click to copy) |
---|---|
Package Base: | dupeguru |
Description: | Find duplicate files with various contents, using perceptual diff for pictures |
Upstream URL: | https://dupeguru.voltaicideas.net/ |
Licenses: | GPL3 |
Conflicts: | dupeguru-git, dupeguru-me, dupeguru-pe, dupeguru-se |
Provides: | dupeguru |
Submitter: | dangoldbj |
Maintainer: | fuan_k |
Last Packager: | fuan_k |
Votes: | 99 |
Popularity: | 0.117258 |
First Submitted: | 2016-10-25 11:55 (UTC) |
Last Updated: | 2024-05-06 00:29 (UTC) |
Dependencies (12)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-mutagen (python-mutagen-gitAUR)
- python-pip
- python-polib
- python-pyqt5 (python-pyqt5-sip4AUR, python-pyqt5-webkitAUR)
- python-semantic-version
- python-send2trash
- python-xxhash (python-xxhash-gitAUR)
- python-distro (make)
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (0)
Sources (2)
fuan_k commented on 2024-05-06 00:32 (UTC)
Batou commented on 2024-05-04 16:37 (UTC)
Thanks @TrialnError and I can confirm that this patch works great.
TrialnError commented on 2024-04-29 20:59 (UTC) (edited on 2024-04-29 21:01 (UTC) by TrialnError)
This needs some work, as it won't build with python 3.12
because of the removed imp
module
==> Starting build...
Traceback (most recent call last):
File "/tmp/makepkg/dupeguru/src/dupeguru-4.3.1/build.py", line 20, in <module>
from hscommon import loc
File "/tmp/makepkg/dupeguru/src/dupeguru-4.3.1/hscommon/loc.py", line 9, in <module>
from hscommon import pygettext
File "/tmp/makepkg/dupeguru/src/dupeguru-4.3.1/hscommon/pygettext.py", line 18, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
Edit: Patch to backport: https://github.com/arsenetar/dupeguru/commit/13dd00c79865d8a0c23ddade9acd5793e167cdd9
demir commented on 2022-11-28 11:56 (UTC)
When trying to start dupeguru 4.3.1-1 I get:
ModuleNotFoundError: No module named 'core.pe._block'
Creating these links fixed this for now (python --version
returns Python 3.10.1
):
sudo ln /usr/share/dupeguru/core/pe/_cache.cpython-39-x86_64-linux-gnu.so /usr/share/dupeguru/core/pe/_cache.cpython-310-x86_64-linux-gnu.so
sudo ln /usr/share/dupeguru/core/pe/_block.cpython-39-x86_64-linux-gnu.so /usr/share/dupeguru/core/pe/_block.cpython-310-x86_64-linux-gnu.so
sudo ln /usr/share/dupeguru/qt/pe/_block_qt.cpython-39-x86_64-linux-gnu.so /usr/share/dupeguru/qt/pe/_block_qt.cpython-310-x86_64-linux-gnu.so
This seems to happen every once in a while, e.g.: https://github.com/arsenetar/dupeguru/issues/519
Is this something we could fix once and for all? Or is it up to the developer to do so?
auris commented on 2022-06-05 12:07 (UTC)
@bartoszer: The python-polib package is not available in the official repositories. You must install it from the AUR before installing dupeguru. The other missing dependencies are then automatically installed by pacman.
bartoszer commented on 2022-05-28 13:08 (UTC)
makepkg -si
error: target not found: python-polib
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> python-polib
-> python-semantic-version
-> python-xxhash
-> python-mutagen
-> python-send2trash
Seems that some deps are no longer available?
fuan_k commented on 2021-12-20 23:30 (UTC)
@bonob thanks, for some reason I did not notice it when I searched for it.
bonob commented on 2021-12-20 07:04 (UTC)
You noted in the last update that python-send2trash is not in the AUR anymore. It is in community though, if that's relevant?
Rus commented on 2021-12-19 23:54 (UTC) (edited on 2021-12-19 23:55 (UTC) by Rus)
It worked after the PKGBUILD update, thanks
fuan_k commented on 2021-12-19 23:49 (UTC)
@Rus: I would need more information, but I suspect you might have an outdated python-polib installed on your system. Pushed a possible workaround, let me know if it still fails.
Another possible solution in that case would be to change python -m venv env --system-site-packages
to just python -m venv env
to avoid using packages already installed system-wide.
Pinned Comments
itsnotme commented on 2019-07-21 13:08 (UTC)
If anyone is wondering why the source has changed, Dupeguru's website says the maintainer has changed. And so the link https://www.hardcoded.net/dupeguru/ leads us to https://dupeguru.voltaicideas.net/ which in turn has a link to https://github.com/arsenetar/dupeguru/ which is the GitHub repo the sources are downloaded from. So the source change is legitimate.