On Kubuntu, when I Eject some device, it still in the menu and Desktop

Bug #175097 reported by Alejandro Díaz-Caro
2
Affects Status Importance Assigned to Milestone
pyRemove
Fix Committed
Undecided
Javier Derderyan

Bug Description

On Kubuntu, when I eject a device, it stays in the menu, and at Desktop it looks like mounted, but it isn't. If I unplug the device from the USB, the icon at the desktop disappears, but pyRemove still in the tray.

Revision history for this message
Javier Derderyan (javierder) wrote :

I've commited some changes that should fix this or, if it's not fixed it shows more debug data.
Please, post the output of the program here.

Changed in pyremove:
assignee: nobody → javierder
status: New → Fix Committed
Revision history for this message
Alejandro Díaz-Caro (janus) wrote :

It didn't fix the problem for me. Now, "Eject" doesn't do anything.

janus@mobileqcomp:~$ ./pyremove
Checking all devices......
Devices checked.

When I connect my USB device, the output is the following

dbus detected device: /org/freedesktop/Hal/devices/usb_device_66f_8000_23DEABA49254088A
dbus detected device: /org/freedesktop/Hal/devices/usb_device_66f_8000_23DEABA49254088A_if0
dbus detected device: /org/freedesktop/Hal/devices/usb_device_66f_8000_23DEABA49254088A_usbraw
dbus detected device: /org/freedesktop/Hal/devices/usb_device_66f_8000_23DEABA49254088A_if0_scsi_host
dbus detected device: /org/freedesktop/Hal/devices/usb_device_66f_8000_23DEABA49254088A_if0_scsi_host_scsi_device_lun0
dbus detected device: /org/freedesktop/Hal/devices/usb_device_66f_8000_23DEABA49254088A_if0_scsi_host_scsi_device_lun0_scsi_generic
dbus detected device: /org/freedesktop/Hal/devices/storage_serial_SigmaTel_MSCN_23DEABA49254088A_0_0
dbus detected device: /org/freedesktop/Hal/devices/volume_part1_size_999682048

Then, when I click "Accept" in the kubuntu's menu to mount the device:

pyremove detected device /org/freedesktop/Hal/devices/volume_part1_size_999682048

and the icon appear in the tray.

After I close the window that show the device's content, I clicked on "Eject /dev/sdb1" from pyRemove's menu and the output is the following:

Traceback (most recent call last):
  File "./pyremove", line 237, in menuitem_response
    self._eject_device(dev)
  File "./pyremove", line 247, in _eject_device
    print "ejecting %s" % dev
NameError: global name 'dev' is not defined

And the device wasn't unmounted:

janus@mobileqcomp:~$ mount | grep sdb1
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)

and the icon doesn't disappear.

If I unmount the device from the icon on desktop, pyRemove disappear from the tray and the following output occurs:

pyremove unmounted device /org/freedesktop/Hal/devices/volume_part1_size_999682048

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.