View Single Post
Old 08-08-2013, 10:48 AM   #592
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
[QUOTE=jgoguen;2589223]

Interesting... I'll try removing the plugin and re-adding it. As it stands right now, it works fine for me. Which __init__.py did you add? Did you add the empty one that's there or did you rename conversion_init.py to __init__.py and then add a non-empty __init__.py?[/QUOTE}

I renamed the conversion one (it took a few tries before I realised that there were double underscores on each side of "init") - the contents I now have in my zip file for installation is :

Code:
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai

__license__ = 'GPL v3'
__copyright__ = '2013, Joel Goguen <jgoguen@jgoguen.ca>'
__docformat__ = 'markdown en'

from calibre_plugins.kobotouch_extended.conversion.kepub_output import KEPubOutput

Both the one built from the Github zip and the attachment appear to be the same in this respect (and they both gave the same error).

I see there is a zero byte __init__.py in the conversion folder but perhaps that is normal.

Quote:
Actually the SQL folder should be gone. It shouldn't get added to any ZIP files, it shouldn't be in the attached ZIP files, and I should have deleted it from the Git repo
.

A naive question from someone who doesn't really understand Git and similar but does the SQL stay in the repo in case you need to roll-back to a previous version ? When I built my copy I left the sql out as your recipe didn't call for it and AIUI it was used for manipulating tiles, not something needed in a conversion utility.

BobC
BobC is offline   Reply With Quote