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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2015, 10:34 AM   #1
sws
Enthusiast
sws began at the beginning.
 
sws's Avatar
 
Posts: 29
Karma: 10
Join Date: Oct 2012
Device: Pocket Book Touch Lux
calibredb add: IndexError: list index out of range

Hi,

I try to add some ebook from a directory recursively into calibre-server as I have done many times before. But today I get this error:

Code:
calibredb add -1 -r pre_calibre/
Traceback (most recent call last):
  File "site.py", line 63, in main
  File "site-packages/calibre/library/cli.py", line 1554, in main
  File "site-packages/calibre/library/cli.py", line 421, in command_add
  File "site-packages/calibre/library/cli.py", line 302, in do_add
  File "site-packages/calibre/db/legacy.py", line 259, in recursive_import
  File "site-packages/calibre/db/adding.py", line 105, in recursive_import
  File "site-packages/calibre/db/adding.py", line 85, in import_book_directory
IndexError: list index out of range
When I try to add a single book/file it works but adding books/files from within directories using the "-r" option doesn't.

I searched the forum but didn't find an suitable answer.
I am runnig calibre version 2.22.

Regards,
Sebastian
sws is offline   Reply With Quote
Old 03-27-2015, 11:09 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,896
Karma: 5582471
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...3be2e5c2659e51
kovidgoyal is offline   Reply With Quote
Old Yesterday, 12:56 AM   #3
sws
Enthusiast
sws began at the beginning.
 
sws's Avatar
 
Posts: 29
Karma: 10
Join Date: Oct 2012
Device: Pocket Book Touch Lux
Hi Kovid,

thanks for the link. But I installed the binary standard installation. I can not find the file "adding.py". Do I have to download the sources, change them accordingly and install manually afterwards?

Regards,
Seabstian
sws is offline   Reply With Quote
Old Yesterday, 01:18 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,896
Karma: 5582471
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just wait for the next release.
kovidgoyal is offline   Reply With Quote
Old Yesterday, 01:25 AM   #5
sws
Enthusiast
sws began at the beginning.
 
sws's Avatar
 
Posts: 29
Karma: 10
Join Date: Oct 2012
Device: Pocket Book Touch Lux
O.K., I will.
Thank you.
sws is offline   Reply With Quote
Reply

Tags
calibredb, indexerror

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion error IndexError: list index out of range trebor6691 Conversion 4 02-20-2014 12:13 AM
Calibre help? IndexError: list index out of range ideamutt Editor 4 01-08-2014 07:56 PM
LIST INDEX OUT OF RANGE ERROR texasmichele Calibre 6 01-29-2013 01:37 PM
Convertion error txt to epub "IndexError: list index out of range" economix Conversion 6 12-25-2011 06:14 AM
list index out of range error adamvert Calibre 20 10-02-2010 12:26 PM


All times are GMT -4. The time now is 02:11 AM.


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