Closed bwx0 closed 1 day ago
Good find! Thanks for working this out - there are a couple of other changes I'm making to make the code more readable/robust/better at catching errors when setting everything up so I should have it updated by early next week.
You can follow the progress on the branch assigned below.
This should be fixed now - have restructured the media setup generally and made it more robust with clearer errors.
Let me know if you have any further suggestions.
Thanks for addressing the issue! I'll sync my local repo. Actually I'm quite impressed by the detailed error report system!
Thanks! Inexplicable errors 'bug' me, so I have tried (through LLMs at least) to make these as clear with reasonable solutions as possible. Won't catch everything, but for the common ones I think it will help people out. Went so far as to cut a camera cable to see what error would result - turns out it's just an IndexError
.
If you come across an error that would benefit from a decent explanation/solution then raise it as an issue/make a pull request and we can add it to the list!
Description
It seems that OWL is not reading from the video file specified in the
input_file_or_directory
field under the[System]
section of the configuration file.It looks like this behavior might be due to a missing
else
statement on line 293 ofowl.py
.Steps to Reproduce
input_file_or_directory
field e.g.../videos/example.mp4
python owl.py --show-display
Suggested Fix
Add an
else:
statement on line 293 inowl.py
as mentioned above.