Bonjour Dominique !
I have a problem with your software connecting the 2 devices.
Installed everything as you described.
PC: Win7 start telecineapplication.py with 1 warning (or error?)
Started on Raspberry:
pi@raspberrypi:~ $ sudo pigpiod
pi@raspberrypi:~ $ python3 Controller.py
Then after fill in of the ip-adres of the raspberry, click on connect.
Se error below.
Strange that it is the statement before the one you commented out.
After the second click the Raspberry side cancelled, see below.
(maybe a empty message ?)
Sorry, but I can't figure out what went wrong.
A bit of help is appreciated, I know how to program.
Thank you !
C:\FILM_DIGITALISEREN\yart-master\GUIControl>python telecineapplication.py
Object arrays cannot be loaded when allow_pickle=False
This was state when started and no click on connect was done
first time click on connect
<class 'AttributeError'>
module 'cv2.cv2' has no attribute 'xphoto'
<traceback object at 0x0491A3F0>
Traceback (most recent call last):
File "telecineapplication.py", line 559, in connectDisconnect
self.connect()
File "telecineapplication.py", line 570, in connect
self.imageThread = ImageThread(self.ip_pi)
File "C:\FILM_DIGITALISEREN\yart-master\GUIControl\ImageThread.py", line 39, i
n __init__
self.simpleWB = cv2.xphoto.createSimpleWB()
AttributeError: module 'cv2.cv2' has no attribute 'xphoto'
2nd time click on connect
<class 'AttributeError'>
module 'cv2.cv2' has no attribute 'xphoto'
<traceback object at 0x0491A4B8>
Traceback (most recent call last):
File "telecineapplication.py", line 559, in connectDisconnect
self.connect()
File "telecineapplication.py", line 570, in connect
self.imageThread = ImageThread(self.ip_pi)
File "C:\FILM_DIGITALISEREN\yart-master\GUIControl\ImageThread.py", line 39, i
n __init__
self.simpleWB = cv2.xphoto.createSimpleWB()
AttributeError: module 'cv2.cv2' has no attribute 'xphoto'
finally
=============
Raspberry side
pi@raspberrypi:~ $ sudo pigpiod
pi@raspberrypi:~ $ python3 Controller.py
Command sock connected
This was state after first click connect
Then after second click connect:
Image sock connected
SendImageThread started
SendImageThread terminated
Stop
Traceback (most recent call last):
File "Controller.py", line 412, in <module>
request = commandSock.receiveObject()
File "/home/pi/MessageSocket.py", line 72, in receiveObject
s = self.receiveString()
File "/home/pi/MessageSocket.py", line 60, in receiveString
return self.receiveMsg().decode()
AttributeError: 'NoneType' object has no attribute 'decode'