OpenAdaptAI / OpenAdapt

Open Source Generative Process Automation (i.e. Generative RPA). AI-First Process Automation with Large ([Language (LLMs) / Action (LAMs) / Multimodal (LMMs)] / Visual Language (VLMs)) Models
https://www.OpenAdapt.AI
MIT License
881 stars 115 forks source link

[Bug]: FileNotFoundError [Errno 2] No such file or directory: '/Applications/OpenAdapt.app/Contents/Frameworks/pyqttoast/css/toast_notification.css' #754

Closed abrichr closed 3 months ago

abrichr commented 3 months ago

Describe the bug

Issue #
Events
31
First Seen
21 days ago
May 24, 2024 at 7:01:22 AM GMT-4
Last Seen
3 days ago
June 11, 2024 at 9:36:26 PM GMT-4
Message
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/OpenAdapt.app/Contents/Frameworks/pyqttoast/css…
Exception

FileNotFoundError:[Errno 2] No such file or directory: '/Applications/OpenAdapt.app/Contents/Frameworks/pyqttoast/css/toast_notification.css'
File "openadapt/app/tray.py", line 388, in _delete
     self.show_toast("Recording deleted.")
File "openadapt/app/tray.py", line 588, in show_toast
     toast = Toast(self.main_window)
File "pyqttoast/toast.py", line 193, in __init__

To Reproduce

See https://app.glitchtip.com/openadaptai/issues/292030

abrichr commented 3 months ago

It's interesting to note that all of these errors are coming from the same host.

I think these errors may no longer exist in main, but the user is still using the old download.

This points to a need for autoupdating.

KIRA009 commented 3 months ago

This is interesting. Autoupdates could definitely be done, especially since we don't have any windows that need to be interacted with when installing

KIRA009 commented 3 months ago

This has been addressed in the PR related to the build issues

abrichr commented 3 months ago

Fixed in https://github.com/OpenAdaptAI/OpenAdapt/pull/809