Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 11-01-2011, 09:27 PM   #1351
apostrophistica
Junior Member
apostrophistica began at the beginning.
 
apostrophistica's Avatar
 
Posts: 8
Karma: 10
Join Date: Sep 2011
Device: Kindle
Thank you, meme! It showed up as a plugin update, and I'm installing it now.

*ETA* The update fixed the problem I was having! Thanks!

Last edited by apostrophistica; 11-01-2011 at 10:55 PM.
apostrophistica is offline  
Old 11-02-2011, 09:32 AM   #1352
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by meme View Post

This is mainly the latest in a few test releases of minor bug fixes for specific cases, but also includes support for comic and audio books.
Cannot wait until I get my new Touch so I can try out with my audiobooks.

Quote:
Originally Posted by meme View Post
Amazingly, it looks like the 1.7.0 version of the plugin has been downloaded over 40,000 times
Goes to show this is a much needed plugin, kudos to you for all your time and hard work.
nynaevelan is offline  
Advert
Old 11-03-2011, 04:35 PM   #1353
kamados
Junior Member
kamados began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2010
Device: Kobo Touch, Kindle 4
I am seeing the same message as HARPANGEL36 when I try to change fonts on my Kindle NT with SO. I am shown what files are missing, but I followed the instructions correctly and renamed the fonts as described, yet for some reason it is not being recognized. Please help.
kamados is offline  
Old 11-03-2011, 04:41 PM   #1354
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by kamados View Post
I am seeing the same message as HARPANGEL36 when I try to change fonts on my Kindle NT with SO. I am shown what files are missing, but I followed the instructions correctly and renamed the fonts as described, yet for some reason it is not being recognized. Please help.
What is the exact message you are seeing?

Can you list out the fonts directory on your Kindle?
meme is offline  
Old 11-03-2011, 04:41 PM   #1355
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by nynaevelan View Post
Goes to show this is a much needed plugin, kudos to you for all your time and hard work.
Thanks
meme is offline  
Advert
Old 11-03-2011, 04:42 PM   #1356
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by apostrophistica View Post
Thank you, meme! It showed up as a plugin update, and I'm installing it now.

*ETA* The update fixed the problem I was having! Thanks!
You're welcome. Thanks for letting me know it works ok now.
meme is offline  
Old 11-04-2011, 05:14 PM   #1357
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Oops, the latest update triggers some more encoding breakage in calibre-debug on my crappy ISO-8859-15 system...

Code:
2011/11/04 20:59:09  Job _create_collections_completed
'charmap' codec can't encode character u'\u2019' in position 56: character maps to <undefined>

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 81, in run
    self.result = self.func(*self.args, **self.kwargs)
  File "calibre_plugins.kindle_collections.create_preview", line 43, in create
  File "calibre_plugins.kindle_collections.calibre_info", line 196, in load_column_book_info
  File "calibre_plugins.kindle_collections.utilities", line 31, in debug_print
  File "/usr/lib/python2.7/encodings/iso8859_15.py", line 12, in encode
    return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2019' in position 56: character maps to <undefined>

Job: 4 Create Kindle Collections finished
'charmap' codec can't encode character u'\u2019' in position 56: character maps to <undefined>

        Traceback (most recent call last):
          File "/usr/lib/calibre/calibre/gui2/device.py", line 81, in run
            self.result = self.func(*self.args, **self.kwargs)
          File "calibre_plugins.kindle_collections.create_preview", line 43, in create
          File "calibre_plugins.kindle_collections.calibre_info", line 196, in load_column_book_info
          File "calibre_plugins.kindle_collections.utilities", line 31, in debug_print
          File "/usr/lib/python2.7/encodings/iso8859_15.py", line 12, in encode
            return codecs.charmap_encode(input,errors,encoding_table)
        UnicodeEncodeError: 'charmap' codec can't encode character u'\u2019' in position 56: character maps to <undefined>
(AFAIR, this kind of thing might have already been happening with the previous version, in debug mode. It still doesn't trigger anything in the GUI when not running in debug though).

Killing the only UTF-8 smartquote I could find (in a book title) 'fixed' these two warnings.

Also, and that's new and a bigger inconvenience, this happens after trying to create collections from calibre, after the 'Create Kindle Collections' job finishes:

Code:
DeviceJob: 5 Get list of books on device done, calling callback
DeviceJob: 5 Get list of books on device callback returned
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 315, in dispatch
    self.func(*args, **kwargs)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 834, in metadata_downloaded
    self.set_books_in_library(job.result, reset=True, add_as_step_to_job=job)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 1540, in set_books_in_library
    plugboards, add_as_step_to_job)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 362, in sync_booklists
    description=_('Send metadata to device'), to_job=add_as_step_to_job)
  File "/usr/lib/calibre/calibre/gui2/device.py", line 296, in create_job_step
    (to_job is not None and to_job == self.current_job):
  File "/usr/lib/calibre/calibre/utils/ipc/job.py", line 128, in __cmp__
    if self.is_finished == other.is_finished:
AttributeError: 'NoneType' object has no attribute 'is_finished'

Job: 5 Get list of books on device finished
And leaves a zombie 'send metadata to device' job that can't be stopped, since it's a device job.

Linux/Python 2.7.2/calibre 0.8.24

EDIT: In _queue_job_create_collections @ ui.py, uncommenting gui.info_read and commenting gui.metadata_downloaded helps, if that's any use to you .

