Bug 386651 - crash with planetccrma repository
Summary: crash with planetccrma repository
Status: CLOSED DUPLICATE of bug 252136
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: 7
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-11-16 11:41 UTC by Paolo Patruno
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-11-19 19:20:55 UTC

Attachments (Terms of Use)
crash after yum clean all (732.64 KB, application/octet-stream)
2007-11-19 18:45 UTC, Paolo Patruno
no flags Details

Description Paolo Patruno 2007-11-16 11:41:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv: Gecko/20071105 Fedora/ Firefox/

Description of problem:
When I work after activation of planet ccrma repository I get this fatal error

Component: pirut
Summary: TB2c94d51b yumRepo.py:175:populate:AttributeError: cacheHandler

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 392, in _setApply
    if len(self.tsInfo) == 0:
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 535, in <lambda>
    tsInfo = property(fget=lambda self: self._getTsInfo(),
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 83, in _getTsInfo
    self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 381, in _getSacks
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 242, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 175, in populate
    del repo.cacheHandler
AttributeError: cacheHandler

Local variables in innermost frame:
xml: //var/cache/yum/planetccrma/primary.xml.gz
repo_cache_function: <bound method RepodataParserSqlite.getPrimary of <sqlitecachec.RepodataParserSqlite instance at 0xa5dc34c>>
mymdtype: primary
mydbtype: primary_db
self: <yum.sqlitesack.YumSqlitePackageSack object at 0xff19b8c>
repo_get_function: <bound method YumRepository.getPrimaryXML of <yum.yumRepo.YumRepository object at 0x8648e4c>>
ctype: sha
mdtype: metadata
repo: planetccrma
item: metadata
callback: None
xmldata: <yum.repoMDObject.RepoData instance at 0xfe402cc>
csum: 5151fc143b5090830a17fa14b075e1d40f8d3936
data: ['metadata']
cacheonly: 0
db_fn: None

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.open pirut
2.add ccrma repository
# Planet CCRMA repositories
in /etc/yum.repos.d/planetccrma.repo
name=Planet CCRMA 7 - i386
enabled = 1

name=Planet CCRMA Core 7 - i386
enabled = 1


Actual Results:
pirut crash

Expected Results:

Additional info:
I get other fatal error with trace if needed

Comment 1 Jeremy Katz 2007-11-16 16:06:41 UTC
Can you download the pirut package from updates-testing and see if it helps
  yum --enablerepo=updates-testing update pirut

Comment 2 Paolo Patruno 2007-11-16 22:13:38 UTC
I am sorry but I cannot find pirut in updates-testing.

Comment 3 Jeremy Katz 2007-11-19 16:10:45 UTC
Whoops, I forgot I had pushed the package to the main updates repo the first of
the week.  And it looks like you already have it installed.

Does this happen reliably?  Can you try doing 'yum clean planetccrma' and see if
it helps?

Comment 4 Paolo Patruno 2007-11-19 18:45:33 UTC
Created attachment 263791 [details]
crash after yum clean all

Comment 5 Paolo Patruno 2007-11-19 18:47:44 UTC
The problem depends from LANG setting

rpm -q pirut

yum clean all

echo $LANG

I get the crash documentated in the attachment

if I unset LANG pirut works well !!

Comment 6 Jeremy Katz 2007-11-19 19:20:55 UTC

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

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