View Single Post
Old 03-26-2017, 04:59 AM   #9
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by psy9o View Post
Hello, I have a Kobo aura one and am having the same problem, I can factory reset my device and make it go away but as soon as the error in calibre occurs again the device can't connect anymore. Is there any way to prevent this error of occurring?

Quote:

IOError: disk I/O error

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 88, in run
File "site-packages\calibre\gui2\device.py", line 511, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 1707, in books
File "site-packages\calibre\devices\kobo\driver.py", line 167, in get_database_version
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 990, in APSWCursor_execute.sqlite3_prepare
File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\statementcache.c", line 386, in sqlite3_prepare
IOError: IOError: disk I/O error
It's not exactly the same error as the OP as it is happening in a different line of code. This is happening when attempting to open the database, the earlier one is when using the database to get the books. At that point, the database has been successfully opened and some data has been retrieved from it. In your case, it cannot even open the database.

The most likely reason is that the database is corrupted. Why, I don't know. The simplest reason is because you didn't safely eject the device. There are probably other reasons, but I've never tracked them down.

But, I'm not sure what you mean by "can't connect anymore". If you mean you get that error and keep getting that error until you do a factory reset, then that makes senses. If the database is corrupt, until you do something to fix it, then you will continue to see the error. A factory reset will fix it. But, it should be overkill. Signing out of the Kobo account on the device should be enough. This will generate a new database during the setup. Or, if you backup the database you can restore it.

Or, do you mean something else? Is it not connecting to Windows at all?
davidfor is offline   Reply With Quote