Bug 902721 - [abrt] dnf-0.2.17-1.git6a055e6.fc18: __init__.py:1754:cleanUsedHeadersPackages:AttributeError: 'Package' object has no attribute 'localHdr'
Summary: [abrt] dnf-0.2.17-1.git6a055e6.fc18: __init__.py:1754:cleanUsedHeadersPackage...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:539a87279c6817ad66f743a19ac...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-22 10:34 UTC by Cristian Ciupitu
Modified: 2014-09-30 23:40 UTC (History)
2 users (show)

Fixed In Version: dnf-0.2.20-1
Clone Of:
Environment:
Last Closed: 2013-03-25 09:48:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.46 KB, text/plain)
2013-01-22 10:34 UTC, Cristian Ciupitu
no flags Details
File: core_backtrace (631 bytes, text/plain)
2013-01-22 10:34 UTC, Cristian Ciupitu
no flags Details
File: environ (2.13 KB, text/plain)
2013-01-22 10:34 UTC, Cristian Ciupitu
no flags Details

Description Cristian Ciupitu 2013-01-22 10:34:41 UTC
Description of problem:
[root@localhost ~]# dnf install egtk-xfwm4-theme  elementary-icon-theme bluecurve-icon-theme bluecurve-cursor-theme bluecurve-gnome-theme bluecurve-gtk-themes  bluecurve-icon-theme  gnome-icon-theme-extras  greybird-gtk2-theme  greybird-gtk3-theme  greybird-metacity-theme greybird-xfce4-notifyd-theme
Setting up Install Process
media                                                                              | 3.7 kB  00:00:00 !!! 
media/primary                                                                      | 1.5 MB  00:00:00 !!! 
media/filelists                                                                    | 3.2 MB  00:00:00 !!! 
adobe-linux-x86_64                                                                 |  951 B  00:00:00     
adobe-linux-x86_64/primary                                                         | 1.2 kB  00:00:00     
adobe-linux-x86_64/filelists                                                       |  612 B  00:00:00     
fedora/metalink                                                                    |  24 kB  00:00:00     
fedora                                                                             | 4.2 kB  00:00:00     
fedora/primary                                                                     |  11 MB  00:00:03     
fedora/filelists                                                                   |  24 MB  00:00:07     
fedora/prestodelta                                                                 | 1.5 MB  00:00:00     
rpmfusion-free                                                                     | 3.3 kB  00:00:00     
rpmfusion-free/primary                                                             | 216 kB  00:00:00     
rpmfusion-free/filelists                                                           | 270 kB  00:00:00     
rpmfusion-free-updates                                                             | 3.3 kB  00:00:00     
rpmfusion-free-updates/primary                                                     | 8.0 kB  00:00:00     
rpmfusion-free-updates/filelists                                                   |  21 kB  00:00:00     
rpmfusion-nonfree                                                                  | 3.3 kB  00:00:00     
rpmfusion-nonfree/primary                                                          |  83 kB  00:00:00     
rpmfusion-nonfree/filelists                                                        | 278 kB  00:00:00     
rpmfusion-nonfree-updates                                                          | 3.3 kB  00:00:00     
rpmfusion-nonfree-updates/primary                                                  | 3.3 kB  00:00:00     
rpmfusion-nonfree-updates/filelists                                                | 1.3 kB  00:00:00     
updates/metalink                                                                   |  28 kB  00:00:00     
updates                                                                            | 4.7 kB  00:00:00     
updates/primary                                                                    | 3.0 MB  00:00:00     
updates/filelists                                                                  | 5.9 MB  00:00:01     
updates/prestodelta                                                                | 908 kB  00:00:00     
virtualbox                                                                         |  951 B  00:00:00     
virtualbox/primary                                                                 | 1.9 kB  00:00:00     
virtualbox/filelists                                                               | 4.3 kB  00:00:00     
Resolving Dependencies
--> Starting dependency resolution
---> Package egtk-xfwm4-theme.noarch 3.1-2.fc18 will be installed
---> Package elementary-icon-theme.noarch 2.7.1-3.fc18 will be installed
---> Package bluecurve-icon-theme.noarch 8.0.2-8.fc18 will be installed
---> Package bluecurve-cursor-theme.noarch 8.0.2-8.fc18 will be installed
---> Package bluecurve-gnome-theme.noarch 1.0.0-6.fc18 will be installed
---> Package greybird-metacity-theme.noarch 1.0.7-1.fc18 will be installed
---> Package bluecurve-metacity-theme.noarch 1.0.0-6.fc18 will be installed
---> Package bluecurve-gtk-themes.x86_64 1.0.0-8.fc18 will be installed
---> Package gnome-icon-theme-extras.noarch 3.6.2-1.fc18 will be installed
---> Package greybird-gtk2-theme.noarch 1.0.7-1.fc18 will be installed
---> Package greybird-gtk3-theme.noarch 1.0.7-1.fc18 will be installed
---> Package greybird-xfce4-notifyd-theme.noarch 1.0.7-1.fc18 will be installed
--> Finished dependency resolution

