View Single Post
Old 11-05-2015, 03:23 AM   #1433
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 incumbent View Post
Code:
calibre, version 2.42.0
ERROR: Unhandled exception: <b>OSError</b>:[Errno 2] No such file or directory: '/Volumes/KOBO16 1/.kobo/KoboReader.sqlite'

calibre 2.42  isfrozen: True is64bit: True
Darwin-15.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.0.0', 'Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64')
Python 2.7.9
OSX: ('10.11.1', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Marvin XD && Quality Check && Annotations && Find Duplicates && Kobo Utilities && Embed Comic Metadata && iOS reader applications && KoboTouchExtended && Goodreads Sync && KoboBooks && Goodreads
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 1440, in vacuum_device_database
  File "lib/python2.7/genericpath.py", line 49, in getsize
OSError: [Errno 2] No such file or directory: '/Volumes/KOBO16 1/.kobo/KoboReader.sqlite'
Not going to find the database there, since it'll be on `KOBOeReader` anyway, not `KOBO16` or the current mount point in `/Volumes` of `/Volumes/KOBO16\ 1`.
That is in the Kobo Utilities plugin when doing compress. And it is using the wrong path. Was there an earlier error? Does calibre show books on the device or the card? The utilities plugin is getting the path to the device from calibre. If it is wrong at this point, it should have been wrong earlier.

I had a quick look at the code getting the paths. At the moment, I cannot see a way that this could happen. I'll have to have better look and hopefully see it.

Quote:
Originally Posted by incumbent View Post
Untested. When I can reproduce the error I'll try.

(I'm usually wary of doing so because it takes a considerable amount of time for the Kobo to sift through the 16GB card.)
How long? Unless you change the books on the card, it should be fairly quick. The first time the device sees the card, it will take a long time, but after that it should be only a few seconds. With 1100 books on a card, reinserting it in my Touch takes less than ten seconds. I would expect it to take more time with a lot more books, but, it should only be a couple of minutes.
davidfor is offline   Reply With Quote