![]() |
#61 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1050426
Join Date: Feb 2010
Location: California
Device: iPad Mini w/Retina, Kindle 3, Kindle Fire HDX 8.9, & Asus Transformer
|
I'm still receiving this error ever since upgrading to 1.1.1
Count ePub/Mobi Statistics ------------------------------- Logfile for book ID 1929 (Orion 01: Tyger, Tyger Burning Bryght - MOBI) FAILED TO COUNT PAGES FAILED TO COUNT WORDS 1929 Traceback (most recent call last): File "calibre_plugins.count_pages.jobs", line 92, in do_statistics_for_book File "calibre_plugins.count_pages.statistics", line 31, in get_word_count File "calibre_plugins.count_pages.statistics", line 141, in get_mobi_standard_word_count File "calibre_plugins.count_pages.statistics", line 182, in _read_mobi_file UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 1142: invalid start byte I've tried removing the plugin and installing it and still get this error. |
![]() |
![]() |
![]() |
#62 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
My response is the same as I posted previously. You appear alone in experiencing this problem and I can't do anything without your mobi file to try to replicate it. Upload it to somewhere and pm me a link to it.
|
![]() |
![]() |
Advert | |
|
![]() |
#63 | ||
IOC Chief Archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
Quote:
I just download the same book - same error. It's currently free for UK according to this post in Bargains. I also got the Smashwords horror offerings from a post this past weekend, all from the same publisher, and all with the same error. I can confirm that a mobi-mobi conversion fixes the problem in every instance so far, but that obviously only works for DRM-free books (like the Smashwords books) or Alfers. |
||
![]() |
![]() |
![]() |
#64 |
Series Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
|
Oooh its not just me!!! I'm having the same issue with the same book.
I was trying to find the old plugins as well. I guess the issue is that particular book? Edit to Add: converting Mobi to Mobi worked! Thanks ![]() Last edited by Nyssa; 06-15-2011 at 01:50 PM. |
![]() |
![]() |
![]() |
#65 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thx CWatkinsNash for the details on a book, I've managed to replicate the issue and will see if there is anything I can do about it.
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.1.2 Released
Changes in this release:
@beckywc, CWatkinsNash and Nyssa - this will fix the issue you found with some MOBI files. |
![]() |
![]() |
![]() |
#67 |
Series Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
|
Awesome! I found another book with the same issue (from Smashwords) and the update worked like a charm! Thank You!!!
![]() |
![]() |
![]() |
![]() |
#68 | ||
IOC Chief Archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
Quote:
![]() ![]() |
||
![]() |
![]() |
![]() |
#69 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 272
Karma: 1050426
Join Date: Feb 2010
Location: California
Device: iPad Mini w/Retina, Kindle 3, Kindle Fire HDX 8.9, & Asus Transformer
|
Thanks so much
|
![]() |
![]() |
![]() |
#70 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
Should I expect the 'updating metadata' part of this to be slow?
I just threw it at a several hundred book test library and it took a while to count (not surprising), but then updating the metadata took a looong time (several times as long as counting took) ... (Using an integer type custom column) |
![]() |
![]() |
![]() |
#71 | |
IOC Chief Archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
|
|
![]() |
![]() |
![]() |
#72 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Not particularly slow, no. Doing a hundred books takes less than five seconds to update the database with the results on my machine. The updating is mostly using the same Calibre code as downloading metadata does.
|
![]() |
![]() |
![]() |
#73 |
IOC Chief Archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
I've noticed a huge difference between my two main computers (Win7 6GB updates really fast, Vista32 2GB much slower, taking 4-5 times as long) using the regular current version of calibre and the current version of the plugin.
The portable version is lagging after almost every operation at the moment so it's taking a looooong time. I can't base anything on that with regard to the plugin. |
![]() |
![]() |
![]() |
#74 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
When we added commit-at-end to bulk metadata edit, changes to a column for 500 or books went from many minutes to a few seconds. |
|
![]() |
![]() |
![]() |
#75 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,701
Karma: 2197768
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Charles - as I mentioned above it is Calibre code that is doing the updating, the same code used at the end of downloading metadata. It is the same approach I used for this plugin and Extract ISBN - reusing Calibre's existing code to update a bunch of records by being given some Metadata objects with just the fields desired to be changed set on them (in this case two custom columns).
And that particular code (inside edit_metadata.py) does indeed delay the commit. |
![]() |
![]() |
![]() |
Tags |
count, count pages, page count, pages, plugin |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1238 | Yesterday 12:31 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |