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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2021, 06:59 AM   #1
dewd
Member
dewd began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2017
Device: none
Can't start Content Server, can't access Sharing over the net in Preferences

When I try to start the Calibre Content Server, I get the following error:

JSONDecodeError:Expecting value: line 1 column 1 (char 0)

Full message:
Spoiler:
calibre, version 5.17.0
ERROR: Unhandled exception: <b>JSONDecodeError</b>:Expecting value: line 1 column 1 (char 0)

calibre 5.17 embedded-python: True is64bit: True
macOS-10.15.5-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '19.5.0', 'Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64')
Python 3.8.5
OSX: ('10.15.5', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 1, 0) && Action Chains (1, 7, 2) && Annotations (1, 15, 0) && Count Pages (1, 11, 0) && Duplicates++ (2, 0, 2) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 5) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 1) && Goodreads Sync (1, 15, 1) && Import List (1, 5, 4) && Job Spy (1, 0, 190) && KyBook3 Sync (1, 0, 12) && Quality Check (1, 11, 2) && Reading List (1, 7, 2) && Search The Internet (1, 8, 1) && User Category (1, 5, 5) && View Manager (1, 6, 0)
Traceback (most recent call last):
File "calibre/gui2/actions/device.py", line 219, in toggle_content_server
File "calibre/gui2/ui.py", line 495, in start_content_server
File "calibre/srv/embedded.py", line 74, in __init__
File "calibre/srv/embedded.py", line 43, in search_the_net_urls
File "calibre/srv/embedded.py", line 35, in read_json
File "json/__init__.py", line 357, in loads
File "json/decoder.py", line 337, in decode
File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


In Preferences, clicking on Sharing over the net produces the same error message but with different details:

Spoiler:
calibre, version 5.17.0
ERROR: Unhandled exception: <b>JSONDecodeError</b>:Expecting value: line 1 column 1 (char 0)

calibre 5.17 embedded-python: True is64bit: True
macOS-10.15.5-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '19.5.0', 'Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64')
Python 3.8.5
OSX: ('10.15.5', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 1, 0) && Action Chains (1, 7, 2) && Annotations (1, 15, 0) && Count Pages (1, 11, 0) && Duplicates++ (2, 0, 2) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 5) && Goodreads (1, 5, 1) && Goodreads More Tags (1, 2, 1) && Goodreads Sync (1, 15, 1) && Import List (1, 5, 4) && Job Spy (1, 0, 190) && KyBook3 Sync (1, 0, 12) && Quality Check (1, 11, 2) && Reading List (1, 7, 2) && Search The Internet (1, 8, 1) && User Category (1, 5, 5) && View Manager (1, 6, 0)
Traceback (most recent call last):
File "calibre/gui2/preferences/main.py", line 312, in show_plugin
File "calibre/gui2/preferences/server.py", line 1258, in genesis
File "calibre/gui2/preferences/server.py", line 1129, in genesis
File "calibre/srv/embedded.py", line 43, in search_the_net_urls
File "calibre/srv/embedded.py", line 35, in read_json
File "json/__init__.py", line 357, in loads
File "json/decoder.py", line 337, in decode
File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


I understand precisely none of this...
dewd is offline   Reply With Quote
Old 05-01-2021, 07:25 AM   #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: 39,082
Karma: 17012286
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates the settings file server-search-the-net.json is corrupted in your config folder. delete it and you will be fine. And I will have calibre ignore this error in the future.
kovidgoyal is offline   Reply With Quote
Old 05-01-2021, 07:43 AM   #3
dewd
Member
dewd began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2017
Device: none
Perfect, that sorted it out. Thank you (again)!
dewd 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
Others cannot access the content server. J_statt Server 3 10-25-2019 09:31 AM
How to access content server anywhere around the world Simplicity Related Tools 16 12-17-2017 04:08 PM
:help: Could not start the content server. Error: Ersatzreifen Calibre 5 06-13-2015 09:37 AM
Cannot access Content Server - even locally BumbleBernie Devices 27 03-16-2014 08:59 AM
PRS-T1 to access the Content Server martingUSA Devices 6 12-24-2011 02:05 PM


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


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