[ubuntu-mono] [Bug 77133] Re: f-spot problems while exporting file to cd - Unable to create CD
Jens Gersdorf
jens.gersdorf at web.de
Sun Jun 24 17:46:17 BST 2007
Hi,
I just analyzed the problem a little bit on my machine.
My first thought was, that there is a timing problem. Therefore, I got the
sourcecode from the Ubuntu repository, and patched the File CDExport.cs to
include a sleep of 10 sec before it calls nautilus-cd-burner in the Transfer()
Method:
--------- extract from CDExport.cs -------------
if (result == Gnome.Vfs.Result.Ok) {
System.Console.WriteLine("#####
Gnome.Vfs.Xfer.XferUri returned OK");
System.Console.WriteLine("##### Due to
bug, sleep 10 sec");
System.Threading.Thread.Sleep(10000);
System.Console.WriteLine("##### Sleep
done, now it shoud work hopefully");
progress_dialog.Message =
Catalog.GetString ("Done Sending Photos");
progress_dialog.Fraction = 1.0;
progress_dialog.ProgressText =
Catalog.GetString ("Transfer Complete");
progress_dialog.ButtonLabel =
Gtk.Stock.Ok;
progress_dialog.Hide ();
system ("nautilus-cd-burner");
} else {
-------------
Well, I don't know if that was a stupid idea, but it did not change the
behaviour (besides the effect that I had to wait 10 secs in each trial to
export files to cd...). That is, sometimes (seldom) it works, and very often it
does not work.
During my trials, I examined the directory /tmp/virtual-jens.oVFB78t, where all
the exported photos seems to be copied. The interesting thing is that although
nautilus-cd-burner complains that no files have been selected for burning,
f-spot (or the gnome-vfs) copies files to this directory.
After 10 tries (each with two photos selected for export), the directory looks
like the following:
jens at toshiba:/tmp/virtual-jens.oVFB78$ ls -lrt
insgesamt 3960
-rw-r--r-- 1 jens jens 186401 2006-12-27 20:13 file.I898TT
-rw-r--r-- 1 jens jens 207567 2006-12-27 20:13 file.0WEWTT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:13 file.KG13TT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:13 file.IMEEUT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:14 file.H4VDUT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:14 file.6UMZTT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:15 file.BEL7TT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:15 file.0C2EUT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:15 file.VLLVTT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:15 file.P8B6TT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:15 file.UTEBUT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:15 file.4BX0TT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:16 file.IDO1TT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:16 file.FWC9TT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:16 file.9VS9TT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:16 file.13SVTT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:17 file.NOI5TT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:17 file.IRF9TT
-rw-r--r-- 1 jens jens 186401 2007-06-24 18:17 file.E1VZTT
-rw-r--r-- 1 jens jens 207567 2007-06-24 18:17 file.1C04TT
Please note that this is the directory after 10 trials, and the last one
succeeded. Have a look at the timestamps. All unsuccessfull tries lead to files
with a timestamp of today (2007-06-24). And with the last, successfull try the
two files on the top appeared - with the timestamp 2006-12-27, that is the
original timestamp of the photos. Only these two files are shown in the "Burn
location". And if I delete these two files, the burn location is empty again. I
will include a screenshot of this.
All the other files don't have any effect on the nautilus-cd-burner.
Now I'm a little bit lost - but I don't think any longer that this is a timing
issue, but has something todo with the gnome-vfs.
If you need more information, please let me know.
For your information - I also filed a bug against f-spot, please see
http://bugzilla.gnome.org/show_bug.cgi?id=450622.
Regards
Jens
** Attachment added: "Screenshot showing "Burn location" (CD/DVD Ersteller)"
http://launchpadlibrarian.net/8177568/burn-location
--
f-spot problems while exporting file to cd - Unable to create CD
https://bugs.launchpad.net/bugs/77133
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for f-spot in ubuntu.
More information about the Ubuntu-mono
mailing list