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 (iPhone 5S/Marvin) #87

rickdekker opened this Issue Jun 4, 2014 · 3 comments


None yet
2 participants

rickdekker commented Jun 4, 2014


Love this plugin but running into a connection error:

Calibre 64 bit 1.39.0
Calibre's language setting English UK
Windows 7, 64-bit
IOSReaderPlugin 1.4.0
Marvin XD plugin 1.2.1
The preferred reader application is Marvin
iPhone 5S, latest iOS, O2
When i start the calibre connector in Marvin then Calibre will try to connect but fails. It gives the below error. Strangely enough at the bottom of Calibre it does say 'Connect to iPhone' and knows the free space, but can't send a book (same error).


Traceback (most recent call last):
File "site-packages\calibre\gui2\", line 86, in run
File "site-packages\calibre\gui2\", line 490, in _books
File "C:\Users\Carlos\AppData\Local\Temp\calibre_vgraoq\9xb2jj_ios_local_db\", line 404, in books
File "C:\Users\Carlos\AppData\Local\Temp\calibre_vgraoq\9xb2jj_ios_local_db\", line 2114, in _profile_db
KeyError: u'st_size'

Full debug log:

The specific steps to recreate the problem
Start Calibre, start Marvin and start Calibre connector on phone, error pops up

Phone works fine in iTunes, problem happens with either iTunes running or not.

Tried hard reset on the phone, tried reboot of the PC. Only 1 Marvin app on the phone (latest version).

Marvin XD does icon does light up and it ran a successful library Index, but then appears to hang on 'Waiting for driver initialization'

Hope that's enough info, let me know if you need anything else.

Thanks much appreciated.


This comment has been minimized.


GRiker commented Jun 4, 2014

I've built a prerelease version of the iOSRA plugin which should resolve your issue.

  • Exit calibre
  • Disconnect your iPhone
  • Download the updated plugin from this link.
  • Restart calibre, then go to Preferences|Advanced|Plugins
  • Click Load plugin from file, selecting the downloaded plugin
  • Accept all changes, exit calibre
  • Reconnect your iPhone, restart the calibre connector in Marvin
  • Restart calibre

If that resolves the problem, please close this issue.

If it does not resolve the issue, please post another debug log, but disable the debug logging option for libimobiledevice.


This comment has been minimized.

rickdekker commented Jun 5, 2014

Excellent that fixed it, thanks for the help & speedy response. Will close this issue now.

@rickdekker rickdekker closed this Jun 5, 2014


This comment has been minimized.


GRiker commented Jun 5, 2014

Good news, thanks for the followup.

GRiker added a commit that referenced this issue Jun 6, 2014

Fix for issues #87, 89 where new installation of Marvin did not yet h…
…ave the small covers directory. Added to _Resources, a test suite for experimenting with libimobiledevice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment