Fix crash when exporting image sequence items#11
Fix crash when exporting image sequence items#11apetrynet merged 8 commits intoOpenTimelineIO:mainfrom
Conversation
|
Seems like the CI needs some updates with regards to the python version matrix. While we deal with that, could you please write tests to make sure new and old behavior works as expected? Also, I know there are some old tickets related to image sequences and the FCP7 adapter in the main OTIO repo (Here's one) for instance |
I guess the old behaviour is, it crashes. Let me look at some test cases, though the change looks fairly harmless.
Ah, I didn't spot those over in the main repo, perhaps this bug should be to stop the crash today, leaving those to add/test full support for image sequences? I didn't realise this adapter was still behind what was added in OTIO for some time. Perhaps I can help out when time.
I have checked files import into NLEs. |
Haha, yeah. Should of been more precise. What I meant, was of course making sure non image sequence behavior still behaves. For instance, I noticed It would be great if you're able to provide a sample output of your work as well. Just add it to the collection of sample data.
That's great! Out of curiosity, how are image sequences represented in the fcp xml? Thank you for work on this! |
I'll come up with a
|
Noticed the |
|
If you pull the latest changes from the main branch, you should unlock the ci. |
Signed-off-by: Peter Targett <peter.targett@gmail.com> Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
Initially check no crash for image sequence. Signed-off-by: Peter Targett <peter.targett@gmail.com> Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
Signed-off-by: Peter Targett <peter.targett@gmail.com> Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
* updated python versions in matrix to align with OTIO core. Python 3.7 is no longer supported by the CI ubuntu runner. --------- Signed-off-by: apetrynet <flehnerheener@gmail.com> Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
This reverts commit b42e001. Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
|
@peter-targett, does the xml file still work as expected in your NLEs after this change? |
It does. |
apetrynet
left a comment
There was a problem hiding this comment.
Hi, @peter-targett
Thanks for bearing with me.
This PR is close to landing. Just have a couple minor descriptive suggestions for our future selves.
Also, could you please add "W-O" to the "Image Sequence Reference" row of the feature matrix in the README.md file?
Signed-off-by: Peter Targett <petert@filmlight.ltd.uk>
apetrynet
left a comment
There was a problem hiding this comment.
This looks good to me.
Thank you very much for your contribution @peter-targett !
|
My original change was relevant, it will still crash for generator and missing reference types; fixed in my repo. |
|
Hmm.. That sounds like a more general issue not necessarily linked to image sequences? Don't any of the previous tests cover these cases? Perhaps further discussion should happen in its own issue as this PR is closed. Better visibility that way. |
image-sequence.otio.zip
Issue assuming
url_pathis set, which is not the case for OTIO image sequences.Adding a simple test resolves the crash so a file can be exported, resulting export can now be imported into supporting NLEs.