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

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

On Wed, 20 Jan 2010, Fajar A. Nugraha wrote:

> 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?

nevermind - don't file it  it's all fixed.

and no - the bug doesn't depend on anything - it's just not commonly hit.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.