Bug 1374084 - [abrt] bodhi-client: bodhi:508:main:IndexError: list index out of range
Summary: [abrt] bodhi-client: bodhi:508:main:IndexError: list index out of range
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: bodhi
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Randy Barlow
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a334739a98fb5ad2c59f47e74c9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 22:54 UTC by Nivag
Modified: 2017-12-12 10:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:16:59 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2016-09-07 22:55 UTC, Nivag
no flags Details
File: environ (2.39 KB, text/plain)
2016-09-07 22:55 UTC, Nivag
no flags Details

Description Nivag 2016-09-07 22:54:57 UTC
Version-Release number of selected component:
bodhi-client-0.9.12.2-5.fc25

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python2 -tt /usr/bin/bodhi -D 1.15.1-0.1.git20160831.06e0626.fc25
executable:     /usr/bin/bodhi
kernel:         4.8.0-0.rc4.git0.1.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
bodhi:508:main:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/bodhi", line 537, in <module>
    main()
  File "/usr/bin/bodhi", line 508, in main
    update = data['updates'][0]
IndexError: list index out of range

Local variables in innermost frame:
args: []
parser: <optparse.OptionParser instance at 0x7f05c4c0ce60>
bodhi: <fedora.client.bodhi.Bodhi2Client object at 0x7f05c4c2f250>
verify_args: <function verify_args at 0x7f05c4c48140>
override_notes: None
data: Munch({u'rows_per_page': 60, u'total': 0, u'package': None, u'chrome': True, u'display_user': True, u'pages': 0, u'updates': [], u'display_request': True, u'page': 1})
opts: <Values at 0x7f05c4c38710: {'comment': None, 'my_overrides': False, 'verbose': None, 'edit_override': None, 'mine': None, 'download': '1.15.1-0.1.git20160831.06e0626.fc25', 'duration': 3, 'critpath': None, 'untested': False, 'disable_autokarma': False, 'testable': None, 'expire_override': None, 'stablekarma': 3, 'candidates': None, 'override': None, 'new': None, 'show_expired': False, 'push_build': None, 'close_bugs': False, 'push_type': None, 'input_file': None, 'resume_push': None, 'push_request': None, 'list_overrides': None, 'unstablekarma': -3, 'latest': None, 'masher': None, 'bodhi_url': 'https://admin.fedoraproject.org/updates/', 'status': None, 'edit': None, 'push_release': None, 'request': None, 'bugs': '', 'username': 'root', 'type_': None, 'limit': 60, 'karma': 0, 'push': None, 'delete': None, 'notes': '', 'release': None}>

Potential duplicate: bug 1258051

Comment 1 Nivag 2016-09-07 22:55:02 UTC
Created attachment 1198840 [details]
File: backtrace

Comment 2 Nivag 2016-09-07 22:55:03 UTC
Created attachment 1198841 [details]
File: environ

Comment 3 Randy Barlow 2016-09-13 17:05:23 UTC
Thanks for the bug report! I expect that this issue will not occur in the upcoming Bodhi 2.2.0 release. However, we are not currently planning to release 2.2.0 to Fedora 25 since it has already branched, and Bodhi 2 is not backwards compatible. Therefore, I will keep this bug open against Fedora 25 in case I can find the time to fix the 0.9 client for Fedora 23-25.

Comment 4 Randy Barlow 2016-10-18 05:03:32 UTC
Hello!

I have recently become the primary caretaker of Bodhi and I've inherited a number of issues related to bodhi 0.9. I wanted to be forthcoming with you that it will be difficult for me to fix issues with bodhi 0.9 while also pressing forward with bodhi 2, especially since I do not have any familiarity with the bodhi 0.9 codebase. I'm happy to keep this bug open to track the problem, but I would also encourage you to please test the bodhi 2 client (currently available in Rawhide and Copr[0]). Unfortunately, the bodhi 2 client is not backwards compatible with bodhi 0.9, so at this time I only plan for bodhi 2 to be released with Fedora 26 and EPEL 7 (with special permission from the EPEL SC).

Here are some options you could pursue for this issue:

0) Write a patch for me that can be applied with the spec file. If you are willing to take the time to learn the bodhi 0.9 code, write a patch, and test it, I am willing to accept patches to be applied during build.
1) Use Rawhide.
2) Install bodhi 2 from my Copr[0].

I apologize as I understand that this is probably disappointing news for you to hear, but I thought it would be better to be forthcoming than to let the bug languish. I appreciate your understanding!


[0] https://copr.fedorainfracloud.org/coprs/bowlofeggs/bodhi/

Comment 5 Fedora End Of Life 2017-11-16 14:10:26 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2017-12-12 10:16:59 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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