adeept / Adeept_PiCar-B_oldversion

Adeept 4WD Smart Robot Car PiCar-B for Raspberry Pi
GNU General Public License v3.0
14 stars 18 forks source link

macOS - QObject::setParent: Cannot set parent #5

Open dragosh opened 4 years ago

dragosh commented 4 years ago

Hi, just purchased one PiCar, I've managed to install the server I use a macOS as client, when i start the python client.py it run the GUI but when I have to input the car ip I get this error:

Connecting to server @ 192.168.1.84:10223...
Connecting
Connected
Video Connected
client.py:66: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
  npimg = np.fromstring(img, dtype=np.uint8)
QObject::setParent: Cannot set parent, new parent is in a different thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
[1]    14865 segmentation fault  python client.py
Screen Shot 2020-01-16 at 10 19 04 PM

Did you guys test it on mac? am I missing something?

vaibhavbangwal commented 4 years ago

Hi, just purchased one PiCar, I've managed to install the server I use a macOS as client, when i start the python client.py it run the GUI but when I have to input the car ip I get this error:

Connecting to server @ 192.168.1.84:10223...
Connecting
Connected
Video Connected
client.py:66: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
  npimg = np.fromstring(img, dtype=np.uint8)
QObject::setParent: Cannot set parent, new parent is in a different thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
[1]    14865 segmentation fault  python client.py
Screen Shot 2020-01-16 at 10 19 04 PM

Did you guys test it on mac? am I missing something?

I am getting the exact same error. Did you find a way to fix it? It works fine on Windows though.