View Single Post
Old 01-25-2018, 04:28 AM   #293
Maui
Connoisseur
Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.Maui ought to be getting tired of karma fortunes by now.
 
Maui's Avatar
 
Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
Hi,

yesterday i tried to make use of my first own sigil plugin. I'm a python beginner and the only purpose of learning python is to devekol a sigil plugin. Yeserday my plugin cashed with this:

bk.readfile(id)

The reason was quite simple: someone deleteted all ttf font files an replaced them by the otf variant for any reason. But in the manifest those ttf entries were still present. So the iterator seems to read the manifest but as the file wasnt present the readfile method failed. Is there any was to capture errors like this to present a more meaningful errormessage to the user instead of getting a dump by the launcher?

M
Maui is offline   Reply With Quote