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 345549 - Deskbar won't search Firefox bookmarks
Deskbar won't search Firefox bookmarks
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-06-21 14:36 UTC by Johann Lo
Modified: 2006-07-10 11:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Johann Lo 2006-06-21 14:36:47 UTC
Please describe the problem:
Deskbar won't search firefox bookmarks
Cannot enable the Web Bookmarks option in preferences
When running manually in terminal via deskbar-applet -w, and then trying to replicate fault, I get following error

Initializing Web Bookmarks
Error retreiving Mozilla Bookmarks: 'NoneType' object has no attribute 'startswith'
Error while initializing Web Bookmarks: 'NoneType' object has no attribute 'startswith'
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/deskbar/ModuleLoader.py", line 169 in initialize_module
    context.module.initialize ()
  • File "/usr/lib/deskbar-applet/handlers/mozilla.py", line 142 in initialize
    parsed_file = self._parse_bookmarks()
  • File "/usr/lib/deskbar-applet/handlers/mozilla.py", line 147 in _parse_bookmarks
    self._bookmarks, parsed_file, self._shortcuts_to_smart_bookmarks_map = MozillaBookmarksParser(self).get_indexer()
  • File "/usr/lib/deskbar-applet/handlers/mozilla.py", line 243 in __init__
    self.close()
  • File "/usr/lib/python2.4/HTMLParser.py", line 112 in close
    self.goahead(1)
  • File "/usr/lib/python2.4/HTMLParser.py", line 150 in goahead
    k = self.parse_endtag(i)
  • File "/usr/lib/python2.4/HTMLParser.py", line 316 in parse_endtag
    self.handle_endtag(tag.lower())
  • File "/usr/lib/deskbar-applet/handlers/mozilla.py", line 288 in handle_endtag
    if self.href.startswith("javascript:"):
AttributeError: 'NoneType' object has no attribute 'startswith'


Steps to reproduce:
1. Run deskbar
2. Go into preferences, attempt to enable Web Bookmarks
3. 


Actual results:
as above

Expected results:
as above

Does this happen every time?
yes

Other information:
a.) I am using custom firefox RPM, not the one supplied w/ distro (FC5). However my profile is in same location (~/.mozilla/firefox) and as far as I recall it didn't work with default firefox either
Comment 1 Johann Lo 2006-06-21 14:40:10 UTC
Just to clarify, module LOADS ok but won't INITIALISE
Comment 2 Daniel Holbach 2006-07-06 09:30:09 UTC
The issue was reported as https://launchpad.net/products/deskbar-applet/+bug/50958 as well.
Comment 3 Raphael Slinckx 2006-07-10 11:14:37 UTC
Fixed in CVS