Closed rodja closed 2 months ago
I fixed the issue in https://github.com/zauberzeug/nicegui/pull/2234. But instead of doing the same in RoSys I would rather like we implement #43.
Explanation: pynma2 has a ParseError
taking two arguments derived from ValueError
which has only one argument. It seems that pickling/unpickling these configurations break the ProcessPool.
When using pynmea2 to parse GNSS messages, we experienced a severe problem.
This code breaks the process pool:
We could circumvent it by not using
run.cpu_bound
for the parsing. I could not reproduce it in tests, but the combination ofrun.cpu_bound
andpynma2.parse
also resulted in random shutdowns of RoSys.