Hi ONEEYEMAN,
the script are python 3 one, with a HTTPS GET request to the device. It is just python, I write the result of the get in a file, and when the script end without error, i parse the file in the wxwidgets app.
The script is the same for all the device, but I change the get request to match the device requirement.
I'm polling the devices to get the status from them, and then verify if the system is in a good status after parsing the responses.
I can launch the script single time, but the query become 30x slower, so on performance would be much slower.
Thanks you for your time,
Nicola.
size==1 Too many writes to wake-up pipe?
Re: size==1 Too many writes to wake-up pipe?
Hi,
But when you launch it as only one you dont have any errors correct?
Try to put couple of prints inside the script around writing the file and sending the GET.
You need to isolate this issue....
Thank you.
But when you launch it as only one you dont have any errors correct?
Try to put couple of prints inside the script around writing the file and sending the GET.
You need to isolate this issue....
Thank you.
Re: size==1 Too many writes to wake-up pipe?
Hi ONEEYEMAN,
To debug the error, I run the wx app by shell, so I can see the error message from the scripts.
Sometimes the remote devices are not reachable or the connection goes in timeout, but I try except the errors.
I will search if there are some issues in the running scripts.
Thanks for your time.
Nicola.
To debug the error, I run the wx app by shell, so I can see the error message from the scripts.
Sometimes the remote devices are not reachable or the connection goes in timeout, but I try except the errors.
I will search if there are some issues in the running scripts.
Thanks for your time.
Nicola.