Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27929 - [calibre] DeviceError: Unable to detect the ANDROID disk drive

Attached to Project: Community Packages
Opened by Alexander F. Rødseth (xyproto) - Friday, 13 January 2012, 16:20 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 21 January 2012, 13:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When my phone is charging (connected to USB, but not mounted in any way), I get the following error from calibre at exit:

~% calibre
Unable to open device <calibre.devices.android.driver.ANDROID object at 0x2e4bdd0>
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/device.py", line 165, in do_connect
dev.open(detected_device, self.current_library_uuid)
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 860, in open
self.open_linux()
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 635, in open_linux
%self.__class__.__name__)
DeviceError: Unable to detect the ANDROID disk drive. Either the device has already been ejected, or your kernel is exporting a deprecated version of SYSFS.

Additional info:
* package version(s)
calibre 0.8.35-1

Steps to reproduce:
1. Connect Android phone to USB, just for charging
2. Start calibre
3. Exit calibre
4. Get "DeviceError"
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 21 January 2012, 13:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks :)
Comment by Giovanni Scafora (giovanni) - Saturday, 21 January 2012, 11:52 GMT
Try with calibre 0.8.36 and let me know.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 21 January 2012, 13:14 GMT
Got the same error with calibre 0.8.36. However, when running it the second and third time, the error disappeared. The error is gone also after unplugging and plugging the phone. Also tried removing ~/.config/calibre and the error is still gone. Let's consider it fixed, for now?

Loading...