size==1 Too many writes to wake-up pipe?

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Ruro
Experienced Solver
Experienced Solver
Posts: 70
Joined: Wed May 23, 2007 2:20 pm
Location: Verona, Italy

Re: size==1 Too many writes to wake-up pipe?

Post by Ruro » Tue Jul 07, 2020 7:44 am

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.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 4258
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: size==1 Too many writes to wake-up pipe?

Post by ONEEYEMAN » Tue Jul 07, 2020 1:35 pm

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.

Ruro
Experienced Solver
Experienced Solver
Posts: 70
Joined: Wed May 23, 2007 2:20 pm
Location: Verona, Italy

Re: size==1 Too many writes to wake-up pipe?

Post by Ruro » Wed Jul 08, 2020 9:34 am

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.

Post Reply