failed to load OCR model. OCR impossible, moderate cleaning impact
2025-01-20 07:24:51.237 | INFO | pcleaner.cli_utils:dump_system_info:292 -
- Program Information - Program: Panel Cleaner 2.11.4 Executing from: C:\Users<username>\Downloads\PanelCleaner-Windows-2.11.4_unzip_me_internal\pcleaner\gui\launcher.pyc Log file: C:\Users<username>\AppData\Roaming\pcleaner\cache\pcleaner.log Config file: C:\Users<username>\AppData\Roaming\pcleaner\pcleanerconfig.ini Cache directory: C:\Users<username>\AppData\Roaming\pcleaner\cache
- System Information - Operating System: Windows 10 Python Version: 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] PySide (Qt) Version: 6.7.2 Available Qt Themes: windows11, windowsvista, Windows, Fusion Current Qt Theme: System Default Current Icon Theme: System Default System locale: en_US Architecture: AMD64 CPU Cores: 4 Memory: 7.87 GiB Swap: 1.25 GiB GPU: None (CUDA not available)
2025-01-20 07:24:51.237 | INFO | pcleaner.cli_utils:dump_system_info:292 -
- Program Information - Program: Panel Cleaner 2.11.4 Executing from: C:\Users<username>\Downloads\PanelCleaner-Windows-2.11.4_unzip_me_internal\pcleaner\gui\launcher.pyc Log file: C:\Users<username>\AppData\Roaming\pcleaner\cache\pcleaner.log Config file: C:\Users<username>\AppData\Roaming\pcleaner\pcleanerconfig.ini Cache directory: C:\Users<username>\AppData\Roaming\pcleaner\cache
- System Information - Operating System: Windows 10 Python Version: 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] PySide (Qt) Version: 6.7.2 Available Qt Themes: windows11, windowsvista, Windows, Fusion Current Qt Theme: System Default Current Icon Theme: System Default System locale: en_US Architecture: AMD64 CPU Cores: 4 Memory: 7.87 GiB Swap: 1.25 GiB GPU: None (CUDA not available)
2025-01-20 07:24:51.815 | INFO | pcleaner.gui.launcher:launch:70 - Using locale en_US.
2025-01-20 07:24:51.815 | INFO | pcleaner.gui.launcher:launch:70 - Using locale en_US.
2025-01-20 07:24:51.815 | DEBUG | pcleaner.gui.launcher:launch:77 - Loaded built-in Qt translations for en_US.
2025-01-20 07:24:51.815 | DEBUG | pcleaner.gui.launcher:launch:77 - Loaded built-in Qt translations for en_US.
2025-01-20 07:24:51.815 | DEBUG | pcleaner.gui.launcher:launch:85 - Loaded built-in Qt base translations for en_US.
2025-01-20 07:24:51.815 | DEBUG | pcleaner.gui.launcher:launch:85 - Loaded built-in Qt base translations for en_US.
2025-01-20 07:24:55.268 | DEBUG | pcleaner.gui.mainwindow_driver:ensure_models_downloaded:478 - Text detector model already downloaded.
2025-01-20 07:24:55.268 | DEBUG | pcleaner.gui.mainwindow_driver:ensure_models_downloaded:478 - Text detector model already downloaded.
2025-01-20 07:24:55.283 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_ui:288 - Purging missing profiles.
2025-01-20 07:24:55.283 | DEBUG | pcleaner.gui.mainwindow_driver:initialize_ui:288 - Purging missing profiles.
2025-01-20 07:24:55.283 | INFO | pcleaner.gui.mainwindow_driver:initialize_profiles:1238 - Found profiles: [('Default', None), ('005', WindowsPath('C:/Users/
Encountered error: Traceback (most recent call last):
File "urllib3\connectionpool.py", line 468, in _make_request
File "urllib3\connectionpool.py", line 1097, in _validate_conn
File "urllib3\connection.py", line 642, in connect
File "urllib3\connection.py", line 783, in _ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl_.py", line 471, in ssl_wrap_socket
File "urllib3\util\ssl_.py", line 515, in _ssl_wrap_socket_impl
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1075, in _create
File "ssl.py", line 1346, in do_handshake
TimeoutError: _ssl.c:975: The handshake operation timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests\adapters.py", line 486, in send
File "urllib3\connectionpool.py", line 845, in urlopen
File "urllib3\util\retry.py", line 470, in increment
File "urllib3\util\util.py", line 39, in reraise
File "urllib3\connectionpool.py", line 791, in urlopen
File "urllib3\connectionpool.py", line 492, in _make_request
File "urllib3\connectionpool.py", line 470, in _make_request
File "urllib3\connectionpool.py", line 371, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='cdn-lfs.hf.co', port=443): Read timed out. (read timeout=10.0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "pcleaner\gui\worker_thread.py", line 141, in run
File "pcleaner\gui\mainwindow_driver.py", line 733, in load_ocr_model
File "pcleaner\ocr\ocr_mangaocr.py", line 37, in initialize_model
File "manga_ocr\ocr.py", line 16, in init
File "transformers\models\vision_encoder_decoder\modeling_vision_encoder_decoder.py", line 358, in from_pretrained
File "transformers\modeling_utils.py", line 3057, in from_pretrained
File "transformers\utils\hub.py", line 430, in cached_file
File "huggingface_hub\utils_validators.py", line 118, in _inner_fn
File "huggingface_hub\file_download.py", line 1431, in hf_hub_download
File "huggingface_hub\file_download.py", line 515, in http_get
File "huggingface_hub\file_download.py", line 452, in _request_wrapper
File "huggingface_hub\utils_http.py", line 274, in http_backoff
File "huggingface_hub\utils_http.py", line 258, in http_backoff
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "huggingface_hub\utils_http.py", line 63, in send
File "requests\adapters.py", line 532, in send
requests.exceptions.ReadTimeout: (ReadTimeoutError("HTTPSConnectionPool(host='cdn-lfs.hf.co', port=443): Read timed out. (read timeout=10.0)"), '(Request ID: a0476d17-9d50-49dd-acec-d73423742231)') 2025-01-20 07:25:07.792 | CRITICAL | pcleaner.gui.mainwindow_driver:generic_worker_error:746 - Failed to load OCR model. OCR impossible, moderate cleaning impact.
Encountered error: Traceback (most recent call last):
File "urllib3\connectionpool.py", line 468, in _make_request
File "urllib3\connectionpool.py", line 1097, in _validate_conn
File "urllib3\connection.py", line 642, in connect
File "urllib3\connection.py", line 783, in _ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl_.py", line 471, in ssl_wrap_socket
File "urllib3\util\ssl_.py", line 515, in _ssl_wrap_socket_impl
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1075, in _create
File "ssl.py", line 1346, in do_handshake
TimeoutError: _ssl.c:975: The handshake operation timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests\adapters.py", line 486, in send
File "urllib3\connectionpool.py", line 845, in urlopen
File "urllib3\util\retry.py", line 470, in increment
File "urllib3\util\util.py", line 39, in reraise
File "urllib3\connectionpool.py", line 791, in urlopen
File "urllib3\connectionpool.py", line 492, in _make_request
File "urllib3\connectionpool.py", line 470, in _make_request
File "urllib3\connectionpool.py", line 371, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='cdn-lfs.hf.co', port=443): Read timed out. (read timeout=10.0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "pcleaner\gui\worker_thread.py", line 141, in run
File "pcleaner\gui\mainwindow_driver.py", line 733, in load_ocr_model
File "pcleaner\ocr\ocr_mangaocr.py", line 37, in initialize_model
File "manga_ocr\ocr.py", line 16, in init
File "transformers\models\vision_encoder_decoder\modeling_vision_encoder_decoder.py", line 358, in from_pretrained
File "transformers\modeling_utils.py", line 3057, in from_pretrained
File "transformers\utils\hub.py", line 430, in cached_file
File "huggingface_hub\utils_validators.py", line 118, in _inner_fn
File "huggingface_hub\file_download.py", line 1431, in hf_hub_download
File "huggingface_hub\file_download.py", line 515, in http_get
File "huggingface_hub\file_download.py", line 452, in _request_wrapper
File "huggingface_hub\utils_http.py", line 274, in http_backoff
File "huggingface_hub\utils_http.py", line 258, in http_backoff
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "huggingface_hub\utils_http.py", line 63, in send
File "requests\adapters.py", line 532, in send
requests.exceptions.ReadTimeout: (ReadTimeoutError("HTTPSConnectionPool(host='cdn-lfs.hf.co', port=443): Read timed out. (read timeout=10.0)"), '(Request ID: a0476d17-9d50-49dd-acec-d73423742231)')
The download failed for some reason, odd. Does the issue persist or was this temporary?
It persisted for a while then i noticed there was a settings i saved and loaded it and it works but when i use any other settings it doesn't work i checked to see if it was a settings i changed but noticed nothing happened
What do you mean by settings? A profile that disables OCR woukd of course not check the OCR. The error here claims to be a timed out connection, it couldn't reach the server. Maybe the model moved? I'll investigate tomorrow.