-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with "colored" library for richtext-control #887
Comments
I can confirm this |
Just to add on this. This is the exception: File "gooey/python_bindings/gooey_decorator.py", line 123, in run_gooey
File "gooey/gui/application.py", line 21, in run
File "gooey/gui/application.py", line 27, in build_app
File "gooey/gui/application.py", line 40, in _build_app
File "gooey/gui/containers/application.py", line 47, in __init__
File "gooey/gui/components/console.py", line 21, in __init__
File "gooey/gui/components/widgets/richtextconsole.py", line 45, in __init__
AttributeError: 'function' object has no attribute 'ESC' I solved this for now by specifying the pip install gooey==1.0.8.1 colored==1.4.4 |
any plans on updating this to colored 2.2.3? |
This makes the exception go away but at least for me (python 3.11 on windows) the output is not being formatted. |
For now, Gooey should just pin the colored version at < 2. |
Thanks for the report. Over the winter break I will be looking into what can be fixed for an update early next year. I appreciate your inputs. Just a heads-up. |
When setting richtext_controls=True in Gooey's decorator, the library "colored" version 2.2.2 makes exceptions due to an api change from version 1.4.4
colored was updated in june 2023
Detected on windows 10
Python 3.9
The text was updated successfully, but these errors were encountered: