Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got key error while scanning a large folder #723

Closed
ayajurvedi opened this issue Oct 7, 2020 · 8 comments
Closed

Got key error while scanning a large folder #723

ayajurvedi opened this issue Oct 7, 2020 · 8 comments
Labels
bug Bug reports.

Comments

@ayajurvedi
Copy link

Got the error report while scanning a large folder with, Application mode as "Picture" and Scan Type as "Contents". If it help this folder is on an external drive having NTFS.

Application Identifier: com.hardcoded-software.dupeguru
Application Version: 4.0.3
Mac OS X Version: Version 10.15.7 (Build 19H2)

Traceback (most recent call last):
File "build/dupeGuru.app/Contents/Resources/py/cocoa/inter.py", line 259, in pulse
File "build/dupeGuru.app/Contents/Resources/py/hscommon/gui/progress_window.py", line 101, in pulse
File "build/dupeGuru.app/Contents/Resources/py/core/app.py", line 323, in _job_error
File "build/dupeGuru.app/Contents/Resources/py/hscommon/jobprogress/performer.py", line 43, in _async_run
File "build/dupeGuru.app/Contents/Resources/py/core/app.py", line 780, in do
File "build/dupeGuru.app/Contents/Resources/py/core/scanner.py", line 137, in get_dupe_groups
File "build/dupeGuru.app/Contents/Resources/py/core/pe/scanner.py", line 31, in _getmatches
File "build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 167, in getmatches
File "build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 65, in prepare_pictures
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 129, in purge_outdated
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 47, in delitem
File "build/dupeGuru.app/Contents/Resources/py/shelve.py", line 128, in delitem
KeyError: b'id:37781'

@ayajurvedi ayajurvedi added the bug Bug reports. label Oct 7, 2020
@glubsy
Copy link
Contributor

glubsy commented Oct 7, 2020

This has been reported many times already, and is supposedly fixed in version 4.0.4. Unfortunately there is no package for MacOS right now, so you'll have to build and install from this git repository to fix the problem.

@MartinMeo
Copy link

Application Identifier: com.hardcoded-software.dupeguru
Application Version: 4.0.3
Mac OS X Version: Version 10.15.7 (Build 19H2)

Traceback (most recent call last):
File "build/dupeGuru.app/Contents/Resources/py/cocoa/inter.py", line 259, in pulse
File "build/dupeGuru.app/Contents/Resources/py/hscommon/gui/progress_window.py", line 101, in pulse
File "build/dupeGuru.app/Contents/Resources/py/core/app.py", line 323, in _job_error
File "build/dupeGuru.app/Contents/Resources/py/hscommon/jobprogress/performer.py", line 43, in _async_run
File "build/dupeGuru.app/Contents/Resources/py/core/app.py", line 780, in do
File "build/dupeGuru.app/Contents/Resources/py/core/scanner.py", line 137, in get_dupe_groups
File "build/dupeGuru.app/Contents/Resources/py/core/pe/scanner.py", line 31, in _getmatches
File "build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 167, in getmatches
File "build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 65, in prepare_pictures
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 129, in purge_outdated
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 47, in delitem
File "build/dupeGuru.app/Contents/Resources/py/shelve.py", line 128, in delitem
KeyError: b'id:162976'

@MartinMeo
Copy link

Do you know when the MacOS package for version 4.04 will be released?

@glubsy
Copy link
Contributor

glubsy commented Oct 19, 2020

Do you know when the MacOS package for version 4.04 will be released?

Probably never, because building packages for MacOS is a total pain. But I have not looked into it very thoroughly.

Feel free to build the application from this repository in the meantime.

@MartinMeo
Copy link

MartinMeo commented Oct 20, 2020 via email

@glubsy
Copy link
Contributor

glubsy commented Oct 21, 2020

Probably something along the line of:
git clone https://github.com/arsenetar/dupeguru.git && cd dupeguru
pip3 install virtualenv
python3 -m venv env && source ./env/bin/activate
pip3 install pyqt5
pip3 install -r requirements.txt
python3 build.py
make run
Good luck. Using MacOS is always a total mess.

Side note: I couldn't build a DMG package with the dupeguru-cocoa repo. I keep getting a module __main__ has no attribute PyDupeGuru exception while trying to run the build.
I suspect the repo has actually never worked and that's why @arsenetar did not release a 4.0.4 DMG package.

@arsenetar
Copy link
Owner

The mac versions have been updated, I would recommend trying the latest version.

@arsenetar
Copy link
Owner

Duplicate of #439

@arsenetar arsenetar marked this as a duplicate of #439 Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports.
Projects
None yet
Development

No branches or pull requests

4 participants