Skip to content

video link not working the rpi5 and gs module #131

@snowrodeo

Description

@snowrodeo

I tried different resolutions, but they all return the same error.

GET /video_feed_0 HTTP/1.1" 500 -
INFO:werkzeug:192.168.40.52 - - [28/Aug/2025 13:55:05] "GET /video_feed_0 HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 335, in run_wsgi
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 324, in execute
for data in application_iter:
File "/usr/lib/python3/dist-packages/werkzeug/wsgi.py", line 500, in next
return self._next()
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/werkzeug/wrappers/response.py", line 50, in _iter_encoded
for item in iterable:
File "/home/erik/sandbox/camui/picamera2-WebUI/app.py", line 756, in generate_stream
print(f"\U0001f504 Resolution change detected: {last_resolution} \u2192 {expected_resolution}")
UnicodeEncodeError: 'latin-1' codec can't encode character '\U0001f504' in position 0: ordinal not in range(256)
ERROR:werkzeug:Error on request:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 335, in run_wsgi
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 324, in execute
for data in application_iter:
File "/usr/lib/python3/dist-packages/werkzeug/wsgi.py", line 500, in next
return self._next()
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/werkzeug/wrappers/response.py", line 50, in _iter_encoded
for item in iterable:
File "/home/erik/sandbox/camui/picamera2-WebUI/app.py", line 756, in generate_stream
print(f"\U0001f504 Resolution change detected: {last_resolution} \u2192 {expected_resolution}")
UnicodeEncodeError: 'latin-1' codec can't encode character '\U0001f504' in position 0: ordinal not in range(256)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions