ubuntu-release-upgrader crashed with AttributeError: '_NamespacePath' object has no attribute 'sort'
Bug #1805475 reported by
errors.ubuntu.com bug bridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding ubuntu-
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Related branches
tags: | added: id-5b9990d6fe01f14b2d650413 |
To post a comment you must log in.
The traceback happens when importing computer janitor code which no longer need.
Traceback (most recent call last): release- upgrader- lj_9ymon/ bionic" , line 8, in <module> exit(main( )) release- upgrader- lj_9ymon/ DistUpgrade/ DistUpgradeMain .py", line 224, in main troller import DistUpgradeCont roller release- upgrader- lj_9ymon/ DistUpgrade/ DistUpgradeCont roller. py", line 52, in <module> release- upgrader- lj_9ymon/ DistUpgrade/ DistUpgradeQuir ks.py", line 36, in <module> plugincore. manager import PluginManager release- upgrader- lj_9ymon/ janitor/ __init_ _.py", line 20, in <module> python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2927, in <module> python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2913, in _call_aside python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2952, in _initialize_ master_ working_ set activation_ listener( lambda dist: dist.activate()) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 956, in subscribe python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2952, in <lambda> activation_ listener( lambda dist: dist.activate()) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2515, in activate namespace( pkg) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2097, in declare_namespace ns(packageName, path_item) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2047, in _handle_ns mod_path( path, packageName, module) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2066, in _rebuild_mod_path path.sort( key=position_ in_sys_ path)
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
from .DistUpgradeCon
File "/tmp/ubuntu-
from .DistUpgradeQuirks import DistUpgradeQuirks
File "/tmp/ubuntu-
from janitor.
File "/tmp/ubuntu-
import pkg_resources
File "/usr/lib/
@_call_aside
File "/usr/lib/
f(*args, **kwargs)
File "/usr/lib/
add_
File "/usr/lib/
callback(dist)
File "/usr/lib/
add_
File "/usr/lib/
declare_
File "/usr/lib/
_handle_
File "/usr/lib/
_rebuild_
File "/usr/lib/
orig_
AttributeError: '_NamespacePath' object has no attribute 'sort'