Dependencies Resolved

==========================================================================================================
 Package                                Arch             Version                   Repository        Size
==========================================================================================================
Installing:
 bluecurve-cursor-theme                 noarch           8.0.2-8.fc18              fedora           209 k
 bluecurve-gnome-theme                  noarch           1.0.0-6.fc18              fedora            11 k
 bluecurve-gtk-themes                   x86_64           1.0.0-8.fc18              fedora            41 k
 bluecurve-icon-theme                   noarch           8.0.2-8.fc18              fedora           4.2 M
 bluecurve-metacity-theme               noarch           1.0.0-6.fc18              fedora            19 k
 egtk-xfwm4-theme                       noarch           3.1-2.fc18                fedora            29 k
 elementary-icon-theme                  noarch           2.7.1-3.fc18              fedora           3.3 M
 gnome-icon-theme-extras                noarch           3.6.2-1.fc18              media            789 k
 greybird-gtk2-theme                    noarch           1.0.7-1.fc18              media             30 k
 greybird-gtk3-theme                    noarch           1.0.7-1.fc18              media             40 k
 greybird-metacity-theme                noarch           1.0.7-1.fc18              fedora            30 k
 greybird-xfce4-notifyd-theme           noarch           1.0.7-1.fc18              media             19 k

Transaction Summary
==========================================================================================================
Install  12 Packages

Total download size: 8.7 M
Installed size: 8.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): bluecurve-gnome-theme-1.0.0-6.fc18.noarch.rpm                              |  11 kB  00:00:00     
(2/12): bluecurve-cursor-theme-8.0.2-8.fc18.noarch.rpm                             | 209 kB  00:00:00     
(3/12): bluecurve-metacity-theme-1.0.0-6.fc18.noarch.rpm                           |  19 kB  00:00:00     
(5/12): bluecurve-icon-theme-8.0.2-8.fc18.noarch.rpm                               | 4.2 MB  00:00:01     
(6/12): egtk-xfwm4-theme-3.1-2.fc18.noarch.rpm                                     |  29 kB  00:00:00     
(7/12): elementary-icon-theme-2.7.1-3.fc18.noarch.rpm                              | 3.3 MB  00:00:01     
(10/12): bluecurve-gtk-themes-1.0.0-8.fc18.x86_64.rpm                              |  41 kB  00:00:00     
(11/12): greybird-metacity-theme-1.0.7-1.fc18.noarch.rpm                           |  30 kB  00:00:00     
----------------------------------------------------------------------------------------------------------
Total                                                                     2.0 MB/s | 8.7 MB     00:04     
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
RPMDB altered outside of DNF.
  Installing : bluecurve-gtk-themes-1.0.0-8.fc18.x86_64                                              1/12 
  Installing : bluecurve-metacity-theme-1.0.0-6.fc18.noarch                                          2/12 
  Installing : bluecurve-cursor-theme-8.0.2-8.fc18.noarch                                            3/12 
  Installing : bluecurve-icon-theme-8.0.2-8.fc18.noarch                                              4/12 
  Installing : bluecurve-gnome-theme-1.0.0-6.fc18.noarch                                             5/12 
  Installing : greybird-xfce4-notifyd-theme-1.0.7-1.fc18.noarch                                      6/12 
  Installing : greybird-metacity-theme-1.0.7-1.fc18.noarch                                           7/12 
  Installing : greybird-gtk3-theme-1.0.7-1.fc18.noarch                                               8/12 
  Installing : greybird-gtk2-theme-1.0.7-1.fc18.noarch                                               9/12 
  Installing : elementary-icon-theme-2.7.1-3.fc18.noarch                                            10/12 
  Installing : egtk-xfwm4-theme-3.1-2.fc18.noarch                                                   11/12 
  Installing : gnome-icon-theme-extras-3.6.2-1.fc18.noarch                                          12/12 
