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

Crashes when reading files that begin with "." #906

Closed
adamsaltman opened this issue Jun 13, 2021 · 1 comment
Closed

Crashes when reading files that begin with "." #906

adamsaltman opened this issue Jun 13, 2021 · 1 comment
Labels
bug Bug reports.

Comments

@adamsaltman
Copy link

Should these files (remnants of deleted files on macOS) that begin with "." be deleted prior to scanning? Here's the error traceback:

Application Identifier: com.hardcoded-software.dupeguru
Application Version: 4.0.3
Mac OS X Version: Version 10.16 (Build 20F71)

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 169, in getmatches
File "build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 54, in get_cache
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 39, in init
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 77, in _compute_maxid
File "build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 77, in
File "build/dupeGuru.app/Contents/Resources/py/shelve.py", line 95, in iter
SystemError: Negative size passed to PyBytes_FromStringAndSize

Relevant Console logs:

The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._334.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._336.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._338.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._340.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._342.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._344.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._346.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._348.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._350.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._352.jpg" failed with ""
The reading of "/Volumes/Photographs/2006/12/31/Thumbs/._354.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Anna Passport_face0.jpg" failed with ""
cannot add item to database
The reading of "/Volumes/Photographs/2006-02-10/._Anna Passport.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Bari Passport_face0.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Bari Passport.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Scan1_face0.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Scan1.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Scan10001_face0.jpg" failed with ""
The reading of "/Volumes/Photographs/2006-02-10/._Scan10001.jpg" failed with ""

@arsenetar arsenetar added the bug Bug reports. label Aug 19, 2021
@arsenetar
Copy link
Owner

4.0.3 is a rather old version, I am closing all issues related to it as there have been some fairly significant changes since. Try the latest release at https://github.com/arsenetar/dupeguru/releases/latest, if you have a similar issue feel free to open a new issue.

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

2 participants