Skip to content

Instantly share code, notes, and snippets.

@Kiwi
Last active January 22, 2021 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kiwi/cc5a2a6fc24584d0ee6cbae9b252c437 to your computer and use it in GitHub Desktop.
Save Kiwi/cc5a2a6fc24584d0ee6cbae9b252c437 to your computer and use it in GitHub Desktop.
ledger-autosync doesn't like me and the feeling is mutual
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ ledger-autosync
Traceback (most recent call last):
File "/nix/store/n2jbvak46w2rzz7qp23zy4ayh0dwvkss-ledger-autosync-1.0.2/bin/.ledger-autosync-wrapped", line 9, in <module>
sys.exit(run())
File "/nix/store/n2jbvak46w2rzz7qp23zy4ayh0dwvkss-ledger-autosync-1.0.2/lib/python3.8/site-packages/ledgerautosync/cli.py", line 341, in run
load_plugins(config_dir)
File "/nix/store/n2jbvak46w2rzz7qp23zy4ayh0dwvkss-ledger-autosync-1.0.2/lib/python3.8/site-packages/ledgerautosync/cli.py", line 210, in load_plugins
imp.load_source(
File "/nix/store/2wwb85hrvvfzkhrlwcj3pqi60nlbi9cq-python3-3.8.7/lib/python3.8/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 779, in exec_module
File "<frozen importlib._bootstrap_external>", line 916, in get_code
File "<frozen importlib._bootstrap_external>", line 846, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/kiwi/.config/ledger-autosync/plugins/my.py", line 9
FIELDSET = set(["Date", "Name", Amount", "Balance"])
^
SyntaxError: invalid syntax
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --stdin --description -p "ledger-autosync doesn't like me and the feeling is mutual"
Traceback (most recent call last):
2: from /run/current-system/sw/bin/gist:18:in `<main>'
1: from /run/current-system/sw/bin/gist:18:in `load'
/nix/store/g15mpc7rikxpak071d8fjxijl4fwf018-gist-6.0.0/lib/ruby/gems/2.6.0/gems/gist-6.0.0/bin/gist:140:in `<top (required)>': invalid option: --stdin (OptionParser::InvalidOption)
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --stdin --des^Cp "ledger-autosync doesn't like me and the feeling is mutual"
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --stdin -p --description "ledger-autosync doesn't like me and the feeling is mutual"
Traceback (most recent call last):
2: from /run/current-system/sw/bin/gist:18:in `<main>'
1: from /run/current-system/sw/bin/gist:18:in `load'
/nix/store/g15mpc7rikxpak071d8fjxijl4fwf018-gist-6.0.0/lib/ruby/gems/2.6.0/gems/gist-6.0.0/bin/gist:140:in `<top (required)>': invalid option: --stdin (OptionParser::InvalidOption)
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --stdin -p --description "ledger-autosync doesn't like me and the feeling is mutual"^C
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ ^Cst --stdin -p --description "ledger-autosync doesn't like me and the feeling is mutual"
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --description -p "ledger-autosync doesn't like me and the feeling is mutual"
Error: No such file or directory @ rb_sysopen - /home/kiwi/projects/github.com/NixOS/nixpkgs/ledger-autosync doesn't like me and the feeling is mutual
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --description -p "ledger-autosync doesn't like me and the feeling is mutual"
bbb.out doc/ flake.nix .github/ maintainers/ README.md .version-suffix
COPYING dontCheck.txt .git/ .gitignore nixos/ result/
default.nix .editorconfig .gitattributes lib/ pkgs/ .version
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ gist --description -p "ledger-autosync doesn't like me and the feeling is mutual"
Error: No such file or directory @ rb_sysopen - /home/kiwi/projects/github.com/NixOS/nixpkgs/ledger-autosync doesn't like me and the feeling is mutual
[nix-shell:~/projects/github.com/NixOS/nixpkgs]$ exit
^Fkiwi@mvp-nixos ~ []$ gist --description -p "ledger-autosync doesn't like me and the feeling is mutual"
Error: No such file or directory @ rb_sysopen - /home/kiwi/ledger-autosync doesn't like me and the feeling is mutual
kiwi@mvp-nixos ~ []$ gist -p --description "ledger-autosync doesn't like me and the feeling is mutual"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment