|
The packages do take some time to install, it depends on your internet speed. Just let it run minimize in the background. The ALPR module is over 2GB.

|
|
|
|
|
My install does not have any of these actions when i try to add the ALPR module - any ideas?

|
|
|
|
|
In the ALPR directory there will be an install.log folder. Can you please let me know if that contains more info?
It looks like the install failed quietly. You can edit the /setup.bat file to set verbosity=info, and then go back to /modules/ALPR and run ....\setup.bat to get more info
cheers
Chris Maunder
|
|
|
|
|
Chris maybe you should have the setup.bat set default to loud. So user will see progress of the setup.
|
|
|
|
|
Thanks Mike, but I am giving up. I tried to uninstall and reinstall and it just hangs up. I may have a screwed up system now so I am not going to try anymore. At least for now.
|
|
|
|
|
Hi Chris, I too am experiencing this same issue -- i did go to the Directory you listed but im not seeing that bat file or any info there.

Here is the log output:
12:34:56:Latest version available is 2.0.7-Beta
12:35:00:Preparing to install module 'ALPR'
12:35:00:Downloading module 'ALPR'
12:35:00:Call to Install on module ALPR has completed.
12:35:00:Unable to unpack module in 'C:\Program Files\CodeProject\AI\downloads\modules\ALPR-1.0.zip'
12:35:22:Latest version available is 2.0.7-Beta

i think the app wants to download the zip but never does.
|
|
|
|
|
Quote: Unable to unpack module
It's downloaded the package but can't install. I had this on my CUDA machine. It was a permissions issue. Uninstalling CodeProject.AI server, deleting the C:\Program Files\CodeProject folder and reinstalling fixed it.
I've still not determined why this started happening. Installs did work, then they didn't. Possibly a Windows update, or install update, that changed permissions. The other, easier, option is to right-click on the CodeProject\AI\modules folder, select security, and ensure you have write permissions (recursively set these permissions).
cheers
Chris Maunder
|
|
|
|
|
14:23:39:Preparing to install module 'ALPR'
14:23:39:Downloading module 'ALPR'
14:23:40:Installing module 'ALPR'
14:23:41:ALPR: Installing CodeProject.AI Analysis Module
14:23:41:ALPR: ========================================================================
14:23:41:ALPR: CodeProject.AI Installer
14:23:41:ALPR: ========================================================================
14:23:41:ALPR: CUDA Present...True
14:23:41:ALPR: Allowing GPU Support: Yes
14:23:41:ALPR: Allowing CUDA Support: Yes
14:23:41:ALPR: General CodeProject.AI setup
14:23:41:ALPR: Creating Directories...Done
14:23:41:ALPR: Installing module ALPR
14:23:41:ALPR: Downloading Python 3.7 interpreter...Checking 'C:\Program Files\CodeProject\AI\downloads\windows\python37\python37.zip'
Uninstalled and reinstalled.. its now installing modules.
|
|
|
|
|
I have lost count of how many times I have uninstalled and reinstalled.
|
|
|
|
|
Hello,
I believe I am experiencing a memory leak with the latest versions of CodeProject.AI and Blueiris. I can provide my logs but I'm getting consistent crashes of the applications and as shown in my screenshot below I'm constantly starting new python applications.



|
|
|
|
|
2.0.7 also was not working for me at all. I was also having 2 python instances instead of one and it would not detecd in conjunction with BI. Rolled back to 2.0.6, it is working fine (as it was before).
Keep upo the great work and thanks a lot!
|
|
|
|
|
I'm running into issues rolling back. I had to uninstall code project, remove all files, then had to remove cuda and reinstall all after a power cycle.
|
|
|
|
|
It looked like you might have had multiple instances of CodeProject.AI running. That was way too many Python instances to be attributed to one CodeProject.AI instance (there should be no more than 2 Python instances per Python based module)
cheers
Chris Maunder
|
|
|
|
|
Definitely only running one instance. What appeared to be happening is when I first started up I had 3 instances of python then it slowly created more and more. As shown I only had 3 modules installed and running. Also only running as a service so how I don't know how I could have multiple instances running.
|
|
|
|
|
Seems like you called it as I can't reproduce it now. I saw it 3 times on different attempts before I commented lol. On this upgrade, I haven't seen it happen in the last hour... I will let it run this way tonight and well see if it happens.
|
|
|
|
|
This is after one night running. just one instance as a service for me too, but infinite python.exe

