-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Area of Concern
- Server
- [x ] Behaviour of one or more Modules [provide name(s), e.g. ObjectDetectionYolo]
- Installer
- Runtime [e.g. Python3.7, .NET]
- Module packages [e.g. PyTorch)
- Something else
Describe the bug
It doesn't install paddleocr
Screenshots
Logs
09:55:33:Preparing to install module 'ALPR'
09:55:33:Downloading module 'ALPR'
09:55:34:Installing module 'ALPR'
09:55:34:ALPR: Setting verbosity to quiet
09:55:34:ALPR: Hi Docker! We will disable shared python installs for downloaded modules
09:55:36:ALPR: (No schemas means: we can't detect if you're in light or dark mode)
09:55:36:ALPR: Installing CodeProject.AI Analysis Module
09:55:36:ALPR: ======================================================================
09:55:36:ALPR: CodeProject.AI Installer
09:55:36:ALPR: ======================================================================
09:55:36:ALPR: 2.02 GiB of 13.05 GiB available on Docker (linux ubuntu arm64 - linux-arm64)
09:55:36:ALPR: Installing xz-utils...
09:55:38:ALPR: E: Could not get lock /var/lib/apt/lists/lock. It is held by process 19050 (apt-get)
09:55:38:ALPR: E: Unable to lock directory /var/lib/apt/lists/
09:55:40:ALPR: Reading package lists...
09:55:41:ALPR: Building dependency tree...
09:55:41:ALPR: Reading state information...
09:55:41:ALPR: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
09:55:46:ALPR: General CodeProject.AI setup
09:55:46:ALPR: Setting permissions on runtimes folder...done
09:55:46:ALPR: Setting permissions on general downloads folder...done
09:55:46:ALPR: Setting permissions on module asset downloads folder...done
09:55:46:ALPR: Setting permissions on modules folder...done
09:55:46:ALPR: Setting permissions on models folder...done
09:55:46:ALPR: Setting permissions on persisted data folder...done
09:55:46:ALPR: GPU support
09:55:46:ALPR: CUDA (NVIDIA) Present: No
09:55:49:ALPR: ROCm (AMD) Present: (attempt to install rocminfo... ) No
09:55:49:ALPR: MPS (Apple) Present: No
09:55:50:ALPR: W: https://packages.cloud.google.com/apt/dists/coral-edgetpu-stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
09:55:50:ALPR: Reading module settings.......done
09:55:50:ALPR: Processing module ALPR 3.3.3 (Internal)
09:55:50:ALPR: Installing Python 3.8
09:55:50:ALPR: Python 3.8 is already installed
09:56:03:Response timeout. Try increasing the timeout value
09:56:04:ALPR: Ensuring PIP in base python install... done
09:56:06:ALPR: Upgrading PIP in base python install... done
09:56:06:ALPR: Installing Virtual Environment tools for Linux...
09:56:10:ALPR: Searching for python3-pip python3-setuptools python3.8...All good.
09:56:15:ALPR: Creating Virtual Environment (Local)... done
09:56:15:ALPR: Checking for Python 3.8...(Found Python 3.8.20) All good
09:56:19:ALPR: Upgrading PIP in virtual environment... done
09:56:30:ALPR: Installing updated setuptools in venv... done
09:56:31:ALPR: Downloading OCR models... already exists...Expanding... done.
09:56:31:ALPR: Moving contents of ocr-en-pp_ocrv4-paddle.zip to paddleocr...done.
09:56:31:ALPR: Installing Python packages for License Plate Reader
09:56:31:ALPR: Installing GPU-enabled libraries: No
09:56:32:ALPR: Searching for python3-pip...All good.
09:56:34:ALPR: Ensuring PIP compatibility... done
09:56:34:ALPR: Python packages will be specified by requirements.linux.arm64.txt
09:56:44:ALPR: - Installing NumPy, a package for scientific computing... (✅ checked) done
10:00:28:ALPR: - Installing PaddelPaddle, the Deep Learning platform... (✅ checked) done
10:00:32:ALPR: - Installing PaddleOCR, the OCR toolkit based on PaddlePaddle... (❌ failed check) done
10:00:34:ALPR: - Installing imutils, the image utilities library... (✅ checked) done
10:00:40:ALPR: - Installing OpenCV, the Computer Vision library for Python... (✅ checked) done
10:00:48:ALPR: - Installing the CodeProject.AI SDK... (✅ checked) done
10:00:48:ALPR: Scanning modulesettings for downloadable models...No models specified
10:00:48:ALPR: Executing post-install script for License Plate Reader
10:00:49:ALPR: Applying PaddleOCR patch
10:00:49:ALPR: cp: cannot create regular file '/app/modules/ALPR/bin/ubuntu/python38/venv/lib/python3.8/site-packages//paddleocr/.': No such file or directory
10:00:49:ALPR: Module setup time 00:05:00
10:00:49:ALPR: Install failed: Error running post-install script
10:00:49:ALPR: Setup complete
10:00:49:ALPR: Total setup time 00:05:13
10:00:49:ALPR: SETUP FAILED:
10:00:49:Module ALPR installed successfully.
10:00:49:ALPR: - [Int: ALPR] Error running post-install script
10:00:49:Installer exited with code 1
10:00:49:
10:00:49:Module 'License Plate Reader' 3.3.3 (ID: ALPR)
10:00:49:Valid: True
10:00:49:Module Path: <root>/modules/ALPR
10:00:49:Module Location: Internal
10:00:49:AutoStart: True
10:00:49:Queue: alpr_queue
10:00:49:Runtime: python3.8
10:00:49:Runtime Location: Local
10:00:49:FilePath: ALPR_adapter.py
10:00:49:Start pause: 3 sec
10:00:49:Parallelism: 0
10:00:49:LogVerbosity:
10:00:49:Platforms: all,!windows-arm64
10:00:49:GPU Libraries: not installed
10:00:49:GPU: do not use
10:00:49:Accelerator:
10:00:49:Half Precision: enable
10:00:49:Environment Variables
10:00:49:AUTO_PLATE_ROTATE = True
10:00:49:CROPPED_PLATE_DIR = <root>/Server/wwwroot
10:00:49:MIN_COMPUTE_CAPABILITY = 6
10:00:49:MIN_CUDNN_VERSION = 7
10:00:49:OCR_OPTIMAL_CHARACTER_HEIGHT = 60
10:00:49:OCR_OPTIMAL_CHARACTER_WIDTH = 30
10:00:49:OCR_OPTIMIZATION = True
10:00:49:PLATE_CONFIDENCE = 0.7
10:00:49:PLATE_RESCALE_FACTOR = 2
10:00:49:PLATE_ROTATE_DEG = 0
10:00:49:REMOVE_SPACES = False
10:00:49:ROOT_PATH = <root>
10:00:49:SAVE_CROPPED_PLATE = False
10:00:49:
10:00:49:Started License Plate Reader module
10:00:49:ALPR_adapter.py: Traceback (most recent call last):
10:00:49:ALPR_adapter.py: File "/app/modules/ALPR/ALPR_adapter.py", line 11, in
10:00:49:ALPR_adapter.py: from ALPR import init_detect_platenumber, detect_platenumber
10:00:49:ALPR_adapter.py: File "/app/modules/ALPR/ALPR.py", line 17, in
10:00:49:ALPR_adapter.py: from paddleocr import PaddleOCR
10:00:49:ALPR_adapter.py: ImportError: cannot import name 'PaddleOCR' from 'paddleocr' (unknown location)
10:00:49:Module ALPR has shutdown
10:00:52:Module ALPR started successfully.
Your System (please complete the following information):
- CodeProject.AI Server version: {2.9.5]
- OS: [Rasberrypi OS]
- System RAM [4GB]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working