Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'I understand why you'd want this' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I understand why you'd want this
Authored by: Miraglia on Jul 29, '05 10:47:32AM
But the code in its current form doesn't work for me. I get the following error:

Traceback (most recent call last):
  File "./export_bookmarks.python", line 56, in ?
    if __name__ == "__main__": main(sys.argv[1:])
  File "./export_bookmarks.python", line 53, in main
    else: filter_bookmarks(read_bookmarks(), [], found=1)
  File "./export_bookmarks.python", line 14, in read_bookmarks
    return plistlib.Plist.fromFile(bookmarks_file)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/", line 212, in fromFile
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/", line 303, in parse
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 8

Cool utility -- hope it's fixable (I don't know any Python, sadly.)


[ Reply to This | # ]