View Single Post
Old 03-15-2025, 07:08 AM   #12
sac
Junior Member
sac began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2025
Device: Computer
Calibre is not using QtPy.

Guess the error is somewhere in

__init__.py Imports or config
Code:
    def gui_configuration_widget(self, parent, get_option_by_name, get_option_help, db, book_id=None):
        from calibre_plugins.doc_input.doc_input import PluginWidget
        return PluginWidget(parent, get_option_by_name, get_option_help, db, book_id)
doc_input.py Imports or config
Code:
    def __init__(self, parent, get_option, get_help, db=None, book_id=None):
        self.db = db                # db is set for conversion, but not default preferences
        self.book_id = book_id      # book_id is set for individual conversion, but not bulk

        Widget.__init__(self, parent, ['docx_no_cover', 'wordconv_exe_path'])
        self.initialize_options(get_option, get_help, db, book_id)
Would be awesome if someone can confirm if this is correct.

Last edited by sac; 03-15-2025 at 07:12 AM.
sac is offline   Reply With Quote