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

Windows: thread 'thread_write_report' panicked at 'called Result::unwrap() on an Err value #34

Closed
aminechraibi opened this issue Nov 26, 2022 · 2 comments

Comments

@aminechraibi
Copy link

Error when starting sniffnet.exe executable, the shown error from executing sniffnet from cmd line is below.
I used instructions in section Install and Run -> Windows dependencies Ncap installed and Npcap SDK added to LIB env variable.

thread 'thread_write_report' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." }', src\thread_write_report.rs:34:49
stack backtrace:
   0:     0x7ff7f17673b1 - <unknown>
   1:     0x7ff7f15212ea - <unknown>
   2:     0x7ff7f174f8c9 - <unknown>
   3:     0x7ff7f17695ab - <unknown>
   4:     0x7ff7f17691c5 - <unknown>
   5:     0x7ff7f16ba162 - <unknown>
   6:     0x7ff7f176a062 - <unknown>
   7:     0x7ff7f1769e03 - <unknown>
   8:     0x7ff7f1769d69 - <unknown>
   9:     0x7ff7f1769d24 - <unknown>
  10:     0x7ff7f18fe515 - <unknown>
  11:     0x7ff7f18fe7d3 - <unknown>
  12:     0x7ff7f16b31e2 - <unknown>
  13:     0x7ff7f16c2119 - <unknown>
  14:     0x7ff7f1730599 - <unknown>
  15:     0x7ff7f1764d2b - <unknown>
  16:     0x7ffac1ad74b4 - BaseThreadInitThunk
  17:     0x7ffac2ba26a1 - RtlUserThreadStart
@GyulyVGC
Copy link
Owner

In which directory are you running the application? The problem is that you don't have the permissions necessary to create a file in that location.

Try running the app as an admin.

@aminechraibi
Copy link
Author

aminechraibi commented Nov 26, 2022

I tried to launch it as admin. It's working now. Thank you.

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

2 participants