View Single Post
Old 03-26-2019, 10:21 PM   #8
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
I did have a look at this last night, but ran out of time.

The problem I saw was that the import were not finding the modules. The times I have done something like this, I needed to prefix the included module name with the plugins details. An example I have is:

Code:
import calibre_plugins.goodreads_sync.httplib2 as httplib2
This is inside another module in the package.

I made this change for a few of the statements, but, didn't have time to do all.

Unfortunately, that would mean going through all those modules and changing the import statements. There might be a better way with a load library statement or using relative paths, but, I haven't experimented.
davidfor is offline   Reply With Quote