Hi all,
I have a Windows Server environment (OS Windows Server 2022). I have successfully completed the setup of QATrack+, and everything is all working fine and has been for a few weeks now. I also used all required versions (SQL Server 2019 and Python 3.9.1 ) to ensure complete compatibility on what has already been "tried and tested".
The only problem i have is that the Alert/Notifications aren't working. I have tracked this down to the final part of the install documentation - QCluster.
I first noticed the Windows Scheduled Task was constantly in a "running" state, when this should really switch back to a "ready" state once executed.
Further troubleshooting has shown that the command "python manage.py qmonitor" (to confirm the task cluster is running) results in multiple errors. Equally, running the command (which is what Task Scheduler does) "python manage.py qcluster" also results in the same errors.
The errors are basically along the lines of saying that the module is not installed e.g. "cannot import xxxx"
Now, I have worked my way through each of the errors, manually importing whichever 'module' is missing via the PIP Install command. This has been a bit of googling plus guess work to the actual module name, but i have managed to work my through around 10 modules, each time those errors go away (effectively the module is located) and then it will roll onto whichever the next one is.
Whist importing these modules i was kind of half aware that this probably isn't normal but i was stuck so had no other choice - I have now got to a stage (above cmd error) where i can't find the 'faults' module to install, but more to the point, I don't think this truly is the problem.
My limited knowledge here means i am stuck, so would appreciate any help on getting the Qcluster running. My gut feeling here is that it is something to do with the Qcluster command not looking in the correct 'site-packages' location, as if i browse to the C:\deploy\venvs\qatrack31\Lib\site-packages I can see all of the modules which i think it should be using and referencing when running the command, however (screen shot below) it looks as if it is using/referencing the 'site-packages' in the default Python installation directory, not the QATrack one (c:\program files\python39\lib\site-packages)
Hopefully that helps. It could be that I'm completely wrong here, but given i can see all of the modules in the C:\deploy\venvs\qatrack31\Lib\site-packages location that it was showing me each error on, I'm going to guess that it (hopefully) is just a case of telling the "python manage.py Qcluster" command to look in this directly and not the default python39 one.
As mentioned everything else for QATrack is running perfectly, It's just this final part.
Thanks