Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2019, 05:13 PM   #1591
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 496
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Series numbers are wrong (what's on the device doesn't match Calibre)

I'm not sure where to put this, so I'll try here first.

I only really noticed this today, so I don't know if this is a new issue or if it's been around for a while.

I'm running 4.13.12638 on a Glo HD.

I was going through my old books that have been on my device for years and noticed that a bunch of series had the wrong series numbers on the Glo HD. Nothing has changed on the calibre end, so I tried running the update metadata feature just for those books and while the pop up said that the books were updated, looking on the Kobo, the numbers hadn't changed. So I deleted one of the series of books, rebooted to be safe, and then Sent them back to the device again (this was a series of 9 books). Unplugged the device, replugged it in to get the second database update, etc, and then looked at the information on the Kobo again.

Books 1-7 have the right series number, but the index number for book 8 is listed as 3 on the Kobo and book 9 is listed as 4 (so basically, Kobo thinks I have two book 3s and two book 4s even though they have different titles).

ALL of my different series on the Kobo are weirdly numbered like now this even though I haven't touched anything (there doesn't seem to be a pattern like the example above, for example in one of my old series, there seems to no longer be a book #1 as it is now listed as book #3), and sending metadata updates from Calibre doesn't seem to overwrite or correct anything. Any hints as to what may be happening? I don't really want to factory reset everything as a last resort, but since re-sending a series that I erased didn't do anything, I'm not sure that starting from scratch would necessarily fix anything yet. I did run the database validator in the plugin and it said 'OK' so I'm assuming my database is fine.

EDIT: Poking around in the Kobo database, the SeriesNumber listing for the various books seems to be correct, so unless there's another place where nickel is pulling the series number from to display it to the user, I'm not sure what's happening here. As a sanity check, I'm going to disable all patches and see if the problem persists.

EDIT 2: Disabling patches by flashing a stock firmware upgrade file overtop everything did nothing. So still not sure what's going on.

EDIT 3: OK, this is weird; swiping from left to right and back again (still on stock firmware) makes it seem like the series number doesn't refresh; for example, when switching pages, some of the books will display the number of the book that was in the same position on the previous page, but when you swipe the other way, it'll display the number from that previous page instead. Firmware bug? I'll post this over there, just in case.

Last edited by rtiangha; 04-06-2019 at 06:12 PM.
rtiangha is offline   Reply With Quote
Old 04-07-2019, 01:29 AM   #1592
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@rtiangha: I replied to your post in the Kobo forum. This is a firmware problem and there is nothing that can be done in the plugin.
davidfor is offline   Reply With Quote
Old 04-15-2019, 02:29 PM   #1593
Sonofrobot
Connoisseur
Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Sonofrobot is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 61
Karma: 91098
Join Date: Aug 2018
Device: Kobo Forma
Please disregard. My error is actually not specific to Kobo Utilities but to calibre.

Last edited by Sonofrobot; 04-15-2019 at 02:39 PM.
Sonofrobot is offline   Reply With Quote
Old 04-15-2019, 09:50 PM   #1594
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Sonofrobot View Post
Please disregard. My error is actually not specific to Kobo Utilities but to calibre.
No, it wasn't specific to the plugin, but, the error showed me something was happening that I didn't realise was. And probably explains why the startup of some of the actions is slow. It should be a simple change that will make things faster.
davidfor is offline   Reply With Quote
Old 04-19-2019, 05:07 PM   #1595
Exculturae
Junior Member
Exculturae began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura H20 Edition 2
ValueError: No value provided for new tag's name

I encounter a problem for the first time today as I tried to fetch annotations.

I received the following error message:

* * *

calibre, version 3.41.2
ERREUR : Exception non gérée: <b>ValueError</b>:No value provided for new tag's name.

