Bug 451548 - Error message (crash) on updating
Error message (crash) on updating
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: PackageKit (Show other bugs)
rawhide
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Robin Norwood
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-15 12:18 EDT by Horst H. von Brand
Modified: 2008-08-18 05:05 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-18 05:05:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Horst H. von Brand 2008-06-15 12:18:26 EDT
Description of problem:
Clicking on the PackageKit icon and asking it to update a message show up

Version-Release number of selected component (if applicable):
PackageKit-0.2.3-3.20080611.fc10.i386

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:

Error Type: <type 'exceptions.AttributeError'>
Error Value: PackageKitYumBackend instance has no attribute '__len__'
  File : /usr/share/PackageKit/helpers/yum/update-system.py , line 18, in <module>
    backend.update_system()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 826, in
update_system
    self._runYumTransaction()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1102, in
_runYumTransaction
    self.error(ERROR_DEP_RESOLUTION_FAILED,self._format_msgs(msgs))
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1087, in
_format_msgs
    text = self._truncate(text, 1024)

  File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 1078, in _truncate
    if len(text) < length:

Expected results:


Additional info:
Comment 1 Robin Norwood 2008-06-16 10:55:09 EDT
Thanks for the report.

I've fixed this in git, should be available in the next release.

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