Skip to content
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

Webconf producing 500 errors on many selections...Bug: #978

Closed
wyleu opened this issue Mar 6, 2024 · 2 comments
Closed

Webconf producing 500 errors on many selections...Bug: #978

wyleu opened this issue Mar 6, 2024 · 2 comments

Comments

@wyleu
Copy link

wyleu commented Mar 6, 2024

Describe the bug

webconf is producing 500 errors.

To Reproduce

Steps to reproduce the behavior:

  1. Go to webconf
  2. Select Terminal
  3. See error

HTTPServerRequest(protocol='http', host='zynthian-rack.local', method='GET', uri='/zynterm', version='HTTP/1.1', remote_ip='192.168.0.120')
Traceback (most recent call last):
File "/zynthian/venv/lib/python3.11/site-packages/tornado/web.py", line 1788, in _execute
result = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/zynthian/venv/lib/python3.11/site-packages/tornado/web.py", line 3301, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/zynthian/zynthian-webconf/lib/zynterm_handler.py", line 43, in get
super().get("zynterm.html", "Terminal", config, None)
File "/zynthian/venv/lib/python3.11/site-packages/tornado/web.py", line 3301, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/zynthian/zynthian-webconf/lib/zynthian_config_handler.py", line 128, in get
self.render("config.html", body=body, config=config, title=title, errors=errors)
File "/zynthian/zynthian-webconf/lib/zynthian_config_handler.py", line 103, in render
super().render(tpl, info=info, **kwargs)
File "/zynthian/venv/lib/python3.11/site-packages/tornado/web.py", line 944, in render
html = self.render_string(template_name, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/zynthian/venv/lib/python3.11/site-packages/tornado/web.py", line 1093, in render_string
return t.generate(**namespace)
^^^^^^^^^^^^^^^^^^^^^^^
File "/zynthian/venv/lib/python3.11/site-packages/tornado/template.py", line 362, in generate
return execute()
^^^^^^^^^
File "config_html.generated.py", line 166, in _tt_execute
for i in config['HARDWARE']['info'].values(): # config.html:130
~~~~~~^^^^

## Software

zyncoder: oram (a548b43)
zynthian-ui: oram (d8f18de)
zynthian-sys: oram (9922f65)
zynthian-data: oram (64c5f91)
zynthian-webconf: oram (ae7fbc4)

@wyleu
Copy link
Author

wyleu commented Mar 6, 2024

copy of #979

@riban-bw
Copy link

riban-bw commented Mar 6, 2024

Fixed.

@riban-bw riban-bw closed this as completed Mar 6, 2024
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

No branches or pull requests

2 participants