-
Notifications
You must be signed in to change notification settings - Fork 5
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
FileNotFoundError, QueryServiceConfigW #17
Comments
@Edward-Lucas Hello! Do you have services on your PC that have names/descriptions/paths/another that include the characters: 지정된 파일을 찾을 수 없습니다 ? Because it is very likely that when receiving a list of services, an unexpected name was received and this led to a crash. If this is so, then the bug may be incurable, because this is a problem with the third-party psutil library, which is used to obtain a list of services. |
'지정된 파일을 찾을 수 없습니다' is Korean. Since I am using Korean, the error message is displayed in Korean. The meaning is ‘The system cannot find the file specified’. My knowledge is small. I don't know what the psutil library is. |
I found an opportunity to “fix” the problem, I will try to do it in the near future. But in fact, this will be ignoring the problematic service. I don’t see any other way to quickly fix the problem in the dependent library. In theory, the authors of psutil should fix this, maybe I’ll find the time to open an Issue with them. |
wow, thank you |
@Edward-Lucas I've made some fixes to the app and can you please check if the issue is actually fixed? |
Error has been changed. 2024-03-08 00:15:47,845 - proc-gov - INFO - Application started My main computer is Windows 11 Pro N. I thought Windows might be the problem, so I tried it with a Windows 11 Home laptop, but got the same error. |
Made some more changes to catch a wider range of errors, can you please re-download the application (I updated the archive)? |
I used it for a few days. Everything works perfectly. |
I'm glad that the application is stable and helps you =) Thanks for the feedback! I close the task |
2024-03-06
22:45:11,647 - proc-gov - ERROR - Error in the loop of loading and applying rules.Traceback (most recent call last):
File "main_loop.py", line 57, in main_loop
File "service\rules_service.py", line 50, in apply_rules
File "service\services_info_service.py", line 35, in get_list
File "psutil_pswindows.py", line 611, in as_dict
File "psutil_pswindows.py", line 522, in _query_config
FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다: '(originated from
QueryServiceConfigW)'
'지정된 파일을 찾을 수 없습니다.' is 'The system cannot find the file specified'
I'm experiencing audio problems in windows. Always have to change priorities in task manager.
Your program will be of great help to me. However, the program does not work with an error message.
The text was updated successfully, but these errors were encountered: