Bug 241539 - [PATCH] K3B doesn't handle an error returned by genisoimage
Summary: [PATCH] K3B doesn't handle an error returned by genisoimage
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: Data Project (show other bugs)
Version: 1.68.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 2.1
Assignee: Michał Małek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-12 13:42 UTC by Kyran Lange
Modified: 2010-07-01 00:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.1


Attachments
This patch makes K3B recognise the error and give a more useful message (maybe it should be improved). Originally by the reporter, Àlex Magaz. (1010 bytes, patch)
2010-06-12 13:42 UTC, Kyran Lange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyran Lange 2010-06-12 13:42:17 UTC
Created attachment 47943 [details]
This patch makes K3B recognise the error and give a more useful message (maybe it should be improved). Originally by the reporter, Àlex Magaz.

Version:           1.68.0
OS:                Linux

"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)"

"I've attached a patch to make K3B recognize the error and give a more useful message (maybe it should be improved)."

Originally reported at: 
https://bugs.launchpad.net/ubuntu/+source/k3b/+bug/259778

Reproducible: Always

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."

Actual Results:  
"mkisofs returned an unknown error (code 2)"

Expected Results:  
A more helpful error message
Comment 1 Michał Małek 2010-06-12 17:49:28 UTC
Hi, thanks for the patch. Currently we're in string freeze, so I will apply it after 2.0 release (which, hopefully, is just around the corner).
Comment 2 Michał Małek 2010-06-20 22:52:22 UTC
SVN commit 1140487 by mmalek:

Better error message when some files are removed during image creation. Patch by Àlex Magaz and Kyran Lange. Thanks!
BUG: 241539
CCMAIL: kyran.lange@gmail.com

 M  +5 -0      k3bmkisofshandler.cpp  


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