-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
[BUG] Finder Handler Errors #172
Comments
Hmm, yeah I haven't seen this issue before. I tried testing a few times with that same app you have in the video and I haven't been able to reproduce so far. |
Speaking of uninstallation: I wanted to ask whether pearcleaner 'zaps' the homebrew installed cask or not? |
I think currently it only has |
Not always I guess. I tried pearcleaner for the first time with |
That's likely because the app name "Raspberry Pi Imager" and the folder is called "Raspberry Pi". Currently it only matches on app name and partial bundle identifiers. |
That unicode translates into NSAppleScriptErrorBriefMessage = "处理程序不能处理这个类的对象。";
NSAppleScriptErrorMessage = "“Finder”遇到一个错误:处理程序不能处理这个类的对象。"; Which is
|
Right, which is why I was wondering if it's related to one of the files it was trying to delete. The thing is there are a few things that can cause that handler error, file types, invalid paths, locked files, permissions, etc.
|
Something that I |
I can't reproduce either, it just happens sometimes, but I will pay more attention when it happens next time |
Sounds good! |
|
Can probably simplify that apple script to this:
|
What is that error, the same handler one from before? Sorry I can't read the language. |
Yeah, the same error as this |
I've added a check to the deletion process to do 3 things:
I'm hoping all these checks before actually running the uninstall command will prevent a lot of these handler issues. |
Would you be able to check if you still see Finder handler issues with the latest build? I'm looking to move away from using AppleScript/Finder for deleting the files so this shouldn't be an issue in the future. |
After some days of use, I haven't had that issue again. Thanks for your working on this! |
That's good to hear and no problem at all! |
Describe the bug:
Pearcleaner won't uninstall app sometimes, it only appears sometimes, not everytime , so you may be not able to reproduce.
Steps to reproduce:
Try to uninstall app from finder extension
Info:
Screenshots:
2024-11-29.10.29.37.2024-11-29.10.30.13.mov
Console Logs (For app crashes or hard to reproduce issues):
The text was updated successfully, but these errors were encountered: