Bug 749108 - [abrt] yum-3.4.3-5.fc16: misc.py:1091:decompress:AttributeError: 'NoneType' object has no attribute 'endswith'
Summary: [abrt] yum-3.4.3-5.fc16: misc.py:1091:decompress:AttributeError: 'NoneType' o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-langpacks
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c19cd6c1ffa35fab0466571e01a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-26 08:29 UTC by Nick Cross
Modified: 2014-01-21 23:20 UTC (History)
11 users (show)

Fixed In Version: yum-langpacks-0.2.4-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-05 01:22:23 UTC
Type: ---


Attachments (Terms of Use)
a patch against yum-langpacks-0.2.3 (858 bytes, patch)
2011-10-26 13:26 UTC, Zdeněk Pavlas
no flags Details | Diff

Description Nick Cross 2011-10-26 08:29:07 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        /usr/bin/python /usr/bin/yum search libbooost
comment:        Searching for package
executable:     /usr/bin/yum
kernel:         3.1.0-0.rc10.git0.1.fc16.x86_64
reason:         misc.py:1091:decompress:AttributeError: 'NoneType' object has no attribute 'endswith'
time:           Wed Oct 26 09:20:34 2011
uid:            1000
username:       rnc

backtrace:
:misc.py:1091:decompress:AttributeError: 'NoneType' object has no attribute 'endswith'
:
: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 309, in user_main
:    errcode = main(args)
:  File "/usr/share/yum-cli/yummain.py", line 140, in main
:    result, resultmsgs = base.doCommands()
:  File "/usr/share/yum-cli/cli.py", line 462, in doCommands
:    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
:  File "/usr/share/yum-cli/yumcommands.py", line 1258, in doCommand
:    return base.search(extcmds)
:  File "/usr/share/yum-cli/cli.py", line 1184, in search
:    for (po, keys, matched_value) in matching:
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2530, in searchGenerator
:    for sack in self.pkgSack.sacks.values():
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 892, in <lambda>
:    pkgSack = property(fget=lambda self: self._getSacks(),
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 673, in _getSacks
:    self.repos.populateSack(which=repos)
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 265, in populateSack
:    self.doSetup()
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 92, in doSetup
:    self.ayum.plugins.run('postreposetup')
:  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 184, in run
:    func(conduitcls(self, self.base, conf, **kwargs))
:  File "/usr/lib/yum-plugins/langpacks.py", line 76, in postreposetup_hook
:    infile = yum.misc.decompress(infile)
:  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1091, in decompress
:    if filename.endswith('.gz'):
:AttributeError: 'NoneType' object has no attribute 'endswith'
:
:Local variables in innermost frame:
:check_timestamps: False
:dest: None
:filename: None
:fn_only: False
:out: None

Comment 1 Zdeněk Pavlas 2011-10-26 12:55:39 UTC
Submitted a patch.  F16 ships 0.2.3 but master at git.fedorahosted.org/git/yum-langpacks.git is at 0.2.2 (?)

Comment 2 Zdeněk Pavlas 2011-10-26 13:26:32 UTC
Created attachment 530282 [details]
a patch against yum-langpacks-0.2.3

Comment 3 Fedora Update System 2011-10-26 15:16:09 UTC
yum-langpacks-0.2.4-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/FEDORA-2011-14870

Comment 4 Fedora Update System 2011-10-26 15:18:26 UTC
yum-langpacks-0.2.4-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/yum-langpacks-0.2.4-1.fc15

Comment 5 Fedora Update System 2011-10-26 19:04:39 UTC
Package yum-langpacks-0.2.4-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-langpacks-0.2.4-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14870
then log in and leave karma (feedback).

Comment 6 Nicolas Corrarello 2011-10-27 19:00:06 UTC
Package: yum-3.4.3-5.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
yum --enablerepo=updates-testing list updates

Comment 7 Maciek Borzecki 2011-10-30 21:50:18 UTC
Package: yum-3.4.3-5.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
Yum was running a 'provides' command when my wireless link failed. Then, for each mirror I got trying another mirror message. Once the list of all mirrors was exhaused, an exception popped up.

Comment 8 Fedora Update System 2011-11-05 01:22:23 UTC
yum-langpacks-0.2.4-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-11-14 22:23:23 UTC
yum-langpacks-0.2.4-1.fc15 has been pushed to the Fedora 15 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.