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 523192 - deskbar-applet crashed with AttributeError in query()
deskbar-applet crashed with AttributeError in query()
Status: RESOLVED INCOMPLETE
Product: deskbar-applet
Classification: Deprecated
Component: general
2.20.x
Other All
: Normal critical
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
: 552941 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-18 15:54 UTC by Martin Schaaf
Modified: 2008-10-20 16:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Patch that checks for initialized epiphany history. (768 bytes, patch)
2008-03-18 15:55 UTC, Martin Schaaf
none Details | Review

Description Martin Schaaf 2008-03-18 15:54:41 UTC
Steps to reproduce:
1. type epiphany
2. crash
It crashes not every time but often and not every time on the same word.

Stack trace:
Traceback (most recent call last):
  • File "/usr/lib/python2.5/site-packages/deskbar/gtkexcepthook.py", line 67 in run
    run_old(*args, **kwargs)
  • File "threading.py", line 440 in run
    self.__target(*self.__args, **self.__kwargs)
  • File "/usr/lib/python2.5/site-packages/deskbar/core/ThreadPool.py", line 67 in _worker
    function(*args, **kwargs)
  • File "/usr/lib/deskbar-applet/modules-2.20-compatible/epiphany.py", line 152 in query
    matches = self._history.look_up(query)[:deskbar.DEFAULT_RESULTS_PER_HANDLER]
AttributeError: 'NoneType' object has no attribute 'look_up'

Other information:
ProblemType: Crash
Architecture: i386
Date: Fri Nov 23 14:52:00 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/lib/deskbar-applet/deskbar-applet
InterpreterPath: /usr/bin/python2.5
Package: deskbar-applet 2.20.0-0ubuntu2
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/lib/deskbar-applet/deskbar-applet --oaf-activate-iid=OAFIID:Deskbar_Applet_Factory --oaf-ior-fd=45
ProcCwd: /home/ms
ProcEnviron:
 PATH=/home/ms/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/deskbar-applet/deskbar-applet', '--oaf-activate-iid=OAFIID:Deskbar_Applet_Factory', '--oaf-ior-fd=45']
SourcePackage: deskbar-applet
Title: deskbar-applet crashed with AttributeError in query()
Uname: Linux elaste 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
Comment 1 Martin Schaaf 2008-03-18 15:55:54 UTC
Created attachment 107548 [details] [review]
Patch that checks for initialized epiphany history.

I am not sure how it is possible that deskbar can query this module before it is completly initialized? This is possibly a bug too.
Comment 2 Sebastian Pölsterl 2008-03-24 11:00:46 UTC
Yes, that error shouldn't happen. I have to investigate this problem.

What epiphany modules do have enabled?
Comment 3 Martin Schaaf 2008-03-24 11:58:18 UTC
The same crash happens in a newer version with the tomboy plugin.

Traceback (most recent call last):
  • File "/usr/lib/python2.5/site-packages/deskbar/gtkexcepthook.py", line 69 in run
    run_old(*args, **kwargs)
  • File "/usr/lib/python2.5/threading.py", line 446 in run
    self.__target(*self.__args, **self.__kwargs)
  • File "/usr/lib/python2.5/site-packages/deskbar/core/ThreadPool.py", line 67 in _worker
    function(*args, **kwargs)
  • File "/usr/lib/deskbar-applet/modules-2.20-compatible/tomboy.py", line 162 in query
    if tomboy().FindNote(case) == '':
AttributeError: 'NoneType' object has no attribute 'FindNote'

Comment 4 Martin Schaaf 2008-03-24 12:01:12 UTC
(In reply to comment #2)
> Yes, that error shouldn't happen. I have to investigate this problem.
> 
> What epiphany modules do have enabled?
> 

Only chronic and bookmark. Search engines not.
Comment 5 Sebastian Pölsterl 2008-03-24 18:33:55 UTC
The problem you mentioned in comment 3 is not related to this one at all. Please file a new bug for this one.

I try to reproduce the epiphany bug in the meantime.
Comment 6 Sebastian Pölsterl 2008-07-21 17:27:30 UTC
Can you still reproduce this bug with the latest version?
Comment 7 Martin Schaaf 2008-07-24 06:32:51 UTC
I do not know because I didn't use it any longer. But the patch I attached previously fixed my problem.
Comment 8 Sebastian Pölsterl 2008-08-24 20:38:40 UTC
If the bug is still reproduceable without the patch with latest version, I'm going to commit the patch, but I need someone to report if it's reproduceable.
Comment 9 Susana 2008-09-20 10:58:16 UTC
*** Bug 552941 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Pölsterl 2008-10-20 16:17:19 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!