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

HTTP 500 when viewing composes #2826

Closed
bowlofeggs opened this Issue Dec 10, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bowlofeggs
Copy link
Member

bowlofeggs commented Dec 10, 2018

I saw this when visiting https://bodhi.fedoraproject.org/composes/ just now:

500 Internal Server Error

Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/pyramid_mako/__init__.py", line 148, in __call__ result = template.render_unicode(**system) File "/usr/lib/python3.7/site-packages/mako/template.py", line 471, in render_unicode as_unicode=True) File "/usr/lib/python3.7/site-packages/mako/runtime.py", line 838, in _render **_kwargs_for_callable(callable_, data)) File "/usr/lib/python3.7/site-packages/mako/runtime.py", line 873, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/usr/lib/python3.7/site-packages/mako/runtime.py", line 899, in _exec_template callable_(context, *args, **kwargs) File "/usr/lib/python3.7/site-packages/bodhi/server/templates/master.html", line 189, in render_body ${self.body()} File "/usr/lib/python3.7/site-packages/bodhi/server/templates/composes.html", line 19, in render_body ${ self.util.composestate2html(compose.state) | n } File "/usr/lib/python3.7/site-packages/bodhi/server/util.py", line 525, in composestate2html }[state.value] KeyError: 'syncing_repo'

@bowlofeggs bowlofeggs added the Crash label Dec 10, 2018

sebwoj added a commit to sebwoj/bodhi that referenced this issue Dec 15, 2018

Add missing compose states to composestate2html
Fixes fedora-infra#2826

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>

bowlofeggs added a commit to sebwoj/bodhi that referenced this issue Jan 3, 2019

Add missing compose states to composestate2html
Fixes fedora-infra#2826

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>

@mergify mergify bot closed this in #2853 Jan 6, 2019

mergify bot added a commit that referenced this issue Jan 6, 2019

Add missing compose states to composestate2html
Fixes #2826

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>

mergify bot pushed a commit that referenced this issue Mar 26, 2019

Add missing compose states to composestate2html
Fixes #2826

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>
(cherry picked from commit 26a07a1)

abompard added a commit that referenced this issue Mar 27, 2019

Add missing compose states to composestate2html
Fixes #2826

Signed-off-by: Sebastian Wojciechowski <s.wojciechowski89@gmail.com>
(cherry picked from commit 26a07a1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.