Ticket #4307 (reopened defect)
PRS-500 not recognized in 0.6.30
| Reported by: | reader99 | Owned by: | kovidgoyal |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | SONY PRS driver | Version: | trunk |
| Keywords: | prs-500 usb | Cc: |
Description
When connecting a PRS 500 with Calibre 0.6.30, two errors are presented. The top most one (probably the second one displayed) reads:
ERROR: ERROR: Unhandled exception: <b>Error</b>:Device sent zero bytes
Traceback (most recent call last):
File "site-packages/calibre/gui2/init.py", line 243, in dispatch File "site-packages/calibre/gui2/ui.py", line 799, in device_detected File "site-packages/calibre/devices/prs500/driver.py", line 172, in run_session File "site-packages/calibre/devices/prs500/driver.py", line 612, in card_prefix File "site-packages/calibre/devices/prs500/driver.py", line 172, in run_session File "site-packages/calibre/devices/prs500/driver.py", line 444, in path_properties File "site-packages/calibre/devices/prs500/driver.py", line 415, in _bulk_read File "site-packages/calibre/devices/prs500/driver.py", line 402, in bulk_read_packet File "site-packages/calibre/devices/libusb.py", line 255, in bulk_read
Error: Device sent zero bytes
Clearing that one reveals a second (probably displayed first, but hidden by the second) that reads:
Device is in use by another application:
Underlying error:Failed to set device configuration to: 2. Error code: -9
Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 57, in run File "site-packages/calibre/gui2/device.py", line 195, in _get_device_information File "site-packages/calibre/devices/prs500/driver.py", line 168, in run_session File "site-packages/calibre/devices/prs500/driver.py", line 271, in open
Device Busy?: Device is in use by another application: Underlying error:Failed to set device configuration to: 2. Error code: -9
If I revert back to 0.6.29 without reseting either device, I am able to connect successfully.
