Bug 451548 - Error message (crash) on updating
Summary: Error message (crash) on updating
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-15 16:18 UTC by Horst H. von Brand
Modified: 2008-08-18 09:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-18 09:05:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Horst H. von Brand 2008-06-15 16:18:26 UTC
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 14:55:09 UTC
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.