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
Exception when selecting greater than or equal to 42 files to be shredded - Windows #348
Comments
@SpyTec Thanks for the well-written bug report I tried it with 50 files with short names, and it did not happen. When I made the filenames longer, I saw
|
By the way, for now here are workarounds
|
This increases the buffer length by 10x Symptom error: (12291, 'GetOpenFileNameW', 'No error message is available') Reported by SpyTec #348 Hack thanks to Tim Roberts
This was fixed in commit 721ec92 The problem was the buffer length was 1024 bytes, so I increased it to 10,240 bytes. The number of files will vary depending on the length of the pathnames, and in my test I was able to delete over 100 long filenames with the fix. In about ten minutes a build with the fix will be posted to ci.bleachbit.org, and it will be version 2.0.721. You can test this or most any newer version there. Let me know how it goes. |
The fix was published in BleachBit 2.1 beta. Please try it out, and let me know how it goes. Soon the fix will be published also in BleachBit 2.2 final. |
This increases the buffer length by 10x Symptom error: (12291, 'GetOpenFileNameW', 'No error message is available') Reported by SpyTec #348 Hack thanks to Tim Roberts
When selecting greater than or equal to 42 files to be shredded on Windows, it doesn't show the items to be deleted but rather
exception in browse_files()
.Steps taken:
Shred files
exception in browse_files()
displayed on right containerEach file is 23 characters long including file extension. Folder path is 22 characters long
The text was updated successfully, but these errors were encountered: