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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2014, 04:51 AM   #1
Odyssee
Junior Member
Odyssee began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2008
Device: Iliad
Error communicating with device

After I connect my Kobo Aura I get an errormessage "error communicating with device". I can upload ebooks to my device though. Everything seems to be normal. However yesterday I noticed that almost all collections on my device had disappeared.
This communicating problem is recent, in any case after the upgrade to the 1.34 version of Calibre. I appreciate your help.

The error log:

calibre, version 1.34.0
ERROR: Error: Error communicating with device

database or disk is full

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 86, in run
File "site-packages\calibre\gui2\device.py", line 520, in _sync_booklists
File "site-packages\calibre\devices\kobo\driver.py", line 923, in sync_booklists
File "site-packages\calibre\devices\kobo\driver.py", line 2292, in update_device_database_collections
File "site-packages\calibre\devices\kobo\driver.py", line 2556, in delete_empty_bookshelves
OperationalError: database or disk is full
Odyssee is offline   Reply With Quote
Old 04-28-2014, 07:07 AM   #2
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: 5,643
Karma: 5651616
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Odyssee View Post
calibre, version 1.34.0
ERROR: Error: Error communicating with device

database or disk is full
Have you checked the disk space on the device? And also check the size of the database on the device. The database is in the directory ".kobo" and is called "KoboReader.sqlite". If the database is large, then it will need plenty of free space on the disk for any changes.
davidfor is offline   Reply With Quote
Old 04-28-2014, 09:04 AM   #3
Odyssee
Junior Member
Odyssee began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2008
Device: Iliad
Thanks for your reply David. Yes I have checked the disk space. Of 3,17 Gb total space there is still 2,44 Gb free so that shoudn't be a problem. The koboreader.sqlite file is 24 Mb. Whether that is large or small, I can't say. There are app. 370 ebooks on my device.

O.
Odyssee is offline   Reply With Quote
Old 04-28-2014, 05:51 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,839
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Odyssee View Post
Thanks for your reply David. Yes I have checked the disk space. Of 3,17 Gb total space there is still 2,44 Gb free so that shoudn't be a problem. The koboreader.sqlite file is 24 Mb. Whether that is large or small, I can't say. There are app. 370 ebooks on my device.

O.
Where are you sending the books.
It is still possible to overload the (FAT) 'ROOT' folder (eg g:\) and have lots of SPACE available. FAT32 (formatting) is not as sensitive to this.

It is better to place files (books is files ) into 1 or more sub folders (as device rules allow)
theducks is offline   Reply With Quote
Old 04-29-2014, 06:47 AM   #5
Odyssee
Junior Member
Odyssee began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2008
Device: Iliad
I was not aware of the fact that it is possible to store books/files in subdirectories. Indeed everything is now in the Root. I transfer ebooks through Calibre. As far as I know there is only an option to send them to the main memory. Of course I can manually rearrange all the files on g:, i.e. move them to one of more subdirectories with the explorer but I am afraid that then the Aura doesn't function properly any more.
Odyssee is offline   Reply With Quote
Old 04-29-2014, 07:09 AM   #6
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: 5,643
Karma: 5651616
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Odyssee View Post
Thanks for your reply David. Yes I have checked the disk space. Of 3,17 Gb total space there is still 2,44 Gb free so that shoudn't be a problem. The koboreader.sqlite file is 24 Mb. Whether that is large or small, I can't say. There are app. 370 ebooks on my device.
That is plenty of space. And a 24MB database is relatively small. Mine is about 60MB at the moment.

I've done some research. It appears this error happens when the temporary disk space is full. On a Windows machine, that is usually a directory on the C-drive. I'd also wonder it if would happen there was a permissions problem with the temporary directory. That would also prevent anything from being written there and might be be reported as a space problem. There have been plenty of problems generally with calibre that appear to be permissions problems with the temporary directory.
davidfor is offline   Reply With Quote
Old 04-29-2014, 09:28 AM   #7
Odyssee
Junior Member
Odyssee began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2008
Device: Iliad
Thanks for your help. I cleared all temp directories (on my Win 7 machine). There is lots of free space on my HD. Could it be that the database on my device is corrupt? In that case I suppose a reset to factory settings is the only thing to do?
Odyssee is offline   Reply With Quote
Old 04-29-2014, 09:59 PM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,861
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
I know nothing about this device but this error happens as theducks inferred when your device is formatted using fat 16 (FAT 32 is not subject to the same problem) and you have a bunch of files in the root directory. Simply place your books in a sub directory and right click to configure your device to use sub-directories. It looks like the device default is to use sub-directories.

Last edited by DoctorOhh; 04-29-2014 at 11:13 PM.
DoctorOhh is offline   Reply With Quote
Old 04-29-2014, 10:55 PM   #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: 5,643
Karma: 5651616
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Odyssee View Post
Thanks for your help. I cleared all temp directories (on my Win 7 machine). There is lots of free space on my HD. Could it be that the database on my device is corrupt? In that case I suppose a reset to factory settings is the only thing to do?
It might be a corrupt database. The errors reported are usually more obvious.

A factory reset is usually overkill. You can logout on the device and that will generate a new database during the setup. This will also add all the books that are on the device back in.

Quote:
Originally Posted by DoctorOhh View Post
I now nothing about this device but this error happens as theducks inferred when your device is formatted using fat 16 (FAT 32 is not subject to the same problem) and you have a bunch of files in the root directory. Simply place your books in a sub directory and right click to configure your device to use sub-directories. It looks like the device default is to use sub-directories.
The partition on the device that calibre can see is formatted as FAT32. This is done by the device during set-up or a factory reset. I don't think the device would work if someone had manually formatted it as FAT16. Plus the database file that seems to be causing the problem is in a sub-directory.
davidfor is offline   Reply With Quote
Old 04-29-2014, 11:13 PM   #10
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,861
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by davidfor View Post
The partition on the device that calibre can see is formatted as FAT32.
So I was right I when I said, "I know nothing about this device"
DoctorOhh is offline   Reply With Quote
Old 04-29-2014, 11:46 PM   #11
PeterT
Taking a break; Fed up
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.
 
PeterT's Avatar
 
Posts: 6,933
Karma: 43999669
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
I dont think you had the option on the original device of a Logout to erase the database. Unfortunately, we've sold all our original Kobos some time ago, and can't check out the menus etc.
PeterT is offline   Reply With Quote
Old 04-30-2014, 04:11 AM   #12
Odyssee
Junior Member
Odyssee began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2008
Device: Iliad
A device log out is beyond me, am I afraid, so I did a factory settings reset. Everything seems ok now apart from the fact that I have to upload all my ebooks again.

I may have been not too clear on the directories situation. I know there is an option somwhere in the calibre preferences. I did check this subdirectories options and all my ebooks are in seperate directories under the root. as it should be, as I know understand from your kind help.
Odyssee is offline   Reply With Quote
Old 05-07-2014, 08:38 AM   #13
pipistrelosone
Junior Member
pipistrelosone began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura HD
Question Kobo - "Error communicating with the device"

Hi everybody,

I must start apologising for my english: it's only the fourth of my languages (spanish is the first, my mother's tongue). Please, be kind enough to ignore my faults...

I've a Kobo Aura HD, with a 32 Gb SD card, in wich some thousands of books. And I've seen this message several times when trying to copy in the memory card (I've tried: it also happens if I try to copy to Kobo's maim memory) new books. I don't know why. If you look to the details of the error message, I can see the title of a book, and it seems to be this book who produces the error when Calibre tries to copy to the Kobo device.

After some trials, I've found that the following procedure corrects the error:
  • Convert the book from original format (im my case, always ePub) to another format (in general, I convert ot MOBI format)
  • Delete the original ePub file
  • Convert again the book, from MOBI to ePub
  • Delete the MOBI file (you can keep all the two formats, if you want)
  • Send the book to the Kobo device: no error is detected any more

For me, the real annoying thing is that, when I'm copying new books to the Kobo device (some times, several hundreds), if a book produces this error, the all task is cancelled (that is, if the book is at the last of the list, you've lost a lot of time transferring books that, finally, will not appear in the device).

I suppose this is a known problem for all Kobo's users (well, I suppose Kobo has not developped a fully different OS for every of hes devices). So, my questions to Calibre community:
  • Could be it possible to open a "ticket" to Calibre's developpers, to check this problem, and try to do an utility allowing the checking of a list of files before trying to copy them in the device
  • As it seems this is could be a Kobo's specific problem, could the Calibre community address this problem to Kobo company? (I have the feeling that, if I report directly this problem to Kobo, Kobo will ignore me)


Thnak you very much for any positive answer
pipistrelosone is offline   Reply With Quote
Old 05-07-2014, 09:36 AM   #14
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: 5,643
Karma: 5651616
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by pipistrelosone View Post

I've a Kobo Aura HD, with a 32 Gb SD card, in wich some thousands of books. And I've seen this message several times when trying to copy in the memory card (I've tried: it also happens if I try to copy to Kobo's maim memory) new books. I don't know why. If you look to the details of the error message, I can see the title of a book, and it seems to be this book who produces the error when Calibre tries to copy to the Kobo device.

After some trials, I've found that the following procedure corrects the error:
  • Convert the book from original format (im my case, always ePub) to another format (in general, I convert ot MOBI format)
  • Delete the original ePub file
  • Convert again the book, from MOBI to ePub
  • Delete the MOBI file (you can keep all the two formats, if you want)
  • Send the book to the Kobo device: no error is detected any more

For me, the real annoying thing is that, when I'm copying new books to the Kobo device (some times, several hundreds), if a book produces this error, the all task is cancelled (that is, if the book is at the last of the list, you've lost a lot of time transferring books that, finally, will not appear in the device).

I suppose this is a known problem for all Kobo's users (well, I suppose Kobo has not developped a fully different OS for every of hes devices). So, my questions to Calibre community:
  • Could be it possible to open a "ticket" to Calibre's developpers, to check this problem, and try to do an utility allowing the checking of a list of files before trying to copy them in the device
  • As it seems this is could be a Kobo's specific problem, could the Calibre community address this problem to Kobo company? (I have the feeling that, if I report directly this problem to Kobo, Kobo will ignore me)
All this makes me think you are using the KoboTouchExtended driver. This does on-the-fly conversion to kepub. If there are problems in the source epub, it will fail. That would give an error like you describe. And a conversion to mobi and back would probably fix the problems. Even a epub to epub conversion would probably fix it.

If I am right about the driver, you can report the failing books to the author of the driver. See http://www.mobileread.com/forums/sho...d.php?t=211135 for details.

You can also do a conversion and keep the kepub in the calibre library. For this, you need the KePub Output Plugin. Then you send the kepub to the device. I don't use this enough to know if this would solve the problem you are seeing or not.

If I am wrong about the driver you are using, then I need more details about the error. From the details I can see where the error is happening and hopefully be able to fix it.
davidfor is offline   Reply With Quote
Old 05-13-2014, 12:18 PM   #15
pipistrelosone
Junior Member
pipistrelosone began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura HD
Thanks a lot, but...

Hi, Davidfor,

Thanks a lot for your reply.

How can I know if I'm using the KoboTouchExtender driver? Sorry for my fully technical incompetence...

Regards,

Pipistrelosone
pipistrelosone is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error communicating with device Purple Lady Calibre Companion 14 05-14-2014 04:07 PM
Error Communicating with Device tomemastermom Devices 11 07-08-2013 09:12 AM
Error communicating with device Galadan Devices 1 09-21-2012 02:14 PM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ver 0.6.3 error: Error communicating with device PRS-505 scripo Calibre 4 08-01-2009 10:38 PM


All times are GMT -4. The time now is 12:54 PM.


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