|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 642206
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? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,617
Karma: 28549044
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 09:48 AM |
| So confused | yankgirl | Which one should I buy? | 7 | 06-22-2009 11:00 PM |
| I'm so confused which to get.. | alilxmas | Which one should I buy? | 4 | 06-16-2009 08:21 PM |
| Hello from confused | matopping | Introduce Yourself | 3 | 05-12-2009 01:37 PM |
| traceback in 0.4.108 | brewt | Calibre | 5 | 11-29-2008 02:38 AM |