Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Failed to open/read local data from file/application (26) #358271

Closed
gador opened this issue Nov 22, 2024 · 1 comment
Closed

Failed to open/read local data from file/application (26) #358271

gador opened this issue Nov 22, 2024 · 1 comment
Labels
0.kind: bug Something is broken

Comments

@gador
Copy link
Member

gador commented Nov 22, 2024

Describe the bug

After rebuilding my system, I get the following error and thousands alike:

warning: error: unable to download 'https://cache.nixos.org/134v1qhd8hcw02xymd2759a2x2y8yls4.narinfo': Failed to open/read local data from file/application (26); retrying in 314 ms

Steps To Reproduce

Steps to reproduce the behavior:

  1. use current master and rebuild the system
  2. try to build anything else

Expected behavior

No error message

Screenshots

Additional context

current master used 39a771d

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.63, NixOS, 25.05 (Warbler), 25.05.20241122.300e140
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.10
  • channels(gador): ""
  • channels(root): "nixos, nixpkgs"
  • nixpkgs: /nix/store/55jcyrw47dp7lrzipkcmxhw7jydz32g4-source

Notify maintainers

@lovek323 (for curl)


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@gador gador added the 0.kind: bug Something is broken label Nov 22, 2024
@gador
Copy link
Member Author

gador commented Nov 23, 2024

lat bit of the trace

… while calling the 'import' builtin
         at «nix-internal»/call-flake.nix:54:19:
           53|
           54|           flake = import (outPath + "/flake.nix");
             |                   ^
           55|

       … while realising the context of a path

       … while calling the 'fetchTree' builtin
         at «nix-internal»/call-flake.nix:48:15:
           47|               # FIXME: remove obsolete node.info.
           48|               fetchTree (node.info or {} // removeAttrs node.locked ["dir"]);
             |               ^
           49|

       … while fetching the input 'github:nix-community/home-manager/a46e702093a5c46e192243edbd977d5749e7f294?narHash=sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo%3D'

       error: Failed to open archive (Source threw exception: error: unable to download 'https://github.com/nix-community/home-manager/archive/a46e702093a5c46e192243edbd977d5749e7f294.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application))

Looking into it more verbose, there is a netrc error. Just trying with curl, yields:

❯ curl -n --netrc-file /run/agenix/attic-pull https://github.com/nix-community/home-manager/archive/8cf9cb2ee78aa129e5b8220135a511a2be254c0c.tar.gz
curl: (26) .netrc parser error

So this seems to be a duplicate of #356114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant