12-19-2023, 07:39 AM | #1 |
Enthusiast
Posts: 47
Karma: 52636
Join Date: Mar 2021
Device: Kindle Voyage
|
Confused about traceback
I am not a python programmer, but I am trying to tweak some plugins and using the source of calibre and some plugins to try to learn both python and calibre and came across something that puzzled me.
I am running calibre-debug -g and running from source and noticed this message when starting up. [0.56] Constructing main UI... Traceback (most recent call last): File "..\calibre\src\calibre\customize\zipplugin.py ", line 48, in get_resources File "zipfile.py", line 1510, in read File "zipfile.py", line 1547, in open File "zipfile.py", line 1476, in getinfo KeyError: "There is no item named 'commit.txt' in the archive" Why is there no mention of the plugin that calls zipplugin/get_resources ? It took me a while, but I finally found where the message comes from and it only appears when running in debug mode, so I'm not worried about the message, but puzzled that the stacktrace/traceback would be missing, what to me, is the most important bit? Can anyone explain? |
12-19-2023, 08:25 AM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is no guarantee that stack traces must contain the information that humans find most useful. It is simply a trace of what function calls lead up to the unhandled error. Usually, that's enough to track down problems, not always.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
confused | edeyar | Introduce Yourself | 4 | 02-18-2011 08:48 AM |
So confused | yankgirl | Which one should I buy? | 7 | 06-22-2009 10:00 PM |
I'm so confused which to get.. | alilxmas | Which one should I buy? | 4 | 06-16-2009 07:21 PM |
Hello from confused | matopping | Introduce Yourself | 3 | 05-12-2009 12:37 PM |
traceback in 0.4.108 | brewt | Calibre | 5 | 11-29-2008 01:38 AM |