GnomeBaker error importing session when CD already mounted (0.5.0 breezy)

Bug #30558 reported by Richard Quirk
2
Affects Status Importance Assigned to Milestone
GnomeBaker
Fix Released
Undecided
Unassigned
Debian
Fix Released
Undecided
Unassigned

Bug Description

1. Start Gnomebaker.
2. Insert a multisession CD that sessions may be added to. The CD is automatically mounted by the system.
3. Click the "Import" button to import the exisiting sessions
Expected Result: The sessions are read in.
Actual Result: An error dialog is shown saying that the CD can't be read/is already in use.
"Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second."

The work-around is to unmount the CD after inserting it. Perhaps Gnome Baker should do this automatically before trying to import the sessions?

Revision history for this message
Richard Quirk (quirky) wrote : unmounting before calling cdrecord -msinfo

This 1 line patch seems to fix the problem. It unmounts the CD before reading the session info via cdrecord.

Revision history for this message
Richard Quirk (quirky) wrote :

Just seen the latest 'baker 0.5.1 version does a similar thing too. Ah well, should be fixed in Dapper then :)

Revision history for this message
Lasse Bang Mikkelsen (lbm) wrote :

Do you mean 0.5.1 fix the problem?

Revision history for this message
Richard Quirk (quirky) wrote :

Yes, in Gnomebaker 0.5.1 it looks like this problem is fixed. 0.5.1 unmounts the cd before reading the CD sessions. Here was the cvs checkin that fixed this particular problem.
http://cvs.sourceforge.net/viewcvs.py/gnomebaker/gnomebaker/src/datacd.c?r1=1.46&r2=1.47

Revision history for this message
Lasse Bang Mikkelsen (lbm) wrote :

Fixed in 0.5.1.

Changed in gnomebaker:
status: Unconfirmed → Fix Released
Changed in gnomebaker:
status: New → Fix Released
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.