Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TimeoutException
#2
The timeout happens when you execute the code at line 132 in Klad2.py. Catch the exception (try..except) and decide what to do about it. If this is fairly rare and you should expect an occasional timeout when asking for web data, you can probably just ignore it. More robust error handling would keep check for multiple consecutive failures, report a communication failure and either quit or fall into some sort of low rate limp mode until communication is reestablished.
Reply


Messages In This Thread
TimeoutException - by julio2000 - Apr-13-2020, 06:10 PM
RE: TimeoutException - by deanhystad - Apr-13-2020, 08:03 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020