[Bug 1119878] [NEW] "Error modifying partition" message is not easily understandable
Thibault D
1119878 at bugs.launchpad.net
Fri Feb 8 23:44:15 UTC 2013
Public bug reported:
1/ Insert a USB disk
2/ Open usb-creator-gtk
3/ Click on "Erase disk"
4/ And confirm to the question "Are you sure you want to erase the entire disk?"
Here, I get this awful error message (see screen shot here attached) :
"org.freedesktop.UDisks.Error.Failed: Error modifying partition: helper exited with exit code 1: In part_change_partition: device_file=/dev/sdb, start=4128768, new_start=4128768, new_size=8005392384, type=0x0c
Entering MS-DOS parser (offset=0, size=8006926336)
MSDOS_MAGIC found
looking at part 0 (offset 31744, size 8005392384, type 0x0c)
new part entry
looking at part 1 (offset 0, size 0, type 0x00)
new part entry
looking at part 2 (offset 0, size 0, type 0x00)
new part entry
looking at part 3 (offset 0, size 0, type 0x00)
new part entry
Exiting MS-DOS parser
MSDOS partition table detected
containing partition table scheme = 0
got it
got disk
got partition
Error: Can't have a partition outside the disk!
new_size=8005392384 but resulting size, 7840768, smaller than requested
Error: Can't have a partition outside the disk!
changed partition to start=31744 size=8005392384
committed to disk
ugh, offset or size changed
offset: 4128768
size: 8005392384
new_offset: 31744
new_size: 8005392384"
This is bug is not about the error itself, but on how it is displayed :
the message is clearly not understandable and should not be shown "as it
is" to an end user.
I would suggest a simple "Error modifying partition" or something more precise if possible.
But definitely not the entire log.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: usb-creator-gtk 0.2.40ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
Date: Sat Feb 9 00:31:08 2013
InstallationDate: Installed on 2012-11-12 (88 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: usb-creator
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: usb-creator (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 quantal running-unity
** Attachment added: "usb-creator-gtk.png"
https://bugs.launchpad.net/bugs/1119878/+attachment/3521484/+files/usb-creator-gtk.png
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1119878
Title:
"Error modifying partition" message is not easily understandable
Status in “usb-creator” package in Ubuntu:
New
Bug description:
1/ Insert a USB disk
2/ Open usb-creator-gtk
3/ Click on "Erase disk"
4/ And confirm to the question "Are you sure you want to erase the entire disk?"
Here, I get this awful error message (see screen shot here attached) :
"org.freedesktop.UDisks.Error.Failed: Error modifying partition: helper exited with exit code 1: In part_change_partition: device_file=/dev/sdb, start=4128768, new_start=4128768, new_size=8005392384, type=0x0c
Entering MS-DOS parser (offset=0, size=8006926336)
MSDOS_MAGIC found
looking at part 0 (offset 31744, size 8005392384, type 0x0c)
new part entry
looking at part 1 (offset 0, size 0, type 0x00)
new part entry
looking at part 2 (offset 0, size 0, type 0x00)
new part entry
looking at part 3 (offset 0, size 0, type 0x00)
new part entry
Exiting MS-DOS parser
MSDOS partition table detected
containing partition table scheme = 0
got it
got disk
got partition
Error: Can't have a partition outside the disk!
new_size=8005392384 but resulting size, 7840768, smaller than requested
Error: Can't have a partition outside the disk!
changed partition to start=31744 size=8005392384
committed to disk
ugh, offset or size changed
offset: 4128768
size: 8005392384
new_offset: 31744
new_size: 8005392384"
This is bug is not about the error itself, but on how it is displayed
: the message is clearly not understandable and should not be shown
"as it is" to an end user.
I would suggest a simple "Error modifying partition" or something more precise if possible.
But definitely not the entire log.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: usb-creator-gtk 0.2.40ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
Date: Sat Feb 9 00:31:08 2013
InstallationDate: Installed on 2012-11-12 (88 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: usb-creator
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1119878/+subscriptions
More information about the foundations-bugs
mailing list