-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Describe the bug
Windows 11 does not ship with WMIC as an installed feature anymore, and is planned to be deprecated. Currently requires manual installation.
Error messaging on trying to run trakt-scrobbler when WMIC is not present is not enough information for an end user to investigate why the installation is failing.
Attempting to
Desktop (please complete the following information):
- OS and Version: Win 11
- Python Version: 3.8+ (3.9, 3.10 and 3.13 were tried)
- Player and Version: N/A
- Trakt Scrobbler Version: 1.7.2
To Reproduce
- Fresh install latest revision of windows 11
- Follow instructions present here
- Attempting to start the service after populating details into step 6 will return error listed below.
- Does not populate information into the log file at
AppData\Roaming\trakt-scrobblerwhen using --verbose
Logs
Click to see log contents
The nature of this error seems to be an annoying one, as it's a generalised return from python for not being able to reach a dependency. I found instances online of this being that ffprobe couldn't be reached, or some other topics like task scheduler due to pathing / permission issues. It's a nasty one.
FileNotFoundError
[WinError 2] The system cannot find the file specified
at AppData\Local\Programs\Python\Python310\lib\subprocess.py:1438 in _execute_child
1434│ sys.audit("subprocess.Popen", executable, args, cwd, env)
1435│
1436│ # Start the process
1437│ try:
→ 1438│ hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
1439│ # no special security
1440│ None, None,
1441│ int(not close_fds),
1442│ creationflags, Notes
Spent a bit too long trying to debug this, but found the data within the process monitor tool after looking options avaialble online to identify a potential cause of the error.
One recommendation is outside of adjusting the intallation guide, to create a fallback mechanism when a dependency isn't found, to print what is missing from the current system. It has to be available somewhere, otherwise I'd never have found it in the process monitor.


