Bug 1052073 - Traceback on repo rendering
Summary: Traceback on repo rendering
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: frontend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 09:29 UTC by Miroslav Suchý
Modified: 2014-02-06 08:32 UTC (History)
0 users

Fixed In Version: copr-1.23-1
Clone Of:
Environment:
Last Closed: 2014-02-06 08:32:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2014-01-13 09:29:31 UTC
Message type:       ERROR
Location:           /usr/lib/python2.7/site-packages/flask/app.py:1306
Module:             app
Function:           log_exception
Time:               2014-01-10 17:25:56,384

Message:

Exception on /coprs/timlau/yumex-nextgen/repo/fedora-rawhide-x86-64/ [GET]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1687, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1360, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1358, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1344, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/share/copr/coprs_frontend/coprs/views/coprs_ns/coprs_general.py", line 332, in generate_repo_file
    mock_chroot = coprs_logic.MockChrootsLogic.get_from_name(chroot).one()
  File "/usr/share/copr/coprs_frontend/coprs/logic/coprs_logic.py", line 297, in get_from_name
    name_tuple = cls.tuple_from_name(None, chroot_name)
  File "/usr/share/copr/coprs_frontend/coprs/logic/coprs_logic.py", line 358, in tuple_from_name
    os_release, os_version = split_name[0].rsplit('-')
ValueError: too many values to unpack

Comment 1 Miroslav Suchý 2014-01-13 12:53:25 UTC
Fixed in upstream in git commit 39ad614


Note You need to log in before you can comment on or make changes to this bug.