Bug 1325869 - [abrt] dnf: config.py:91:__set__:ValueError: Error parsing "baseurl = repodata": URL must be http, ftp, file or https not ""
[abrt] dnf: config.py:91:__set__:ValueError: Error parsing "baseurl = repodat...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
24
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: rpm-software-management
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:672246000ff9ed50a02185dad78...
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-11 07:55 EDT by Igor Gnatenko
Modified: 2016-08-27 06:21 EDT (History)
5 users (show)

See Also:
Fixed In Version: dnf-1.1.10-1.fc24 dnf-1.1.10-1.fc23 dnf-1.1.10-1.fc25
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-19 15:51:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: _var_log_dnf.log (317.99 KB, text/plain)
2016-04-11 07:55 EDT, Igor Gnatenko
no flags Details
File: backtrace (1.76 KB, text/plain)
2016-04-11 07:55 EDT, Igor Gnatenko
no flags Details
File: dnf-makecache.log (106.21 KB, text/plain)
2016-04-11 07:56 EDT, Igor Gnatenko
no flags Details
File: environ (2.05 KB, text/plain)
2016-04-11 07:56 EDT, Igor Gnatenko
no flags Details

  None (edit)
Description Igor Gnatenko 2016-04-11 07:55:48 EDT
Description of problem:
sudo dnf --repofrompath test,repodata makecache

Version-Release number of selected component:
dnf-1.1.8-1.fc24

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python3 /bin/dnf --repofrompath test,repodata makecache
executable:     /bin/dnf
kernel:         4.5.0-302.fc24.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
config.py:91:__set__:ValueError: Error parsing "baseurl = repodata": URL must be http, ftp, file or https not ""

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/yum/config.py", line 88, in __set__
    value = self.parse(value)
  File "/usr/lib/python3.5/site-packages/dnf/yum/config.py", line 280, in parse
    out.append(self._urloption.parse(url))
  File "/usr/lib/python3.5/site-packages/dnf/yum/config.py", line 234, in parse
    raise ValueError('URL must be %s not "%s"' % (self._schemelist(), s))
ValueError: URL must be http, ftp, file or https not ""

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 93, in _main
    cli.configure(list(map(ucd, args)))
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1000, in configure
    self._configure_repos(opts)
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 744, in _configure_repos
    repofp.baseurl = path
  File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 582, in __setattr__
    super(Repo, self).__setattr__(name, value)
  File "/usr/lib/python3.5/site-packages/dnf/yum/config.py", line 91, in __set__
    value, str(e)))
ValueError: Error parsing "baseurl = repodata": URL must be http, ftp, file or https not ""

Local variables in innermost frame:
self: <dnf.yum.config.UrlListOption object at 0x7f9ba573c860>
obj: <Repo test>
value: 'repodata'
Comment 1 Igor Gnatenko 2016-04-11 07:55:57 EDT
Created attachment 1145938 [details]
File: _var_log_dnf.log
Comment 2 Igor Gnatenko 2016-04-11 07:55:58 EDT
Created attachment 1145939 [details]
File: backtrace
Comment 3 Igor Gnatenko 2016-04-11 07:56:00 EDT
Created attachment 1145940 [details]
File: dnf-makecache.log
Comment 4 Igor Gnatenko 2016-04-11 07:56:02 EDT
Created attachment 1145941 [details]
File: environ
Comment 6 Fedora Admin XMLRPC Client 2016-07-08 05:31:42 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 7 Igor Gnatenko 2016-07-21 08:49:13 EDT
Merged for DNF 2.0 and will be available withing DNF 2.0 release.
Comment 8 Fedora Update System 2016-08-18 11:19:20 EDT
dnf-1.1.10-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-267f843cda
Comment 9 Fedora Update System 2016-08-18 11:20:34 EDT
dnf-1.1.10-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caa619a9e
Comment 10 Fedora Update System 2016-08-18 11:21:37 EDT
dnf-1.1.10-1.fc24 dnf-plugins-core-0.1.21-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-878284e0d3
Comment 11 Fedora Update System 2016-08-18 12:52:48 EDT
dnf-1.1.10-1.fc25, dnf-plugins-core-0.1.21-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caa619a9e
Comment 12 Fedora Update System 2016-08-18 20:22:35 EDT
dnf-1.1.10-1.fc23, dnf-plugins-core-0.1.21-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-267f843cda
Comment 13 Fedora Update System 2016-08-18 20:57:47 EDT
dnf-1.1.10-1.fc24, dnf-plugins-core-0.1.21-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-878284e0d3
Comment 14 Fedora Update System 2016-08-19 15:50:41 EDT
dnf-1.1.10-1.fc24, dnf-plugins-core-0.1.21-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 15 Fedora Update System 2016-08-23 11:19:48 EDT
dnf-1.1.10-1.fc23, dnf-plugins-core-0.1.21-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 16 Fedora Update System 2016-08-27 06:20:49 EDT
dnf-1.1.10-1.fc25, dnf-plugins-core-0.1.21-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

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