View Single Post
Old 09-18-2019, 11:43 PM   #205
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,455
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Geremia View Post
I get this issue when running "ebook-viewer" and clicking on a "Recently viewed book":
Code:
Traceback (most recent call last):
  File "site-packages/calibre/gui2/viewer/ui.py", line 266, in load_finished
  File "site-packages/calibre/gui2/viewer/web_view.py", line 56, 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
If I run "ebook-viewer mybook.epub", I don't get the issue.
I cannot replicate this. Try clearing the cache (rm -rf ~/.cache/calibre/ev2) Also is anything printed to the terminal when it happens?

Quote:
Also, the "insert link" functionality in calibre's comment field overwrites selected text with the URL instead of hyperlinking selected text to said URL.
This is fixed in the next beta

Quote:
And what's the point of style="color: #2980b9" for URL text?

thanks
I dont see this.


Regarding the high DPI issue, you probably have disabled high dpi sclaing. Turn it on again and you will be fine.
kovidgoyal is offline