View Single Post
Old 07-11-2022, 10:27 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
And the problem is in the plugin Clean Comments. That has:
Code:
    def build_menus(self):
        m = self.menu
        m.clear()

        candidate = self.gui.library_path
        db = LibraryDatabase (candidate)
I don't know why it is doing that as it doesn't actually use the database in that, or the other method. Where it does use the database, it connects to it properly.

Removing the last two lines, plus the similar ones elsewhere, fixes the problem.

And I have posted a fixed version in the plugins thread.

Last edited by davidfor; 07-11-2022 at 10:41 PM.
davidfor is offline   Reply With Quote