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

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 04-30-2011, 12:11 AM   #1
DashBoard Jesus
Junior Member
DashBoard Jesus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2011
Device: iPad
Calibre to iTunes Error

Sorry if this has been posted but when trying to export epubs in my library, device>iTunes, export using "send to device" I get the following error. Driving me nuts Any thoughts?

Calibre 0.7.58
iTunes 10.2.1
Mac os 10.6.5

Error as follows:

"list index out of range

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 62, in run
File "site-packages/calibre/gui2/device.py", line 364, in _upload_books
File "site-packages/calibre/devices/apple/driver.py", line 1029, in upload_books
File "site-packages/calibre/devices/apple/driver.py", line 2139, in _get_fpath
File "site-packages/calibre/devices/apple/driver.py", line 2629, in _update_epub_metadata
IndexError: list index out of range"

P.S. No other device is connected while doing this.

Last edited by DashBoard Jesus; 04-30-2011 at 12:20 AM. Reason: Edit
DashBoard Jesus is offline   Reply With Quote
Old 04-30-2011, 12:30 AM   #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: 43,782
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That will happen if the epub you are trying to send is invalid (has no OPF). Just ignore that book.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-30-2011, 01:44 AM   #3
DashBoard Jesus
Junior Member
DashBoard Jesus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2011
Device: iPad
Got it, any way of telling which book has a valid OPF or is it trial and error?
DashBoard Jesus is offline   Reply With Quote
Old 04-30-2011, 04:21 AM   #4
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by DashBoard Jesus View Post
Got it, any way of telling which book has a valid OPF or is it trial and error?
change the extension of .epub to .zip ....

a .opf file is usually stored in the OEBPS folder ....
GeoffC is offline   Reply With Quote
Old 04-30-2011, 05:36 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by GeoffC View Post
change the extension of .epub to .zip ....

a .opf file is usually stored in the OEBPS folder ....
No need to change extension, just right click on the book in calibre and select tweak epub, then press explode ePub and take a look.
DoctorOhh is offline   Reply With Quote
Advert
Old 04-30-2011, 06:07 AM   #6
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by DashBoard Jesus View Post
Sorry if this has been posted but when trying to export epubs in my library, device>iTunes, export using "send to device" I get the following error. Driving me nuts Any thoughts?
Patch submitted.

G
GRiker is offline   Reply With Quote
Old 04-30-2011, 09:40 AM   #7
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by dwanthny View Post
No need to change extension, just right click on the book in calibre and select tweak epub, then press explode ePub and take a look.
GeoffC is offline   Reply With Quote
Old 04-30-2011, 10:03 AM   #8
DashBoard Jesus
Junior Member
DashBoard Jesus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2011
Device: iPad
Quote:
Originally Posted by GRiker View Post
Patch submitted.

G
Is this an action i'm supposed to take in Calibre? Or are you saying a development patch to Calibre has been submitted to the developer?
DashBoard Jesus is offline   Reply With Quote
Old 04-30-2011, 10:09 AM   #9
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by DashBoard Jesus View Post
Is this an action i'm supposed to take in Calibre? Or are you saying a development patch to Calibre has been submitted to the developer?
I'm saying that as the author of the iTunes device driver, I saw your posting, looked at relevant code, made the necessary corrections, and submitted a patch to Kovid, who will integrate it into the next release.

G
GRiker is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre and iTunes just_jeepin Devices 13 05-21-2011 02:08 AM
iTunes upload error message Grady Hendrix Sigil 5 04-29-2011 10:33 AM
Error communicating with device: iTunes 10 journeyman58 Calibre 3 10-09-2010 06:44 PM
Apple iTunes Producer Error Message Tim Ransom Calibre 0 08-15-2010 03:33 PM
Calibre and ITunes pufff Calibre 4 06-29-2010 07:30 AM


All times are GMT -4. The time now is 04:54 AM.


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