Bug 725894 - primary.xml parsing error produces TypeError, calls abrt
Summary: primary.xml parsing error produces TypeError, calls abrt
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1a57294cd4a6d29a83fa65f0a11...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-26 21:24 UTC by Zeeshan Ali
Modified: 2016-09-20 01:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-28 03:01:54 UTC
Type: ---


Attachments (Terms of Use)

Description Zeeshan Ali 2011-07-26 21:24:53 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        /usr/bin/python /usr/bin/yum search gupnp
component:      yum
executable:     /usr/bin/yum
global_uuid:    1a57294cd4a6d29a83fa65f0a115d5ca53cd6b8e
kernel:         2.6.38.8-32.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        yum-3.2.29-6.fc15
reason:         sqlitecachec.py:46:getPrimary:TypeError: Parsing primary.xml error: Start tag expected, '<' not found
time:           Wed Jun 29 15:46:32 2011
uid:            500
username:       zeenix

backtrace:
:sqlitecachec.py:46:getPrimary:TypeError: Parsing primary.xml error: Start tag expected, '<' not found
:
:
:Traceback (most recent call last):
:  File "/usr/bin/yum", line 29, in <module>
:    yummain.user_main(sys.argv[1:], exit_code=True)
:  File "/usr/share/yum-cli/yummain.py", line 267, in user_main
:    errcode = main(args)
:  File "/usr/share/yum-cli/yummain.py", line 120, in main
:    result, resultmsgs = base.doCommands()
:  File "/usr/share/yum-cli/cli.py", line 432, in doCommands
:    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
:  File "/usr/share/yum-cli/yumcommands.py", line 684, in doCommand
:    return base.search(extcmds)
:  File "/usr/share/yum-cli/cli.py", line 994, in search
:    for (po, keys, matched_value) in matching:
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2448, in searchGenerator
:    for sack in self.pkgSack.sacks.values():
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 859, in <lambda>
:    pkgSack = property(fget=lambda self: self._getSacks(),
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 645, in _getSacks
:    self.repos.populateSack(which=repos)
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 289, in populateSack
:    sack.populate(repo, mdtype, callback, cacheonly)
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 186, in populate
:    dobj = repo_cache_function(xml, csum)
:  File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 46, in getPrimary
:    self.repoid))
:TypeError: Parsing primary.xml error: Start tag expected, '<' not found
:
:
:Local variables in innermost frame:
:checksum: '0dcc40e0f9d28e2d6e66e9213f623828a5c65c6c'
:self: <sqlitecachec.RepodataParserSqlite instance at 0x205a050>
:location: '/var/tmp/yum-zeenix-bjg6IH/x86_64/15/adobe-linux-i386/primary.xml.gz'

comment:
:$ yum search libcdio
:Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
:adobe-linux-i386                                                             |  951 B     00:00     
:brew                                                                         |  951 B     00:00     
:brew/primary                                                                 |  960 B     00:00     
:google-talkplugin                                                            |  951 B     00:00     
:rpmfusion-free-updates                                                       | 2.7 kB     00:00     
:rpmfusion-free-updates-debuginfo                                             | 2.7 kB     00:00     
:updates/metalink                                                             |  26 kB     00:00     
:updates                                                                      | 4.7 kB     00:00     
:updates/primary_db                                                           | 3.3 MB     00:00     
:updates/group                                                                | 1.8 MB     00:00     
:updates-debuginfo/metalink                                                   |  20 kB     00:00     
:updates-debuginfo                                                            | 3.1 kB     00:00     
:updates-debuginfo/primary_db                                                 | 257 kB     00:00     
:Traceback (most recent call last):
:  File "/usr/bin/yum", line 29, in <module>
:    yummain.user_main(sys.argv[1:], exit_code=True)
:  File "/usr/share/yum-cli/yummain.py", line 267, in user_main
:    errcode = main(args)
:  File "/usr/share/yum-cli/yummain.py", line 120, in main
:    result, resultmsgs = base.doCommands()
:  File "/usr/share/yum-cli/cli.py", line 432, in doCommands
:    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
:  File "/usr/share/yum-cli/yumcommands.py", line 684, in doCommand
:    return base.search(extcmds)
:  File "/usr/share/yum-cli/cli.py", line 994, in search
:    for (po, keys, matched_value) in matching:
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2448, in searchGenerator
:    for sack in self.pkgSack.sacks.values():
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 859, in <lambda>
:    pkgSack = property(fget=lambda self: self._getSacks(),
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 645, in _getSacks
:    self.repos.populateSack(which=repos)
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 289, in populateSack
:    sack.populate(repo, mdtype, callback, cacheonly)
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 186, in populate
:    dobj = repo_cache_function(xml, csum)
:  File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 46, in getPrimary
:    self.repoid))
:TypeError: Parsing primary.xml error: Start tag expected, '<' not found

Comment 1 James Antill 2011-07-27 14:53:08 UTC
n/m ... misread the tracdeback, it's adobe: /var/tmp/yum-zeenix-bjg6IH/x86_64/15/adobe-linux-i386/primary.xml.gz

Comment 2 Zeeshan Ali 2011-08-17 22:25:58 UTC
Package: yum-3.2.29-8.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)

Comment
-----
$ yum search libvirt-glib

Comment 3 Zeeshan Ali 2011-08-17 22:26:39 UTC
Package: yum-3.2.29-8.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)

Comment
-----
$ yum search libvirt-glib

Comment 4 Fedora Admin XMLRPC Client 2012-04-27 15:40:08 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Zeeshan Ali 2012-04-28 03:01:54 UTC
I seriously doubt anyone would care about a Fedora 15 issue now so lets just please close it. Even if someone did all of a sudden cared, I won't have any motivation to verify fixes or attempt to provide more information..


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