K3B doesn't handle an error returned by genisoimage

Bug #259778 reported by Àlex Magaz
6
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

Revision history for this message
Àlex Magaz (rivaldi8) wrote :
Revision history for this message
Àlex Magaz (rivaldi8) wrote :
Revision history for this message
Àlex Magaz (rivaldi8) wrote :
Revision history for this message
Àlex Magaz (rivaldi8) wrote :
Changed in k3b:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Kyran Lange (kyranl) wrote :

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.

Revision history for this message
Kyran Lange (kyranl) wrote :
tags: added: patch-forwarded-upstream
Changed in k3b:
status: Unknown → New
Revision history for this message
Kyran Lange (kyranl) wrote :

Patch accepted upstream, will be applied after 2.0 release.

tags: added: patch-accepted-upstream
removed: patch-forwarded-upstream
Revision history for this message
Kyran Lange (kyranl) wrote :

The patch has landed in SVN rev 1140487.

WebSVN link: http://websvn.kde.org/?view=rev&revision=1140487

Changed in k3b:
status: New → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed for K3b 2.1.0.

Changed in k3b (Ubuntu):
status: Triaged → Fix Committed
Changed in k3b:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.