Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling Python Fatal Error
#1
Hello,

I have been trying to handle errors in my python code using try & except, but this is not able to handle refcount error which causes my application to crash.

The error I get is:

Fatal Python error: deallocating None

Current thread 0x00007f93428bb700 (most recent call first):
<Stack Trace which is not helping>


How can I handle this kind of error? Or how to identify the root cause for this?

Any help will be appreciated. Thanks.
Larz60+ write Feb-10-2021, 06:29 PM:
Duplicate posts are against forum rules. Please post only one thread, and add posts to that thread if related
Reply


Messages In This Thread
Handling Python Fatal Error - by richajain1785 - Feb-10-2021, 04:06 PM
RE: Handling Python Fatal Error - by Larz60+ - Feb-10-2021, 06:25 PM
RE: Handling Python Fatal Error - by richajain1785 - Feb-11-2021, 08:51 AM
RE: Handling Python Fatal Error - by Larz60+ - Feb-11-2021, 09:55 AM
RE: Handling Python Fatal Error - by richajain1785 - Feb-11-2021, 11:12 AM
RE: Handling Python Fatal Error - by Larz60+ - Feb-11-2021, 10:24 PM
RE: Handling Python Fatal Error - by nilamo - Feb-12-2021, 04:58 PM
RE: Handling Python Fatal Error - by Tails86 - Oct-14-2021, 01:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star python exception handling handling .... with traceback mg24 3 1,289 Nov-09-2022, 07:29 PM
Last Post: Gribouillis
  Help needed with a "for loop" + error handling tamiri 2 2,533 May-27-2022, 12:21 PM
Last Post: tamiri
  Handling pdf files with python. fuzzin 1 1,270 Jan-19-2022, 02:24 PM
Last Post: ThiefOfTime
  Handling multi-input/output audio in python bor1904 4 3,607 Nov-04-2020, 08:25 AM
Last Post: CHLOVRL
  Fatal error after trying to play sound. giladal 0 1,941 Oct-22-2020, 10:27 AM
Last Post: giladal
  Error Handling JarredAwesome 5 2,949 Oct-17-2020, 12:41 AM
Last Post: JarredAwesome
  Python Requests package: Handling xml response soumyarani 1 2,176 Sep-14-2020, 11:41 AM
Last Post: buran
  Fatal python error, need help ryanmagid 0 2,384 Aug-09-2020, 05:51 PM
Last Post: ryanmagid
  Handling Multiple USB ports in Python samalpramod 0 4,445 Aug-01-2020, 07:40 PM
Last Post: samalpramod
  Error handling using cmd module leifeng 3 2,904 Jun-06-2020, 06:25 PM
Last Post: leifeng

Forum Jump:

User Panel Messages

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