possible bug(2): repomanage: AttributeError: RpmUtilsError instance has no attribute 'message'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This bug happens under the following combinations:
- RHEL5.4
- yum-utils-1.1.24 (again, not really sure the bug first appear. I
just notice it now)
- yum-3.2.25
- rpm-4.4.2.3-18.el5
- python-2.4.3-27.el5

when running repomanage against a bad package, you got error message like this

error: rpmts_HdrFromFdno: MD5 digest: BAD
Expected(ceb1e8731d253cdcb3fcb34201408a12) !=
(0ff3308c3640ebd95f4121d2d5f5e13b)
Traceback (most recent call last):
  File "/usr/bin/repomanage", line 234, in ?
    main(sys.argv[1:])
  File "/usr/bin/repomanage", line 153, in main
    msg = "Error opening pkg %s: %s" % (pkg, e.message)
AttributeError: RpmUtilsError instance has no attribute 'message'

The workaround that I use now is to remove second parameter to msg
(i.e %s and e.message). Does this bug depend on different rpm version?

-- 
Fajar
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux