Truncated "/path/containing spaces" error log entry prevents diagnosis of problem

Bug #546197 reported by TJ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Brasero
Expired
Medium
brasero (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: brasero

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.

ProblemType: Bug
Architecture: i386
Date: Wed Mar 24 17:19:43 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/brasero
Package: brasero 2.29.91-0ubuntu2
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SourcePackage: brasero
Uname: Linux 2.6.32-17-generic i686

Revision history for this message
TJ (tj) wrote :
TJ (tj)
summary: - Fails to create images where content directory names contain spaces
+ Truncated "/path/containing spaces" error log entry prevents diagnosis
+ of problem
Revision history for this message
TJ (tj) wrote :

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.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
 https://bugzilla.gnome.org/show_bug.cgi?id=615542

Changed in brasero (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in brasero:
status: Unknown → New
Revision history for this message
Rouquier Philippe (bonfire-app) wrote :

I recently fixed a bug in brasero where because we were using fwrite() instead of write() for logging we got truncated log.
Could you check if it helps to fix your bug too?

Changed in brasero:
importance: Unknown → Medium
Changed in brasero:
status: New → Expired
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.