"programming error"

Bug #50806 reported by Robert Nevins
This bug report is a duplicate of:  Bug #50958: Problem with firefox live bookmarks. Edit Remove
4
Affects Status Importance Assigned to Milestone
deskbar-applet (Ubuntu)
Invalid
Undecided
Ubuntu Desktop Bugs
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox

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'

Revision history for this message
Dean Sas (dsas) wrote :

It looks like this is deskbar not handling a firefox bookmarks.html properly.

Changed in firefox:
status: Unconfirmed → Rejected
Revision history for this message
Dean Sas (dsas) wrote :

Robert, We need your bookmarks.html file from your firefox profile to properly diagnose the problem. If you don't mind your bookmarks being viewable to anyone in the world could you attach the file to this bug?

You can find it in .mozilla/firefox/<some_random_letters>.default/bookmarks.html, remember to change "<randomletters>" to the letters you have before ".default"

Changed in deskbar-applet:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Robert Nevins (robert-nevins) wrote :

Dean,

I don't mind at all. However, I'm a complete duffer at this sort of thing. Where am I meant to be looking for this html file?

Robert

Revision history for this message
Dean Sas (dsas) wrote :

Hi Robert. It's a tricky one to describe as it's different for each person :)

If you look at the bottom of the "comment form" on this web page, there's an "add attachment box". Hit browse at the side and it'll launch the file picker. Then press CTRL+L and it'll give you a text box. Type "~/.mozilla/firefox/" then choose the item that ends in ".default". Then press "open". Select the "bookmarks.html" file, then press "open". Finally, back on the webpage, give the file a description (something like "crash causing bookmarks file" would be good), then hit "save changes".

Revision history for this message
Sebastien Bacher (seb128) wrote :

apparently that's the same issue than bug #50958 and fixed to edgy, marking as duplicate

Changed in deskbar-applet:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.