Skip to content

Cant get config editor to run #213

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

Closed
MartinMueller2003 opened this issue Aug 29, 2024 · 4 comments · Fixed by #214
Closed

Cant get config editor to run #213

MartinMueller2003 opened this issue Aug 29, 2024 · 4 comments · Fixed by #214

Comments

@MartinMueller2003
Copy link

Using latest version of the tool as of Aug 31 2024
Executed ./build.sh -t esp32 without any issues
Cannot execute $ ./tools/config_editor/app.py

I am running on a hyper-v Ubuntu 24.04 instance that is up to date and has all tools installed. I have the GUI installed and running.
I get the same results using terminal or ssh.

What am I missing?

I get the following output:

Traceback (most recent call last):
File "/home/martin/esp32-arduino-lib-builder/./tools/config_editor/app.py", line 92, in
class ConfigEditorApp(App):
File "/usr/local/lib/python3.12/dist-packages/textual/message_pump.py", line 107, in new
class_obj = super().new(cls, name, bases, class_dict, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/textual/app.py", line 703, in init_subclass
raise ValueError(
ValueError: SCREENS should contain a Screen type or callable, not an instance (got instance of MainScreen for 'main')

@me-no-dev
Copy link
Member

@lucasssvaz PTAL

@lucasssvaz
Copy link
Contributor

Yeah, same thing locally. Probably some breaking change in textual. Will fix and freeze the version in a requirements file

@lucasssvaz
Copy link
Contributor

Done! Will be fixed as soon as the PR is merged 😄

@MartinMueller2003
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants