View Single Post
Old 03-27-2015, 10:34 AM   #1
sws
Enthusiast
sws began at the beginning.
 
sws's Avatar
 
Posts: 40
Karma: 10
Join Date: Oct 2012
Device: Pocket Book Touch HD3
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