GNOME Bugzilla – Bug 486549
crash in Deskbar: rebooting after enabling...
Last modified: 2009-05-11 03:41:28 UTC
What were you doing when the application crashed? rebooting after enabling desktop 3d addin Distribution: Ubuntu 7.10 (gutsy) Gnome Release: 2.20.0 2007-09-17 (Ubuntu) BugBuddy Version: 2.18.1 System: Linux 2.6.22-14-generic #1 SMP Wed Oct 10 06:00:47 GMT 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: Human Icon Theme: Human Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ----------- .xsession-errors --------------------- mapping method init - connect2: No such file or directory (nautilus:12826): libgnomevfs-WARNING **: module '/usr/lib/gnome-vfs-2.0/modules/libmapping.so' returned a NULL handle Failed to bind master socket: Operation not permitted mapping method init - connect2: No such file or directory (nautilus:12826): libgnomevfs-WARNING **: module '/usr/lib/gnome-vfs-2.0/modules/libmapping.so' returned a NULL handle Failed to bind master socket: Operation not permitted mapping method init - connect2: No such file or directory (nautilus:12826): libgnomevfs-WARNING **: module '/usr/lib/gnome-vfs-2.0/modules/libmapping.so' returned a NULL handle Failed to bind master socket: Operation not permitted mapping method init - connect2: No such file or directory (nautilus:12826): libgnomevfs-WARNING **: module '/usr/lib/gnome-vfs-2.0/modules/libmapping.so' returned a NULL handle -------------------------------------------------- Traceback (most recent call last):
+ Trace 170130
dapplet = DeskbarApplet(applet)
self.__setup_mvc()
self.__core.run()
self._setup_keybinder()
self.set_keybinding( self.get_keybinding() )
self._gconf.set_keybinding(binding)
self._client.set_string(self.GCONF_KEYBINDING, binding)
*** Bug 490528 has been marked as a duplicate of this bug. ***
*** Bug 490936 has been marked as a duplicate of this bug. ***
*** Bug 490941 has been marked as a duplicate of this bug. ***
*** Bug 490896 has been marked as a duplicate of this bug. ***
*** Bug 491392 has been marked as a duplicate of this bug. ***
*** Bug 491504 has been marked as a duplicate of this bug. ***
*** Bug 495035 has been marked as a duplicate of this bug. ***
*** Bug 493919 has been marked as a duplicate of this bug. ***
*** Bug 494095 has been marked as a duplicate of this bug. ***
*** Bug 494182 has been marked as a duplicate of this bug. ***
*** Bug 494533 has been marked as a duplicate of this bug. ***
*** Bug 495555 has been marked as a duplicate of this bug. ***
*** Bug 496425 has been marked as a duplicate of this bug. ***
*** Bug 496704 has been marked as a duplicate of this bug. ***
*** Bug 497608 has been marked as a duplicate of this bug. ***
*** Bug 497890 has been marked as a duplicate of this bug. ***
*** Bug 497891 has been marked as a duplicate of this bug. ***
*** Bug 498880 has been marked as a duplicate of this bug. ***
Something is wrong with you system and blocks Deskbar from writing to its GConf scheme. This is not caused by Deskbar-Applet. Maybe you can get further help at your distribution.
*** Bug 499366 has been marked as a duplicate of this bug. ***
*** Bug 503379 has been marked as a duplicate of this bug. ***
*** Bug 503322 has been marked as a duplicate of this bug. ***
*** Bug 502472 has been marked as a duplicate of this bug. ***
*** Bug 504029 has been marked as a duplicate of this bug. ***
*** Bug 504378 has been marked as a duplicate of this bug. ***
*** Bug 504546 has been marked as a duplicate of this bug. ***
*** Bug 504549 has been marked as a duplicate of this bug. ***
*** Bug 504909 has been marked as a duplicate of this bug. ***
*** Bug 505707 has been marked as a duplicate of this bug. ***
*** Bug 506224 has been marked as a duplicate of this bug. ***
*** Bug 506766 has been marked as a duplicate of this bug. ***
*** Bug 506964 has been marked as a duplicate of this bug. ***
*** Bug 507684 has been marked as a duplicate of this bug. ***
*** Bug 509081 has been marked as a duplicate of this bug. ***
*** Bug 509524 has been marked as a duplicate of this bug. ***
*** Bug 510140 has been marked as a duplicate of this bug. ***
*** Bug 510159 has been marked as a duplicate of this bug. ***
*** Bug 510531 has been marked as a duplicate of this bug. ***
*** Bug 512800 has been marked as a duplicate of this bug. ***
*** Bug 514608 has been marked as a duplicate of this bug. ***
*** Bug 515656 has been marked as a duplicate of this bug. ***
*** Bug 518731 has been marked as a duplicate of this bug. ***
*** Bug 519011 has been marked as a duplicate of this bug. ***
*** Bug 519871 has been marked as a duplicate of this bug. ***
*** Bug 519877 has been marked as a duplicate of this bug. ***
*** Bug 519885 has been marked as a duplicate of this bug. ***
*** Bug 520935 has been marked as a duplicate of this bug. ***
*** Bug 522180 has been marked as a duplicate of this bug. ***
*** Bug 522187 has been marked as a duplicate of this bug. ***
*** Bug 522760 has been marked as a duplicate of this bug. ***
*** Bug 522338 has been marked as a duplicate of this bug. ***
*** Bug 522768 has been marked as a duplicate of this bug. ***
*** Bug 523153 has been marked as a duplicate of this bug. ***
*** Bug 524125 has been marked as a duplicate of this bug. ***
*** Bug 524129 has been marked as a duplicate of this bug. ***
*** Bug 524923 has been marked as a duplicate of this bug. ***
*** Bug 524988 has been marked as a duplicate of this bug. ***
*** Bug 525861 has been marked as a duplicate of this bug. ***
*** Bug 526324 has been marked as a duplicate of this bug. ***
*** Bug 526465 has been marked as a duplicate of this bug. ***
*** Bug 526469 has been marked as a duplicate of this bug. ***
*** Bug 527213 has been marked as a duplicate of this bug. ***
*** Bug 527216 has been marked as a duplicate of this bug. ***
*** Bug 527446 has been marked as a duplicate of this bug. ***
*** Bug 527900 has been marked as a duplicate of this bug. ***
*** Bug 528348 has been marked as a duplicate of this bug. ***
*** Bug 528524 has been marked as a duplicate of this bug. ***
*** Bug 528599 has been marked as a duplicate of this bug. ***
*** Bug 528751 has been marked as a duplicate of this bug. ***
*** Bug 528736 has been marked as a duplicate of this bug. ***
*** Bug 528972 has been marked as a duplicate of this bug. ***
*** Bug 529044 has been marked as a duplicate of this bug. ***
*** Bug 529701 has been marked as a duplicate of this bug. ***
*** Bug 530073 has been marked as a duplicate of this bug. ***
*** Bug 530291 has been marked as a duplicate of this bug. ***
*** Bug 530290 has been marked as a duplicate of this bug. ***
*** Bug 530273 has been marked as a duplicate of this bug. ***
*** Bug 530266 has been marked as a duplicate of this bug. ***
*** Bug 530570 has been marked as a duplicate of this bug. ***
*** Bug 530853 has been marked as a duplicate of this bug. ***
*** Bug 531398 has been marked as a duplicate of this bug. ***
*** Bug 532216 has been marked as a duplicate of this bug. ***
*** Bug 532542 has been marked as a duplicate of this bug. ***
*** Bug 532829 has been marked as a duplicate of this bug. ***
*** Bug 534290 has been marked as a duplicate of this bug. ***
*** Bug 534317 has been marked as a duplicate of this bug. ***
*** Bug 533835 has been marked as a duplicate of this bug. ***
*** Bug 534777 has been marked as a duplicate of this bug. ***
*** Bug 535980 has been marked as a duplicate of this bug. ***
*** Bug 535981 has been marked as a duplicate of this bug. ***
*** Bug 535996 has been marked as a duplicate of this bug. ***
*** Bug 535998 has been marked as a duplicate of this bug. ***
*** Bug 536010 has been marked as a duplicate of this bug. ***
*** Bug 536007 has been marked as a duplicate of this bug. ***
*** Bug 536702 has been marked as a duplicate of this bug. ***
*** Bug 536586 has been marked as a duplicate of this bug. ***
*** Bug 536584 has been marked as a duplicate of this bug. ***
*** Bug 536575 has been marked as a duplicate of this bug. ***
*** Bug 539508 has been marked as a duplicate of this bug. ***
*** Bug 539544 has been marked as a duplicate of this bug. ***
*** Bug 539997 has been marked as a duplicate of this bug. ***
*** Bug 540006 has been marked as a duplicate of this bug. ***
*** Bug 540065 has been marked as a duplicate of this bug. ***
*** Bug 540648 has been marked as a duplicate of this bug. ***
*** Bug 540652 has been marked as a duplicate of this bug. ***
*** Bug 540734 has been marked as a duplicate of this bug. ***
*** Bug 541739 has been marked as a duplicate of this bug. ***
*** Bug 541801 has been marked as a duplicate of this bug. ***
*** Bug 542033 has been marked as a duplicate of this bug. ***
*** Bug 542173 has been marked as a duplicate of this bug. ***
*** Bug 542177 has been marked as a duplicate of this bug. ***
*** Bug 542182 has been marked as a duplicate of this bug. ***
*** Bug 542187 has been marked as a duplicate of this bug. ***
*** Bug 542195 has been marked as a duplicate of this bug. ***
*** Bug 542197 has been marked as a duplicate of this bug. ***
*** Bug 542198 has been marked as a duplicate of this bug. ***
*** Bug 542308 has been marked as a duplicate of this bug. ***
Created attachment 114316 [details] [review] Working patch With 100 duplicates, I do think this should be reopened as a valid bug. Key is readonly when is set in mandatory data store (which is used for locking user desktop profile) and if key is writable or not can be checked with gconf_client_key_is_writable() call. Attached patch is checking if key is writable for all GConf keys and if not, write message to LOGGER and fail silently. Special case is provided for setting keybinding so if change cannot be written to GConf, keybinding is not activated. In further development, preferences can be disabled if keys are not writable, but I think this is sufficient enough.
Thanks for the patch. It look fine except that you bind the key first and afterwards write it to GConf in CoreImpl.py. The old behavior however is that the binding is stored in GConf first, and then actually bind. I think it makes sense to check if we can store the binding before binding it. Thanks for discovering unused on_use_newstyleui_toggled method. I removed it together with other unused functions and signals in svn trunk.
*** Bug 542570 has been marked as a duplicate of this bug. ***
*** Bug 542430 has been marked as a duplicate of this bug. ***
I don't know why there should be a save call in initialization at all. If GConf is not readable default keybinding will be used, otherwise current value will be used so no need to update saved value. In on_keyboard_shortcut_entry_changed method (DesktopPreferences.py) there should be a test if GConf entry is writable and only if it is, new binding is made. Sequence in patch is already as same as you said in comment #119.
*** Bug 543076 has been marked as a duplicate of this bug. ***
I was referring to the _setup_keybinder method. In the old version it set_keybinding which writes to GConf first and binds afterwards. In the new version it class bind_keybinding before set_keybinding. Looking at the new code I think it's best to call set_keybinding in the first if case only.
*** Bug 544146 has been marked as a duplicate of this bug. ***
*** Bug 544144 has been marked as a duplicate of this bug. ***
*** Bug 544317 has been marked as a duplicate of this bug. ***
*** Bug 544551 has been marked as a duplicate of this bug. ***
*** Bug 544567 has been marked as a duplicate of this bug. ***
*** Bug 544673 has been marked as a duplicate of this bug. ***
*** Bug 544843 has been marked as a duplicate of this bug. ***
*** Bug 545320 has been marked as a duplicate of this bug. ***
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
*** Bug 546586 has been marked as a duplicate of this bug. ***
*** Bug 546791 has been marked as a duplicate of this bug. ***
*** Bug 547106 has been marked as a duplicate of this bug. ***
*** Bug 548781 has been marked as a duplicate of this bug. ***
*** Bug 549104 has been marked as a duplicate of this bug. ***
*** Bug 549519 has been marked as a duplicate of this bug. ***
*** Bug 549670 has been marked as a duplicate of this bug. ***
*** Bug 551107 has been marked as a duplicate of this bug. ***
*** Bug 552550 has been marked as a duplicate of this bug. ***
*** Bug 552806 has been marked as a duplicate of this bug. ***
*** Bug 553844 has been marked as a duplicate of this bug. ***
*** Bug 553991 has been marked as a duplicate of this bug. ***
*** Bug 554007 has been marked as a duplicate of this bug. ***
*** Bug 554017 has been marked as a duplicate of this bug. ***
*** Bug 554885 has been marked as a duplicate of this bug. ***
*** Bug 556285 has been marked as a duplicate of this bug. ***
*** Bug 558441 has been marked as a duplicate of this bug. ***
*** Bug 558864 has been marked as a duplicate of this bug. ***
*** Bug 560629 has been marked as a duplicate of this bug. ***
*** Bug 560206 has been marked as a duplicate of this bug. ***
*** Bug 557119 has been marked as a duplicate of this bug. ***
*** Bug 549071 has been marked as a duplicate of this bug. ***
*** Bug 561075 has been marked as a duplicate of this bug. ***
*** Bug 561121 has been marked as a duplicate of this bug. ***
*** Bug 561894 has been marked as a duplicate of this bug. ***
*** Bug 562838 has been marked as a duplicate of this bug. ***
*** Bug 564570 has been marked as a duplicate of this bug. ***
*** Bug 564757 has been marked as a duplicate of this bug. ***
*** Bug 564798 has been marked as a duplicate of this bug. ***
*** Bug 567969 has been marked as a duplicate of this bug. ***
*** Bug 569116 has been marked as a duplicate of this bug. ***
*** Bug 569144 has been marked as a duplicate of this bug. ***
*** Bug 570807 has been marked as a duplicate of this bug. ***
*** Bug 573485 has been marked as a duplicate of this bug. ***
*** Bug 576942 has been marked as a duplicate of this bug. ***
*** Bug 577779 has been marked as a duplicate of this bug. ***
*** Bug 580258 has been marked as a duplicate of this bug. ***
*** Bug 582103 has been marked as a duplicate of this bug. ***