Hi, Kovid.
I'm getting this error when trying to open a specific book (just one, from what I've noticed) from the GUI. Looks like a cache problem. It opens fine when I use a different cache folder.
Any hints?
Spoiler:
calibre, version 4.2.0
ERRO: Exceção sem tratamento: <b>TypeError</b>:expected string or buffer
calibre 4.2 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 21, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 21, 0) && Diaps Editing Toolbag (0, 3, 5) && Find Duplicates (1, 6, 3) && Skoob Books (1, 3, 1) && EpubMerge (2, 5, 0) && ACE (1, 0, 8) && Open With (1, 5, 10) && EpubSplit (2, 7, 0) && Goodreads (1, 4, 0) && ScrambleEbook (0, 4, 1) && Set KFX metadata (from KFX Output) (1, 32, 0) && KFX Output (1, 32, 0) && LanguageTool (0, 1, 0) && KindleUnpack - The Plugin (0, 81, 5) && Skoob Sync (0, 2, 7) && EpubCheck (0, 2, 1) && Count Pages (1, 8, 3) && KFX metadata reader (from KFX Input) (1, 21, 0) && KFX Input (1, 21, 0) && Goodreads Sync (1, 12, 1) && TTS to MP3 (0, 1, 3)
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 346, in load_finished
File "site-packages\calibre\gui2\viewer\web_view.py", line 60, in set_book_path
File "site-packages\calibre\utils\serialize.py", line 118, in json_loads
File "json\__init__.py", line 352, in loads
File "json\decoder.py", line 364, in decode
TypeError: expected string or buffer