Traceback (most recent call last):
  File "/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 314, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 222, in main
    return_code = base.doTransaction()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 323, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 1105, in runTransaction
    self.cleanUsedHeadersPackages()
  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 1754, in cleanUsedHeadersPackages
    filelist.extend([txmbr.po.localHdr()])
AttributeError: 'Package' object has no attribute 'localHdr'

Version-Release number of selected component:
dnf-0.2.17-1.git6a055e6.fc18

Additional info:
cmdline:        /usr/bin/python /bin/dnf install egtk-xfwm4-theme elementary-icon-theme bluecurve-icon-theme bluecurve-cursor-theme bluecurve-gnome-theme bluecurve-gtk-themes bluecurve-icon-theme gnome-icon-theme-extras greybird-gtk2-theme greybird-gtk3-theme greybird-metacity-theme greybird-xfce4-notifyd-theme
executable:     /bin/dnf
kernel:         3.7.2-204.fc18.x86_64
uid:            0

Truncated backtrace:
__init__.py:1754:cleanUsedHeadersPackages:AttributeError: 'Package' object has no attribute 'localHdr'

Traceback (most recent call last):
  File "/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 314, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 222, in main
    return_code = base.doTransaction()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 323, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 1105, in runTransaction
    self.cleanUsedHeadersPackages()
  File "/usr/lib/python2.7/site-packages/dnf/yum/__init__.py", line 1754, in cleanUsedHeadersPackages
    filelist.extend([txmbr.po.localHdr()])
AttributeError: 'Package' object has no attribute 'localHdr'

Local variables in innermost frame:
self: <dnf.cli.cli.YumBaseCli object at 0x2ac9910>
filelist: ['/var/cache/dnf/x86_64/18/fedora/packages/bluecurve-gnome-theme-1.0.0-6.fc18.noarch.rpm', '/var/cache/dnf/x86_64/18/fedora/packages/bluecurve-cursor-theme-8.0.2-8.fc18.noarch.rpm', '/var/cache/dnf/x86_64/18/fedora/packages/bluecurve-metacity-theme-1.0.0-6.fc18.noarch.rpm']
repo: <dnf.yum.yumRepo.YumRepository object at 0x2b27090>
txmbr: <TransactionMember : gnome-icon-theme-extras.noarch 3.6.2-1.fc18 - i (0x32d4cb0)>
u: 'file:///mnt/misc/Fedora-DVDs/18/x86_64/'
local: True

Comment 1 Cristian Ciupitu 2013-01-22 10:34:50 UTC
Created attachment 685035 [details]
File: backtrace

Comment 2 Cristian Ciupitu 2013-01-22 10:34:53 UTC
Created attachment 685036 [details]
File: core_backtrace

Comment 3 Cristian Ciupitu 2013-01-22 10:34:56 UTC
Created attachment 685037 [details]
File: environ

Comment 4 Cristian Ciupitu 2013-01-22 10:47:08 UTC
    yum erase egtk-xfwm4-theme  elementary-icon-theme bluecurve-icon-theme bluecurve-cursor-theme bluecurve-gnome-theme bluecurve-gtk-themes  bluecurve-icon-theme  gnome-icon-theme-extras  greybird-gtk2-theme  greybird-gtk3-theme  greybird-metacity-theme greybird-xfce4-notifyd-theme

followed by

    yum install egtk-xfwm4-theme  elementary-icon-theme bluecurve-icon-theme bluecurve-cursor-theme bluecurve-gnome-theme bluecurve-gtk-themes  bluecurve-icon-theme  gnome-icon-theme-extras  greybird-gtk2-theme  greybird-gtk3-theme  greybird-metacity-theme greybird-xfce4-notifyd-them

worked fine.

Comment 5 Ales Kozumplik 2013-01-22 11:19:19 UTC
Hello,

can you please retest this with dnf-0.2.20 available in updates-testing and tell me whether you're still seeing the traceback?

Thank you,
Ales

Comment 6 Ales Kozumplik 2013-01-22 11:41:12 UTC
(specifically, this was fixed by 9db600fd1898f6c81acbc231b412a7b30206d466 last week)

Comment 7 Cristian Ciupitu 2013-01-22 13:10:34 UTC
Please see bug #902810

Comment 8 Ales Kozumplik 2013-01-23 11:34:10 UTC
Cristian, thank you for opening bug 920810. Can I close this current one now as it seems you are no longer running into the traceback?

Comment 9 Cristian Ciupitu 2013-01-23 11:51:56 UTC
Yeah, I guess so.


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