Bug 1586014

Summary: [abrt] dnf: _add_from_xml_filename(): comps.py:328:_add_from_xml_filename:_libpycomps.ParserError: Fatal parser error
Product: [Fedora] Fedora Reporter: alireza <alireza.tjd77>
Component: dnfAssignee: Marek Blaha <mblaha>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: dmach, mblaha, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e3d5405c7b733ac8899825a6eb8b6bc72f33cfa5
Whiteboard: abrt_hash:e06494d434f11fb436ab70bdf990738aa9d8097e;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-11 13:32:19 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: _var_log_dnf.log
none
File: _var_tmp_dnf-alireza-sfabxalf_dnf.librepo.log
none
File: _var_tmp_dnf-alireza-sfabxalf_dnf.log
none
File: _var_tmp_dnf-alireza-sfabxalf_dnf.rpm.log
none
File: _var_tmp_dnf-alireza-sfabxalf_hawkey.log
none
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: dnf-makecache.log
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description alireza 2018-06-05 10:16:48 UTC
Description of problem:
trying to exec command 

dnf groupinfo cinnamon

Version-Release number of selected component:
dnf-2.7.5-12.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/dnf groupinfo cinnamon
crash_function: _add_from_xml_filename
exception_type: _libpycomps.ParserError
executable:     /usr/bin/dnf
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.16.13-300.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
comps.py:328:_add_from_xml_filename:_libpycomps.ParserError: Fatal parser error

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1016, in run
    return self.command.run()
  File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py", line 375, in run
    self._grp_setup()
  File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py", line 108, in _grp_setup
    self.base.read_comps(arch_filter=True)
  File "/usr/lib/python3.6/site-packages/dnf/base.py", line 673, in read_comps
    self._comps._add_from_xml_filename(decompressed)
  File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 328, in _add_from_xml_filename
    ret = comps.fromxml_f(fn)
_libpycomps.ParserError: Fatal parser error

Local variables in innermost frame:
comps: <_libpycomps.Comps object at 0x7f2eaba4ba98>
fn: '/var/tmp/dnf-alireza-sfabxalf/updates-8bd9ef368505a5fd/repodata/gen/groups.xml'
self: <dnf.comps.Comps object at 0x7f2eaba41668>

Potential duplicate: bug 1537957

Comment 1 alireza 2018-06-05 10:16:56 UTC
Created attachment 1447797 [details]
File: _var_log_dnf.log

Comment 2 alireza 2018-06-05 10:17:05 UTC
Created attachment 1447798 [details]
File: _var_tmp_dnf-alireza-sfabxalf_dnf.librepo.log

Comment 3 alireza 2018-06-05 10:17:07 UTC
Created attachment 1447799 [details]
File: _var_tmp_dnf-alireza-sfabxalf_dnf.log

Comment 4 alireza 2018-06-05 10:17:09 UTC
Created attachment 1447800 [details]
File: _var_tmp_dnf-alireza-sfabxalf_dnf.rpm.log

Comment 5 alireza 2018-06-05 10:17:11 UTC
Created attachment 1447801 [details]
File: _var_tmp_dnf-alireza-sfabxalf_hawkey.log

Comment 6 alireza 2018-06-05 10:17:13 UTC
Created attachment 1447802 [details]
File: backtrace

Comment 7 alireza 2018-06-05 10:17:15 UTC
Created attachment 1447803 [details]
File: cgroup

Comment 8 alireza 2018-06-05 10:17:17 UTC
Created attachment 1447804 [details]
File: cpuinfo

Comment 9 alireza 2018-06-05 10:17:18 UTC
Created attachment 1447805 [details]
File: dnf-makecache.log

Comment 10 alireza 2018-06-05 10:17:20 UTC
Created attachment 1447806 [details]
File: environ

Comment 11 alireza 2018-06-05 10:17:22 UTC
Created attachment 1447807 [details]
File: mountinfo

Comment 12 alireza 2018-06-05 10:17:27 UTC
Created attachment 1447808 [details]
File: namespaces

Comment 13 alireza 2018-06-05 10:17:29 UTC
Created attachment 1447809 [details]
File: open_fds

Comment 14 Marek Blaha 2018-06-11 13:32:19 UTC

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