Skip to content
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

Exceptions in log #5

Open
BiloxiGeek opened this issue Nov 19, 2023 · 0 comments
Open

Exceptions in log #5

BiloxiGeek opened this issue Nov 19, 2023 · 0 comments

Comments

@BiloxiGeek
Copy link

I installed webcamd from the master.zip file on Rocky Linux 8.8 system.
My usb cam from lsusb: Bus 001 Device 002: ID 1bcf:28c4 Sunplus Innovation Technology Inc.
"v4l2-ctl --list-devices" shows:
1080P Webcam: 1080P Webcam (usb-0000:00:15.0-2):
/dev/video0
/dev/video1

The stream is working, I have it embedded in an Octoprint setup. I do see these exceptions popping up in /var/log/messages. At first I thought it was anytime I switched over to the browser tab where octoprint has the stream showing, but it seems more random now.

Nov 19 05:41:44 rocky webcamd[301193]: Exception occurred during processing of request from ('10.10.10.1', 52522)
Nov 19 05:41:44 rocky webcamd[301193]: Traceback (most recent call last):
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/local/lib/python3.9/site-packages/webcamd/main.py", line 30, in do_GET
Nov 19 05:41:44 rocky webcamd[301193]: self.wfile.write(b'--jpgboundary\n')
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 826, in write
Nov 19 05:41:44 rocky webcamd[301193]: self._sock.sendall(b)
Nov 19 05:41:44 rocky webcamd[301193]: BrokenPipeError: [Errno 32] Broken pipe
Nov 19 05:41:44 rocky webcamd[301193]: During handling of the above exception, another exception occurred:
Nov 19 05:41:44 rocky webcamd[301193]: Traceback (most recent call last):
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 683, in process_request_thread
Nov 19 05:41:44 rocky webcamd[301193]: self.finish_request(request, client_address)
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 360, in finish_request
Nov 19 05:41:44 rocky webcamd[301193]: self.RequestHandlerClass(request, client_address, self)
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/socketserver.py", line 747, in init
Nov 19 05:41:44 rocky webcamd[301193]: self.handle()
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/http/server.py", line 433, in handle
Nov 19 05:41:44 rocky webcamd[301193]: self.handle_one_request()
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/lib64/python3.9/http/server.py", line 421, in handle_one_request
Nov 19 05:41:44 rocky webcamd[301193]: method()
Nov 19 05:41:44 rocky webcamd[301193]: File "/usr/local/lib/python3.9/site-packages/webcamd/main.py", line 36, in do_GET
Nov 19 05:41:44 rocky webcamd[301193]: except KeyboardInterrupt | BrokenPipeError:
Nov 19 05:41:44 rocky webcamd[301193]: TypeError: unsupported operand type(s) for |: 'type' and 'type'
Nov 19 05:41:44 rocky webcamd[301193]: ----------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant