![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2019
Device: Kindle
|
Help with Json error (Error code: 1)
When I attempt to run calibre 3.41.3 (64 bit) on my Windows 10 pc I get an error.
"Python function terminated unexpectedly No JSON object could be decoded (Error Code:1)" I just updated from a previous version which ran without issues. Other than the update, nothing has changed. Things I have tried: -Reboot -Running as admin -Uninstall // Restart // Reinstall // Restart All things lead to this message. The following is the (calibre-debug -g)debug info: Python function terminated unexpectedly No JSON object could be decoded (Error Code: 1) Traceback (most recent call last): File "site.py", line 101, in main File "site.py", line 77, in run_entry_point File "site-packages\calibre\__init__.py", line 30, in <module> File "site-packages\calibre\startup.py", line 121, in <module> File "site-packages\calibre\utils\localization.py", line 203, in set_translators File "site-packages\calibre\utils\localization.py", line 88, in get_lang File "site-packages\calibre\utils\config_base.py", line 636, in <module> File "site-packages\calibre\utils\config_base.py", line 632, in read_tweaks File "site-packages\calibre\utils\config_base.py", line 616, in read_custom_tweaks File "site-packages\calibre\utils\config_base.py", line 98, in json_loads File "json\__init__.py", line 352, in loads File "json\decoder.py", line 364, in decode File "json\decoder.py", line 382, in raw_decode ValueError: No JSON object could be decoded Thanks for reading, and should you need any additional information I'll gladly provide it. -David |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,866
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
My WAG
Something is preventing the Calibre config directory from being accessed. there are JSON files that control your settings config |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2019
Device: Kindle
|
Thanks for the reply!
So, does that mean I can delete - or default - these config files somehow?
Could that theoretically be a solution? |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,589
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Before you delete the entire directory, back it up first.
And then try deleting the tweaks.json file. If that works you would have only lost any settings you changed in Preferences->Tweaks settings. If you don't know where your configuration folder is, search for a file named 'global.py'. BR |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2018
Device: Amazon Kindle HD 8
|
I am having the same problem, but with the 32-bit version. How do I fix this? I am kind of computer challenged, so please give me a simple fix. I did not understand what was written above, about deleting files, etc. Thanks!
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Search your computer for the following two files:
1) tweaks.json 2) tweaks.py delete them when they are found. Now start calibre, hopefully you will be fine. |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2018
Device: Amazon Kindle HD 8
|
Thank You, so much! This fixed it!
|
![]() |
![]() |
![]() |
Tags |
error, help calibre, troubleshooting, update 3.41.3 |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GoComics - Conversion Error / No articles found, aborting (Error Code: 1) | Purple Lady | Recipes | 18 | 04-08-2018 04:05 PM |
Set Library Information / JSON serializable error | PeterT | Calibre Companion | 13 | 12-30-2014 08:55 AM |
Running recipe error: Python function terminated unexpectedly (Error Code: 1) | jpassarella | Recipes | 0 | 10-05-2012 12:54 PM |