AcademySoftwareFoundation / AcademySoftwareFoundation/OpenTimelineIO
Unable to use otioviewer in 0.17.0
- Dominant language
- C++
- Stars
- 2k
- Forks
- 351
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 1
Description
# Required:
------------
[x] I believe this isn't a duplicate topic
[x] This report is not related to an adapter
## Select One:
[x] Incorrect Functionality or bug
## Description
Only in OpenTimelineIO 0.17.0
I wanted to try out the otio viewer.
I followed the instructions from the [quickstart guide](https://opentimelineio.readthedocs.io/en/latest/tutorials/quickstart.html)
When I ran the `otioview eld_file.edl` command, the terimal hang for a solid second and returned to normal state without any error / feedback.
I tried to run `otioview -h` but this had the exact same *error* behavior as running the previous command.
I tried the same with otiostat by running the following command `otiostat -h`. This did return usage info, as did this command with the other available executables. This issue seems to be isolated to the otioview executable.
I had a look on the Slack channel and found a [thread](https://academysoftwarefdn.slack.com/archives/CKAH4EU4Q/p1676670584179529) in which @JeanChristopheMorinPerso detailed that the exe is just a wrapper for the following command `python -c 'import opentimelineview.console; opentimelineview.console.main()'`. I opened a python session and tried to run the two commands but the interpeter crashed and exited after running the import command.

I tried the same steps on a seperate machine with the same python version and had the same issue, and on a third machine who had python 3.10.11 installed, also resulting in the same issues.
I tried this with both OpenTimelineIO and OpenTimelineIO-Plugins packages, Both have the same behaviour.
I downgraded to 0.16 and this resolved the issues I had.
# Optional
-----------
## Environment
Operating System: Windows 11
Python version if appropriate: 3.9.7 and 3.10.11
Contributor guide
Research direction
Start by reproducing `otioview -h` and `python -c 'import opentimelineview.console; opentimelineview.console.main()'` on Windows with Python 3.9.7 or 3.10.11, then compare behavior between OpenTimelineIO 0.16 and 0.17. Done means the import no longer crashes and `otioview -h` returns usage information while the viewer command provides feedback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100