Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2014, 04:41 PM   #1
senordustball
Junior Member
senordustball began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2012
Device: Nook simple touch
Error with Library on Windows partition while running Calibre in Xubuntu linux

Hello,

Whenever it open calibre under Linux, I get the following error:

calibre, version 1.25.0
ERROR: Failed to create library: Failed to create calibre library at: u'/media/joaquin/D6402D96402D7E7D/Calibre Library'.

Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/main.py", line 143, in get_library_path
os.makedirs(library_path)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/media/joaquin/D6402D96402D7E7D'



The path to the Library folder is in a windows partition so that might be part of the issue, does anyone know how to fix this error?

Thank you.
senordustball is offline   Reply With Quote
Old 06-28-2014, 07:10 PM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
Yes.

Stop using the same calibre library in both Windows from Linux.

It will corrupt the library and may cause you to lose metadata and books.

The reason is that Windows and Linux have different case sensitivity. In Linux "Book.epub" and "book.epub" are two different filenames. In Windows they are identical. This will slowly cause data-rot in the library.

I don't know the exact cause of the error you showed. But it might be related to differences in the filesystems. Perhaps Linux has problems using the ntfs filsystem?

Last edited by Adoby; 06-28-2014 at 07:13 PM.
Adoby is offline   Reply With Quote
Advert
Old 06-28-2014, 07:49 PM   #3
theducks
Well trained by Cats
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: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Adoby View Post
Yes.

Stop using the same calibre library in both Windows from Linux.

It will corrupt the library and may cause you to lose metadata and books.

The reason is that Windows and Linux have different case sensitivity. In Linux "Book.epub" and "book.epub" are two different filenames. In Windows they are identical. This will slowly cause data-rot in the library.

I don't know the exact cause of the error you showed. But it might be related to differences in the filesystems. Perhaps Linux has problems using the ntfs filsystem?
Corruption almost guaranteed: Yes Been there and I am still finding/cleaning remnant files from years ago. Don't go there. If you do, don't come here moaning .

Ubuntu and Mint can deal with LOCAL NTFS just fine (ant least for non-intensive file operations like playing MP3's from the NTFS folder)
theducks is offline   Reply With Quote
Old 06-28-2014, 09:18 PM   #4
senordustball
Junior Member
senordustball began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2012
Device: Nook simple touch
Ok, thanks for the advise, this is a new install so I will make two separate libraries.
senordustball is offline   Reply With Quote
Old 06-28-2014, 10:33 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by senordustball View Post
Ok, thanks for the advise, this is a new install so I will make two separate libraries.
Better yet, just pick which OS to use to run Calibre and don't use it on the other OS.
JSWolf is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Calibre library to Dropbox folder (on same HDD and partition) larryvega Library Management 11 03-08-2014 05:13 AM
Is the Sigil version in Windows the same as in Xubuntu? Gregg Bell Sigil 20 01-23-2014 03:09 AM
Linux=>Windows Library migration Lanson Library Management 3 09-09-2013 10:19 AM
Not running properly, Xubuntu 11.10, netbook DJHARKAVY Devices 4 11-06-2011 10:24 AM
OT-ish: Calibre in VirtualBox/Linux running Windows XP Client Gwen Morse Devices 9 04-14-2011 10:28 AM


All times are GMT -4. The time now is 04:08 PM.


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