dupeguru icon indicating copy to clipboard operation
dupeguru copied to clipboard

Cannot load webp files in picture mode.

Open cankaratepe23 opened this issue 11 months ago • 5 comments

Describe the bug dupeGuru seems to ignore .webp files in Picture mode. I saw that support for these were added in 1db93fd1422bf4df291c55bf20febfd62502ec74 but I can't seem to get it to work.

To Reproduce Steps to reproduce the behavior:

  1. Add a folder with .webp images to scan.
  2. Click scan
  3. No pictures are scanned and no matches are found

Expected behavior Should scan files and display duplicates. In my case, if I convert some of the .webp files into .png and duplicate them manually, those .png files are detected properly.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 4.3.1

Additional context Log file includes my attempts at getting it to recognize the files by moving the folder into directories without any special characters in their names.

debug.log

cankaratepe23 avatar Jul 15 '23 13:07 cankaratepe23

I feel like this could be something wrong with some settings on my part but I honestly could not figure it out despite reinstalling, trying different directories etc. Sorry in advance if this turns out to be a waste of time!

cankaratepe23 avatar Jul 15 '23 13:07 cankaratepe23

I experienced a similar issue and reported it here

glubsy avatar Jul 15 '23 15:07 glubsy

I experienced a similar issue and reported it here

In your case, it seems dupeGuru at least finds the files. In my case, the files are not even detected/loaded.

I tried to run the master branch through python so I could try to debug it, but couldn't get qt to work after installing requirements.txt. It fails at from qt import dg_rc which is a curious line because it has the "ignore unused import" comment next to it. If it is really unused and does not affect the program at all maybe it should be removed?

cankaratepe23 avatar Jul 16 '23 12:07 cankaratepe23

dg_rc.py is only generated at build time and it is used to load some resource files if I remember correctly. You probably have to build the application first before trying to run it.

Can you make sure you don't have any exclusion filter active that may be filtering out the webp files?

glubsy avatar Jul 16 '23 18:07 glubsy

dg_rc.py is only generated at build time and it is used to load some resource files if I remember correctly. You probably have to build the application first before trying to run it.

Thanks for the tip, did not know that. I'm not planning to retry for now, unless there are more people having the same issue.

Can you make sure you don't have any exclusion filter active that may be filtering out the webp files?

There doesn't seem to be anything that would filter out webp files in the exclude_list.xml file, I didn't set any exclusions myself, and I have reinstalled the program (deleted the AppData folder before re-installing) to try and troubleshoot to no avail.

The debug log I attached to this issue seems to complain about the exclude_list.xml file not existing though, maybe it is somehow related?

cankaratepe23 avatar Jul 16 '23 18:07 cankaratepe23