If you try to format a mounted device, the application does not give you any error

Bug #507420 reported by Ara Pulido on 2010-01-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: usb-creator

Trying to format a device that is mounted, the application does not give any error (it doesn't do anything).

The error appears in the log, though:

usb-creator 2009-12-17 14:45:10,805 (ERROR) backend.py:252: Could not format the device:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/usbcreator/backends/devicekit/backend.py", line 250, in format
    self.helper.Format(device, timeout=MAX_DBUS_TIMEOUT)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DeviceKit.Disks.Error.Busy: /dev/sdb is mounted

ProblemType: Bug
Architecture: i386
Date: Thu Jan 14 12:05:00 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: usb-creator (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
SourcePackage: usb-creator
Tags: lucid
Uname: Linux 2.6.32-10-generic i686

Ara Pulido (ara) wrote :

I am using the gtk frontend

Evan (ev) on 2010-01-14
Changed in usb-creator (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package usb-creator - 0.2.19

---------------
usb-creator (0.2.19) lucid; urgency=low

  [ Mario Limonciello ]
  * Don't force select a source unless the list is empty.
  * Reverse the order of the populating ISOs and command line option --iso
    again so that --iso always trumps others.
  * Hide the source_vbox again when --iso is used.

  [ Evan Dandrea ]
  * Get rid of the needs-format warning for now. It was always shown
    for parent block devices and the confusing resulting from that was
    quite bad.
  * Rework partition mounting so that it doesn't fail if the partition
    was mounted between dbus calls.
  * Somewhat fix progress reporting.
  * Don't write usb-creator-helper's log to /root (LP: #461064).
  * Provide a format confirmation dialog (LP: #443330).
  * Error out of formatting if we're unable to unmount all of the
    partitions (LP: #507420).
  * Provide feedback via a spinning cursor and disabled format button
    while formatting (LP: #457737).
  * Only call gtk.main_quit if we're in a mainloop.
  * Don't try to unmount a partition in usb-creator-helper unless it
    actually is mounted.
  * Unmount the partition at the end of install using
    usb-creator-helper rather than umount as a regular user.
  * Handle device changes by synthesizing a remove and add.
  * Pulse the progress bar while flushing changes to disk.
  * Pulse when installing the bootloader.
 -- Evan Dandrea <email address hidden> Wed, 24 Mar 2010 18:34:35 +0000

Changed in usb-creator (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers