I have been using pywws for many years and it is rock solid.
However, I have recently noticed that the cwop service uploader is regularly timing out, I'm sure the problem is on their end, however the time out causes the service module to crash:
2022-10-07 16:06:23:pywws.service.cwop:timed out
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pywws/service/__init__.py", line 180, in run
OK = self.upload_batch()
File "/usr/local/lib/python3.9/dist-packages/pywws/service/__init__.py", line 406, in upload_batch
with self.session() as session:
File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.9/dist-packages/pywws/service/cwop.py", line 105, in session
session.connect((server, 14580))
socket.timeout: timed out
My question is it possible for pywws to handle a non-responding more gracefully than crashing?
Thanks
Richard