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

Does not appear to correctly handle certain characters in filenames on the device. #61

Kirtai opened this Issue Jan 4, 2014 · 2 comments


None yet
2 participants

Kirtai commented Jan 4, 2014

Calibre 1.18.0
English (UK)
Windows 7/64bit
iTunes version
plugin version 1.3.3
iPad version 1 running iOS5

I have a pdf in Goodreader with the title "Girl Genius, Vol. 01_Agatha Heterodyne - Phil Foglio (B\W).pdf"

The plugin throws an error when encountering this book but works correctly when it is deleted. It appears to be choking on some of the characters in the filename.

The error is:

calibre, version 1.18.0
ERROR: Error: Error communicating with device

u"could not open file u'/Documents/Girl Genius/W).pdf' for reading"

Traceback (most recent call last):
File "site-packages\calibre\gui2\", line 85, in run
File "site-packages\calibre\gui2\", line 491, in _books
File "C:\Users\kally\AppData\Local\Temp\calibre_bpwody\njt5hq_ios_local_db\", line 154, in books
File "C:\Users\kally\AppData\Local\Temp\calibre_bpwody\njt5hq_ios_local_db\", line 1091, in _localize_pdf
File "site-packages\calibre\devices\idevice\", line 290, in copy_from_idevice
libiMobileDeviceIOException: u"could not open file u'/Documents/Girl Genius/W).pdf' for reading"


This comment has been minimized.

Kirtai commented Jan 4, 2014

I forgot to mention this file was already on the iPad, put there by iTunes file transfer long ago. The error occurred during the initial metadata scan of files already on the iPad.


This comment has been minimized.


GRiker commented Jan 4, 2014

I've updated the plugin to version 1.3.4 with a patch that should properly handle illegal POSIX characters in the filename. Please install the latest update and confirm that it's working correctly for you. If there's still a problem, feel free to reopen this issue.

@GRiker GRiker closed this Jan 4, 2014

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