Bug 892102

Summary: ParseError: mismatched tag: line 15, column 54
Product: [Fedora] Fedora Reporter: A.J. Werkman <aj.werkman>
Component: compsAssignee: Bill Nottingham <notting>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: admiller, dmach, ffesti, g.kaviyarasu, jonathan, packaging-team-maint, rvokal, sbueno, tim.lauridsen, vanmeeuwen+fedora, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fb42f08c5cca620985e3010c4d05522762563b97ae019a47e6e47635daa358df
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-30 20:33:43 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: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog none

Description A.J. Werkman 2013-01-05 08:33:35 UTC
Description of problem:
Booted from USB with vmlinuz, initrd.img and squashfs.img on it.
Wanted to install over the network.
Network did not have any auto address configuration configured, so I have to configure the network interface manually.
After the first screen where I configure the network, installtion enters the central configuration screen.
After a few seconds I hit this crash.
Reproduced it several times.
The following was filed automatically by anaconda:
anaconda 18.37.8 exception report
Traceback (most recent call first):
  File "<string>", line 91, in next
  File "/usr/lib/yum-plugins/whiteout.py", line 46, in postreposetup_hook
    for event, elem in iterparse(infile):
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 139, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 313, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 780, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 909, in _getGroups
    self.pkgSack
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1037, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 982, in _yumGroups
    self._groups = self._yum.comps
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 881, in environments
    yum_groups = self._yumGroups
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 230, in refresh
    for environment in self.payload.environments:
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 211, in _first_refresh
    self.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 49, in _idle_method
    ret = func(*args)
ParseError: mismatched tag: line 15, column 54

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz nomodeset inst.stage2=hd:LABEL=F18TC4
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.8
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18-TC4

Comment 1 A.J. Werkman 2013-01-05 08:33:58 UTC
Created attachment 672779 [details]
File: anaconda-tb

Comment 2 A.J. Werkman 2013-01-05 08:34:00 UTC
Created attachment 672780 [details]
File: anaconda.log

Comment 3 A.J. Werkman 2013-01-05 08:34:03 UTC
Created attachment 672781 [details]
File: environ

Comment 4 A.J. Werkman 2013-01-05 08:34:04 UTC
Created attachment 672782 [details]
File: ifcfg.log

Comment 5 A.J. Werkman 2013-01-05 08:34:06 UTC
Created attachment 672783 [details]
File: packaging.log

Comment 6 A.J. Werkman 2013-01-05 08:34:11 UTC
Created attachment 672784 [details]
File: program.log

Comment 7 A.J. Werkman 2013-01-05 08:34:13 UTC
Created attachment 672785 [details]
File: storage.log

Comment 8 A.J. Werkman 2013-01-05 08:34:16 UTC
Created attachment 672786 [details]
File: syslog

Comment 9 Zdeněk Pavlas 2013-01-07 15:01:33 UTC
Seems more like an Anaconda bug to me (last 5 frames).

Comment 10 Chris Lumens 2013-01-07 15:17:19 UTC
anaconda uses yum as a library.  Note all the top frames as well as the string "Most recent call first".

Comment 11 Zdeněk Pavlas 2013-01-07 15:50:30 UTC
Right, my bad.. but /yum-plugins/whiteout.py isn't yum, either.

    # Merge the whiteout from all enabled repos together.
    for repo in conduit.getRepos().listEnabled():
        try:
            infile = repo.retrieveMD("group")
        except:
            continue
        for event, elem in iterparse(infile):
            ...

This is probably ok, I don't see a problem here.

ParseError: mismatched tag: line 15, column 54.   Invalid "$hash-comps.xml", maybe?  This *might* be the first time Yum tries to parse comps.

Comment 12 Bill Nottingham 2013-01-08 22:33:57 UTC
It passes validation in git. Does this error persist?

Comment 13 Bill Nottingham 2013-04-30 20:33:43 UTC
Closing as this continues to work for me. Please reopen if this persists.