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:
It didn't fix the problem for me. Now, "Eject" doesn't do anything.
janus@mobileqco mp:~$ ./pyremove
Checking all devices......
Devices checked.
When I connect my USB device, the output is the following
dbus detected device: /org/freedeskto p/Hal/devices/ usb_device_ 66f_8000_ 23DEABA49254088 A p/Hal/devices/ usb_device_ 66f_8000_ 23DEABA49254088 A_if0 p/Hal/devices/ usb_device_ 66f_8000_ 23DEABA49254088 A_usbraw p/Hal/devices/ usb_device_ 66f_8000_ 23DEABA49254088 A_if0_scsi_ host p/Hal/devices/ usb_device_ 66f_8000_ 23DEABA49254088 A_if0_scsi_ host_scsi_ device_ lun0 p/Hal/devices/ usb_device_ 66f_8000_ 23DEABA49254088 A_if0_scsi_ host_scsi_ device_ lun0_scsi_ generic p/Hal/devices/ storage_ serial_ SigmaTel_ MSCN_23DEABA492 54088A_ 0_0 p/Hal/devices/ volume_ part1_size_ 999682048
dbus detected device: /org/freedeskto
dbus detected device: /org/freedeskto
dbus detected device: /org/freedeskto
dbus detected device: /org/freedeskto
dbus detected device: /org/freedeskto
dbus detected device: /org/freedeskto
dbus detected device: /org/freedeskto
Then, when I click "Accept" in the kubuntu's menu to mount the device:
pyremove detected device /org/freedeskto p/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): _eject_ device( dev)
File "./pyremove", line 237, in menuitem_response
self.
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@mobileqco mp:~$ mount | grep sdb1 nodev,noatime, flush,uid= 1000,utf8, shortname= lower)
/dev/sdb1 on /media/disk type vfat (rw,nosuid,
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/freedeskto p/Hal/devices/ volume_ part1_size_ 999682048