![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2013
Device: Nook
|
OSError: [Errno 31] Too many links:
Hello there,
Been happily using Calibre for some time, through a number of versions. No problems until now. I am on Kubuntu Linux 12.04. I have a lot of books (66851) and recently when trying to add more, I get this for every book. [Some names have changed to protect the innocent] Any help or hints would be great. Thank you in advance. calibre, version 0.9.39 ERROR: Some failures: Failed to apply updated metadata for some books in your library. Click "Show Details" to see details. Some Book Title - Some Author Traceback (most recent call last): File "site-packages/calibre/gui2/actions/edit_metadata.py", line 670, in apply_mi File "site-packages/calibre/library/database2.py", line 2278, in set_metadata File "site-packages/calibre/library/database2.py", line 641, in set_path File "os.py", line 150, in makedirs File "os.py", line 157, in makedirs OSError: [Errno 31] Too many links: '/home/myhome/Books/CalibreLibrary/Some Author' |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
if I google for Kubuntu Too many links - some references refer to a limit of 64K links
64K is 65,536 - which is not far from 66851 - just a thought BR |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
I think the error is related to *symbolic links*
Does calibre use symbolic links instead of actual directories? I don't know. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,289
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Check the quota setting to see if you have exceeded the defaults for your account.
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2013
Device: Nook
|
I do not have quotas on my account.
So, is there a solution to this? I mean, it is likely I will collect more documents/books over time and I would like to keep using Calibre in the meantime. Is there a work around? BR, I think you are on to something. Given a few books with the same author, it probably does come out close. If I remove a few books, then I am able to load some books properly, so I think it must be related. A thought.... It would be great if Calibre abstracted the directories one more level, say, by the first letter of the author, so there would be /Library/A/AuthorsStartingWithA/Book, that would reduce the number of directories to 26 (or so, not including numbers, foreign languages, etc) and reduce the number of entries in each substantially. |
![]() |
![]() |
![]() |
#7 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,613
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Each author has a lookup URI link - you see it in the Book Details, the link pattern is defined at the top of Preferences->Look and Feel->Book Details, it defaults to Wikipedia You can set the link for an individual author in Manage Authors, which is behind the Alter Tag Browser button at the bottom of the Tag Browser. Try changing a few to a fixed URI and see if you can add some books Quote:
Meantime you can post a defect report here ==>> https://bugs.launchpad.net/calibre put a link back to here BR |
||
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,173
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use multiple libraries, or use a better file system. I believe btrfs has 2^32 (though I may be misremembering). I think only the ext and FAT family have such low max counts.
Last edited by kovidgoyal; 07-18-2013 at 11:17 PM. |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jul 2013
Device: Nook
|
I am using ext3 now. Seems like a pretty good FS.
My authors tag list says 36242 authors. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux installation fails on OSError | net-buoy | Calibre | 5 | 04-12-2011 04:54 PM |
Errno 30 : Read-Only filesystem | Vryali | Calibre | 6 | 11-08-2010 11:10 PM |
IOError: [Errno 22] Invalid argument | jkcoder | Calibre | 5 | 09-25-2010 09:28 AM |
IOError errno 5? | codemac | Calibre | 11 | 10-22-2009 02:36 PM |
[Errno 2] in any2epub | deegee | Calibre | 0 | 12-14-2008 10:36 AM |