You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/admin/sources/combiner/combiner.py", line 145, in <module>
main()
File "/usr/local/lib/python3.11/site-packages/gooey/python_bindings/gooey_decorator.py", line 128, in inner2
return payload(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/admin/sources/combiner/combiner.py", line 136, in main
args = parser.parse_args()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/python_bindings/gooey_parser.py", line 125, in parse_args
return self.parser.parse_args(args, namespace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/python_bindings/gooey_decorator.py", line 123, in run_gooey
application.run(build_spec)
File "/usr/local/lib/python3.11/site-packages/gooey/gui/application.py", line 21, in run
app, _ = build_app(build_spec)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/gui/application.py", line 27, in build_app
return _build_app(build_spec, app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/gui/application.py", line 40, in _build_app
gapp = GooeyApplication(merge(build_spec, imagesPaths))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/gui/containers/application.py", line 47, in __init__
self.console = Console(self, buildSpec)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/gui/components/console.py", line 21, in __init__
self.textbox = RichTextConsole(self)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gooey/gui/components/widgets/richtextconsole.py", line 45, in __init__
self.esc = colored.style.ESC
^^^^^^^^^^^^^^^^^
AttributeError: 'function' object has no attribute 'ESC'
To Reproduce
Steps to reproduce the behavior:
Using @Gooey(progress_regex=r"^Progress: (?P<current>\d+)/(?P<total>\d+)$", progress_expr="current / total * 100",show_restart_button=False, richtext_controls=True)
Run program: see Error above
Removing richtext_controls=True fixes it, but this isn't expected behavior.
Expected behavior
No bug at all.
Desktop (please complete the following information):
Mac 13.3.1
Python 3.11.4
Gooey Version 1.0.8.1
The text was updated successfully, but these errors were encountered:
Python 3.11.5
Gooey Version 1.0.8.1
Windows 11
For me it is the same behaviour:
Using richtext_controls=True produces the error message.
Using richtext_controls = False does not produce the error, but the styles are without effect.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
@Gooey(progress_regex=r"^Progress: (?P<current>\d+)/(?P<total>\d+)$", progress_expr="current / total * 100",show_restart_button=False, richtext_controls=True)
richtext_controls=True
fixes it, but this isn't expected behavior.Expected behavior
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: