New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error communicating with device" when trying to send books from Calibre to Marvin. #58

Closed
wigent25 opened this Issue Dec 27, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@wigent25

wigent25 commented Dec 27, 2013

I am trying to send some books to Marvin on my 4th generation iPad from Calibre but when I try to send to device it tells me "error communicating with device". It is syncing up fine, but when I select the books I want to send it gives me the error.
Calibre version: 1.17
Calibre's Language: English
Operating System: OSX 10.7.5
iTunes version: 11.1.3
iOS reader applications version 1.3.1
Marvin version 2.5.6
Preferred Reader Application: Marvin
iDevice: 4th generation iPad WiFi

Debug report:
calibre 1.17 isfrozen: True is64bit: True
Darwin-11.4.2-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '11.4.2', 'Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64')
Python 2.7.5
OSX: ('10.7.5', ('', '', ''), 'x86_64')
DEBUG: 0.0 iOSReaderApp:initialize(v1.3.1)
DEBUG: 0.0 iOSReaderApp:compile_ui()
DEBUG: 0.1 iOSReaderApp:_init_prefs(prefs created under v1.3.1)
DEBUG: 0.1 debug_libimobiledevice: False
DEBUG: 0.1 debug_plugin: True
DEBUG: 0.1 development_mode: False
DEBUG: 0.1 marvin_edit_collections_cb: True
DEBUG: 0.1 marvin_enabled_collection_fields: []
DEBUG: 0.1 marvin_protect_rb: False
DEBUG: 0.1 marvin_replace_rb: False
DEBUG: 0.1 marvin_update_rb: True
DEBUG: 0.1 preferred_reader_app: u'Marvin'
DEBUG: 0.1 iOSReaderApp:_get_connected_device_info()
DEBUG: 3.2 mounting 'com.appstafarian.MarvinIP'
DEBUG: 4.3 iOSReaderApp:_class_reconfigure('Marvin')
DEBUG: 4.3 iOSReaderApp:_load_reader_app_overlays('Marvin')
DEBUG: 4.4 loading 43 overlays
DEBUG: 4.4 adding overlay '_cover_subpath()'
DEBUG: 4.4 adding overlay '_cover_to_thumb()'
DEBUG: 4.4 adding overlay '_create_cover_element()'
DEBUG: 4.4 adding overlay '_create_new_book()'
DEBUG: 4.4 adding overlay '_evaluate_original_cover()'
DEBUG: 4.4 adding overlay '_evaluate_replaceable_cover()'
DEBUG: 4.4 adding overlay '_get_field_items()'
DEBUG: 4.4 adding overlay '_get_opf_tree()'
DEBUG: 4.4 adding overlay '_get_opf_xml()'
DEBUG: 4.4 adding overlay '_initialize_overlay()'
DEBUG: 4.4 adding overlay '_localize_database_path()'
DEBUG: 4.4 adding overlay '_parse_version()'
DEBUG: 4.4 adding overlay '_parse_xml()'
DEBUG: 4.4 adding overlay '_remove_existing_copy()'
DEBUG: 4.4 adding overlay '_report_upload_results()'
DEBUG: 4.4 adding overlay '_reset_ios_connection()'
DEBUG: 4.4 adding overlay '_schedule_metadata_update()'
DEBUG: 4.4 adding overlay '_stage_command_file()'
DEBUG: 4.4 adding overlay '_update_epub_metadata()'
DEBUG: 4.4 adding overlay '_wait_for_command_completion()'
DEBUG: 4.4 adding overlay '_watchdog_timed_out()'
DEBUG: 4.4 adding overlay '_xform_metadata_via_plugboard()'
DEBUG: 4.4 adding overlay 'add_books_to_metadata()'
DEBUG: 4.4 adding overlay 'books()'
DEBUG: 4.4 adding overlay 'can_handle()'
DEBUG: 4.4 adding overlay 'can_handle_windows()'
DEBUG: 4.4 adding overlay 'delete_books()'
DEBUG: 4.4 adding overlay 'eject()'
DEBUG: 4.4 adding overlay 'get_busy_flag()'
DEBUG: 4.4 adding overlay 'get_cc_mapping()'
DEBUG: 4.4 adding overlay 'get_file()'
DEBUG: 4.4 adding overlay 'guess_type()'
DEBUG: 4.4 adding overlay 'is_usb_connected()'
DEBUG: 4.4 adding overlay 'is_usb_connected_windows()'
DEBUG: 4.4 adding overlay 'post_yank_cleanup()'
DEBUG: 4.4 adding overlay 'prepare_addable_books()'
DEBUG: 4.4 adding overlay 'remove_books_from_metadata()'
DEBUG: 4.4 adding overlay 'set_busy_flag()'
DEBUG: 4.4 adding overlay 'set_cc_mapping()'
DEBUG: 4.4 adding overlay 'sync_booklists()'
DEBUG: 4.4 adding overlay 'thumbnail()'
DEBUG: 4.4 adding overlay 'upload_books()'
DEBUG: 4.4 adding overlay 'xml_to_unicode()'
DEBUG: 4.4 iOSReaderApp:_initialize_overlay(Marvin)
DEBUG: 4.4 existing thumb cache at '/Users/samanthathiele/Library/Caches/calibre/Marvin/thumbs.zip'
DEBUG: 4.4 ~~~~~~~~~~~~~~~~~~~~~~~~~ switching to Marvin overlay ~~~~~~~~~~~~~~~~~~~~~~~~~~
Starting up...
DEBUG: 6.6 iOSReaderApp:startup()
Started up in 2.82 seconds with 1738 books
DEBUG: 8.7 libiMobileDevice:_afc_get_file_info( ERROR: Object not found (8) path:u'/Library/calibre/connected.xml')
DEBUG: 11.7 libiMobileDevice:_afc_get_file_info( ERROR: Object not found (8) path:u'/Library/calibre/connected.xml')
DEBUG: 14.7 libiMobileDevice:_afc_get_file_info( ERROR: Object not found (8) path:u'/Library/calibre/connected.xml')
DEBUG: 17.7 libiMobileDevice:_afc_get_file_info( ERROR: Object not found (8) path:u'/Library/calibre/connected.xml')
DEBUG: 20.7 Marvin version: (2, 5, 6)
DEBUG: 20.7 iOSReaderApp:reset()
DEBUG: 20.7 detected_device = (1452L, 4779L, 832L, u'Apple Inc.', u'iPad', u'8c555889ed32b0b8c298977794c6505ac87ecab0')
DEBUG: 20.7 report_progress = <bound method DeviceManager.report_progress of <DeviceManager(Thread-5, started daemon 4717035520)>>
DEBUG: 20.7 iOSReaderApp:open()
DEBUG: 20.7 vid:05ac pid:12ab
DEBUG: 21.9 iOSReaderApp:set_progress_reporter()
Job: 1 Get device information started
DEBUG: 21.9 iOSReaderApp:get_device_information()
DEBUG: 21.9 DeviceClass : iPad
DEBUG: 21.9 DeviceColor : black
DEBUG: 21.9 DeviceName : Samantha Thiele’s iPad
DEBUG: 21.9 FSBlockSize : 4096
DEBUG: 21.9 FSFreeBytes : 25703632896
DEBUG: 21.9 FSTotalBytes : 29909303296
DEBUG: 21.9 FirmwareVersion : iBoot-1940.3.5
DEBUG: 21.9 HardwareModel : P101AP
DEBUG: 21.9 ModelNumber : MD511
DEBUG: 21.9 PasswordProtected : True
DEBUG: 21.9 ProductType : iPad3,4
DEBUG: 21.9 ProductVersion : 7.0.4
DEBUG: 21.9 SerialNumber : DMPKFBG2F183
DEBUG: 21.9 TimeIntervalSince1970: 1388165310.37
DEBUG: 21.9 TimeZone : America/Regina
DEBUG: 21.9 TimeZoneOffsetFromUTC: -21600.0
DEBUG: 21.9 UniqueDeviceID : 8c555889ed32b0b8c298977794c6505ac87ecab0
DEBUG: 21.9 iOSReaderApp:free_space()
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
DEBUG: 21.9 iOSReaderApp:set_progress_reporter()
Job: 2 Get list of books on device started
DEBUG: 21.9 iOSReaderApp:books()
DEBUG: 21.9 iOSReaderApp:_localize_database_path()
DEBUG: 21.9 updating local_db from u'/Library/mainDb.sqlite'
Job: 1 Get device information finished
No details available.
DeviceJob: 2 Get list of books on device done, calling callback
DEBUG: 249.9 iOSReaderApp:set_plugboards()
DEBUG: 250.0 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DEBUG: 250.0 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DeviceJob: 2 Get list of books on device callback returned
DEBUG: 250.3 iOSReaderApp:set_progress_reporter()
Job: 3 Send metadata to device started
DEBUG: 250.3 iOSReaderApp:sync_booklists(automatic metadata management disabled)
DEBUG: 250.3 iOSReaderApp:free_space()
DeviceJob: 3 Send metadata to device done, calling callback
DeviceJob: 3 Send metadata to device callback returned
Job: 2 Get list of books on device finished
No details available.
Job: 3 Send metadata to device finished
No details available.
DEBUG: 859.1 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DEBUG: 862.0 iOSReaderApp:set_progress_reporter()
Job: 4 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie started
DEBUG: 862.0 iOSReaderApp:set_plugboards()
Device using plugboard epub MARVIN None
Setting metadata in: Touch at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/hpa1OYcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Chained at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/XmMyHecaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Noughts & Crosses at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/oupx1ucaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Fourth Down at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/D5N5APcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Tall, Tatted and Tempting at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/0zT4X4caltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Pieces of You at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/rFfpNbcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Relentless at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/3lnQH1caltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Rapture at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/2a8M8qcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Needing Her at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/CA7q_scaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Torn From You at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/rYVrtocaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Dragon Awakened at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/BwgdoScaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: In the Air at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/jepUxCcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: In Control at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/Ex6w5Ycaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: One Wild Night at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/wdcPMEcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Damian at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/Uu_s4tcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: All for Maddie at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/H4skdvcaltmpfmt.epub
DEBUG: 864.4 iOSReaderApp:upload_books()
DEBUG: 864.4 'Touch' already exists in Marvin (author match)
DEBUG: 864.4 iOSReaderApp:_schedule_metadata_update(Touch)
DEBUG: 864.4 'Touch': cover is up to date
DeviceJob: 4 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie done, calling callback
DeviceJob: 4 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie callback returned
Job: 4 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie finished
'NoneType' object is not iterable

Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 85, in run
  File "site-packages/calibre/gui2/device.py", line 572, in _upload_books
  File "/var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/HyjiUN_ios_local_db/Marvin_overlays.py", line 1250, in upload_books
  File "/var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/HyjiUN_ios_local_db/Marvin_overlays.py", line 2001, in _schedule_metadata_update
