Bug 1025098

Summary: [abrt] dnf-0.4.6-1.fc20: repo.py:207:_handle_new_remote:AttributeError: 'module' object has no attribute 'LRO_FASTESTMIRRORCACHE'
Product: [Fedora] Fedora Reporter: Ankur Sinha (FranciscoD) <sanjay.ankur>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, lmacken, lnie, packaging-team-maint, pnemade, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a305a4a1c8c4592dc928d3fdbed41d54334ee01e
Whiteboard: abrt_hash:3402776b9c8d3d66c208ed8fbfaa7b6b3469f640
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-31 06:34:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ
none
Traceback none

Description Ankur Sinha (FranciscoD) 2013-10-31 01:58:54 UTC
Description of problem:
Ran sudo dnf install sl and it crashed

Version-Release number of selected component:
dnf-0.4.6-1.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python /bin/dnf install sl
executable:     /bin/dnf
kernel:         3.11.6-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
repo.py:207:_handle_new_remote:AttributeError: 'module' object has no attribute 'LRO_FASTESTMIRRORCACHE'

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 277, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 133, in _main
    result, resultmsgs = cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1360, in run
    load_available_repos=lar)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 223, in activate_sack
    self._add_repo_to_sack(r.id)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 133, in _add_repo_to_sack
    repo.load()
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 411, in load
    if self._try_revive():
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 287, in _try_revive
    handle = self._handle_new_remote(tmpdir)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 207, in _handle_new_remote
    h.setopt(librepo.LRO_FASTESTMIRRORCACHE,
AttributeError: 'module' object has no attribute 'LRO_FASTESTMIRRORCACHE'

Local variables in innermost frame:
h: <dnf.repo._Handle object at 0xd82950>
self: <Repo fedora>
mirrorlist: 'https://mirrors.fedoraproject.org/metalink?repo=fedora-20&arch=x86_64'
destdir: '/tmp/dnf-mx9X5C'
mirror_setup: True

Comment 1 Ankur Sinha (FranciscoD) 2013-10-31 01:59:04 UTC
Created attachment 817688 [details]
File: backtrace

Comment 2 Ankur Sinha (FranciscoD) 2013-10-31 01:59:08 UTC
Created attachment 817689 [details]
File: environ

Comment 3 lnie 2013-10-31 02:46:08 UTC
Also see this bug when run "dnf install xchat","dnf grouplist","dnf group list"
with the latest dnf.

Comment 4 lnie 2013-10-31 02:47:50 UTC
Created attachment 817696 [details]
Traceback

Comment 5 Ales Kozumplik 2013-10-31 06:34:47 UTC
Hello, this is a dupe of bug 1024776.

*** This bug has been marked as a duplicate of bug 1024776 ***