Bug 492739

Summary: changelog parsing exception
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: gnome-packagekitAssignee: Richard Hughes <richard>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: richard, robin.norwood
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-30 10:18:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Clasen 2009-03-29 03:43:13 UTC
Here is an exception I got while installing a bunch of rawhide updates:

Error Type: <type 'exceptions.IndexError'>
Error Value: list index out of range
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2782, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2779, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 633, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 523, in dispatch_command
    self.get_update_detail(pkgs)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2363, in get_update_detail
    changelog += _format_str('**' + time_str + '** ' + user_version[0] + ' ' + user_version[1] + '\n' + _to_unicode(change[2].replace("\t", " ")) + '\n\n')

Comment 1 Richard Hughes 2009-03-30 10:18:42 UTC
commit 860e932906830be2b1c7fa3a2e6c45d639e80b2d
Author: Richard Hughes <richard>
Date:   Mon Mar 30 11:17:37 2009 +0100

    trivial: make the ChangeLog decoding more robust to broken ChangeLogs. Fixes rh#492739