lollms-webui icon indicating copy to clipboard operation
lollms-webui copied to clipboard

Error after running update_script.py

Open Ananderz opened this issue 2 years ago • 1 comments

Expected Behavior

Should work after update

Current Behavior

Traceback (most recent call last): File "D:\AItools\lollms-webui\app.py", line 49, in from lollms.helpers import ASCIIColors, get_trace_exception, trace_exception ImportError: cannot import name 'get_trace_exception' from 'lollms.helpers' (D:\anaconda3\envs\lollms\lib\site-packages\lollms\helpers.py)

Steps to Reproduce

Please provide detailed steps to reproduce the issue.

  1. Install version 4 with conda
  2. Run: python update_script.py
  3. Now you have the error

Ananderz avatar Aug 24 '23 12:08 Ananderz

Thanks for this information. The thing is the update_script.py lucked the --upgrade in the pip install -r requirements so the lollms library you have was not upgraded while the lollms webui was so you got a webui that is no more compatible with the library and that's why you have this error.

do a pull and rerun the script, it should work.

ParisNeo avatar Aug 25 '23 15:08 ParisNeo