K3B doesn't handle an error returned by genisoimage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
k3b |
Fix Released
|
Medium
|
|||
k3b (Ubuntu) |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: k3b
genisoimage fails if a file is deleted while it's creating the image. The problem is that K3B doesn't recognize the error, giving the message "mkisofs returned an unknown error (code 2)" (screenshot attached).
Steps to reproduce:
1. Run K3B and select "New data project"
2. Add some files to the project
3. Click on Burn.
4. Select "Only create image" option.
5. Click Start.
6. Then, when the progress bar starts filling, delete some of the files added to the project.
If the file is deleted before it's added to the image, genisoimage fails.
I've attached a patch to make K3B recognize the error and give a more useful message (maybe it should be improved). I've also attached a screenshot of K3B giving the error message with the patch applied.
I'm using:
Ubuntu 8.04.1
k3b 1.0.4-2ubuntu4
libk3b2 1.0.4-2ubuntu4
genisoimage 9:1.1.6-1ubuntu6
Changed in k3b: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in k3b: | |
status: | Unknown → New |
Changed in k3b: | |
status: | New → Fix Released |
Changed in k3b: | |
importance: | Unknown → Medium |
Thank you for taking the time to write this patch and helping to make Ubuntu better.
I have modified the patch to work with a more recent version of k3b and forwarded the patch to the upstream bug tracker. Àlex please subscribe yourself to the upstream task so that you could reply to the comments of the upstream developers. Please do look into feedback from upstream developers.