After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 538978 - copy CD/DVD button disabled in Brasero
copy CD/DVD button disabled in Brasero
Status: RESOLVED FIXED
Product: brasero
Classification: Applications
Component: general
0.7.1
Other All
: Normal minor
: 0.7
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-06-18 16:31 UTC by Alejandro Tamalet
Modified: 2008-10-01 12:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
logfile of brasero (60.41 KB, text/plain)
2008-07-16 19:25 UTC, Paul Thomas
Details
Log of Brasero 0.8.0 (tamalet) (47.59 KB, text/plain)
2008-08-08 18:10 UTC, Alejandro Tamalet
Details

Description Alejandro Tamalet 2008-06-18 16:31:40 UTC
Please describe the problem:
I am using Brasero 0.7.1 in Ubuntu Hardy Heron.

I noticed that if I click on the button "Disc copy" with a DVD inserted, the copy button is enabled. But if then I select write to a file image and then the DVD-writer again, the button copy gets disabled.

It can be easily reproduced and solved by clicking cancel and choosing Disc copy again.

Steps to reproduce:
1. Select disc copy with a disc inserted
2. Select write to a file image
3. Select the device writer again


Actual results:
The copy button is disabled

Expected results:
The copy button should be enabled

Does this happen every time?
Yes

Other information:
This problem was originally reported in Ubuntu launchpad:
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/238497
Comment 1 Philippe Rouquier 2008-06-19 19:48:30 UTC
Thanks for the bug report.
I can't reproduce it with 0.7.90 (available from ftp.gnome.org). Could you install 0.7.90 and see if this bug is still valid for 0.7.90 as this is the next stable version please?
Comment 2 Alejandro Tamalet 2008-06-20 10:02:18 UTC
Is there any binary version to install?
I tried compiling from source but got lots of errors in burn-cdrdao.c.
Comment 3 Philippe Rouquier 2008-06-20 10:47:03 UTC
No, not yet =(. I don't think ubuntu people have already packaged it.
Comment 4 Alejandro Tamalet 2008-06-20 12:06:25 UTC
It's not in Ubuntu repositories yet, even including the pre-release updates.
I will have a look again as soon as I can upgrade.
Comment 5 todd 2008-06-26 20:04:22 UTC
I have downloaded 0.7.90, compiled and installed. 
Originally 0.7.1 worked for me now it does not.  I am running Hardy.  Please let me know what I can do to help triage this issue.
Comment 6 todd 2008-06-27 02:09:48 UTC
I am adding the additional information in here just for search engines.
I figured out the problem as described below.

Test 1
If I click on copy and select image then go back to the dvd drive for the source
it does not show the copy.  I have to cancel then click copy again to get
the ability to copy to dvd drive.

Test 2
If I click on the copy with it copying to the dvd instead of an image file I a popup with the following error.

Session error : impossible to find a format for the temporary image (brasero_burn_record burn.c:2371)

I ran brasero -g and found some interesting information.


(brasero:23240): BraseroBurn-DEBUG: At burn-plugin-manager.c:475: Load failure, no GType was returned encrypted DVD: please, install libdvdcss version 1.2.x

So along the way with getting the dependencies for building 0.7.90 on my machine I got libdvdcss2 and somehow lost libdvdcss from the original
hardy installation.

lrwxrwxrwx 1 root root    18 2008-06-26 00:25 libdvdcss.so.2 -> libdvdcss.so.2.0.8
-rw-r--r-- 1 root root 31512 2007-09-27 12:23 libdvdcss.so.2.0.8

Once I fixed this.. I am now able to get the correct functionality.

It would be nice if this showed up during initial startup in a log window.

Comment 7 Luis Medinas 2008-07-02 02:31:34 UTC
I can reproduce the problem (using svn trunk) picking a 4gb iso and trying to burn to a blank dvd-r.
Comment 8 Paul Thomas 2008-07-14 13:36:12 UTC
I will add the following information, based on my situation.

I did the test with the stock brasero (0.7.1), as well as with the fresh new 0.8.0 version, built yesterday with the ubuntu patchset.

1. The symptoms are observed when attempting to copy a dvd-ROM. Now, if I first copy a dvd-ROM with k3b and then try to copy the result with brasero, everything is fine. In this case, the disc I am copying is NOT a dvd-ROM, but a dvd rw.

2. I did NOT observe the symptoms on a debian install, gnome 2.20, whereas hardy is based on 2.22. There has been some changes around GVFS / GIO in libnautilus-burn, can it be a culprit ?

Thanks in advance,

Paul Thomas
Comment 9 Philippe Rouquier 2008-07-16 11:50:38 UTC
Libnautilus-burn can't be the culprit any more as 0.8.0 no longer uses it.

I think todd's explanation (comment 6) is the right one. Make sure you have all libdvdcss plugin working if you want to copy DVD-ROMs.
Paul, that would fit with your first scenario, the DVD-ROM was encrypted and therefore couldn't be copied by brasero without libdvdcss or without the right version of libdvdcss. K3b which probably uses the dvdcss on your system, I mean the right version, copied it. When you copy an encrypted DVD-ROM the thing is your copy of it will be UNencrypted. That's why brasero managed to copy the copy you made.
Please attach logs created with brasero-0.8.0 ("brasero -g > log 2>&1" in a console) so I can verify this assumption.
Also add the version of your libdvdcss please.
Comment 10 Paul Thomas 2008-07-16 14:35:49 UTC
This makes sense.

FYI, I'm using libdvdcss 1.2.9, built on my own. The ubuntu patchset includes something to make brasero code point to libdvdcss.so.2 instead of libdvdcss.so.

I will try what you suggest and report on it. However, I can't do that before 5 weeks.

Thanks for your help.
Comment 11 Alejandro Tamalet 2008-07-16 18:33:10 UTC
I think that you are discussing another bug, the bug I reported is a small problem in the interface, there is no need to actually copy anything to reproduce it. Here goes again the problem I originally described.

1. Open Brasero and insert any disc (can be CD or DVD, encrypted or not).
2. Choose Disc Copy. The button copy should be enabled.
3. In the second combo box choose File image. The copy button is still enabled.
4. Choose the CD/DVD writer again. The copy button gets disabled.

So just by changing the writer device and putting it back to the original option you get the copy button disabled. It is not a big deal since you can just cancel and choose Disc Copy again to get it enabled.
Comment 12 Paul Thomas 2008-07-16 19:25:21 UTC
Created attachment 114680 [details]
logfile of brasero
Comment 13 Philippe Rouquier 2008-07-17 12:49:27 UTC
@Paul Thomas: Thanks for the log. That's really strange. I can make this work with the exact set of active plugins as you have. I get almost the same log until your error except I don't have the error.
On the other hand I use trunk SVN which may contain some additional bug fixes since 0.8.0 but still ... I'll try to figure out what the problem is.

@Alejandro Tamalet:
Do you still see the bug with 0.8.0 (it has been recently released)? If so, please attach a log.
Comment 14 Alejandro Tamalet 2008-08-08 18:10:02 UTC
Created attachment 116174 [details]
Log of Brasero 0.8.0 (tamalet)
Comment 15 Alejandro Tamalet 2008-08-08 18:16:15 UTC
I installed Brasero 0.8.0 but now the copy button is always disabled, I can't copy anything. However, K3b works fine.

I attached a log file: http://bugzilla.gnome.org/attachment.cgi?id=116174
Comment 16 Philippe Rouquier 2008-08-09 13:03:05 UTC
@ Alejandro Tamalet: I fixed the bug in trunk and for the upcoming 0.8.1 release.

@ Paul Thomas: I managed to reproduce your bug with 0.8.0. It had something to do with the order in which your plugins were loaded. I checked and in 0.8.1 it was fixed.

So both of you seem to have your bugs fixed but sometimes a bug hides another. Please try 0.8.1 (should be released in hours) and report (even better try SVN trunk =)).
Comment 17 Alejandro Tamalet 2008-08-11 09:43:00 UTC
I installed the new version. The previous problem is solved, but now I found a bug similar to the one I originally reported.

1. Choose Disc copy and THEN insert a CD.
2. The CD is recognised and the option to write to a file image is selected, however, the copy button is disabled.
3. Choose the CD writer, the copy button gets enabled.
4. Choose Image File again, now the copy button is enabled.

To reproduce it, it is important that you put the CD after choosing Disc copy.
Another minor thing is that once the CD is recognised, the main Brasero window is minimised.
Comment 18 Paul Thomas 2008-08-17 22:00:52 UTC
Sorry, 0.8.1 still does not work. An attempt to copy an encrypted dvd still terminates with the message "impossible de trouver un format pour l'image temporaire" (I'm using the French version).

Paul
Comment 19 Paul Thomas 2008-08-18 16:23:43 UTC
I don't konw if this is relevant or not, but the DVD I'm trying to copy is Dual Layer, although the log states "media is  Disc DVD ROM closed protected with data". Should not it be "media is  Disc DVD DL ROM closed protected with data" and can this be the source of the problem (i.e. wrong handling of DVD DL rather than wrong handling of dvdcss decoding)?
Comment 20 Philippe Rouquier 2008-08-20 13:44:52 UTC
@Alejandro Tamalet: I finally saw it (I must have been blind all that time) and fixed it in SVN trunk.

@Paul Thomas: I also finally found your bug (that was indeed a bug) in brasero. As said above it was triggered by your plugins load order.

Thanks for your help both of you. Fixes are in SVN trunk and will be in 0.8.2. Please test, but I'm confident I got them both.
Comment 21 Paul Thomas 2008-08-21 00:01:57 UTC
Thanks Philippe, this seems to be working perfectly. As far as I'm concerned, you can consider my side of this bug closed.
Thank you again / Merci encore for your reactivity and efficiency.
Paul.
Comment 22 Philippe Rouquier 2008-08-24 18:45:13 UTC
I'm closing it. Feel free to reopen if it isn't fixed. Thanks for your help.
Comment 23 Alejandro Tamalet 2008-08-25 08:56:07 UTC
I am waiting for a the binaries to appear in getdeb, I get many errors when trying to compile it.
Comment 24 Alejandro Tamalet 2008-10-01 12:17:15 UTC
I've finally been able to test Brasero 0.82 and I can confirm the bug was fixed. Good job!!