#1033608 Exception: ModuleNotFoundError: No module named 'core.pe.photo'

Package:
dupeguru
Source:
dupeguru
Description:
GUI tool to find duplicate files in a system
Submitter:
Ionuț Ciocîrlan
Date:
2023-04-06 01:54:02 UTC
Severity:
normal
Tags:
#1033608#5
Date:
2023-03-28 14:01:22 UTC
From:
To:
The upstream vanilla build symlinks /usr/share/dupeguru/core/pe
and /usr/share/dupeguru/qt/pe to /usr/lib/dupeguru/core/pe and
/usr/lib/dupeguru/qt/pe respectively.

In the debian package these symlinks are missing, and emptu directories
are created instead (although the lib files are built and packaged).

This causes an immediate exception on run.

#1033608#10
Date:
2023-04-04 15:00:00 UTC
From:
To:
tags 1033608 + moreinfo + unreproducible
thanks


Hi Ionuț,

Il giorno mar 28 mar 2023 alle ore 16:03 Ionuț Ciocîrlan
<ionut.ciocirlan@gmail.com> ha scritto:
Also see latest amd64 build:
https://buildd.debian.org/status/fetch.php?pkg=dupeguru&arch=amd64&ver=4.3.1-3%2Bb1&stamp=1672837551&raw=0
lrwxrwxrwx root/root         0 2023-01-04 13:05
./usr/share/dupeguru/core/pe -> ../../../lib/dupeguru/core/pe
lrwxrwxrwx root/root         0 2023-01-04 13:05
./usr/share/dupeguru/qt/pe -> ../../../lib/dupeguru/qt/pe

#1033608#19
Date:
2023-04-04 20:31:22 UTC
From:
To:
After several checks and tests, I got the following conclusions:

- The symlinks are present in the packages provided via Debian repositories.
- The package, when installed via APT on Sid and Bookworm, is working
  correctly.
- Building the package in a fresh jail generates the symlinks.

A single test:

eriberto@canopus:/tmp$ apt download dupeguru
Get:1 http://deb.debian.org/debian bookworm/main amd64 dupeguru amd64 4.3.1-3+b1 [439 kB]
Fetched 439 kB in 0s (39.9 MB/s)

eriberto@canopus:/tmp$ dpkg -c dupeguru_4.3.1-3+b1_amd64.deb | egrep '\->'
lrwxrwxrwx root/root         0 2023-01-04 10:05 ./usr/bin/dupeguru -> ../share/dupeguru/run.py
lrwxrwxrwx root/root         0 2023-01-04 10:05 ./usr/share/dupeguru/core/pe -> ../../../lib/dupeguru/core/pe
lrwxrwxrwx root/root         0 2023-01-04 10:05 ./usr/share/dupeguru/qt/pe -> ../../../lib/dupeguru/qt/pe
lrwxrwxrwx root/root         0 2023-01-04 10:05 ./usr/share/pixmaps/dupeguru.png -> ../dupeguru/dgse_logo_128.png


I can't see any issue with this package. Considering that an RC bug over this
package affects forensics-extra, I am decreasing the severity from grave to important.

Ionut, are you installing this package via APT?

Best regards,

Eriberto

#1033608#24
Date:
2023-04-04 21:09:35 UTC
From:
To:
I guess this is on a non-usr-merged system which is not supported anymore.
#1033608#29
Date:
2023-04-05 23:02:45 UTC
From:
To:
It _was_ installed via apt. Your conclusions are correct:

$ apt-get download dupeguru
Get:1 http://ftp.ro.debian.org/debian testing/main amd64 dupeguru amd64 4.3.1-3+b1 [439 kB]
Fetched 439 kB in 2s (235 kB/s)
$ mkdir dg
$ dpkg-deb -R dupeguru_4.3.1-3+b1_amd64.deb dg
$ ls -gGd dg/usr/share/dupeguru/*/pe
lrwxrwxrwx 1 29 ian  4 15:05 dg/usr/share/dupeguru/core/pe -> ../../../lib/dupeguru/core/pe
lrwxrwxrwx 1 27 ian  4 15:05 dg/usr/share/dupeguru/qt/pe -> ../../../lib/dupeguru/qt/pe

I uninstalled and re-installed, and of course, it works.

I'm sorry for the noise and apologise for wasting your time. I have no idea what happened, maybe I had it previously installed manually or via pip, and there was some strange interaction with the package.

Anyway, user error. I can't reproduce it either, so closing.

#1033608#30
Date:
2023-04-06 01:50:34 UTC
From:
To:
Em qua., 5 de abr. de 2023 às 20:02, Ionuț Ciocîrlan
<ionut.ciocirlan@gmail.com> escreveu:

Thanks for your quick reply and don't worry. You are welcome.

Regards,

Eriberto