View Single Post
Old 12-19-2023, 07:39 AM   #1
sgmoore
Connoisseur
sgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfoldedsgmoore reads XML... blindfolded
 
Posts: 59
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?
sgmoore is offline   Reply With Quote