View Single Post
Old 07-05-2010, 09:28 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by weedfreak View Post
Books have always gone into a My books folder, not sure why Calibre has started to do things differently
The driver was changed to make the destination directory customizable. See the device plugin customization for more information.
Quote:
Running in debug mode gives the following as soon as I connect the Boox

Code:
(13, 'Permission denied')

Traceback (most recent call last):
  File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 67, in run
  File "/home/kovid/build/calibre/src/calibre/gui2/device.py", line 274, in _books
  File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 158, in books
  File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 294, in sync_booklists
  File "/home/kovid/build/calibre/src/calibre/devices/usbms/driver.py", line 292, in write_prefix
IOError: [Errno 13] Permission denied: u'/media/usb5/metadata.calibre'
That is quite clear -- calibre cannot create the cache file in the root directory of the device. From that point on, nothing good will happen.

I have no idea how permissions work in a Boox. Does it use linux-like permissions? Are the permissions such that calibre should be able to create the file? Can you create the file by hand? (cd /media/usb5; touch metadata.cache)
chaley is offline   Reply With Quote