View Single Post
Old 12-03-2022, 04:56 PM   #8
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Looking at the zip file, your plugin does not have an import name. You create an import name by creating an empty text file in the root of your plugin with the following name:

Code:
plugin-import-name-ao3_tagger.txt
You can change the part highlighted in blue, so long as you stick to only including letters, numbers and underscores.

Quote:
Originally Posted by SylvanKnight View Post

I call it like

Code:
from PyPDF2 import PdfReader

After adding the import name as explained above, you should modify the import statement to include your import name as follows:

Code:
from calibre_plguins.ao3_tagger.PyPDF2 import PdfReader
Note: I have not tested whether the above instructions work with your plugin. Will leave that to you.
capink is offline   Reply With Quote