Package: calibre
Version: 1.14.0+dfsg-1
Severity: important

Dear Maintainer,

Calibre seems unable to detect a Sony PRS-T1 connected through USB anymore. I configured it to use "all other Sony devices", but I also tested other Sony options without more success.

Note that there is already a similar report for the Sony PRS-350 (bug #704552), so it may be a hint to a more generic issue with Sony drives (though contrarily to what is suggested in the other report, keeping the reader plugged during boot doesn't seem to help in my case).

It used to work with previous versions, but unfortunately I cannot say which versions. I just know that the last successful upload was made on June 26th. In principle (but I cannot be 100 % sure) at this date I was using an up-to-date Wheezy, while now I'm on Sid. There are also two calibre-related files dated from September 29th, "driveinfo.calibre" and "metadata.calibre". I tried to remove them (the content of driveinfo.calibre is not up-to-date) but it didn't help.

Though it doesn't appear in fdisk report, the drive is mountable in write mode using mount. My user is in the plugdev group.

Below is the calibre debug report. I plug the reader, nothing happens. I set the reader in data transfer mode, nothing happens. After a while I unplug the reader, and the exception occurs. Note that it doesn't seem to occur every time — but the reader is never detected anyway.

--------------------------------------------------------------------
Started up in 13.32 seconds with 8 books
Restarting with: /usr/bin/calibre-debug ['/usr/bin/calibre-debug', u'--gui-debug', u'/tmp/tmpGY9rIU.txt'] Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 14: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/calibre/calibre/gui2/device.py", line 389, in run
    self.detect_device()
File "/usr/lib/calibre/calibre/gui2/device.py", line 298, in detect_device
    self.scanner.is_device_connected(device)
File "/usr/lib/calibre/calibre/devices/scanner.py", line 330, in is_device_connected
    only_presence=only_presence)
File "/usr/lib/calibre/calibre/devices/interface.py", line 230, in is_usb_connected
    if self.can_handle(dev, debug=debug):
File "/usr/lib/calibre/calibre/devices/prst1/driver.py", line 139, in can_handle
    main, carda, cardb = self.find_device_nodes(detected_device=dev)
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 537, in find_device_nodes
    %self.__class__.__name__)
DeviceError: Unable to detect the PRST1 disk drive.
--------------------------------------------------------------------

FWIW, here is another log which occurred (I think) just after I removed the "driveinfo.calibre" and "metadata.calibre" files. I mention it because it's different, but it occurred only once and I couldn't manage to reproduce it afterwards. Maybe the device was already mounted or something, though.

--------------------------------------------------------------------
Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 14: Having multiple values in <test> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-ttf-sil-andika.conf", line 32: Having multiple <family> in <alias> isn't supported and may not work as expected Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabledUdisks mount call failed:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 599, in do_mount
    mount(node)
  File "/usr/lib/calibre/calibre/devices/udisks.py", line 180, in mount
    u.mount(node_path)
  File "/usr/lib/calibre/calibre/devices/udisks.py", line 133, in mount
    dbus_interface=self.FILESYSTEM))
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation Unable to open device <calibre.devices.prst1.driver.PRST1 object at 0xa48308c>
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/device.py", line 184, in do_connect
    dev.open(detected_device, self.current_library_uuid)
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 862, in open
    self.open_linux()
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 612, in open_linux
    main, carda, cardb = self.find_device_nodes()
File "/usr/lib/calibre/calibre/devices/usbms/device.py", line 537, in find_device_nodes
    %self.__class__.__name__)
DeviceError: Impossible de détecter le lecteur de disque PRST1.

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 904, in closeEvent
    self.shutdown(write_settings=False)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 848, in shutdown
    self.update_checker.terminate()
AttributeError: 'Main' object has no attribute 'update_checker'

--------------------------------------------------------------------

(This later event is unrelated and occurred when exiting calibre.)



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
APT policy: (600, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calibre depends on:
ii  calibre-bin           1.14.0+dfsg-1
ii  fonts-liberation      1.07.3-3
ii  imagemagick           8:6.7.7.10-6
ii  libjs-mathjax         2.2-1
ii  poppler-utils         0.18.4-9
ii  python-apsw           3.8.1-r1-1
ii  python-beautifulsoup  3.2.1-1
ii  python-chardet        2.0.1-2
ii  python-cherrypy3      3.2.2-4
ii  python-cssselect      0.9.1-1
ii  python-cssutils       0.9.10-1
ii  python-dateutil       1.5+dfsg-0.1
ii  python-dbus           1.2.0-2+b1
ii  python-feedparser     5.1.3-1
ii  python-imaging        2.2.1-2
ii  python-lxml           3.2.0-1+b1
ii  python-markdown       2.3.1-2
ii  python-mechanize      1:0.2.5-3
ii  python-netifaces      0.8-2
ii  python-pil            2.2.1-2
ii  python-pkg-resources  1.4.2-1
ii  python-pyparsing      2.0.1+dfsg1-1
ii  python-qt4            4.10.3+dfsg1-1
ii  python-routes         2.0-1
ii  python2.7             2.7.6-3
ii  xdg-utils             1.1.0~rc1+git20111210-7

Versions of packages calibre recommends:
ii  python-dnspython  1.11.1-1

calibre suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to