View Single Post
Old 06-05-2019, 08:40 AM   #1618
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by FrustratedReader View Post
I get this trying to read "Annotation from selected book" in Kobo Utilities.
I think it was working a few days ago?
Code:
calibre, version 3.44.0
ERROR: Unhandled exception: <b>TypeError</b>:unsupported operand type(s) for *: 'NoneType' and 'int'

calibre 3.44  embedded-python: True is64bit: True
Linux-4.15.0-50-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.15.0-50-generic', '#54~16.04.1-Ubuntu SMP Wed May 8 15:55:19 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, 0) && DeDRM (6, 6, 1) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 1) && Package KFX (from KFX Input) (1, 17, 0) && Hyphenate This! (0, 0, 8) && Annotations (1, 9, 2) && Modify ePub (1, 3, 13) && Kindle covers (G) (0, 3, 0) && Find Duplicates (1, 6, 3) && EpubMerge (2, 5, 0) && Generate Cover (1, 5, 21) && Extract ISBN (1, 4, 4) && Kindle hi-res covers (0, 4, 0) && X-Ray Creator (3, 2, 1) && KePub Output (3, 1, 3) && Media File Importer (1, 0, 20) && Obok DeDRM (6, 5, 4) && EpubSplit (2, 7, 0) && Resize Cover (1, 0, 2) && KoboTouchExtended (3, 1, 3) && Author Book Count (2, 1, 6) && KePub Metadata Writer (3, 0, 3) && FictionDB (1, 2, 0) && Kindle Collections (1, 7, 24) && Manage Sony x50 Reader Book List (1, 2, 11) && Kobo Books (1, 6, 0) && Sony PRS-T1 notes plugin (1, 1, 0) && Barnes & Noble (1, 2, 15) && Manage Series (1, 2, 8) && Quality Check (1, 9, 11) && Reading List (1, 6, 6) && Smashwords Metadata (1, 0, 0) && Copy Cover To Device (2, 0, 0) && Open With (1, 5, 10) && KePub Input (3, 0, 0) && KFX metadata reader (from KFX Input) (1, 17, 0) && KFX Input (1, 17, 0) && Goodreads (1, 4, 0) && Wiki Reader (2, 1, 0) && Kobo Utilities (2, 8, 0) && EpubCheck (0, 1, 8) && KePub Metadata Reader (3, 0, 2) && KindleUnpack - The Plugin (0, 81, 5) && Quick Preferences (1, 4, 1) && Amazon.com Multiple Countries (1, 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 1190, 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'
That's pretty much the same problem I fixed in the Annotations plug
Quote:
I was able to fetch the notes via "Annotations" Plugin,
That's pretty much the same problem I fixed in the Annotations plug in the last beta. It is actually in the KoboTouch driver. I'll fix this when I have a chance.
davidfor is offline