Bug 1248458

Summary: [abrt] python3-dnf: repo.py:793:load:dnf.exceptions.RepoError: Cache-only enabled but no cache for 'fedora'
Product: [Fedora] Fedora Reporter: Алексей Смирнов <debugger94>
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: 23CC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1ee3cbc1525c82a12e7b46a0dce347baa25101c6
Whiteboard: abrt_hash:5627cc91bf9a94079910f18f14c544949442929b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-11 12:03:02 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

Description Алексей Смирнов 2015-07-30 10:40:32 UTC
Version-Release number of selected component:
python3-dnf-1.0.2-2.fc23.1

Additional info:
reporter:       libreport-2.6.2
cmdline:        python3 /usr/lib/python3.4/site-packages/dnf/cli/completion_helper.py install gnome-p -d 0 -q -C
executable:     /usr/lib/python3.4/site-packages/dnf/cli/completion_helper.py
kernel:         4.2.0-0.rc3.git4.1.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
repo.py:793:load:dnf.exceptions.RepoError: Cache-only enabled but no cache for 'fedora'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/dnf/cli/completion_helper.py", line 191, in <module>
    main(sys.argv[1:])
  File "/usr/lib/python3.4/site-packages/dnf/cli/completion_helper.py", line 187, in main
    cli.run()
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1075, in run
    self._process_demands()
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 797, in _process_demands
    load_available_repos=lar)
  File "/usr/lib/python3.4/site-packages/dnf/base.py", line 243, in fill_sack
    self._add_repo_to_sack(r.id)
  File "/usr/lib/python3.4/site-packages/dnf/base.py", line 103, in _add_repo_to_sack
    repo.load()
  File "/usr/lib/python3.4/site-packages/dnf/repo.py", line 793, in load
    raise dnf.exceptions.RepoError(msg)
dnf.exceptions.RepoError: Cache-only enabled but no cache for 'fedora'

Local variables in innermost frame:
self: <Repo fedora>
msg: "Cache-only enabled but no cache for 'fedora'"

Comment 1 Алексей Смирнов 2015-07-30 10:40:35 UTC
Created attachment 1057622 [details]
File: backtrace

Comment 2 Алексей Смирнов 2015-07-30 10:40:36 UTC
Created attachment 1057623 [details]
File: environ

Comment 3 Honza Silhan 2015-08-11 12:03:02 UTC

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