[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-08 Thread Sam Hathaway
I don't know how to reassign a bug to a new package, so someone else will have to do it for me. -- update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists https://launchpad.net/bugs/74699 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-08 Thread Sam Hathaway
affects /distros/ubuntu/softbeep -- update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists https://launchpad.net/bugs/74699 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-08 Thread Sam Hathaway
affects /distros/ubuntu/softbeep -- update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists https://launchpad.net/bugs/74699 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-08 Thread Sebastien Bacher
from the bug package you can click on the task, it'll expand the settings for it and you can change the source package name. What does softbeep has to do with gconf though? -- update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-07 Thread Sam Hathaway
I remembered what initially caused the problem on my original installation. The first time I saw the error was after downgrading totem (and totem-gstreamer) from 1.4.3-0ubuntu1 to 1.4.1-0ubuntu4. I did this because the totem browser plugin wasn't available for 1.4.3-0ubuntu1. Re-upgrading totem

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-07 Thread Sam Hathaway
More experimentation: I again copied my /var/lib/gconf directory from my other (non-broken) Edgy box, and am doing some experiments with that. One test is to unregister and then register a single schema. I did this with evince-thumbnailer-djvu.schemas: # With virgin gconf dir from spider,

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-07 Thread Sam Hathaway
The error message is generated by the gconf source file backends/markup- tree.c in the save_tree_with_locale function on line 4480. That code assumes that if there was an error, (i.e. write_failed is true) it was caused by something that sets errno. However, there are plenty of ways for an error

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-07 Thread Sam Hathaway
Ok... the line that causes gconftool to bail out is a call to fputs on line 4030 of markup-tree.c (in the function write_local_schema_info). Here's the surrounding chunk of code: if (write_descs local_schema-long_desc) { if (fprintf (f, %slongdesc, whitespace2) 0) goto out;

[Bug 74699] Re: update-schemas: Error writing file /var/lib/gconf/defaults/%gconf-tree.xml.new: File exists

2006-12-07 Thread Sam Hathaway
Ok, here's my workaround. This results in output identical to the output of the non-patched gconf on you working system. It probably just masks the real problem, though. So what changed to cause local_schema-long_desc to be defined but point to an empty string? Who knows? The schema files are the