View Single Post
Old 05-28-2025, 10:32 AM   #15
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DiapDealer View Post
I'm pretty sure Windows still does, but I'll double-check to be sure.
The way the PluginApplication handles translations is really nice anyway, so keeping the light version is useful in and of itself.

But the light version generates the following error message due to a slight dropped import of qVersion.

Code:
  File "/Users/kbhend/Library/Application Support/sigil-ebook/sigil/plugins/FolderIn/plugin_utils_light.py", line 41, in <module>
    PLUGIN_QT_MAJOR_VERSION = tuple(map(int, (qVersion().split("."))))[0]
                                              ^^^^^^^^
NameError: name 'qVersion' is not defined
Error: name 'qVersion' is not defined
which can be fixed by preceding qVersion() with "QtCore.". I made that change to my copy and it seems to all work just fine.

Last edited by KevinH; 05-28-2025 at 11:14 AM.
KevinH is offline   Reply With Quote