Package Details: moz2fs 2013.9.23.3-4

Git Clone URL: https://aur.archlinux.org/moz2fs.git (read-only, click to copy)
Package Base: moz2fs
Description: Convert Mozilla (Firefox) bookmarks in JSON format to and from a filesystem hierarchy.
Upstream URL: https://xyne.dev/projects/moz2fs
Keywords: firefox
Licenses: GPL
Submitter: Xyne
Maintainer: Xyne
Last Packager: Xyne
Votes: 3
Popularity: 0.000000
First Submitted: 2013-09-21 10:17 (UTC)
Last Updated: 2022-07-15 22:44 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

m040601 commented on 2024-03-02 15:30 (UTC) (edited on 2024-03-02 15:34 (UTC) by m040601)

This tool is not working as of 2024.

As also reported by other commentators, I also get the error,

$ moz2fs bookmarks_firefox.json ./somedir

Traceback (most recent call last):
  File "/usr/bin/moz2fs", line 411, in <module>
    main()
  File "/usr/bin/moz2fs", line 405, in main
    moz2fs(obj, pargs.to, info_name=pargs.info, sep_name=pargs.sep)
  File "/usr/bin/moz2fs", line 307, in moz2fs
    moz2fs(c, p, info_name=info_name, sep_name=sep_name)
  File "/usr/bin/moz2fs", line 284, in moz2fs
    for c in obj['children']:
             ~~~^^^^^^^^^^^^
KeyError: 'children'

The PKGBUILD has been updated in 2022, but the tool itself, seems not to have been changed since 2013 !!!

Age     Commit message (Expand)  Author
2022-07-16 Update to 2013.9.23.3-4  Xyne
2021-11-19 Update to 2013.9.23.3-2  Xyne
2021-11-17 Update to 2013.9.23.3-2  Xyne
2015-06-21 Initial import.          Xyne

This is a lot of time for breaking changes made by Mozilla/Firefox to happen.

I would therefore recommend that this tool either:

  • be updated in its source repo
  • be removed from the AUR if there is no more interest in updating it

micwoj92 commented on 2021-05-30 17:42 (UTC)

Gives error

Traceback (most recent call last):
  File "/usr/bin/moz2fs", line 411, in <module>
    main()
  File "/usr/bin/moz2fs", line 405, in main
    moz2fs(obj, pargs.to, info_name=pargs.info, sep_name=pargs.sep)
  File "/usr/bin/moz2fs", line 307, in moz2fs
    moz2fs(c, p, info_name=info_name, sep_name=sep_name)
  File "/usr/bin/moz2fs", line 284, in moz2fs
    for c in obj['children']:
KeyError: 'children'

aspirogrammer commented on 2015-01-07 11:23 (UTC)

I already tried most of those comments. Not sure if this is the right way, but altering the line validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680') to contain 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2, did the thing for me...

Xyne commented on 2015-01-07 00:50 (UTC)

This has come up with several packages since the latest pacman update. Check e.g. the pkg_scripts comments for various solutions.

aspirogrammer commented on 2015-01-04 20:09 (UTC)

I tried to update gpg database and manually sign keys but I still get an error: ==> Verifying source file signatures with gpg... moz2fs-2013.9.23.3.tar.xz ... FAILED (invalid public key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build moz2fs.

Xyne commented on 2014-03-09 12:37 (UTC)

# @kozaki Yes, I still use it and have no problems with it. It seems that the dateAdded field is missing for one of the entries in your exported bookmarks file. That shouldn't happen. I recommend that you look through the file to determine which bookmark is causing the problem and then delete and re-add it in Firefox. Export a new file and it should work.

kozaki commented on 2014-03-08 10:51 (UTC)

Great idea, looks very tempting. Please Xyle do you still use it? Here's what I get on both a regular (4 MB) JSON and Firefox's default (7 KB): --- Traceback (most recent call last): File "/usr/bin/moz2fs", line 411, in <module> main() File "/usr/bin/moz2fs", line 405, in main moz2fs(obj, pargs.to, info_name=pargs.info, sep_name=pargs.sep) File "/usr/bin/moz2fs", line 307, in moz2fs moz2fs(c, p, info_name=info_name, sep_name=sep_name) File "/usr/bin/moz2fs", line 304, in moz2fs group.add((c['title'], c['dateAdded'])) KeyError: 'dateAdded' ---