View Single Post
Old 01-04-2020, 03:30 AM   #1355
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
Quote:
Originally Posted by bidou.bidou View Post
Hi

I was an happy user of modify epub, but Linux distributions are switching to python3 calibre.
And the plugin does not works on python3. I know precompiled version of calibre is python2 but linux distributions make their own packages (and python2 is unsupported).

I have tried to modify the plugin, to works on python3 but I am not sure it is the best way.

http://dl.free.fr/bSU9v0Uaf

Are you interested in converting your plugin to python3 ?
(I think it would be possible to make a plugin compatible with python2.7 and 3)
The short answer: It is recommended that you use the official release of calibre rather than the distro version. The reason, because they break things when they package it. As you can see.

The long answer is that porting calibre to Python 3 is underway. And plugins are discussed here. The Python 3 version won't be released for a while, so plugins are being ported as the author/maintainer has time. Anyone who wants to help is welcome to.
davidfor is offline   Reply With Quote