-
Notifications
You must be signed in to change notification settings - Fork 80
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
Issue starting with 0.1.17 #168
Comments
Thank you for reporting. Found the issue and currently doing test on fix. Fix will be in v0.1.19 most likely released today. |
You da man @ehendrix23, appreciate the quick response! Dan |
Problem is when there is no events.json file within the folder. Deleted a events.json file in one of my test folders allowing me to reproduce and test the fix. |
Awesome thanks for the update @ehendrix23. Dan |
when there is no events.json file (#168)
Fix is in 0.1.19. Closing issue, re-open or create a new issue if same problem still occurs. |
Using the same set of video files in a given directory I have no issues w/ 0.1.16 however with every version since 0.1.17 I get the following errors:
root@tesla-dashcam-encoder:~# time tesla_dashcam --layout DIAMOND --scale 1 --quality HIGH --compression ultrafast --encoding x265 --set_moviefile_timestamp RENDER --output ${DATE}_diamond_1_high_ultrafast_x265.mp4 /root/TeslaCam/
Scanning 1 folder(s)
There are 1 event folder(s) with 7 clips to process.
Processing 7 clips in folder /root/TeslaCam/ (1/1)
Processing clip 1/7 from 12/19/19 11:44:07 and 59 seconds long.
Traceback (most recent call last):
File "/usr/local/bin/tesla_dashcam", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/tesla_dashcam/tesla_dashcam.py", line 4500, in main
process_folders(
File "/usr/local/lib/python3.8/dist-packages/tesla_dashcam/tesla_dashcam.py", line 2770, in process_folders
if create_intermediate_movie(
File "/usr/local/lib/python3.8/dist-packages/tesla_dashcam/tesla_dashcam.py", line 2059, in create_intermediate_movie
if event_info.metadata["reason"] == "SENTRY"
TypeError: 'NoneType' object is not subscriptable
Any ideas?
The text was updated successfully, but these errors were encountered: