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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-12-2024, 09:58 PM   #1
merlinsilk
Junior Member
merlinsilk began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2017
Device: ipad, android
Error on Ubuntu

I just moved my Calibre install from a windows machine to an ubuntu server. The transition was pretty painless, but I am now rather frequently get the error pasted below. Is there something I am doing wrong or is there a bug that needs to be fixed?
Cheers,
Merlin

calibre, version 7.22.0
ERROR: Unhandled exception: <b>UnicodeDecodeError</b>:'utf-8' codec can't decode byte 0xa9 in position 74: invalid start byte

calibre 7.22 embedded-python: True
Linux-6.8.0-49-generic-x86_64-with-glibc2.35 Linux ('64bit', 'ELF')
('Linux', '6.8.0-49-generic', '#49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2')
Python 3.11.5
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: Count Pages (1, 13, 6) && View Manager (1, 10, 3)
Traceback (most recent call last):
File "calibre/gui2/ui.py", line 1329, in closeEvent
File "calibre/gui2/ui.py", line 1178, in write_settings
File "calibre/gui2/init.py", line 751, in save_layout_state
File "calibre/gui2/library/views.py", line 910, in save_state
File "calibre/gui2/library/views.py", line 904, in write_state
File "calibre/db/cache.py", line 85, in call_func_with_lock
File "calibre/db/cache.py", line 1062, in set_pref
File "calibre/db/backend.py", line 164, in set
File "calibre/db/backend.py", line 151, in __setitem__
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9 in position 74: invalid start byte
merlinsilk is offline   Reply With Quote
Old 12-12-2024, 10:08 PM   #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: 44,764
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That looks like database corruption. Try rebuilding your database using the library maintenance tool
kovidgoyal is offline   Reply With Quote
Advert
Old 12-13-2024, 04:54 AM   #3
merlinsilk
Junior Member
merlinsilk began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2017
Device: ipad, android
Thanks, kovidgoyal!
I think I did something to the database by accessing it over the network from the main unix machine but also from a windows machine. Not 100% sure, but if somebody runs into this error, this might be something to look into.
merlinsilk is offline   Reply With Quote
Reply

Tags
linux ubuntu error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in building Calibre on ubuntu thyworld Calibre 3 06-25-2021 08:12 AM
Library error in Ubuntu 16.04 LTS Thalia Helikon Library Management 3 11-21-2020 12:53 AM
Update, Error message on Ubuntu 12.04 Lanson Devices 12 07-03-2016 07:04 PM
Sigil error in Ubuntu 12.04 njm55n Sigil 13 05-20-2012 07:19 AM
Conversion error in Ubuntu filmprof Conversion 1 02-10-2011 04:33 PM


All times are GMT -4. The time now is 03:37 AM.


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