Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2019, 12:05 AM   #1
Skumar
Member
Skumar began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Feb 2019
Device: amazon kindle basic 8th generation
Exclamation Calibre ebook Viewer Not working

I recently updated calibre to 4.2
When i open any book in any ebook format like epub azw3 etc. it show this error

calibre, version 4.3.0
ERROR: Unhandled exception: <b>UnicodeEncodeError</b>:'latin-1' codec can't encode character u'\u2019' in position 10: ordinal not in range(256)

calibre 4.3 embedded-python: True is64bit: True
Linux-4.9.0-11-amd64-x86_64-with-debian-9.11 Linux ('64bit', 'ELF')
('Linux', '4.9.0-11-amd64', '#1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20)')
Python 2.7.16
Linux: ('debian', '9.11', '')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 22, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 22, 0) && Job Spy (1, 0, 167) && KFX metadata reader (from KFX Input) (1, 22, 0) && KFX Input (1, 22, 0) && EpubMerge (2, 5, 0)
Traceback (most recent call last):
File "site-packages/calibre/gui2/viewer/ui.py", line 399, in load_finished
File "site-packages/calibre/gui2/viewer/ui.py", line 419, in load_book_data
File "site-packages/calibre/gui2/viewer/toc.py", line 204, in __init__
File "site-packages/calibre/gui2/viewer/toc.py", line 156, in __init__
File "site-packages/calibre/gui2/viewer/toc.py", line 155, in __init__
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2019' in position 10: ordinal not in range(256)
Skumar is offline   Reply With Quote
Old 11-19-2019, 04:18 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: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Again, switch your system encoding to utf-8 from latin-1
kovidgoyal is offline   Reply With Quote
Advert
Old 11-20-2019, 08:17 AM   #3
Skumar
Member
Skumar began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Feb 2019
Device: amazon kindle basic 8th generation
I search internet but not found any way to change utf-8 systemwide. Can you please tell me
Skumar is offline   Reply With Quote
Old 11-20-2019, 11:17 AM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,503
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Check the locale command
PeterT is offline   Reply With Quote
Old 11-21-2019, 06:10 PM   #5
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
Try this: https://www.tecmint.com/set-system-locales-in-linux/
ps67 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre ebook viewer zzaino Library Management 1 10-21-2019 11:41 PM
ebook viewer not working in calibre pwrgrl Calibre 9 02-15-2013 09:36 AM
Associating ebook files with Calibre ebook viewer zobop Library Management 1 06-24-2012 11:07 AM
Calibre ebook viewer jayaitch Calibre 3 05-25-2012 11:53 PM
Ebook viewer: Remember last used window size not working (0.7.19) sherman Calibre 2 09-19-2010 10:55 PM


All times are GMT -4. The time now is 08:42 PM.


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