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

Python error starting up BOA server #504

Closed
stevenwbuehler opened this issue Aug 11, 2022 · 1 comment
Closed

Python error starting up BOA server #504

stevenwbuehler opened this issue Aug 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@stevenwbuehler
Copy link

I get the following when passing the ENABLE_BOA option to a Docker version of wyze-bridge on a Raspberry Pi 4. (Configuration below message):

2022/08/11 17:09:12 [Printer Cam] starting boa server
Exception in thread PRINTER-CAM_BOA:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/app/wyze_bridge.py", line 1080, in camera_boa
    cmd = camera_cmd.get(timeout=interval)
  File "/usr/local/lib/python3.10/multiprocessing/queues.py", line 107, in get
    deadline = time.monotonic() + timeout
TypeError: unsupported operand type(s) for +: 'float' and 'str'

Raspberry Pi 4B running Raspberry Pi OS 64-bit Bullseye

@mrlt8
Copy link
Owner

mrlt8 commented Aug 12, 2022

Thanks for the report. Looks like an issue with BOA_INTERVAL will be pushing a fix for this!

Removing BOA_INTERVAL should temporarily fix the issue.

@mrlt8 mrlt8 added the bug Something isn't working label Aug 12, 2022
mrlt8 added a commit that referenced this issue Aug 12, 2022
mrlt8 added a commit that referenced this issue Aug 14, 2022
* Add individual camera api endpoints #436 #494

* Use updated camera data

* use name_uri instead of nickname

* icon/color based on status/on-demand #498

* Fix boa_interval style #504

* Server side event for camera status

* Update camera status icon color

* Update compatibility table

* Fix restarting connections #391

* Prevent camera from wrongly timing out #391 #484

* kill zombies?

* More verbose http exceptions #505

* Update preview button for all non-HLS

* Load preview on connection and message on lost connection

* copy dictionary

* version bump

* update preview when connected to camera
@mrlt8 mrlt8 closed this as completed Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants