01-22-2012, 04:28 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Kindle
|
Adding books Error
When I try to move a book into calibre I get the following error:
Traceback (most recent call last): File "site-packages\calibre\gui2\add.py", line 127, in start File "site-packages\calibre\gui2\add.py", line 221, in add File "site-packages\calibre\gui2\add.py", line 234, in add_formats File "site-packages\calibre\library\database2.py", line 1348, in add_format File "shutil.py", line 48, in copyfileobj IOError: [Errno 22] Invalid argument Any ideas? |
01-22-2012, 04:58 AM | #2 |
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What format is this book in and how are you adding it? Run calibre i debug mode and post the output whena dding a book (right click on preferences to run it in debug mode)
|
Advert | |
|
01-22-2012, 05:47 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Kindle
|
I had tried LIT, TXT and PDF by using the Add Books icon and by dragging the file in. I ran calibre in debug mode tried dragging and adding using the add book icon. Both times I recieved the following:
Failed to read the metadata from the following: Alex Delaware 06 - Private Eyes.lit Traceback (most recent call last): File "site-packages\calibre\gui2\add.py", line 127, in start File "site-packages\calibre\gui2\add.py", line 221, in add File "site-packages\calibre\gui2\add.py", line 234, in add_formats File "site-packages\calibre\library\database2.py", line 1348, in add_format File "shutil.py", line 48, in copyfileobj IOError: [Errno 22] Invalid argument |
01-22-2012, 06:06 AM | #4 |
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That can happen on some windows systems due to filename encoding issues. Make sure the files you are trying to add do not have special characters in their names or in the paths leading up to them.
|
01-22-2012, 06:37 AM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Kindle
|
Filenames and paths are ok, still cannot add books. Any other suggestions?
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding Books to Calibre error | Ginnia | Library Management | 4 | 06-07-2011 04:13 AM |
Error: Adding Failed | rincypm | Calibre | 17 | 01-12-2011 10:37 AM |
error adding books | Beau | Calibre | 5 | 11-02-2010 12:03 PM |
Error adding books | Gfinch | Calibre | 2 | 08-03-2008 08:36 PM |
Libprs500- error with adding previously converted books | bluesnews | Calibre | 4 | 04-08-2008 11:06 PM |