View: 157|Reply: 1

PiCar B GUI not working properly

[Copy link]

1

Threads

1

Posts

9

Credits

Newbie

Rank: 1

Credits
9
Post time 2020-5-8 19:30:47 | Show all posts |Read mode

Using MAC OS: I run python3 GUI.py, enter correct IP and hit connect then get the following error [1] in terminal

The GUI server and motor buttons are working (forwards, backwards, left, right and head controls) - the camera is not working and neither are the keybaord controls

[1]
[backcolor=rgba(0, 0, 0, 0.78)]Exception in thread Thread-2:
[backcolor=rgba(0, 0, 0, 0.78)]Traceback (most recent call last):
[backcolor=rgba(0, 0, 0, 0.78)]  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 926, in _bootstrap_inner
[backcolor=rgba(0, 0, 0, 0.78)]    self.run()
[backcolor=rgba(0, 0, 0, 0.78)]  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 870, in run
[backcolor=rgba(0, 0, 0, 0.78)]    self._target(*self._args, **self._kwargs)
[backcolor=rgba(0, 0, 0, 0.78)]  File "GUI.py", line 82, in video_thread
[backcolor=rgba(0, 0, 0, 0.78)]    footage_socket.bind('tcp://*:5555')
[backcolor=rgba(0, 0, 0, 0.78)]  File "zmq/backend/cython/socket.pyx", line 550, in zmq.backend.cython.socket.Socket.bind
[backcolor=rgba(0, 0, 0, 0.78)]  File "zmq/backend/cython/checkrc.pxd", line 26, in zmq.backend.cython.checkrc._check_rc
[backcolor=rgba(0, 0, 0, 0.78)]zmq.error.ZMQError: Address already in use


Reply

Use magic Report

0

Threads

6

Posts

57

Credits

Registered member

Rank: 2

Credits
57
Post time 2020-5-9 14:47:42 | Show all posts
In some cases the TCP port 5555 is already in use by another process, so u have to stop this process or change the port in server/client to another, e.g. 6666
DarkPaw (modded)
MyRepo
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules