GNOME Bugzilla – Bug 527023
crash in Deskbar: freshly installed beagle...
Last modified: 2008-11-01 12:26:23 UTC
What were you doing when the application crashed? freshly installed beagle, first try to use beagle-live and typing some characters into the deskbar. beagled was manually started and was still indexing while I did this. The "normal" beagle-search-frontend was working, no crashes there. Distribution: Debian lenny/sid Gnome Release: 2.22.0 2008-03-14 (Debian) BugBuddy Version: 2.22.0 System: Linux 2.6.24-1-686 #1 SMP Mon Feb 11 14:37:45 UTC 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome 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 (133746 sec old) --------------------- err:shell:SHGetFileInfoW pidl is null! fixme:shell:IShellView_fnSaveViewState (0x1a9170) stub fixme:richedit:RichEditWndProc_common EM_SETBIDIOPTIONS: stub fixme:richedit:RichEditWndProc_common EM_SETBIDIOPTIONS: stub fixme:richedit:RichEditWndProc_common EM_SETBIDIOPTIONS: stub fixme:richedit:RichEditWndProc_common EM_SETBIDIOPTIONS: stub fixme:richedit:RichEditWndProc_common EM_SETEDITSTYLE: stub fixme:shell:DllCanUnloadNow stub fixme:shell:DllCanUnloadNow stub fixme:psdrv:PSDRV_DeviceCapabilities DC_BINADJUST: stub. fixme:dc:SetVirtualResolution (0x5a98 000026bc 000036d1 000000d1 00000129): stub! fixme:dc:GetTransform stub: don't know what to do for code 204 fixme:dc:GetTransform stub: don't know what to do for code 204 ...Too much output, ignoring rest... -------------------------------------------------- Traceback (most recent call last):
+ Trace 194653
self._on_hit_added(query, container, qstring, qmax)
self.counter[qstring][hit.get_type()] += 1
*** Bug 527228 has been marked as a duplicate of this bug. ***
*** Bug 527254 has been marked as a duplicate of this bug. ***
*** Bug 527255 has been marked as a duplicate of this bug. ***
The reason of the bug is the following: The bug occurs (at least) if you find a directory without finding a "normal" file before. def _create_match(self, query, hit, qstring, snippet=None): hit_type = hit.get_type() # Directories are Files in beagle context if hit_type == "File": filetype = hit.get_properties("beagle:FileType") if filetype != None and filetype[0] == 'directory': hit_type = "Directory" Here you change hit_type, if you encounter a directory. [snip] self.__counter_lock.acquire() # Create new counter for query and type if not hit_type in self._counter[qstring]: self._counter[qstring][hit_type] = 0 # hit-type == "directory" # Increase counter self._counter[qstring][hit.get_type()] += 1 # hit.get_type() == "File" # KeyError: 'File' To correct this, simply replace hit.get_type() with hit_type.
*** Bug 528963 has been marked as a duplicate of this bug. ***
*** Bug 529156 has been marked as a duplicate of this bug. ***
*** Bug 530015 has been marked as a duplicate of this bug. ***
*** Bug 530024 has been marked as a duplicate of this bug. ***
*** Bug 530101 has been marked as a duplicate of this bug. ***
*** Bug 530106 has been marked as a duplicate of this bug. ***
*** Bug 530010 has been marked as a duplicate of this bug. ***
*** Bug 530152 has been marked as a duplicate of this bug. ***
Thanks a lot Arne. 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 530631 has been marked as a duplicate of this bug. ***
*** Bug 530642 has been marked as a duplicate of this bug. ***
*** Bug 531172 has been marked as a duplicate of this bug. ***
*** Bug 531171 has been marked as a duplicate of this bug. ***
*** Bug 532489 has been marked as a duplicate of this bug. ***
*** Bug 532490 has been marked as a duplicate of this bug. ***
*** Bug 532491 has been marked as a duplicate of this bug. ***
*** Bug 532743 has been marked as a duplicate of this bug. ***
*** Bug 532872 has been marked as a duplicate of this bug. ***
*** Bug 532877 has been marked as a duplicate of this bug. ***
*** Bug 532878 has been marked as a duplicate of this bug. ***
*** Bug 532879 has been marked as a duplicate of this bug. ***
*** Bug 533504 has been marked as a duplicate of this bug. ***
*** Bug 533994 has been marked as a duplicate of this bug. ***
*** Bug 534728 has been marked as a duplicate of this bug. ***
*** Bug 535212 has been marked as a duplicate of this bug. ***
*** Bug 535220 has been marked as a duplicate of this bug. ***
*** Bug 535709 has been marked as a duplicate of this bug. ***
*** Bug 536152 has been marked as a duplicate of this bug. ***
*** Bug 536149 has been marked as a duplicate of this bug. ***
*** Bug 536758 has been marked as a duplicate of this bug. ***
*** Bug 536737 has been marked as a duplicate of this bug. ***
*** Bug 536736 has been marked as a duplicate of this bug. ***
*** Bug 536609 has been marked as a duplicate of this bug. ***
*** Bug 537479 has been marked as a duplicate of this bug. ***
*** Bug 538067 has been marked as a duplicate of this bug. ***
*** Bug 538153 has been marked as a duplicate of this bug. ***
*** Bug 539877 has been marked as a duplicate of this bug. ***
*** Bug 539878 has been marked as a duplicate of this bug. ***
*** Bug 542111 has been marked as a duplicate of this bug. ***
*** Bug 547577 has been marked as a duplicate of this bug. ***
*** Bug 551076 has been marked as a duplicate of this bug. ***
*** Bug 556480 has been marked as a duplicate of this bug. ***
*** Bug 556759 has been marked as a duplicate of this bug. ***
*** Bug 558511 has been marked as a duplicate of this bug. ***