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