yuka-friends / Windrecorder

Windrecorder is a memory search app by records everything on your screen in small size, to let you rewind what you have seen, query through OCR text or image description, and get activity statistics.
GNU General Public License v2.0
2.7k stars 110 forks source link

windows.media.ocr.cli.exe this application could not be started #167

Closed Yodie98 closed 1 month ago

Yodie98 commented 1 month ago

I get this error on a few systems. They have the American English language pack installed with all other options/packs being installed.

Recording seems to work which is the most important but, having the ocr work and no errors would be excellent. Hopefully this isnt a ID10T error

machines that have this error windows server 2019 Windows 11 (virtualized via parallels on my mac m2)

windows.media.ocr.cli.exe this application could not be started

everything is being ran as admin

IndexError: list index out of range
Traceback:
File "C:\Windows\System32\windrecorder\.venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
File "C:\Windows\System32\windrecorder\webui.py", line 115, in <module>
    main_webui()
File "C:\Windows\System32\windrecorder\webui.py", line 87, in main_webui
    windrecorder.ui.setting.render()
File "C:\Windows\System32\windrecorder\windrecorder\ui\setting.py", line 75, in render
    ocr_lang_index = legal_ocr_lang_index()
                     ^^^^^^^^^^^^^^^^^^^^^^
File "C:\Windows\System32\windrecorder\windrecorder\ui\setting.py", line 451, in legal_ocr_lang_index
    config.set_and_save_config("ocr_lang", os_support_lang_list[0])
                                           ~~~~~~~~~~~~~~~~~~~~^^^
Yodie98 commented 1 month ago

Install location was breaking everything. dont git clone into system 32