IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

When I start the one click installer win_start.bat displays some text and then closes out. Crashes Windows Terminal

Open internetuser1234 opened this issue 2 years ago • 6 comments

The pip install works, but the installer win_start.bat crashes Windows Terminal.

internetuser1234 avatar Nov 05 '22 21:11 internetuser1234

Did you click win_config.bat first?

If you have executed it, please execute win_start.bat at the command line to see what error is reported

Sanster avatar Nov 06 '22 00:11 Sanster

  1. win_config.exe
  2. win_start.exe
  3. Crash "Traceback (most recent call last): File "E:\AI\lama-cleaner\installer\lib\runpy.py", line 196, in _run_module_as_main return run_code(code, main_globals, None, File "E:\AI\lama-cleaner\installer\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "E:\AI\lama-cleaner\installer\Scripts\lama-cleaner.exe_main.py", line 7, in File "E:\AI\lama-cleaner\installer\lib\site-packages\lama_cleaner_init.py", line 9, in entry_point main(args) File "E:\AI\lama-cleaner\installer\lib\site-packages\lama_cleaner\server.py", line 233, in main ui = FlaskUI( TypeError: FlaskUI.init() got an unexpected keyword argument 'host'"

ffdown avatar Nov 07 '22 20:11 ffdown

Similar issue here on a new workstation I'm trying to install it on:

------------------Environment information-------------------

git version 2.34.1.windows.1 conda 22.9.0 /d/Downloads/lama-cleaner-win/lama-cleaner/installer/python Python 3.10.6 /d/Downloads/lama-cleaner-win/lama-cleaner/installer/Scripts/pip pip 22.2.2 from D:\Downloads\lama-cleaner-win\lama-cleaner\installer\lib\site-packages\pip (python 3.10) diffusers 0.6.0 lama-cleaner 0.24.5 opencv-python 4.6.0.66 torch 1.12.1+cu113


[14:37:48] INFO Load config from config.json tasks.py:111 INFO Using random port: 1151 tasks.py:120Fetching 15 files: 100%|##########| 15/15 [00:00<00:00, 15001.09it/s] ftfy or spacy is not installed using BERT BasicTokenizer instead of ftfy. Traceback (most recent call last): File "D:\Downloads\lama-cleaner-win\lama-cleaner\installer\lib\runpy.py", line 196, in _run_module_as_main return run_code(code, main_globals, None, File "D:\Downloads\lama-cleaner-win\lama-cleaner\installer\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "D:\Downloads\lama-cleaner-win\lama-cleaner\installer\Scripts\lama-cleaner.exe_main.py", line 7, in File "D:\Downloads\lama-cleaner-win\lama-cleaner\installer\lib\site-packages\lama_cleaner_init.py", line 9, in entry_point main(args) File "D:\Downloads\lama-cleaner-win\lama-cleaner\installer\lib\site-packages\lama_cleaner\server.py", line 233, in main ui = FlaskUI( TypeError: FlaskUI.init() got an unexpected keyword argument 'host'

CCpt5 avatar Nov 07 '22 22:11 CCpt5

TypeError: FlaskUI.init() got an unexpected keyword argument 'host'

flaskwebgui make some breaking change in version 1.0.0. Fixed in lama-cleaner==0.25.0, rerun win_config.bat will install the newest version.

Sanster avatar Nov 08 '22 00:11 Sanster

TypeError: FlaskUI.init() got an unexpected keyword argument 'host'

flaskwebgui make some breaking change in version 1.0.0. Fixed in lama-cleaner==0.25.0, rerun win_config.bat will install the newest version.

0.25.0

• remove topch.amp. autocast in sd1.5, гип 25% faster(tested оп 3080)
• remove Stpength from the sd side рапе], it has nothing to do with inpainting
• fix the flaskwebgui version

Assets

Source code (zip)
Source code (tar.gz)

Not find Distrib exe...

ffdown avatar Nov 08 '22 08:11 ffdown

@ffdown just rerun win_config.bat will install the newest version.

Sanster avatar Nov 08 '22 08:11 Sanster

Same thing happens to me I get this when running it in CMD

------------------Environment information------------------- git version 2.34.1.windows.1 conda 22.11.1 /c/Tools/lama-cleaner/installer/python Python 3.10.6 /c/Tools/lama-cleaner/installer/Scripts/pip pip 22.2.2 from C:\Tools\lama-cleaner\installer\lib\site-packages\pip (python 3.10) diffusers 0.10.2 lama-cleaner 0.30.0 opencv-python 4.6.0.66 torch 1.12.1+cu113

[20:47:29] INFO Load config from config.json tasks.py:111 INFO Using random port: 59820 tasks.py:120

DaBenjamins avatar Dec 27 '22 01:12 DaBenjamins