Space characters in image path or filename cause imagewriter to fail when trying to write the image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
USB ImageWriter |
New
|
Undecided
|
Unassigned |
Bug Description
If there are any space characters in the path/filename of the image file the user is trying to write, then imagewriter will fail silently when trying to burn/write the image. It is possible to select the image using the GUI, and the target storage device can be unmounted, but after that, imagewriter will just sit there doing nothing, with only the Close button available, and no further info will show up under +Details.
If the user however has launched imagewriter from the commandline with gksu imagewriter, then the following output will show up in the terminal at the point of failure (i.e. when imagewriter chokes on a space character as per the above):
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
src_size = float(data.
IndexError: list index out of range
Image: /home/username/
Note the space character in the above path.
However, this traceback info may not always show up.
When I tested this with /home/username/
Eliminating all the spaces in both path and filename (e.g. by using /home/username/
This was tested with version 0.1.3-0ubuntu4 of imagewriter under Ubuntu 10.04 LTS.
Please, we wait until this bug is fixed: elinux. org/RPi_ Easy_SD_ Card_Setup# Copying_ an_image_ to_the_ SD_Card_ in_Linux_ .28graphical_ interface. 29
http://