Last edited by NiLuJe; 11-04-2011 at 05:46 PM.
NiLuJe is offline  
Old 11-05-2011, 05:44 AM   #1358
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by NiLuJe View Post
Oops, the latest update triggers some more encoding breakage in calibre-debug on my crappy ISO-8859-15 system...

'charmap' codec can't encode character u'\u2019' in position 56: character maps to <undefined>
This is only in debug mode, and as far as I know, it probably caused errors in older versions as well. I've added a an attempt to convert to your local encoding. I'm not sure if trying to replace the character or ignore it is best. Lets see if it catches it first.

Quote:
And leaves a zombie 'send metadata to device' job that can't be stopped, since it's a device job.

EDIT: In _queue_job_create_collections @ ui.py, uncommenting gui.info_read and commenting gui.metadata_downloaded helps, if that's any use to you .
Yes, that helps As you can see from the commenting out I was deciding how to make that call and the simpler function obviously doesn't work in all cases. It was tricky to get it to work at all. I've modified it slightly to hopefully make the call more robust, without doing the additional recheck of the device.

I've attached a test version with these 2 fixes - can you give them a try?

Last edited by meme; 11-06-2011 at 06:01 AM. Reason: Attachment removed - released version 1.7.9
meme is offline  
Old 11-05-2011, 02:05 PM   #1359
eolake
Enthusiast
eolake began at the beginning.
 
eolake's Avatar
 
Posts: 41
Karma: 10
Join Date: Jan 2010
Device: Kindle
Changing the margins and justification worked on my Kindle 3, but not on my Kindle 4 (the small model). I used the newest versions of calibre and KC.
eolake is offline  
Old 11-05-2011, 02:30 PM   #1360
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by eolake View Post
Changing the margins and justification worked on my Kindle 3, but not on my Kindle 4 (the small model). I used the newest versions of calibre and KC.
It works on my K4.

Setting the margin or justification doesn't work for all books. Are you testing with the same book?

Have you definitely gone to the home page of the K4 before connecting to your PC and running the plugin?

Have you restarted the K4, not just powered it off?
meme is offline  
Old 11-05-2011, 02:54 PM   #1361
eolake
Enthusiast
eolake began at the beginning.
 
eolake's Avatar
 
Posts: 41
Karma: 10
Join Date: Jan 2010
Device: Kindle
Yes, no, and yes.

After re-doing it after going to Home page first, it works now, thank you.
eolake is offline  
Old 11-05-2011, 02:57 PM   #1362
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by eolake View Post
Yes, no, and yes.

After re-doing it after going to Home page first, it works now, thank you.
You're welcome. I'm always forgetting to go to the Home page first too
meme is offline  
Old 11-05-2011, 09:47 PM   #1363
Leilani
Member
Leilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with othersLeilani plays well with others
 
Posts: 22
Karma: 2510
Join Date: Jun 2011
Location: California
Device: K3, Voyage, KOA2
I hope this isn't a stupid question - I didn't want to go through 91 pages. I've been using the Collection plugin for a while and the collection gets created on the K but the books in the collection don't always get added - yet other collections' books are in the collection without me manually adding to the collection on the K?

Is there some trick that I'm missing? Thanks.
Leilani is offline  
Old 11-06-2011, 04:19 AM   #1364
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by Leilani View Post
I hope this isn't a stupid question - I didn't want to go through 91 pages. I've been using the Collection plugin for a while and the collection gets created on the K but the books in the collection don't always get added - yet other collections' books are in the collection without me manually adding to the collection on the K?

Is there some trick that I'm missing? Thanks.
How are you using the plugin?

If you are using the plugin's Edit Collections menu option to manually edit what is on the Kindle, then what is in the collection on the Kindle should match what you see in the GUI. If any books do not have a checkmark in the 'Visible' column in the GUI then they won't appear in a collection on the Kindle even if you add it (wrong type, bad format, etc.)

If you are using the Create Collections menu option to build your collections automatically from your calibre data, then take a look at the report that is generated - when the dialog pops up to say the Create is done, click Show Details. Look through the report to see if the numbers of books in the collections look right, and if there are any warnings, or any relevant comments about the specific books in the report.

You should run View Report to see a report of what is on your Kindle - this may help find any issues. You can run Edit Collections just to view your Kindle's collections to see if there are extra books on the Kindle (and then select Cancel to avoid saving).

Look for one of the specific books not showing up in a collection in the reports or on the Kindle itself or in Calibre's Device view, to see if there is anything different about it.

If you still can't find anything, you can try debug mode on the plugin to list even more details - see the Troubleshooting section in the first post on this thread.
meme is offline  
Old 11-06-2011, 06:03 AM   #1365
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Version 1.7.9 released

A new update of the plugin has been released to fix the error message about "Nonetype" showing up after the Create Collections runs.

This will show up as a plugin update in calibre shortly.

@NiLuJe - can you test this with your debug output issue.


Version 1.7.9 - 6 Nov 2011
- Fixed error message about Nonetype object appearing after Create completes
- Fixed debug output to better handle encoding of text on some systems
meme is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kindle Collections (Update) NiLuJe Plugins 475 05-23-2025 08:22 AM
Kindle Collections plugin JosephWebber Plugins 1 08-21-2017 11:44 AM
[GUI Plugin] WebOS Kindle-Import CranstD Plugins 0 01-24-2012 03:36 PM
Finding and using Kindle Collections Plugin djchapple Plugins 2 08-03-2011 10:06 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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