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

Error when delete after scan, latest commit. #988

Closed
chchia opened this issue Mar 30, 2022 · 2 comments
Closed

Error when delete after scan, latest commit. #988

chchia opened this issue Mar 30, 2022 · 2 comments
Labels
bug Bug reports.

Comments

@chchia
Copy link

chchia commented Mar 30, 2022

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Trying to delete duplicate after scan completed, and i got this error

`Application Name: dupeGuru
Version: 4.2.1
Python: 3.8.10
Operating System: Linux-5.14.0-1031-oem-x86_64-with-glibc2.29

Traceback (most recent call last):
File "/home/chchia/dupeguru/hscommon/gui/progress_window.py", line 102, in pulse
should_continue = self._error_func(self.jobid, err)
File "/home/chchia/dupeguru/core/app.py", line 330, in _job_error
raise err
File "/home/chchia/dupeguru/hscommon/jobprogress/performer.py", line 45, in _async_run
target(*args)
File "/home/chchia/dupeguru/core/app.py", line 232, in _do_delete
self.results.perform_on_marked(op, True)
File "/home/chchia/dupeguru/core/results.py", line 302, in perform_on_marked
func(dupe)
File "/home/chchia/dupeguru/core/app.py", line 229, in op
return self._do_delete_dupe(dupe, link_deleted, use_hardlinks, direct_deletion)
File "/home/chchia/dupeguru/core/app.py", line 251, in _do_delete_dupe
self.clean_empty_dirs(dupe.path.parent())
TypeError: 'PosixPath' object is not callable`

@chchia chchia added the bug Bug reports. label Mar 30, 2022
@arsenetar
Copy link
Owner

Thanks for catching that, that was missed in the pathlib changes.

@chchia
Copy link
Author

chchia commented Mar 30, 2022

thanks, thats so promptly!

and i had to say the latest os.scan method really make huge different for scanning speed!

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