|
|
|
|
|
So uninstalled 2.0.7. restarted deleted codepoject folder in programfiles and in programdata then reinstalled it a few times and somehow the final time I no longer had this issue. been running for 24 hours and not seeing it anymore.
|
|
|
|
|
Funny how i post that then not even an hour later I'm seeing the issue again.
Chris here's the results of the requested command for somereason I'm not getting a response back like yours. I tried playing with the command but couldn't determine what I'm doing wrong.
<pre>C:\Users\kyle>wmic process where "ExecutablePath like '%%modules//OCR%%'" get ExecutablePath
No Instance(s) Available.

I pulled my log traffic but as I can't load it here I'm not sure how to send it for review. In the last hour, it looks like this is the origination in the logs of the issue to my untrained eye. If you provide me away to send the full log file in I'm willing to do so just let me know.
2023-02-01 16:03:31: face.py: Not using half-precision for the device 'NVIDIA GeForce GTX 1660 Ti'
2023-02-01 16:03:31: face.py: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?face_queue: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:31: face.py: Timeout connecting to the server
2023-02-01 16:03:31: face.py: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?face_queue: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:31 [ConnectionRefusedError]: Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:33: ALPR_adapter.py: [ConnectionRefusedError] : Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?ALPR_queue: [ConnectionRefusedError] : Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33: ALPR_adapter.py: Pausing on error for 1.0 secs.
2023-02-01 16:03:33 [ConnectionRefusedError]: Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34: ModuleRunner Stop
2023-02-01 16:03:34: Sending shutdown request to python/ObjectDetectionYolo
2023-02-01 16:03:34: Client request 'Quit' in the queue (#reqid ba510d2d-8889-499a-ae5e-81eeaf15c175)
2023-02-01 16:03:34: Sending shutdown request to python/FaceProcessing
2023-02-01 16:03:34: Client request 'Quit' in the queue (#reqid 59a94d5a-f4ea-4298-ab92-7ed01ee0171f)
2023-02-01 16:03:34: Sending shutdown request to python/ALPR
2023-02-01 16:03:34: Client request 'Quit' in the queue (#reqid cd385a27-ad52-4d53-a799-b85da2d6237c)
2023-02-01 16:03:34: face.py: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?face_queue: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34: face.py: Timeout connecting to the server
2023-02-01 16:03:34: face.py: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?face_queue: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34 [ConnectionRefusedError]: Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34: ALPR_adapter.py: Timeout connecting to the server
2023-02-01 16:03:34: ALPR_adapter.py: [ConnectionRefusedError] : Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?ALPR_queue: [ConnectionRefusedError] : Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34: ALPR_adapter.py: [ConnectionRefusedError] : Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?ALPR_queue: [ConnectionRefusedError] : Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34 [ConnectionRefusedError]: Unable to check the command queue ALPR_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34: face.py: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?face_queue: [ConnectionRefusedError] : Unable to check the command queue face_queue. Is the server running, and can you connect to the server?
2023-02-01 16:03:34: face.py: Not using half-precision for the device 'NVIDIA GeForce GTX 1660 Ti'
2023-02-01 16:03:34: face.py: Timeout connecting to the server
Thanks,
Kyle
|
|
|
|
|
I get this as well, if I start and stop CodeProject.AI via Blue Iris control panel it will spawn 2 new instances of python.
|
|
|
|
|
Hubert S wrote: 2.0.7 also was not working for me at all.
What do the logs say?
There are 2 python instances for each module: one for the python instance that the venv refers to, and one for the venv's python instance.
Running wmic process where "ExecutablePath like '%%modules\\OCR%%'" get ExecutablePath gives you:

cheers
Chris Maunder
|
|
|
|
|
Upgrading back to .7 now and will provide shortly rolling back to .6 I have no issues.
|
|
|
|
|
@chris-maunder any further things you can point me towards I'm still in this state and have disabled the server for now since it causing the machine to crash. posted results in above thread.
|
|
|
|
|
If you've allowed Blue Iris to stop/start the CodeProject.AI service then could I suggest disabling that and seeing if that makes any difference?
cheers
Chris Maunder
|
|
|
|
|
Thanks, making this change now and will report back.
Thanks,
Kyle
|
|
|
|
|
@chris-maunder this does seem to be the most likely culprit I haven't seen multiple instances again.
|
|
|
|