-
Notifications
You must be signed in to change notification settings - Fork 309
Closed
Labels
bugA problem, flaw, or broken functionality.A problem, flaw, or broken functionality.
Description
Bug Report
Incorrect Functionality and General Questions
OTIO python lib doesn't behave the same way on windows and mac, regarding dictionaries, which may lead to bugs.
To Reproduce
This is an inconsistent behaviour between OSX and Windows.
I spotted the issue while using OTIO with Blender, and I have no idea about how to reproduce it either way, then it includes other dependencies, sorry for that.
Reproduce (have to be executed on Mac and on Windows, not tested on Linux)
- Download Blender 2.92
- Install OTIO into Blender: you can follow these instructions. Make sure you install
opentimelineio==0.11.0
on windows, else it won't work due to Windows: Import error after pip install #813. - Start Blender with a console.
- Open this blend file (after unzipping): otio_dict_bug.blend.zip
- Run the script in the top left corner
- Look at the console: Results aren't the same in Blender depending on the platform.
That's because on Windows, loaded from file dictionaries are dict
and on Mac they are opentimelineio._otio.AnyDictionary
, which makes Blender not recognize them.
Expected Behavior
Dictionaries must be strictly identical across the platforms, then be dict
on Mac.
Screenshots
Metadata
Metadata
Assignees
Labels
bugA problem, flaw, or broken functionality.A problem, flaw, or broken functionality.