View Single Post
Old 07-06-2013, 04:34 AM   #1
tomemastermom
Junior Member
tomemastermom began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2013
Device: Samsung Galaxy2
Error Communicating with Device

Hi I have my calibre library mounted on an external harddrive using calibre portable. Never had any problems.

My husbands Samsung Galaxy2 communicates with it just fine, but I just got one to replace my nook color and even though it detects it in the bottom left corner, i get an error message saying it cant communicate with the device.

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

Cannot write to file: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.

This is the error detail:

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 476, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 193, in books
File "site-packages\calibre\devices\mtp\driver.py", line 165, in get_driveinfo
File "site-packages\calibre\devices\mtp\driver.py", line 156, in _update_drive_info
File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
File "site-packages\calibre\devices\mtp\windows\driver.py", line 416, in put_file
WPDError: Cannot write to file: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.

followed all help steps including debug. here is the debug info:
calibre Debug log
calibre 0.9.38 Portable isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.4
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Starting up...
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
MTP: Loading filesystem metadata...
Job: 1 Get device information finished
No details available.
MTP: Filesystem metadata loaded in 0.93 seconds (177 objects)
Failed to load existing driveinfo.calibre file, with error:
Traceback (most recent call last):
File "site-packages\calibre\devices\mtp\driver.py", line 138, in _update_drive_info
File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
File "site-packages\calibre\devices\mtp\windows\driver.py", line 368, in get_mtp_file
DeviceError: Failed to fetch the file (u'Tablet', u'driveinfo.calibre') with error: Failed to create stream interface to read from object: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.

DeviceJob: 2 Get list of books on device done, calling callback
Cannot write to file: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.


Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 476, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 193, in books
File "site-packages\calibre\devices\mtp\driver.py", line 165, in get_driveinfo
File "site-packages\calibre\devices\mtp\driver.py", line 156, in _update_drive_info
File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
File "site-packages\calibre\devices\mtp\windows\driver.py", line 416, in put_file
WPDError: Cannot write to file: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.


DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
Cannot write to file: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.


Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 85, in run
File "site-packages\calibre\gui2\device.py", line 476, in _books
File "site-packages\calibre\devices\mtp\driver.py", line 193, in books
File "site-packages\calibre\devices\mtp\driver.py", line 165, in get_driveinfo
File "site-packages\calibre\devices\mtp\driver.py", line 156, in _update_drive_info
File "site-packages\calibre\devices\mtp\windows\driver.py", line 33, in check_thread
File "site-packages\calibre\devices\mtp\windows\driver.py", line 416, in put_file
WPDError: Cannot write to file: hr=2147942431 facility=7 error_code=31 description: A device attached to the system is not functioning.


Started up in 69.23 seconds with 15253 books


Please help - I need to recreate a thousand book library on my new tablet and really dont want to have to drag and drop each one from my library...
tomemastermom is offline   Reply With Quote