Closed Sloth-on-meth closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
FWIW I've started seeing this message too. I haven't (yet) worked out what's causing it but will update here if I do - for posterity.
Same here and recording is not working.
I configured recording like german timestamp as I'm from europe but the error still appearing:
Exception in thread recording_maint:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/opt/frigate/frigate/record.py", line 154, in run
self.move_files()
File "/opt/frigate/frigate/record.py", line 75, in move_files
start_time = datetime.datetime.strptime(date, "%Y%m%d%H%M%S")
File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data '%Y%m%d%H%M%S' does not match format '%Y%m%d%H%M%S'
Exception in thread recording_cleanup:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/opt/frigate/frigate/record.py", line 328, in run
self.expire_files()
File "/opt/frigate/frigate/record.py", line 298, in expire_files
oldest_timestamp = p.stat().st_mtime - 1
File "/usr/lib/python3.8/pathlib.py", line 1198, in stat
return self._accessor.stat(self)
FileNotFoundError: [Errno 2] No such file or directory: '/media/frigate/recordings/2021-10/25/17/porta/22.00.mp4'
Timestamp config:
timestamp_style:
# Optional: Position of the timestamp (default: shown below)
# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
position: "tl"
# Optional: Format specifier conform to the Python package "datetime" (default: shown below)
# Additional Examples:
# german: "%d.%m.%Y %H:%M:%S"
#format: "%m/%d/%Y %H:%M:%S"
format: "%d/%m/%Y %H:%M:%S"
# Optional: Color of font
color:
# All Required when color is specified (default: shown below)
red: 255
green: 255
blue: 255
# Optional: Line thickness of font (default: shown below)
thickness: 2
# Optional: Effect of lettering (default: shown below)
# None (No effect),
# "solid" (solid background in inverse color of font)
# "shadow" (shadow for font)
#effect: None
Camera: Reolink E1 Zoom frigate: Frigate (0.9.2-25bb515) S.O: Docker version in Unraid S.O ( linux )
Describe the bug I get a python error when running frigate.
Version of frigate Output from
/api/version
0.8.4-5043040Config file Include your full config file wrapped in triple back ticks.
Frigate container logs
Frigate stats
FFprobe from your camera
Run the following command and paste output below
Screenshots
Computer Hardware
Camera Info: not sure how applicable, happens with multiple, but alas