Learn more about these different git repos.
Other Git URLs
Trying to open an issue that was just imported from trac results in an fatal error 500.
https://pagure.io/389-TEST/issues
https://pagure.io/389-TEST/issue/49091
This is the error:
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/lib/python2.7/site-packages/pagure/ui/issues.py", line 981, in view_issue attachments=issue.attachments, File "/usr/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template context, ctx.app) File "/usr/lib/python2.7/site-packages/flask/templating.py", line 110, in _render rv = template.render(context) File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/pagure/templates/issue.html", line 7, in top-level template code {% set tag = "home"%} File "/usr/lib/python2.7/site-packages/pagure/templates/repo_master.html", line 5, in top-level template code {% set tag = "home" %} File "/usr/lib/python2.7/site-packages/pagure/templates/master.html", line 158, in top-level template code {% block content %}{% endblock %} File "/usr/lib/python2.7/site-packages/pagure/templates/repo_master.html", line 297, in block "content" {% block repo %} File "/usr/lib/python2.7/site-packages/pagure/templates/issue.html", line 388, in block "repo" {% for item in field.data %} TypeError: 'NoneType' object is not iterable
Anyway you can find out what value is for field.name?
field.name
Actually this was caused by not having the custom list field properly configured. We should have a check for that though, and log something useful. I'll work on this when I get a chance.
I reckon this was fixed by https://pagure.io/pagure/pull-request/1797
Both links are accessible so it does look like it's fixed :)
@pingou changed the status to Closed
Closed
Metadata Update from @lslebodn: - Issue tagged with: IDM
Login to comment on this ticket.