#10382 Bodhi: 500 internal error on package pages
Closed: Fixed with Explanation by asaleh. Opened by ankursinha.

Describe what you would like us to do:


I just gave karma to the latest qutebrowser update and then was thrown this 500 internal error message:

500 Internal Server Error
Traceback (most recent call last): 
File "/usr/lib/python3.9/site-packages/pyramid_mako/__init__.py", line 148, in __call__ result = template.render_unicode(**system) 
File "/usr/lib/python3.9/site-packages/mako/template.py", line 478, in render_unicode return runtime._render( 
File "/usr/lib/python3.9/site-packages/mako/runtime.py", line 878, in _render _render_context( 
File "/usr/lib/python3.9/site-packages/mako/runtime.py", line 920, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) 
File "/usr/lib/python3.9/site-packages/mako/runtime.py", line 947, in _exec_template callable_(context, *args, **kwargs) 
File "/usr/lib/python3.9/site-packages/bodhi/server/templates/master.html", line 142, in render_body ${self.body()} 
File "/usr/lib/python3.9/site-packages/bodhi/server/templates/updates.html", line 273, in render_body ${fragments.update(update, display_user)} 
File "/usr/lib/python3.9/site-packages/bodhi/server/templates/fragments.html", line 190, in render_update by <a href="${request.route_url('user', name=update['user']['name'])}"> 
File "/usr/lib/python3.9/site-packages/bodhi/server/models.py", line 343, in __getitem__ return getattr(self, key) 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/attributes.py", line 294, in __get__ return self.impl.get(instance_state(instance), dict_) 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/attributes.py", line 730, in get value = self.callable_(state, passive) 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/strategies.py", line 759, in _load_for_state return self._emit_lazyload( 
File "<string>", line 1, in <lambda> 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/strategies.py", line 847, in _emit_lazyload q(session) 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/ext/baked.py", line 615, in _load_on_pk_identity result = list(bq.for_session(self.session).params(**params)) 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 100, in instances cursor.close() 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 68, in __exit__ compat.raise_( 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 80, in instances rows = [proc(row) for row in fetch] 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 80, in <listcomp> rows = [proc(row) for row in fetch] 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 524, in _instance tuple([row[column] for column in pk_cols]), 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 524, in <listcomp> tuple([row[column] for column in pk_cols]), 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/result.py", line 681, in _key_fallback util.raise_( 
File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception NoSuchColumnError: "Could not locate column in row for column 'users.id'"

Now going to any package page on bodhi always gives me this 500 error:

bodhi-500.png

https://bodhi.fedoraproject.org/updates/?packages=qutebrowser
https://bodhi.fedoraproject.org/updates/?packages=kernel

So, I seem to have somehow broken something :(

When do you need this to be done by? (YYYY/MM/DD)


Whenver convenient please.

May be possibly related to #10371 (but I'm not sure)


Hi, it seems you hit the bodhi upgrade Windows. I did send out the mail and create an issue about the possibly downtime Windows, but I forgot to update the status page for which I do apologise. It should work now and several simmilar issues should have been fixed. Please let me know/reopen if this persist.

Metadata Update from @asaleh:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

Metadata