Crash when parsing Firefox bookmarks

Bug #1318564 reported by Juan Simón
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kupfer
New
Undecided
Unassigned

Bug Description

Ubuntu 13.10 64 bits
Kupfer git version compiled today
Firefox version 29

$ kupfer --debug
.....
D [kupfer.plugin.firefox] BookmarksSource: Reading history from /home/simon/.mozilla/firefox/w9yywypa.default/places.sqlite
D [kupfer.plugin.firefox] BookmarksSource: Parsing /home/simon/.mozilla/firefox/w9yywypa.default/bookmarkbackups/bookmarks-2014-05-11_363.json
Exception in [kupfer.plugin.firefox] BookmarksSource:
Traceback (most recent call last):
  File "/usr/local/share/kupfer/kupfer/plugin/firefox.py", line 130, in get_items
    json_bookmarks = list(self._get_ffx3_bookmarks(fpath))
  File "/usr/local/share/kupfer/kupfer/plugin/firefox.py", line 96, in _get_ffx3_bookmarks
    bookmarks, tags = firefox3_support.get_bookmarks(fpath)
  File "/usr/local/share/kupfer/kupfer/plugin/firefox3_support.py", line 63, in get_bookmarks
    for child in next["children"]:
KeyError: 'children'
D [kupfer.plugin.firefox] BookmarksSource: Parsing /home/simon/.mozilla/firefox/w9yywypa.default/bookmarks.html
D [kupfer.plugin.firefox] BookmarksSource: Loaded 25 items
....

Revision history for this message
Karol Będkowski (karol-bedkowski) wrote :
Revision history for this message
Juan Simón (simonbcn) wrote :

Is the original kupfer dead? :-(

It isn't true. Same error with that fork:

D [kupfer.plugin.firefox] BookmarksSource: Reading history from /home/simon/.mozilla/firefox/w9yywypa.default/places.sqlite
D [kupfer.plugin.firefox] BookmarksSource: Parsing /home/simon/.mozilla/firefox/w9yywypa.default/bookmarkbackups/bookmarks-2014-05-17_365.json
Exception in [kupfer.plugin.firefox] BookmarksSource:
Traceback (most recent call last):
  File "/usr/local/share/kupfer/kupfer/plugin/firefox.py", line 130, in get_items
    json_bookmarks = list(self._get_ffx3_bookmarks(fpath))
  File "/usr/local/share/kupfer/kupfer/plugin/firefox.py", line 96, in _get_ffx3_bookmarks
    bookmarks, tags = firefox3_support.get_bookmarks(fpath)
  File "/usr/local/share/kupfer/kupfer/plugin/firefox3_support.py", line 65, in get_bookmarks
    for child in next["children"]:
KeyError: 'children'
D [kupfer.plugin.firefox] BookmarksSource: Loaded items
D [kupfer.plugin.firefox] BookmarksSource: Parsing /home/simon/.mozilla/firefox/w9yywypa.default/bookmarks.html

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.