Bug 17891 - Yum yielding an invalid syntax error in /usr/lib/yum-plugins/filter-data.py
Summary: Yum yielding an invalid syntax error in /usr/lib/yum-plugins/filter-data.py
Status: RESOLVED NOTOURBUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 17559
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-03 11:28 UTC by wwbowles
Modified: 2008-10-13 06:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wwbowles 2008-10-03 11:28:35 UTC
+++ This bug was initially created as a clone of Bug #17559 +++

The package kit stops giving an message that an error has occurred, and pointing out to file a bug at bugs.freedesktop.org. It does not give any other clue though. Then I tried using yum at the console. Any command configuration with yum (install, list, etc.) yields the following error:
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 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 84, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
    enabled_plugins=self.optparser._splitArg(opts.enableplugins))
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 189, in _getConfig
    startupconf.pluginconfpath,disabled_plugins,enabled_plugins)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 355, in doPluginSetup
    plugin_types, confpath, disabled_plugins, enabled_plugins)
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 152, in __init__
    self._importplugins(types)
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 195, in _importplugins
    self._loadplugin(modulefile, types)
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 251, in _loadplugin
    module = imp.load_module(modname, fp, pathname, description)
  File "/usr/lib/yum-plugins/filter-data.py", line 111
    ('committers', 'committer')]
                               ^
SyntaxError: invalid syntax

I'm using a Fedora 9 fully updated system. The installed version of package-kit is yum-packagekit-0.2.5-1.fc9.i386, and the installed version of yum is yum-3.2.19-3.fc9.noarch.
cpu = pentium 4 2.4 GHZ
RAM = 512 Meg
Comment 1 Richard Hughes 2008-10-13 06:41:13 UTC
Please disable yum-filter-data -- it's buggy.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.