Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2016, 04:33 PM   #46
LittleBiG
Enthusiast
LittleBiG began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Nov 2014
Device: Kobo Aura, Nook STG, Sony PRS-350, Kindle Voyage
Quote:
Originally Posted by jgoguen View Post
OK, maybe my tests are missing a code path. Can you tell me what you're doing, step by step, and I'll make sure to follow your steps?
I don't think I am doing any special.

I am using the Calibre portable 2.50.1. Then I choose a book, then click on the "Save single format to disk..." of the "Save to disk" toolbar button. I choose kepub, then a folder to write into. I tried also try right-click menu of a book, and Save to disk or send to device. Nothing works well.

Is it possible, that your plugin doesn't work with the portable Calibre?
LittleBiG is offline   Reply With Quote
Advert
Old 02-06-2016, 05:45 PM   #47
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 2071392
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kobo Aura, Kindle Paperwhite 2
It should be fine with portable calibre. More likely it's save to disk, I'm not doing that.
jgoguen is offline   Reply With Quote
Old 02-06-2016, 06:29 PM   #48
LittleBiG
Enthusiast
LittleBiG began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Nov 2014
Device: Kobo Aura, Nook STG, Sony PRS-350, Kindle Voyage
I was not clear enough because I thought Save to disk and Save to device work the same way.

I start at the beginning: I tried out the metadata plugboard in Calibre, and I realized, that the metadata was not written into the kepub file, however, there was no error message shown. I was sick and tired to connect my reader many times, so I decided to continue my tests with the Save to disk instead. That time I got the error message, so I assumed, that this error message was the reason of the missing metadata in kepubs on my Kobo, so I asked for your help here. Then you created the 2.5.4 and I tried that with "Save to disk" again, and i got the second error message.

I realized I forgot to try out the "Send to device". I have just done now, and I have a good news, it is working, the desired title (using metadata plugboard) appeared correctly in my kepubs. So it seems now only the Save to disk is faulty.
LittleBiG is offline   Reply With Quote
Old 02-06-2016, 08:47 PM   #49
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 2071392
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kobo Aura, Kindle Paperwhite 2
Yea, Save to Device is how I tested. I thought they worked the same. I'll add Save to Disk to my testing.
jgoguen is offline   Reply With Quote
Old 02-07-2016, 12:03 PM   #50
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 2071392
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kobo Aura, Kindle Paperwhite 2
OK, new version posted again. This time including Save To Disk testing!
jgoguen is offline   Reply With Quote
Advert
Old 02-08-2016, 04:30 AM   #51
LittleBiG
Enthusiast
LittleBiG began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Nov 2014
Device: Kobo Aura, Nook STG, Sony PRS-350, Kindle Voyage
Thanks! You are awesome! Generally.
LittleBiG is offline   Reply With Quote
Old 04-09-2016, 05:11 PM   #52
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 2071392
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kobo Aura, Kindle Paperwhite 2
There was a bug fixed that prevented this plugin from loading. Unfortunately, because of how plugins are loaded during updates, it's necessary to uninstall and reinstall this plugin to get the update.
jgoguen is offline   Reply With Quote
Old 06-24-2016, 09:47 PM   #53
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,880
Karma: 10034422
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
FYI the plugin zip file is missing from the first post in this thread, which means the calibre automatic plugin indexer wont pick it up.
kovidgoyal is offline   Reply With Quote
Old 06-26-2016, 02:35 AM   #54
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 2071392
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kobo Aura, Kindle Paperwhite 2
Whoops, that must have been a while since I screwed that up. Fixed now, thanks!
jgoguen is offline   Reply With Quote
Old 12-31-2017, 07:39 AM   #55
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: 14,499
Karma: 24597716
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Looks like there is an error in this. I've been trying to help someone with some problems here.. There is a log with some errors:

Code:
Device using plugboard kepub KOBOTOUCHEXTENDED [[u'{series_index:0>2s| | -}{title}', u'title']]
Setting metadata in: The Silence of the Flans at: C:\Users\Trice\AppData\Local\Temp\calibre_vah_7z\q hqzdycaltmpfmt.kepub
Failed to set metadata for the KEPUB format of: 02 -The Silence of the Flans
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 436, in set_file_type_metadata
File "calibre_plugins.kepubmdwriter.metadata.writer ", line 35, in set_metadata
ValueError: Single '}' encountered in format string
Device using plugboard kepub KOBOTOUCHEXTENDED [[u'{series_index:0>2s| | -}{title}', u'title']]
Setting metadata in: Éclair and Present Danger at: C:\Users\Trice\AppData\Local\Temp\calibre_vah_7z\s ahcqscaltmpfmt.kepub
Failed to set metadata for the KEPUB format of: 01 -Éclair and Present Danger
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 436, in set_file_type_metadata
File "calibre_plugins.kepubmdwriter.metadata.writer ", line 35, in set_metadata
ValueError: Single '}' encountered in format string
The line in error is:

Code:
        default_log(
            "KEPUBMetadataWriter::set_metadata - self.__class__={0}}".format(
                self.__class__
            )
        )
With the extra "}" at the end.

Last edited by davidfor; 12-31-2017 at 07:42 AM.
davidfor is offline   Reply With Quote
Old 12-31-2017, 10:08 AM   #56
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 924
Karma: 2071392
Join Date: Jan 2013
Location: San Francisco Bay Area
Device: Kobo Aura, Kindle Paperwhite 2
Well that's fun, looks like I forgot to test everything with a metadata plugboard. New version is up now.
jgoguen is offline   Reply With Quote
Old 12-31-2017, 06:11 PM   #57
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: 14,499
Karma: 24597716
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Thanks. And I'm so glad that I'd never make a mistake like that
davidfor is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Reader Plugin] KePub Metadata Reader jgoguen Plugins 38 02-02-2018 12:56 AM
Regarding using metadata objects in identify method of metadata download plugin api aprekates Development 1 07-06-2014 03:35 AM
Correcting metadata for kepub books GeoffR Kobo Reader 9 03-25-2013 06:06 AM
Bug in epub metadata writer? Invalid attribute role="aut" Man Eating Duck Calibre 3 09-26-2012 09:55 AM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM


All times are GMT -4. The time now is 07:12 PM.


MobileRead.com is a privately owned, operated and funded community.