IOError: [Errno 19] No such device

Bug #1244988 reported by Malin Bruland
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
New
Undecided
Unassigned

Bug Description

1)
lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

2)
apt-cache policy jockey-gtk
jockey-gtk:
  Installed: 0.9.7-0ubuntu7.11
  Candidate: 0.9.7-0ubuntu7.11
  Version table:
 *** 0.9.7-0ubuntu7.11 0
        500 http://ports.ubuntu.com/ubuntu-ports/ precise-updates/main powerpc Packages
        500 http://ports.ubuntu.com/ubuntu-ports/ precise-security/main powerpc Packages
        100 /var/lib/dpkg/status
     0.9.7-0ubuntu7 0
        500 http://ports.ubuntu.com/ubuntu-ports/ precise/main powerpc Packages

3)
I expected jockey-gtk to run

4)
It crash

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: jockey-gtk 0.9.7-0ubuntu7.11
ProcVersionSignature: Ubuntu 3.2.0-23.36-powerpc64-smp 3.2.14
Uname: Linux 3.2.0-23-powerpc64-smp ppc64
ApportVersion: 2.0.1-0ubuntu5
Architecture: powerpc
Date: Sat Oct 26 17:09:35 2013
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release powerpc (20120423)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: jockey
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Malin Bruland (malinkb) wrote :
Revision history for this message
Malin Bruland (malinkb) wrote :

Complete output from jockey-gtk:

(jockey-gtk:2962): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(jockey-gtk:2962): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed
Exception in thread thread_call_progress_dialog:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  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.DBus.Python.IOError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 173, in detect
    self.hardware = detection.get_hardware()
  File "/usr/lib/python2.7/dist-packages/jockey/detection.py", line 905, in get_hardware
    result = _get_modaliases()
  File "/usr/lib/python2.7/dist-packages/jockey/detection.py", line 659, in _get_modaliases
    modalias = open(os.path.join(path, 'modalias')).read().strip()
IOError: [Errno 19] No such device

Traceback (most recent call last):
  File "/usr/bin/jockey-gtk", line 418, in <module>
    sys.exit(u.run())
  File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 468, in run
    self.ui_show_main()
  File "/usr/bin/jockey-gtk", line 94, in ui_show_main
    self.update_tree_model()
  File "/usr/bin/jockey-gtk", line 274, in update_tree_model
    for h_id in self.get_displayed_handlers():
  File "/usr/lib/python2.7/dist-packages/jockey/ui.py", line 819, in get_displayed_handlers
    return self.backend().available(self.argv_options.mode)
  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)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/jockey/backend.py", line 212, in available
    handler_names = self.handlers.keys()
AttributeError: 'Backend' object has no attribute 'handlers'

Revision history for this message
Malin Bruland (malinkb) wrote :

My bug report might be a duplicate of this:

https://bugs.launchpad.net/bugs/335567

but the package mentioned is different. jockey-backend

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I am not sure about the part resulting in "IOError: [Errno 19] No such device", but the "AttributeError: 'Backend' object has no attribute 'handlers'" is the same as bug 946973. It looks like there might be two unrelated issues here.

Revision history for this message
Alberto Milone (albertomilone) wrote :

@Malin: can you please download the attachment, run the program as follows, and attach its output?

python test_modalias_bug.py

This will probably shed more light on what's going on.

Revision history for this message
Malin Bruland (malinkb) wrote :

Here is the output:

lakris@ubuntu:~/Downloads$ python test_modalias_bug.py
Error opening /sys/devices/vio/modaliaspath: /sys/devices/vio
dirs: ['subsystem', 'power']
files: ['uevent', 'name', 'devspec', 'modalias']
Operation complete

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.