-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
Loading Result of 'Scan Type: Folders' shows only '---' in every table cell #676
Comments
Thanks for the (very good) bug report. I can confirm this happens also on (Arch) Linux. For reference, the exception is generated here. The type of exception thrown is a NotImplementedError, so it must be hitting this virtual function. The problem comes after reading the xml data, in _get_export_data(). The dupe passed to the function is of type "core.fs.Folder", but it seems that we need to call the function defined in core.se.fs.Folder instead (which seems to be the expected implementation) so perhaps the type of this dupe is wrong (core.fs.Folder)? Anyway, not sure why that implementation is not being called here. |
* In standard mode, for folder comparison, dupe type is wrongly set as core.fs.Folder while it should be core.se.fs.Folder. * Catching the NotImplementedError exception redirects to the appropriate handler * This is only a temporary workaround until a better fix is implemented
I have written a temporary fix here which works so far, but it's only redirecting the exception handling to the appropriate function which is in core.se.fs.Folder. |
Turns out maybe this simple fix is actually the solution? I'll make a pull request for the time being, but it probably needs some more testing (also might need to update the test suite, I'm not sure). |
@YEAS175m3 Thanks, for the detailed report. |
Describe the bug
I came across this problem when scanning my NAS the whole day for duplicate folders. Seeing how many duplicates I had in the result table I decided to save the result to make my delete-decisions the next day.
When Loading the result it took a while (3,66 MB result file, I assume checking the existence of the paths again) but when it finally showed the
dupeGuru Results
-window, every single cell in every column/line showed---
.The amount of existing table lines could be correct and in the status bar it showed the amount of duplicate folders and the total size.
When using
Open Selected with Default Application
on a highlighted entry it opened Windows Explorer with the correct Folders.So the information is definitely loaded and internally available, but it does not show the file names (folder names in this case), folders, kind, size and so on in the table. Same when calling the
Details
for an entry, also only---
.Unfortunately this makes it impossible to delete duplicates, so I am running the scan again now and delete the duplicates immediately without closing dupeGuru. But for other Users or my own future uses a fix of this bug would be helpful!
Scan Type: Contents
and loading the result worked fine and showed the file name and folders.To Reproduce
Steps to reproduce the behavior:
Save Results...
in the dupeguru_test folder for exampleLoad Results
from saved filedupeGuru Results
- andDetails
-windows looks like this:debug.log
shows this errors:Expected behavior
When loading the results of a
Scan Type: Folders
-search the table should show the values (file name, folders, ...) in the result table like the result windows does right after the scan.Desktop:
Additional context
debug.log
Note of Thanks
I love open source software like this and I want to thank everyone who contributes to such projects!
I hope with my first reported problem I can also contribute something - I hope the bug report was okay so far 😉
The text was updated successfully, but these errors were encountered: