usb-imagewriter fails on .img filename including parentheses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-imagewriter (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: usb-imagewriter
The imagewriter gui would hang every time that I tried to write a file called ubuntu-
fewyun@home:~$ sudo imagewriter
0
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
src_size = float(data.
IndexError: list index out of range
This seems related to the following bug for filenames with spaces [ https:/
This was tested on a fully updated ubuntu 9.04 install.
This also happen to me with an .img file called moblin- netbook- beta-refresh- 20090802- 001(2). img and others .img files with parentheses.
1 imagewriter/ imagewriter. py", line 112, in do_write raw_write( source, target) imagewriter/ imagewriter. py", line 150, in raw_write stdout. readline( ).split( )[4])*1. 0 Documents/ Downloads/ moblin- netbook- beta-refresh- 20090802- 001(2). img
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
src_size = float(data.
IndexError: list index out of range
Image: /home/wako/
Target Device: Unknown Unknown (/dev/sdb)
Package: usb-imagewriter
State: installed
Automatically installed: no
Version: 0.1.3-0ubuntu1
Priority: optional
Section: universe/misc
Maintainer: Oliver Grawert <email address hidden>
Uncompressed Size: 160k
Depends: coreutils (>= 6.10-3), procps, python-gnome2, gksu, python, hal
Description: tool to write .img files to USB Keys
A GUI to write .img files like the ones created by the ubuntu-mobile team for
UME to a USB Key for installing the image to mobile devices and netbooks.