-
Notifications
You must be signed in to change notification settings - Fork 4
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
Many error messages appear in the CMD window #9
Comments
|
|
Please provide your operating system version and operating procedure, I will try to reproduce the problem.
I understand what you mean, but this is not the goal of precord, you need more professional analysis tools. |
This problem often occurs when I execute Python commands in the CMD window and run the commands for a long time. However, I have tried two win10 systems, and this error will occur, so I think it may not have much to do with the win10 version. |
The problem is caused by upstream dependencies. |
Please try version v0.5.12-etw-fix~ |
Still have to work hard~~~ thread 'main' panicked at 'No such process(288)', src\types.rs:16:14 |
How did you run precord, from the command line or python? |
I will try to run this script next week, I don't have windows at the moment, thanks for your feedback~ 👍 |
It is easier to use "--name - Name of processes" to reproduce this problem. I think it is caused by the appearance or disappearance of the temporary process PID in the process name. |
Please try version v0.6.0, I executed your script for 20 minutes without exception. |
I have used version 0.6.0~~~ This is what I did: Run the python script in the CMD window, monitor a browser name repeatedly, and then I keep opening many browser pages, and then I keep closing all browser pages. I do it for so many times,this error will occur ! import os while True: |
When you end a recording, you need to sleep for a while and let the operating system recycle the counter. |
Maybe we can solve this by creating a new random counter each time, but I'm not sure if that's the right thing to do. |
Here is my script: import os
print(os.popen(r".\precord.exe --name chrome -c fps --time 20m").read()) |
According to long-term observation, in fact, I think this error will not affect real data collection. It may only be caused by precord's exception handling mechanism, but ordinary people can't understand this error prompt. |
We can't handle this exception, it's caused by n4r1b/ferrisetw#26. |
By this time, I can no longer evaluate the impact of this error. I think if it does not affect the continuous collection of data, we do not need to pay too much attention to it for the time being. |
This issue should be fixed by 2b85f3d. |
Fixed by v0.7.4. |
I suddenly have a few questions to ask. Thank you:
(1) Many error messages appear in the CMD window;
(2) If the system has multiple GPUs, how is the GPU usage calculated?
(3) Which CPUs and GPUs does precord support for windows? (such as Intel, AMD and NVIDIA)
(4) Which CPUs and GPUs does precord support for MacOS systems? (such as Intel, AMD, NVIDIA, M1)
thread '' panicked at 'called
Option::unwrap()
on aNone
value', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\ferrisetw-0.1.1\src\schema.rs:110:54note: run with
RUST_BACKTRACE=1
environment variable to display a backtracethread '' panicked at 'called
Option::unwrap()
on aNone
value', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\ferrisetw-0.1.1\src\schema.rs:110:54thread '' panicked at 'calledOption::unwrap()
on aNone
value', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\ferrisetw-0.1.1\src\schema.rs:110:54note: run with
RUST_BACKTRACE=1
environment variable to display a backtracethread '' panicked at 'called
Option::unwrap()
on aNone
value', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\ferrisetw-0.1.1\src\schema.rs:110:54note: run with
RUST_BACKTRACE=1
environment variable to display a backtracethread '' panicked at 'called
Option::unwrap()
on aNone
value', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\ferrisetw-0.1.1\src\schema.rs:110:54note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceThe text was updated successfully, but these errors were encountered: