|
Hi Chris,
I think I figured out the issue. Somehow my .NET was uninstalled or corrupted. I have no idea how or why. I reinstall .NET and things are back up and working.
modified 28-Jun-24 2:33am.
|
|
|
|
|
Same exact error message here.
Uninstalling and reinstalling the module fixed it. Thanks!
|
|
|
|
|
Is there a way that CodeProject in Blue Iris can read a text from a video NOT just for license plates? At one time, I was getting logos of shirts read and I think it is way cool especially for my front door .
|
|
|
|
|
|
There is a logo custom model[^] from DeepStack that you can use with the YOLOv5 6.2 module. Just drop this in the custom-models folder in the YOLOv5 module's folder, and then specify in Blue Iris what you want to detect.
Much easier than reading text, since logos aren't always text.
cheers
Chris Maunder
|
|
|
|
|
Hello,
I'm trying to install Codeproject on Ubuntu 22.04 via the installer.
Codeproject installer requires "apt-get install dotnet-sdk-7.0", but that version is no longer available on Ubuntu 22.04.
I tried to install the outdated version manually 7.0.410, but the installer stilll doesn't work and try to install "apt-get install dotnet-sdk-7.0", which doesn't exist.
Checking for .NET 7.0.../usr/bin/codeproject.ai-server-2.6.5/SDK/Scripts/utils.sh: line 587: dotnet: command not found
Upgrading: .NET is (None)
Already added link to .bashrc
/usr/bin/codeproject.ai-server-2.6.5/SDK/Scripts/utils.sh: line 542: dotnet: command not found
.NET was not installed correctly. You may need to run the following:
sudo apt-get remove 'dotnet*'
sudo apt-get remove 'aspnetcore*'
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install dotnet-sdk-7.0
Processing CodeProject.AI Server
Processing Included CodeProject.AI Server Modules
Reading module settings.......done
Processing module
This module cannot be installed on this system
How do I install Codeproject on Ubuntu 22.04 ? What specific version of the SDK do you require ?
Thank you.
|
|
|
|
|
|
Already tried but it doesn't change anything.
The installer still failed with the exact same error message.
|
|
|
|
|
Can you try, as per the output:
sudo apt-get remove 'dotnet*'
sudo apt-get remove 'aspnetcore*'
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install dotnet-sdk-7.0
And let me know what happens?
cheers
Chris Maunder
|
|
|
|
|
root@cam:~
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package dotnet-sdk-7.0
E: Couldn't find any package by glob 'dotnet-sdk-7.0'
E: Couldn't find any package by regex 'dotnet-sdk-7.0'
|
|
|
|
|
I'm going to release a 2.7.0 server for ubuntu today. This moves to .NET 8 and avoids the issue with .NET 7 being skipped in the apt feed.
cheers
Chris Maunder
|
|
|
|
|
|
where I can find this version for testing?
|
|
|
|
|
apt install -y software-properties-common
add-apt-repository ppa:dotnet/backports
apt install -y dotnet-sdk-7.0
with this you can install dotnet-sdk-7.0 also on ubuntu 24.04
|
|
|
|
|
I'm seeing this with these three module versions. Both my win boxes show same and I only use TextToImage on one. I do not use ALPR or Super resolution on either. The TextToImage pulls 1.1.2 on install...
|
|
|
|
|
Thanks very much for the report. Could you please try refreshing your browser, or restarting the server?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Did both multiple times...
Others are reporting this version mismatch
My modules page shows this, where I have TextToImage installed.
TextToImage should show 1.2.0...
My guess is that it has something to do with moving the SDK files into a python package.
ie:
CodeProject-AI-SDK # Installing the CodeProject.AI SDK in the requirements files
I still have a SDK folder...
Nuking the whole thing to reinstall seems like diagnostics with a hammer.
I have two working systems.
|
|
|
|
|
Are you still seeing this issue?
And: what version of CodeProject.AI Server are you running?
cheers
Chris Maunder
|
|
|
|
|
Server version: 2.6.5
System: Windows
Operating System: Windows (Microsoft Windows 6.1.7601 Service Pack 1)
CPUs: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz (Intel)
1 CPU x 6 cores. 12 logical processors (x64)
GPU (Primary): NVIDIA GeForce RTX 3060 (12 GiB) (NVIDIA)
Driver: 474.11, CUDA: 11.7.64 (up to: 11.4), Compute: , cuDNN: 8.9
System RAM: 64 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.5
.NET SDK: 7.0.203
Default Python: 3.9.6
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
NVIDIA GeForce RTX 3060:
Driver Version 30.0.14.7411
Video Processor NVIDIA GeForce RTX 3060
System GPU info:
GPU 3D Usage 5%
GPU RAM Usage 11.8 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
All working here. Thank you, it boggles my mind how you guys make this all work. I have a few extra hoops to jump through to make it work on my os version, but the results just work. I can tell you that I am learning more each update.
|
|
|
|
|
Hello,
I just noted that a new version of superresolution was available, but when I tried to update, I get this error message:
09:07:24:Unable to download module 'SuperResolution' from https: I also see a new version of YOLO v8, but a little gun-shy to try to update it until I understand if the problem might be on my end.
thanks!
|
|
|
|
|
Your dashboard should update soon to show a 2.1.1 version for download.
The problem occurred because I uploaded a module update list that referenced modules I'd not yet uploaded. I did a full refresh about an hour ago that is back in sync.
cheers
Chris Maunder
|
|
|
|
|
Hi Chris,
I am still seeing this today when trying to install (the previous update attempt removed this module then failed):
06:58:27:Downloading module 'SuperResolution'
06:58:27:Unable to download module 'SuperResolution' from https: Is there something manual I need to do to update the modules list?
thanks!
|
|
|
|
|
Thanks very much for the report. Please try downloading the module again.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Superresolution 2.1.1 does install now...but it shows as unavailable? (the service is greyed out at the bottom of the status page and just says Not Available...)
Also, in the install log, I see it does not install GPU code. Should it?
What can I do to debug further?
22:06:19:Call to run Uninstall on module SuperResolution has completed.
22:06:50:Preparing to install module 'SuperResolution'
22:06:50:Downloading module 'SuperResolution'
22:06:51:Installing module 'SuperResolution'
22:06:51:SuperResolution: Installing CodeProject.AI Analysis Module
22:06:51:SuperResolution: ======================================================================
22:06:51:SuperResolution: CodeProject.AI Installer
22:06:51:SuperResolution: ======================================================================
22:06:51:SuperResolution: 387.9Gb of 487Gb available on Windows
22:06:51:SuperResolution: os, arch = windows x86_64
22:06:51:SuperResolution: systemName, platform = Windows, windows
22:06:52:SuperResolution: edgeDevice =
22:06:52:SuperResolution: setupMode = SetupModule
22:06:52:SuperResolution: executionEnvironment = Production
22:06:52:SuperResolution: rootDirPath = C:\Program Files\CodeProject\AI
22:06:52:SuperResolution: appRootDirPath = C:\Program Files\CodeProject\AI\
22:06:52:SuperResolution: setupScriptDirPath = C:\Program Files\CodeProject\AI\
22:06:52:SuperResolution: sdkScriptsDirPath = C:\Program Files\CodeProject\AI\SDK\Scripts
22:06:52:SuperResolution: runtimesDirPath = C:\Program Files\CodeProject\AI\runtimes
22:06:52:SuperResolution: modulesDirPath = C:\Program Files\CodeProject\AI\modules
22:06:52:SuperResolution: externalModulesDirPath = C:\Program Files\CodeProject\AI\..\CodeProject.AI-Modules
22:06:52:SuperResolution: modelsDirPath = C:\Program Files\CodeProject\AI\models
22:06:52:SuperResolution: downloadDirPath = C:\Program Files\CodeProject\AI\downloads
22:06:52:SuperResolution: General CodeProject.AI setup
22:06:52:SuperResolution: Creating Directories...done
22:06:52:SuperResolution: GPU support
22:06:53:SuperResolution: CUDA Present...Yes (CUDA 11.7, cuDNN 8.5)
22:06:53:SuperResolution: ROCm Present...No
22:06:53:SuperResolution: Checking for .NET 7.0...Checking SDKs...Upgrading: .NET is 0
22:06:53:SuperResolution: Current version is 0. Installing newer version.
22:06:53:SuperResolution: The system cannot execute the specified program.
22:06:54:SuperResolution: Reading SuperResolution settingsUsed modulesettings.json to get value Super Resolution
22:06:54:SuperResolution: .Used modulesettings.json to get value 2.1.1
22:06:54:SuperResolution: .Used modulesettings.windows.json to get value python3.9
22:06:55:SuperResolution: .Used modulesettings.json to get value Local
22:06:55:SuperResolution: .Used modulesettings.json to get value superres_adapter.py
22:06:55:SuperResolution: .Used modulesettings.json to get value false
22:06:56:SuperResolution: .Used modulesettings.json to get value ["all"]
22:06:56:SuperResolution: .done
22:06:56:SuperResolution: Installing module Super Resolution 2.1.1
22:06:56:SuperResolution: Variable Dump
22:06:56:SuperResolution: moduleName = Super Resolution
22:06:56:SuperResolution: moduleId = SuperResolution
22:06:56:SuperResolution: moduleVersion = 2.1.1
22:06:56:SuperResolution: runtime = python3.9
22:06:56:SuperResolution: runtimeLocation = Local
22:06:56:SuperResolution: installGPU = false
22:06:56:SuperResolution: pythonVersion = 3.9
22:06:56:SuperResolution: virtualEnvDirPath = C:\Program Files\CodeProject\AI\modules\SuperResolution\bin\windows\python39\venv
22:06:56:SuperResolution: venvPythonCmdPath = C:\Program Files\CodeProject\AI\modules\SuperResolution\bin\windows\python39\venv\Scripts\python.exe
22:06:56:SuperResolution: packagesDirPath = C:\Program Files\CodeProject\AI\modules\SuperResolution\bin\windows\python39\venv\Lib\site-packages
22:06:57:SuperResolution: moduleStartFilePath = superres_adapter.py
22:06:57:SuperResolution: Installing Python 3.9
22:06:57:SuperResolution: Installing python39 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39
22:06:57:SuperResolution: Python 3.9 is already installed
22:06:57:SuperResolution: Creating Virtual Environment (Local)...Virtual Environment doesn't exist. Creating at C:\Program Files\CodeProject\AI\modules\SuperResolution\bin\windows\python39\venv
22:07:02:SuperResolution: done
22:07:03:SuperResolution: Confirming we have Python 3.9 in our virtual environment...present
22:07:03:SuperResolution: No custom setup steps for this module.
22:07:03:SuperResolution: Installing Python packages for Super Resolution
22:07:03:SuperResolution: [0;Installing GPU-enabled libraries: No
22:07:05:SuperResolution: Ensuring Python package manager (pip) is installed...Looking in links: c:\Windows\TEMP\tmpqhzj8lja
22:07:05:SuperResolution: Requirement already satisfied: setuptools in c:\program files\codeproject\ai\modules\superresolution\bin\windows\python39\venv\lib\site-packages (56.0.0)
22:07:05:SuperResolution: Requirement already satisfied: pip in c:\program files\codeproject\ai\modules\superresolution\bin\windows\python39\venv\lib\site-packages (21.1.3)
22:07:05:SuperResolution: done
22:07:13:SuperResolution: Ensuring Python package manager (pip) is up to date...done
22:07:13:SuperResolution: Requirements Search Path is C:\Program Files\CodeProject\AI\modules\SuperResolution
22:07:13:SuperResolution: Searching for a suitable requirements.txts file in C:\Program Files\CodeProject\AI\modules\SuperResolution
22:07:13:SuperResolution: Python packages specified by requirements.txt
22:07:13:SuperResolution: Choosing Python packages from C:\Program Files\CodeProject\AI\modules\SuperResolution\requirements.txt
22:07:20:Response timeout. Try increasing the timeout value
22:07:25:SuperResolution: - Installing NumPy, a package for scientific computing...(✅ checked) done
22:07:56:SuperResolution: - Installing ONNX, the Open Neural Network Exchange library...(✅ checked) done
22:09:08:SuperResolution: - Installing ONNX runtime, the scoring engine for ONNX models...(✅ checked) done
22:09:21:SuperResolution: - Installing resizeimage, which provides functions for easily resizing images...(✅ checked) done
22:09:22:SuperResolution: - Installing Pillow, a Python Image Library...Already installed
22:10:34:SuperResolution: - Installing PyTorch, for Tensor computation and Deep neural networks...(✅ checked) done
22:10:47:SuperResolution: - Installing the CodeProject.AI SDK...(✅ checked) done
22:10:47:SuperResolution: Installing Python packages for the CodeProject.AI Server SDK
22:10:50:SuperResolution: Ensuring Python package manager (pip) is installed...Looking in links: c:\Windows\TEMP\tmppbyx_sp6
22:10:50:SuperResolution: Requirement already satisfied: setuptools in c:\program files\codeproject\ai\modules\superresolution\bin\windows\python39\venv\lib\site-packages (70.1.1)
22:10:50:SuperResolution: Requirement already satisfied: pip in c:\program files\codeproject\ai\modules\superresolution\bin\windows\python39\venv\lib\site-packages (24.1)
22:10:50:SuperResolution: done
22:10:53:SuperResolution: Ensuring Python package manager (pip) is up to date...done
22:10:53:SuperResolution: Requirements Search Path is C:\Program Files\CodeProject\AI\SDK\Python
22:10:53:SuperResolution: Searching for a suitable requirements.txts file in C:\Program Files\CodeProject\AI\SDK\Python
22:10:53:SuperResolution: Python packages specified by requirements.txt
22:10:53:SuperResolution: Choosing Python packages from C:\Program Files\CodeProject\AI\SDK\Python\requirements.txt
22:10:54:SuperResolution: - Installing Pillow, a Python Image Library...Already installed
22:10:56:SuperResolution: - Installing Charset normalizer...Already installed
22:10:57:SuperResolution: - Installing aiohttp, the Async IO HTTP library...Already installed
22:10:58:SuperResolution: - Installing aiofiles, the Async IO Files library...Already installed
22:10:59:SuperResolution: - Installing py-cpuinfo to allow us to query CPU info...Already installed
22:11:00:SuperResolution: - Installing Requests, the HTTP library...Already installed
22:11:01:SuperResolution: Scanning modulesettings for downloadable models...No models specified
22:11:01:SuperResolution: SELF TEST START ======================================================
22:11:08:SuperResolution: Unable to load OpenCV or numpy modules. Only using PIL.
22:11:08:SuperResolution: Creating torch model with scaling factor 3, model resolution 224
22:11:08:SuperResolution: Info: Self-test for SuperResolution. Success: True
22:11:09:SuperResolution: Self-test passed
22:11:09:SuperResolution: SELF TEST END ======================================================
22:11:09:SuperResolution: Module setup time 00:04:15.29
22:11:09:SuperResolution: Setup complete
22:11:09:SuperResolution: Total setup time 00:04:17.52
22:11:09:Module SuperResolution installed successfully.
22:11:09:Module SuperResolution not configured to AutoStart.
22:11:09:Installer exited with code 0
|
|
|
|
|
I thought you'd already shared this, but just trying to make sure what version you're on. Could you please share your System Info tab from your CodeProject.AI Server dashboard?
Thanks,
Sean Ewington
CodeProject
|
|
|
|