Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 485006

Summary: sys-apps/portage-2.2.5 traceback on any operation - TypeError: unorderable types: NoneType() < str()
Product: Portage Development Reporter: Michael Palimaka (kensington) <kensington>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS, REGRESSION
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484436    

Description Michael Palimaka (kensington) gentoo-dev 2013-09-15 13:56:53 UTC
Since 2.2.5, any portage operation instantly fails with this traceback:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1015, in emerge_main
    action=myaction, args=myfiles, opts=myopts)
  File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3226, in load_emerge_config
    **portage._native_kwargs(kwargs))
  File "/usr/lib64/portage/pym/portage/__init__.py", line 582, in create_trees
    env=env, eprefix=eprefix)
  File "/usr/lib64/portage/pym/portage/package/ebuild/config.py", line 519, in __init__
    self['PORTAGE_REPOSITORIES'] = self.repositories.config_string()
  File "/usr/lib64/portage/pym/portage/repository/config.py", line 920, in config_string
    for repo_name, repo in sorted(self.prepos.items()):
TypeError: unorderable types: NoneType() < str()
Comment 2 Zac Medico gentoo-dev 2013-09-15 14:21:56 UTC
This is fixed in 2.2.6.