Closed Bug 352101 Opened 18 years ago Closed 18 years ago

Bookmark manager error after inserting a new live bookmark

Categories

(Firefox :: Bookmarks & History, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: acidogastrico, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5

This was the output i got after trying to insert a New Live Bookmark:

A Programming error has been detected: it probably isn't fatal. The program may behave erratically from now on (indeed, it's been erraticall, this notification appears every time i've launched the browser. The bookmark is working, though. I haven't restarted the system.)

Traceback (most recent call last):
  File "/usr/lib/deskbar-applet/handlers/mozilla.py", line 153, in <lambda>
    self.watcher.connect('changed', lambda watcher, f: self._parse_bookmarks())
  File "/usr/lib/deskbar-applet/handlers/mozilla.py", line 161, 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 257, 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 302, in handle_endtag
    if self.href.startswith("javascript:"):
AttributeError: 'NoneType' object has no attribute 'startswith'


Reproducible: Always
That's a bug in your Deskbar Gnome Applet, not in Firefox (not that we'd accept a bug in Ubuntu's version of Firefox unless you could also reproduce it in a Moz-official build, since we have no idea what they've done to it, or control over what they do to it, but it's not even in their Firefox).

When you report it to the applet developer, please let him or her know that live bookmarks added manually from the bookmarks manager will have an empty href, and only a value for feedhref, since that's where it looks like his code is barfing.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
*** Bug 354419 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.