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

Manix Crashes on Cache building #31

Open
bayou-brogrammer opened this issue Sep 6, 2023 · 12 comments
Open

Manix Crashes on Cache building #31

bayou-brogrammer opened this issue Sep 6, 2023 · 12 comments

Comments

@bayou-brogrammer
Copy link

Running manix straight from an install produces the following error:

Building Nixpkgs comments cache...
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/comments_docsource.rs:178:65
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Havent been able to get around this

@hmajid2301
Copy link

I am suffering the same issue!

@izelnakri
Copy link

I just had the same issue after nix profile install manix on my machine(which is NOT NixOS). This essentially makes this cli/project useless currently thus would appreciate your attention @mlvzk :

$ uname -a
Linux x1-carbon 6.5.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023 08:37:40 +0000 x86_64 GNU/Linux

$ RUST_BACKTRACE=1 manix fetchurl
Building Nixpkgs comments cache...
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/comments_docsource.rs:178:65
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &F>::call_mut
   4: rayon::iter::plumbing::Folder::consume_iter
   5: rayon::iter::plumbing::bridge_producer_consumer::helper
   6: rayon_core::registry::in_worker
   7: rayon::iter::plumbing::bridge_producer_consumer::helper
   8: rayon_core::registry::in_worker
   9: rayon::iter::plumbing::bridge_producer_consumer::helper
  10: rayon_core::job::StackJob<L,F,R>::run_inline
  11: rayon_core::registry::in_worker
  12: rayon::iter::plumbing::bridge_producer_consumer::helper
  13: rayon_core::registry::in_worker
  14: rayon::iter::plumbing::bridge_producer_consumer::helper
  15: rayon_core::registry::in_worker
  16: rayon::iter::plumbing::bridge_producer_consumer::helper
  17: <rayon_core::job::StackJob<L,F,R> as rayon_core::job::Job>::execute
  18: rayon_core::registry::WorkerThread::execute
  19: rayon_core::registry::WorkerThread::wait_until_cold
  20: rayon_core::registry::in_worker
  21: rayon::iter::plumbing::bridge_producer_consumer::helper
  22: <rayon_core::job::StackJob<L,F,R> as rayon_core::job::Job>::execute
  23: rayon_core::registry::WorkerThread::wait_until_cold
  24: rayon_core::registry::ThreadBuilder::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

@bayou-brogrammer
Copy link
Author

The last commit was 2 years ago. I just think it's dead at this point

waalge pushed a commit to waalge/manix that referenced this issue Sep 25, 2023
@evelant
Copy link

evelant commented Sep 28, 2023

It seems the original maintainer of this project is no longer active here or at all on github. Maybe we can point nixpkgs to a working fork if anyone is willing to maintain it?

@waalge
Copy link

waalge commented Oct 5, 2023

@evelant I'm happy to try

@bayou-brogrammer
Copy link
Author

If anyone is still around, I forked the repo and updated it to a working state.

https://github.com/lecoqjacob/manix

@ParetoOptimalDev
Copy link

@lecoqjacob Perhaps you can create a PR on nixpkgs to change nixpkgs to use your working fork?

@bayou-brogrammer
Copy link
Author

@lecoqjacob Perhaps you can create a PR on nixpkgs to change nixpkgs to use your working fork?

Yea I already have a PR up to switch maintainers! Should be good in a few days

@Artturin
Copy link

@lecoqjacob @waalge It's possible to filter all the broken stuff out in find_nix_files https://github.com/nix-community/nixpkgs-lint/blob/master/src/find.rs

@bayou-brogrammer
Copy link
Author

@lecoqjacob @waalge It's possible to filter all the broken stuff out in find_nix_files https://github.com/nix-community/nixpkgs-lint/blob/master/src/find.rs

Oh this is a good find! I'll need to upstream this in my fork

@IogaMaster
Copy link

@ParetoOptimalDev We have now done this.
https://github.com/nix-community/manix

Working on updating the nixpkgs version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants