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
I've upgraded to 1.0.0b1 with pip install -U kintree --pre
and now kintree does not start:
Traceback (most recent call last):
File "c:\program files\python38\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\program files\python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python38\Scripts\kintree.exe\__main__.py", line 4, in <module>
File "c:\program files\python38\lib\site-packages\kintree\kintree_gui.py", line 3, in <module>
from .gui.gui import kintree_gui
File "c:\program files\python38\lib\site-packages\kintree\gui\gui.py", line 3, in <module>
from .views.common import update_theme, handle_transition
File "c:\program files\python38\lib\site-packages\kintree\gui\views\common.py", line 178, in <module>
class SwitchWithRefs(ft.Switch):
File "c:\program files\python38\lib\site-packages\kintree\gui\views\common.py", line 185, in SwitchWithRefs
refs: list[ft.Ref] = None,
TypeError: 'type' object is not subscriptable
I've tried to remove my configuration but it did not help.
The text was updated successfully, but these errors were encountered:
Hi @eeintech ,
commenting out did not help as it said NameError: name 'refs' is not defined
however setting it to [] helped (I also needed to do the same on line 215). See the attached file with modifications. common.zip
@Kedarius I found the issue (this type hinting was not supported in Python=3.8) and added a GUI test to catch it next time 😄
It will be fixed with 1.0.0b2!
I've upgraded to 1.0.0b1 with
pip install -U kintree --pre
and now kintree does not start:
I've tried to remove my configuration but it did not help.
The text was updated successfully, but these errors were encountered: