IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

App closed

Open SuperMaximus1984 opened this issue 2 years ago • 3 comments

I have the following response in Terminal when launch Lama-Cleaner:

flaskwebgui - [INFO] - Opening browser at http://127.0.0.1:59494
flaskwebgui - [INFO] -  * Running on http://127.0.0.1:59494/ (Press CTRL+C to quit)
flaskwebgui - [INFO] - App closed
flaskwebgui - [INFO] - Closing connections...

What can be the issue & how to fix it?

SuperMaximus1984 avatar Jan 16 '23 17:01 SuperMaximus1984

When starting as a desktop application, the backend server will close if the window is closed after a few seconds. If you have the application turned off, this is normal.

If you didn't close the app window, it might be a bug(should have been fixed in https://github.com/Sanster/lama-cleaner/issues/141#issuecomment-1323746931), please do not start as desktop application to solve this problem temporarily.

Sanster avatar Jan 17 '23 01:01 Sanster

When starting as a desktop application, the backend server will close if the window is closed after a few seconds. If you have the application turned off, this is normal.

If you didn't close the app window, it might be a bug(should have been fixed in #141 (comment)), please do not start as desktop application to solve this problem temporarily.

Maybe it has something in common with the error I get from win_config.bat?

Traceback (most recent call last):
  File "d:\Python Stuff\Lama-Cleaner\installer\Scripts\conda-unpack-script.py", line 226, in <module>
    update_prefix(os.path.join(new_prefix, path), new_prefix,
  File "d:\Python Stuff\Lama-Cleaner\installer\Scripts\conda-unpack-script.py", line 66, in update_prefix
    with open(path, 'rb+') as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'd:\\Python Stuff\\Lama-Cleaner\\installer\\Library\\bin\\libcrypto-1_1-x64.dll.c~.conda_trash'
Collecting package metadata (current_repodata.json): done
Solving environment: done

But after this I am able to config normally. Yes, when I run Lama-Cleaner in browser, it works, though I couldn't attain any feasible result due to CUDA out of memory (now digging issues section further on).

SuperMaximus1984 avatar Jan 17 '23 14:01 SuperMaximus1984

This error also occurs in my environment and can be ignored.

Add a Memory section to the docs, hope it helps.

Sanster avatar Jan 18 '23 01:01 Sanster

New command line arg --no-gui-auto-close added in 0.34.0 https://github.com/Sanster/lama-cleaner/releases/tag/0.34.0

Sanster avatar Jan 23 '23 14:01 Sanster