Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

kup crashes when no nix profile installs exist #2978

Closed
goodlyrottenapple opened this issue Oct 11, 2022 · 0 comments
Closed

kup crashes when no nix profile installs exist #2978

goodlyrottenapple opened this issue Oct 11, 2022 · 0 comments
Assignees
Labels
kup Issues related to the kup installation path

Comments

@goodlyrottenapple
Copy link
Contributor

Fix

kup git:(develop) kup install k
Traceback (most recent call last):
  File "/usr/local/bin/kup", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/kup/__main__.py", line 306, in main
    install_package(args.package, args.version)
  File "/usr/local/lib/python3.9/site-packages/kup/__main__.py", line 208, in install_package
    reload_packages()
  File "/usr/local/lib/python3.9/site-packages/kup/__main__.py", line 105, in reload_packages
    with open(f'{os.getenv("HOME")}/.nix-profile/manifest.json') as manifest_file:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/brucecollie/.nix-profile/manifest.json'
@goodlyrottenapple goodlyrottenapple self-assigned this Oct 11, 2022
@Baltoli Baltoli added the kup Issues related to the kup installation path label Oct 13, 2022
@Baltoli Baltoli closed this as completed Oct 13, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kup Issues related to the kup installation path
Projects
None yet
Development

No branches or pull requests

2 participants