View Single Post
Old 06-17-2014, 06:39 PM   #1
plusunim
Junior Member
plusunim began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2014
Device: none
Exclamation Switching databases

Hi all.

I'm having a problem with switching databases. I suddenly cannot access one of them. An error (E1) popped up at first. On retrying to switch and on the program's advice I tried to restore the DB, but got an error (E2). I'm pasting the errors I got. I would appreciate some help or advice in what to do to get back access to the DB. If you require more information do ask. At the moment I have no idea what information would be useful to you people.

regards,
plusunim

---------------------------
E1 ->

calibre, version 1.40.0
ERROR: Unhandled exception: <b>UnicodeDecodeError</b>:'utf8' codec can't decode byte 0x8b in position 226: invalid start byte

calibre 1.40 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 398, in dispatch
File "site-packages\calibre\gui2\actions\choose_library.py", line 541, in switch_requested
File "site-packages\calibre\gui2\ui.py", line 607, in library_moved
File "site-packages\calibre\db\legacy.py", line 70, in __init__
File "site-packages\calibre\db\legacy.py", line 44, in create_backend
File "site-packages\calibre\db\backend.py", line 376, in __init__
File "site-packages\calibre\db\backend.py", line 383, in initialize_prefs
File "site-packages\calibre\db\backend.py", line 75, in __init__
File "site-packages\calibre\db\backend.py", line 79, in load_from_db
File "site-packages\calibre\db\backend.py", line 279, in get
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 226: invalid start byte

=============================================
E2 ->

calibre, version 1.40.0
ERROR: Failed: Restoring database failed, click Show details to see details

Traceback (most recent call last):
File "site-packages\calibre\db\restore.py", line 125, in run
File "site-packages\calibre\db\restore.py", line 277, in replace_db
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
plusunim is offline   Reply With Quote