Closed quarkw closed 2 years ago
I'm getting the same error !
I'm getting the same error !
@RobinBeekhof
I was able to workaround by installing a pre-compiled binary using nix:
nix-env -iA nixpkgs.lieer
It doesn't fix this issue, but was able to unblock me
I tried via nix, but now I get the following error:
Traceback (most recent call last): File "/nix/store/2kp08g6f0nz95rfwxg2d9kdfcj9xdh35-lieer-1.3/bin/.gmi-wrapped", line 25, in <module> g.main () File "/nix/store/2kp08g6f0nz95rfwxg2d9kdfcj9xdh35-lieer-1.3/lib/python3.9/site-packages/lieer/gmailieer.py", line 212, in main args.func (args) File "/nix/store/2kp08g6f0nz95rfwxg2d9kdfcj9xdh35-lieer-1.3/lib/python3.9/site-packages/lieer/gmailieer.py", line 391, in pull self.setup (args, args.dry_run, True) File "/nix/store/2kp08g6f0nz95rfwxg2d9kdfcj9xdh35-lieer-1.3/lib/python3.9/site-packages/lieer/gmailieer.py", line 278, in setup self.local.load_repository (block) File "/nix/store/2kp08g6f0nz95rfwxg2d9kdfcj9xdh35-lieer-1.3/lib/python3.9/site-packages/lieer/local.py", line 311, in load_repository self.new_tags = self.nmconfig['new']['tags'].split (';') File "/nix/store/d7jippcwf15x0fvqr9bglgmnb4ci9srb-python3-3.9.12/lib/python3.9/configparser.py", line 1257, in __getitem__ raise KeyError(key) KeyError: 'tags'
The problem for me was I installed notmuch through brew, but somehow the library installed by brew is not included by miniconda's python.
This fixed it for me:
export DYLD_FALLBACK_LIBRARY_PATH="$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib"
You can add it to your shell's init file.
Looks like this issue is related to the notmuch bindings and its C library.
After installing notmuch with homebrew, it tells you right there to modify PYTHONPATH, i.e.,
export PYTHONPATH="$PYTHONPATH:$(brew --prefix)/opt/notmuch/libexec/lib/python3.11/site-packages"
Setting that fixed the installation problem for me
I get the following error after running
pip install .
and thengmi
Has anyone else gotten lieer to work on an ARM based mac? I'm not sure what exactly I'm doing wrong.