#6445 koji error when asking for rpm details
Closed: Fixed 7 years ago Opened 7 years ago by sharkcz.

Tryign to get rpm info for python-lxml-3.4.4-4.fc24.x86_64.rpm (via koji web UI) returns an error page (URL is http://koji.fedoraproject.org/koji/rpminfo?rpmID=7342047)

Error
An error has occurred while processing your request.
KeyError: None

Full tracebacks disabled

some other rpms from the same build return correct page/info


Metadata Update from @sharkcz:
- Issue set to the milestone: Fedora 25 Alpha

7 years ago

Metadata Update from @ausil:
- Issue assigned to mikem
- Issue close_status updated to: None
- Issue set to the milestone: Fedora 26 Final (was: Fedora 25 Alpha)

7 years ago

This page loads for me. Not sure where the error here was. Perhaps this was fixed in 1.12?

Likewise, the page loads for me, slowly, but it loaded.
The package was "python-lxml-3.4.4-4.fc24.x86_64.rpm".

I was able to get a similar error by rolling back koji locally

603 [DEBUG] m=rpminfo u=None p=28742 r=127.0.0.1:? koji: Opening new requests session
7 [ERROR] m=rpminfo u=None p=28742 r=127.0.0.1:? koji.web: Traceback (most recent call last):
  File "/home/mike/Devel/koji/koji/www/kojiweb/wsgi_publisher.py", line 387, in handle_request
    result = func(environ, **data)
  File "/home/mike/Devel/koji/koji/www/kojiweb/index.py", line 1400, in rpminfo
    return _genHTML(environ, 'rpminfo.chtml')
  File "/home/mike/Devel/koji/koji/www/lib/kojiweb/util.py", line 146, in _genHTML
    return tmpl_inst.respond().encode('utf-8', 'replace')
  File "rpminfo_chtml.py", line 657, in respond
  File "/home/mike/Devel/koji/koji/www/lib/kojiweb/util.py", line 382, in brStateName
    return koji.BR_STATES[stateID].lower()
  File "/home/mike/Devel/koji/koji/koji/__init__.py", line 132, in __getitem__
    return super(Enum, self).__getitem__(key)
KeyError: None

This issue was fixed by https://pagure.io/koji/pull-request/365 (which was included in the 1.12 release)

I do not have permission to close this, so I am instead dropping myself as assignee

Hmm, I guess Pagure won't even let me do that

thank you for investigating

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

7 years ago

Log in to comment on this ticket.

Metadata