TypeError: 'NoneType' object is not iterable

DEBUG: 868.6 iOSReaderApp:settings(format_map for 'Marvin': [u'epub'])
DEBUG: 871.5 iOSReaderApp:set_progress_reporter()
Job: 5 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie started
DEBUG: 871.5 iOSReaderApp:set_plugboards()
Device using plugboard epub MARVIN None
Setting metadata in: Touch at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/8fEvxscaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Chained at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/PU4tTLcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Noughts & Crosses at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/ZwhrOJcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Fourth Down at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/hp6pczcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Tall, Tatted and Tempting at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/xNAhqhcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Pieces of You at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/_cEyA5caltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Relentless at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/doyN1tcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Rapture at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/rdMLjTcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Needing Her at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/i576YScaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Torn From You at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/uEYg0Wcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Dragon Awakened at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/M_5W2scaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: In the Air at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/ualoYccaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: In Control at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/wid5vacaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: One Wild Night at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/aV0yaUcaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: Damian at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/aG0xWacaltmpfmt.epub
Device using plugboard epub MARVIN None
Setting metadata in: All for Maddie at: /var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/fnbmLfcaltmpfmt.epub
DEBUG: 873.7 iOSReaderApp:upload_books()
DEBUG: 873.7 'Touch' already exists in Marvin (author match)
DEBUG: 873.7 iOSReaderApp:_schedule_metadata_update(Touch)
DEBUG: 873.7 'Touch': cover is up to date
DeviceJob: 5 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie done, calling callback
DeviceJob: 5 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie callback returned
Job: 5 Upload 16 books to device:Touch, Chained, Noughts & Crosses, Fourth Down, Tall, Tatted and Tempting, Pieces of You, Relentless, Rapture, Needing Her, Torn From You, Dragon Awakened, In the Air, In Control, One Wild Night, Damian, All for Maddie finished
'NoneType' object is not iterable

Traceback (most recent call last):
  File "site-packages/calibre/gui2/device.py", line 85, in run
  File "site-packages/calibre/gui2/device.py", line 572, in _upload_books
  File "/var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/HyjiUN_ios_local_db/Marvin_overlays.py", line 1250, in upload_books
  File "/var/folders/bb/hvg6ywkn3cdf8mxbppwwn9740000gn/T/calibre_1.17.0_tmp_dOqrMS/HyjiUN_ios_local_db/Marvin_overlays.py", line 2001, in _schedule_metadata_update
TypeError: 'NoneType' object is not iterable
@GRiker

This comment has been minimized.

Show comment
Hide comment
@GRiker

GRiker Dec 28, 2013

Collaborator

I've updated the iOSRA plugin to version 1.3.2 which should resolve this error. Thanks for the detailed error report.

Collaborator

GRiker commented Dec 28, 2013

I've updated the iOSRA plugin to version 1.3.2 which should resolve this error. Thanks for the detailed error report.

@GRiker GRiker closed this Dec 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment