I recently inherited a used Kobo eReader Wifi (there's no other model name; I think it was purchased new in 2014). I was unable to add ebooks to it with Calibre, so I tried factory resets, from the Settings menu and also manually. Now I get the following error every time I try to connect the device to a computer with Calibre (same error on both Windows 10 and Ubuntu 16.04):
calibre, version 4.18.0
ERROR: Error: Error communicating with device
CantOpenError: unable to open database file
Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 90, in run
File "site-packages/calibre/gui2/device.py", line 513, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 338, in books
File "site-packages/calibre/devices/kobo/driver.py", line 175, in device_database_connection
CantOpenError: CantOpenError: unable to open database file
The Kobo is now empty and completely useless. Any suggestions for dealing with this error would be greatly appreciated!