Python Forum
exception not caught in my filetopystr.py
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exception not caught in my filetopystr.py
#2
I don't see any error that stands out,

you can try to capture all exceptions just to see what is being thrown

something like:
import sys

        try:
            ...
        except:
            print("Unexpected error:", sys.exc_info()[0])
Reply


Messages In This Thread
RE: exception not caught in my filetopystr.py - by Larz60+ - Dec-29-2016, 07:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  During handling of the above exception, another exception occurred Skaperen 7 27,008 Dec-21-2018, 10:58 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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