Truncated "/path/containing spaces" error log entry prevents diagnosis of problem
Submitted by Pedro Villavicencio
Assigned to Brasero maintainer(s)
Link to original bug (#615542)
Description
this report has been filed here:
https://bugs.edge.launchpad.net/ubuntu/+source/brasero/+bug/546197
"Attempting to create an ISO image for a Mac OSX 10.4 installation CD, Brasero fails every time with:
BraseroGenisoimage stderr: /usr/bin/genisoimage: No such file or directory. Non-existent or inaccessible: /mnt/hfs/Read
In this case "Read" is the first word of a directory named "Read Before You Install.app"
The original media is Apple .dmg files that have been converted to HFS images using dmg2img (see https://help.ubuntu.com/community/ManageDiscImages#DMG%20Images) and then loop-mounted on the file-system at /mnt/hfs/.
The contents of /mnt/hfs/ (including hidden files) is then added to the Brasero project and the burn to ISO image action initiated."
" I ran the genisoimage command manually and captured the stderr output to a log file. This reveals that Brasero is truncating the error captured from STDERR in its own log file, seemingly when the path contained in the error report includes spaces.
Brasero reported:
BraseroGenisoimage stderr: /usr/bin/genisoimage: No such file or directory. Non-existent or inaccessible: /mnt/hfs/Read
genisoimage actually reports:
/usr/bin/genisoimage: No such file or directory. Non-existent or inaccessible: /mnt/hfs/Read Before You Install.app/Contents/Resources/ko.lproj/설 치 전에 읽어보기.pdf
This revealed that the target file in the loop-mounted hfsplus file-system is problematic. "
Version: 2.30.x