-
Notifications
You must be signed in to change notification settings - Fork 13
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 handling #349
Error handling #349
Conversation
62224ef
to
4ba9e67
Compare
Thanks @martinRenou for working on it. I just tested with some corner cases:
cad3.mp4
cad4.mp4
cad2.mp4
cad5.mp4I think we might need to improve the loading indicator and locking mechanism to avoid these cases |
Yes, definitely. Also we should probably do it on the first load of the file, and report malformed a file if that's the case.
Right! We should fix it indeed. It's unrelated to this PR though, so we should probably turn this into an issue and look into implementing a fix.
I believe name conflicts should not be a thing. We can fix it by fixing #200.
I guess this would be fixed by implementing a proper lock? |
yeah, having a proper operator lock definitely helps. But I also feel that having a single promise delegate for all operators might be a bottleneck. Using a dict of promise delegates and sending the delegate id back and forth between the worker and the main view model can work? In the end we only need to resolve the correct promise from worker's response |
Oh I see. I'll have a look at that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🚀
Wait before merging I'll check to use the dry run in the object properties panel too :) |
25f086b
to
69a5124
Compare
@trungleduc Ready for review! |
Co-authored-by: Duc Trung Le <leductrungxf@gmail.com>
Thanks @martinRenou |
🎉 that is pretty great! |
Fix #343
Screencast.from.2024-06-04.12-43-14.mp4