calibre 3.41.2 embedded-python: True is64bit: True
Darwin-16.7.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '16.7.0', 'Darwin Kernel Version 16.7.0: Wed Feb 27 00:29:57 PST 2019; root:xnu-3789.73.43~1/RELEASE_X86_64')
Python 2.7.15
OSX: ('10.12.6', ('', '', ''), 'x86_64')
Interface language: fr
Successfully initialized third party plugins: DeDRM (6, 5, 4) && Inept Epub DeDRM (0, 1, 7) && KePub Output (3, 0, 0) && Kobo Utilities (2, 7, 0) && Annotations (1, 8, 0)
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 1906, in getAnnotationForSelected
File "calibre_plugins.koboutilities.action", line 2653, in _getAnnotationForSelected
File "site-packages/bs4/element.py", line 830, in __init__
ValueError: No value provided for new tag's name.

* * *

What could be the problem? How can I solve it?

Thanks

Last edited by Exculturae; 04-20-2019 at 04:35 AM.
Exculturae is offline   Reply With Quote
Old 04-20-2019, 01:20 AM   #1596
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Exculturae View Post
I encounter a problem for the first day today as I tried to fetch annotations.

I received the following error message:

* * *

calibre, version 3.41.2
ERREUR : Exception non gérée: <b>ValueError</b>:No value provided for new tag's name.

calibre 3.41.2 embedded-python: True is64bit: True
Darwin-16.7.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '16.7.0', 'Darwin Kernel Version 16.7.0: Wed Feb 27 00:29:57 PST 2019; root:xnu-3789.73.43~1/RELEASE_X86_64')
Python 2.7.15
OSX: ('10.12.6', ('', '', ''), 'x86_64')
Interface language: fr
Successfully initialized third party plugins: DeDRM (6, 5, 4) && Inept Epub DeDRM (0, 1, 7) && KePub Output (3, 0, 0) && Kobo Utilities (2, 7, 0) && Annotations (1, 8, 0)
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 1906, in getAnnotationForSelected
File "calibre_plugins.koboutilities.action", line 2653, in _getAnnotationForSelected
File "site-packages/bs4/element.py", line 830, in __init__
ValueError: No value provided for new tag's name.

* * *

What could be the problem? How can I solve it?
That's due to a change in calibre. I'll try and fix it over the weekend.
davidfor is offline   Reply With Quote
Old 04-20-2019, 07:23 AM   #1597
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Update to version 2.8.0

I have just released version 2.8.0 of the plugin. This is mainly to fix a bug with the annotations support introduced by change in the version of BeautifulSoup used in calibre starting with version 3.41.1. But, I have also fixed the layout of the annotations.

The changes are:
  • Fix: Missed a change in the annotation builder to handle recent change in BeautifulSoup in calibre.
  • Fix: Improve layout of results when displaying annotations.
  • Update: Add new font "AR UDJingxihei" to font settings dialog.

As usual, calibre will announce the update in the next hour or so. And if there are any problems, please report them here.
davidfor is offline   Reply With Quote
Old 04-21-2019, 04:38 PM   #1598
Exculturae
Junior Member
Exculturae began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura H20 Edition 2
Thumbs up

Quote:
Originally Posted by davidfor View Post
I have just released version 2.8.0 of the plugin. This is mainly to fix a bug with the annotations support introduced by change in the version of BeautifulSoup used in calibre starting with version 3.41.1. But, I have also fixed the layout of the annotations.

The changes are:
  • Fix: Missed a change in the annotation builder to handle recent change in BeautifulSoup in calibre.
  • Fix: Improve layout of results when displaying annotations.
  • Update: Add new font "AR UDJingxihei" to font settings dialog.

As usual, calibre will announce the update in the next hour or so. And if there are any problems, please report them here.
Thank you so much for fixing the problem so fast!

The new layout of the annotations is great!
Exculturae is offline   Reply With Quote
Old 04-22-2019, 05:20 AM   #1599
Frenchdummy
Enthusiast
Frenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipseFrenchdummy can illuminate an eclipse
 
Frenchdummy's Avatar
 
Posts: 29
Karma: 8300
Join Date: Apr 2013
Location: France
Device: Kobo glo, Apple devices
Sorry David, I'm lost with Calibre + Kobo devices and then with all the plugins too.
I have been away too long to follow and participate. Especially since I am forced to spend too much time mentally translating into French the publications here. Just FYI.
Frenchdummy is offline   Reply With Quote
Old 05-09-2019, 04:18 PM   #1600
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
This might not be the best place to ask this but ...

I had a book on my Kobo where the formatting was wacko so I downloaded the epub again from a web page and did my usual of tweaking the css so it had a ragged right margin and then used Calibre to transfer it to the Kobo. But in my rush I forgot to set the series for the book. So I deleted the book on the Kobo, fixed its metadata in Calibre, and transferred it again to the Kobo but the series was never there on the Kobo. I kept doing that with slightly different permutations (how I deleted it, etc.) but no cigar. I finally used the Kobo Utilities plugin and its Update metadata function and checked the box for series and that finally did it.

Why was that necessary?
lumpynose is offline   Reply With Quote
Old 05-11-2019, 03:17 AM   #1601
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by lumpynose View Post
This might not be the best place to ask this but ...

I had a book on my Kobo where the formatting was wacko so I downloaded the epub again from a web page and did my usual of tweaking the css so it had a ragged right margin and then used Calibre to transfer it to the Kobo. But in my rush I forgot to set the series for the book. So I deleted the book on the Kobo, fixed its metadata in Calibre, and transferred it again to the Kobo but the series was never there on the Kobo. I kept doing that with slightly different permutations (how I deleted it, etc.) but no cigar. I finally used the Kobo Utilities plugin and its Update metadata function and checked the box for series and that finally did it.

Why was that necessary?
The mistake was that you deleted the book. The device does not read the series info from the book. The driver will update metadata, including the series info, in the database for all books already on the device and matching to a book in the library. So, send the book to the device, disconnect and let it import the book, reconnect the device and the series info will be updated.

If you did reconnect while the book was on the device, it was probably the configuration isn't right.
davidfor is offline   Reply With Quote
Old 05-11-2019, 03:26 AM   #1602
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by davidfor View Post
The mistake was that you deleted the book. The device does not read the series info from the book. The driver will update metadata, including the series info, in the database for all books already on the device and matching to a book in the library. So, send the book to the device, disconnect and let it import the book, reconnect the device and the series info will be updated.

If you did reconnect while the book was on the device, it was probably the configuration isn't right.
Ok, thanks. I figured out the disconnecting thing updating stuff after I saw that in another thread. But prior to that, and after posting this query, I did a factory reset and uploaded all of my books again because I ignorantly was assiduously changing the author names to LN, FN when I should have added an author_sort column to Calibre and hidden the authors column. I spent some time yesterday fixing the names back to FN LN.
lumpynose is offline   Reply With Quote
Old 05-12-2019, 11:44 AM   #1603
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,076
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Lumpy
REPLACE the book file in the MDE formats area (drop the new version there and it will replace the older on) and all the metadata remains.
There is a setting in the Kobo driver to treat all books added as NEW <<< You don't want that if you are replacing books on the device
theducks is online now   Reply With Quote
Old 05-12-2019, 03:08 PM   #1604
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by theducks View Post
There is a setting in the Kobo driver to treat all books added as NEW <<< You don't want that if you are replacing books on the device
If I want the book's metadata on the kobo to match what's in calibre wouldn't I want them added as new?
lumpynose is offline   Reply With Quote
Old 05-12-2019, 06:38 PM   #1605
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,076
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by lumpynose View Post
If I want the book's metadata on the kobo to match what's in calibre wouldn't I want them added as new?
If you send again, I think it should update the device, but leave your reading position.
(to be honest, I mainly fix typos and format issues, so I don't know how metadata behaves and rarely look at it on the device)
theducks is online now   Reply With Quote
Reply

Tags
calibre, kobo, kobo utilities, kobo-utilities, plugins


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 02:43 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Kobo Utilities Plugin Question nikev Kobo Reader 10 09-25-2018 11:55 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 08:55 PM.


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