Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2022, 11:08 AM   #1
netfortius
Junior Member
netfortius began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2022
Device: kindle paperwhite
Errors when trying to add online dictionary (lookup source) in e-book viewer

No matter which online dictionary I try to add, which accepts the format:

https://..../{word}

I am getting the error below:

calibre, version 6.6.1
ERROR: Unhandled exception: <b>TypeError</b>:&lt;function google_dictionary at 0x10fb544c0&gt; is not JSON serializable

calibre 6.6.1 embedded-python: True
macOS-12.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.6', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (7, 1, 0) && Package KFX (from KFX Input) (1, 49, 0) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Kindle Collections (1, 7, 29) && KindleUnpack - The Plugin (0, 83, 1)
Traceback (most recent call last):
File "calibre/gui2/viewer/lookup.py", line 205, in accept
File "calibre/utils/config.py", line 429, in __setitem__
File "calibre/utils/config.py", line 395, in commit
File "calibre/utils/config.py", line 413, in to_raw
File "calibre/utils/config_base.py", line 109, in json_dumps
File "json/__init__.py", line 238, in dumps
File "json/encoder.py", line 201, in encode
File "json/encoder.py", line 431, in _iterencode
File "json/encoder.py", line 405, in _iterencode_dict
File "json/encoder.py", line 325, in _iterencode_list
File "json/encoder.py", line 405, in _iterencode_dict
File "json/encoder.py", line 438, in _iterencode
File "calibre/utils/config_base.py", line 62, in to_json
TypeError: <function google_dictionary at 0x10fb544c0> is not JSON serializable

Last edited by netfortius; 10-10-2022 at 11:11 AM.
netfortius is offline   Reply With Quote
Old 10-10-2022, 12:09 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/calibre/+bug/1992278
kovidgoyal is offline   Reply With Quote
Advert
Old 10-10-2022, 12:34 PM   #3
netfortius
Junior Member
netfortius began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2022
Device: kindle paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Fantastic! Thank you!!
netfortius is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
When i add a pdf in caliber and open it with E-book viewer the pdf turns into a epub. sourov Library Management 1 08-23-2021 05:05 AM
add - book from Viewer .... icq70610 Viewer 2 09-09-2020 02:52 AM
How to add a book from ebook viewer to library? m.s Calibre 4 04-15-2016 03:44 AM
Add dictionary to viewer? Glorfindel Calibre 6 05-08-2014 09:17 AM
Request - E-book viewer dictionary aieul Calibre 1 02-10-2012 10:35 PM


All times are GMT -4. The time now is 11:10 AM.


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