Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
socket loop problem
#2
don't use general, all-catch 'except.
this will prevent from showing what error is. You should be specific which error you expect and want to handle. At the moment you mask what the error is and make it impossible to resolve the problem.
while developing remove the try except and see what error you get. If you need help in resolving that specific error - post full traceback in error tags.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
socket loop problem - by monamour - Nov-27-2019, 09:16 AM
RE: socket loop problem - by buran - Nov-27-2019, 09:46 AM
RE: socket loop problem - by monamour - Nov-27-2019, 10:12 AM
RE: socket loop problem - by buran - Nov-27-2019, 10:59 AM
RE: socket loop problem - by monamour - Nov-27-2019, 11:27 AM
RE: socket loop problem - by buran - Nov-27-2019, 11:40 AM
RE: socket loop problem - by monamour - Nov-28-2019, 04:49 AM
RE: socket loop problem - by buran - Nov-28-2019, 07:23 AM
RE: socket loop problem - by monamour - Nov-28-2019, 08:31 AM
RE: socket loop problem - by buran - Nov-28-2019, 12:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Socket server problem H84Gabor 0 1,283 Jun-21-2022, 12:14 AM
Last Post: H84Gabor
  socket without blocking loop and automatically retrieve data from the port RubenP 3 3,646 Jun-21-2020, 10:59 PM
Last Post: Gribouillis
  problem in socket Mamad 2 2,426 Nov-10-2019, 11:44 AM
Last Post: j.crater
  socket problem technoplusnl 2 12,930 Dec-11-2016, 07:33 PM
Last Post: technoplusnl

Forum Jump:

User Panel Messages

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