-
Notifications
You must be signed in to change notification settings - Fork 22
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
Crashes if given an OTIOZ #79
Comments
At bare minimum, it should report a better error message and exit without crashing. Of course, it would be even better, if it could read the OTIO inside the OTIOZ. |
I know the OTIO Python API can open OTIOZ files but am I right in thinking the cpp API can't? Is that something that needs to be added there or would you rather it was implemented in Raven? |
There was some recent discussion on this topic here: https://academysoftwarefdn.slack.com/archives/CMQ9J4BQC/p1729878665473649 It would be great if the core OTIO C++ SDK had support for OTIOZ, but it currently doesn't. Maybe we could implement this in Raven just to see what minimal API is needed, and then port that into the OTIO core? From the Slack thread linked above, it seems like there are several candidates for which ZIP archive library to use. |
Thanks for the link, as you say there seems to be various options. Given OCIO uses minizip-ng that would seem a sensible place to start? I suppose Raven would only want to extract the OTIO file and avoid having to extract the entire archive, whereas OTIO itself would maybe want two finctions, Some possibly useful links for reference: OCIO zip implementation |
You're right that Raven only needs to read the Here's a first attempt: #85 @ThomasWilshaw I'd love a code review and/or testing of that PR if you've got the time. |
Fixed in #85 |
If you launch raven with an OTIOZ, it crashes.
The text was updated successfully, but these errors were encountered: