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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-21-2019, 10:53 PM   #1
FrustratedReader
Busy elsewhere
FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.
 
FrustratedReader's Avatar
 
Posts: 608
Karma: 2186878
Join Date: Jun 2017
Device: Various
Error using Kobo Utilities:Copy Annotation

Just gives error
Code:
calibre, version 3.45.2
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for *: 'NoneType' and 'int'

calibre 3.45.2  embedded-python: True is64bit: True
Linux-4.15.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.15.0-54-generic', '#58~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41 UTC 2019')
Python 2.7.15
Linux: ('debian', 'stretch/sid', '')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 17, 1) && DeDRM (6, 6, 1) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 1) && Package KFX (from KFX Input) (1, 17, 1) && KePub Input (3, 0, 0) && Library Splitter (1, 0, 1) && KePub Metadata Reader (3, 0, 2) && Quick Preferences (1, 4, 1) && Amazon.com Multiple Countries (1, 0, 0) && Quality Check (1, 9, 11) && EpubSplit (2, 7, 0) && Author Book Count (2, 1, 6) && Wiki Reader (2, 1, 0) && Reading List (1, 6, 6) && Kobo Utilities (2, 8, 0) && Find Duplicates (1, 6, 3) && EpubCheck (0, 1, 8) && Goodreads (1, 4, 0) && Open With (1, 5, 10) && Modify ePub (1, 3, 13) && Generate Cover (1, 5, 21) && KindleUnpack - The Plugin (0, 81, 5) && KePub Output (3, 1, 3) && Smashwords Metadata (1, 0, 0) && FictionDB (1, 2, 0) && Annotations (1, 9, 2) && Obok DeDRM (6, 5, 4) && Manage Series (1, 2, 8) && Resize Cover (1, 0, 2) && Kobo Books (1, 7, 0) && KePub Metadata Writer (3, 0, 3) && Manage Sony x50 Reader Book List (1, 2, 11) && Hyphenate This! (0, 0, 8) && KoboTouchExtended (3, 1, 5) && X-Ray Creator (3, 2, 1) && Barnes & Noble (1, 2, 15) && KFX metadata reader (from KFX Input) (1, 17, 1) && KFX Input (1, 17, 1) && Media File Importer (1, 0, 21) && Kindle Collections (1, 7, 24) && EpubMerge (2, 5, 0) && Kindle hi-res covers (0, 4, 0) && Kindle covers (G) (0, 3, 0) && Copy Cover To Device (2, 0, 0) && Extract ISBN (1, 4, 4)
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 1906, in getAnnotationForSelected
  File "calibre_plugins.koboutilities.action", line 2644, in _getAnnotationForSelected
  File "site-packages/calibre/devices/kobo/driver.py", line 1191, in get_annotations
  File "site-packages/calibre/devices/kobo/bookmark.py", line 30, in __init__
  File "site-packages/calibre/devices/kobo/bookmark.py", line 94, in get_bookmark_data
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
FrustratedReader is offline   Reply With Quote
Old 07-21-2019, 11:00 PM   #2
FrustratedReader
Busy elsewhere
FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.
 
FrustratedReader's Avatar
 
Posts: 608
Karma: 2186878
Join Date: Jun 2017
Device: Various
Kobo Utilies: Copy Annotation

Updated calibre just now, still broken

The rather slower "Annotations" plugin, which is more awkard for my work flow nearly works. The last few annotations are not copied.


Code:
calibre, version 3.46.0
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for *: 'NoneType' and 'int'

calibre 3.46  embedded-python: True is64bit: True
Linux-4.15.0-54-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.15.0-54-generic', '#58~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41 UTC 2019')
Python 2.7.15
Linux: ('debian', 'stretch/sid', '')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 17, 1) && DeDRM (6, 6, 1) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 1) && Package KFX (from KFX Input) (1, 17, 1) && KePub Metadata Reader (3, 0, 2) && EpubSplit (2, 7, 0) && KoboTouchExtended (3, 1, 5) && Wiki Reader (2, 1, 0) && Quality Check (1, 9, 11) && Annotations (1, 9, 2) && Kindle Collections (1, 7, 24) && KePub Metadata Writer (3, 0, 3) && Library Splitter (1, 0, 1) && Smashwords Metadata (1, 0, 0) && Author Book Count (2, 1, 6) && Copy Cover To Device (2, 0, 0) && Resize Cover (1, 0, 2) && Manage Sony x50 Reader Book List (1, 2, 11) && Kobo Utilities (2, 8, 0) && X-Ray Creator (3, 2, 1) && Generate Cover (1, 5, 21) && Kindle covers (G) (0, 3, 0) && Amazon.com Multiple Countries (1, 0, 0) && Open With (1, 5, 10) && Goodreads (1, 4, 0) && Quick Preferences (1, 4, 1) && KindleUnpack - The Plugin (0, 81, 5) && Hyphenate This! (0, 0, 8) && Kobo Books (1, 7, 0) && Find Duplicates (1, 6, 3) && Barnes & Noble (1, 2, 15) && FictionDB (1, 2, 0) && Kindle hi-res covers (0, 4, 0) && Extract ISBN (1, 4, 4) && Reading List (1, 6, 6) && EpubMerge (2, 5, 0) && KFX metadata reader (from KFX Input) (1, 17, 1) && KFX Input (1, 17, 1) && Modify ePub (1, 3, 13) && Obok DeDRM (6, 5, 4) && Manage Series (1, 2, 8) && Media File Importer (1, 0, 21) && KePub Output (3, 1, 3) && EpubCheck (0, 1, 9) && KePub Input (3, 0, 0)
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 1906, in getAnnotationForSelected
  File "calibre_plugins.koboutilities.action", line 2644, in _getAnnotationForSelected
  File "site-packages/calibre/devices/kobo/driver.py", line 1191, in get_annotations
  File "site-packages/calibre/devices/kobo/bookmark.py", line 30, in __init__
  File "site-packages/calibre/devices/kobo/bookmark.py", line 94, in get_bookmark_data
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
FrustratedReader is offline   Reply With Quote
Old 07-21-2019, 11:07 PM   #3
FrustratedReader
Busy elsewhere
FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.
 
FrustratedReader's Avatar
 
Posts: 608
Karma: 2186878
Join Date: Jun 2017
Device: Various
Actually all the annotations are copied. Mysteriously the Kobo H20 Original hasn't stored the last one or two annotations.
FrustratedReader is offline   Reply With Quote
Old 07-22-2019, 02:51 AM   #4
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: 17,130
Karma: 26480038
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
This is the same problem you reported a while ago in the Kobo Utilities plugin thread. It is actually a bug in the KoboTouch driver and I haven't had chance to look at it.

Edit: Just realised I had looked at it but couldn't reproduce it.

Last edited by davidfor; 07-22-2019 at 03:15 AM.
davidfor is offline   Reply With Quote
Old 07-22-2019, 03:47 AM   #5
FrustratedReader
Busy elsewhere
FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.FrustratedReader ought to be getting tired of karma fortunes by now.
 
FrustratedReader's Avatar
 
Posts: 608
Karma: 2186878
Join Date: Jun 2017
Device: Various
Curious the Annotations plugin doesn't suffer from it.
I thought it had gone away.
It's maybe something that gets corrupt in the Kobo as it's not every book, but once it happens it only goes away when a fresh version is annotated.

Too early this morning, it was 4am approx and I thought I was maybe posting this in the wrong place.

The kobo & Calibre files are gone now, replaced by a new edit of the eBook (less than 3 hrs which is good for me).
FrustratedReader is offline   Reply With Quote
Old 07-22-2019, 06:34 AM   #6
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: 17,130
Karma: 26480038
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
Why should the Annotations plugin suffer from a bug in a code base it shares absolutely nothing with? And it going away was probably because you deleted the annotation that was causing the problem. You might not have explicitly deleted the annotation, but if you deleted the book, the device would have deleted all of the annotations for it.
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
[GUI Plugin] Kobo Utilities davidfor Plugins 1646 08-07-2019 03:34 PM
Kobo Utilities Plugin Question nikev Kobo Reader 10 09-25-2018 11:55 PM
Kobo Hacks and Utilities Index ItalianUruguayan Kobo Reader 5 07-19-2018 02:33 PM
Help with Kobo Utilities needed chiara_sc Kobo Reader 3 09-02-2016 07:05 PM
Error trying to copy June 2014 issue of Analog to Kobo Aura HD ballfresno Calibre 3 04-12-2014 04:14 AM


All times are GMT -4. The time now is 04:44 PM.


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