Public bug reported: [What happened]
When login system from console, landscape-sysinfo error message pops up: $ /usr/bin/landscape-sysinfo Traceback (most recent call last): File "/usr/bin/landscape-sysinfo", line 22, in <module> run(sys.argv[1:], reactor) File "/usr/lib/python3/dist-packages/landscape/sysinfo/deployment.py", line 115, in run for plugin in config.get_plugins(): File "/usr/lib/python3/dist-packages/landscape/sysinfo/deployment.py", line 69, in get_plugins return [namedClass("landscape.sysinfo.%s.%s" File "/usr/lib/python3/dist-packages/landscape/sysinfo/deployment.py", line 69, in <listcomp> return [namedClass("landscape.sysinfo.%s.%s" File "/usr/lib/python3/dist-packages/twisted/python/reflect.py", line 169, in namedObject module = namedModule(".".join(classSplit[:-1])) File "/usr/lib/python3/dist-packages/twisted/python/reflect.py", line 156, in namedModule topLevel = __import__(name) File "/usr/lib/python3/dist-packages/landscape/sysinfo/disk.py", line 7, in <module> from landscape.lib.disk import (get_mount_info, get_filesystem_for_path) File "/usr/lib/python3/dist-packages/landscape/lib/disk.py", line 7, in <module> from twisted.python.compat import _PY3 ImportError: cannot import name '_PY3' from 'twisted.python.compat' (unknown location) [Release information] $ lsb_release -rd Description: Ubuntu Jammy Jellyfish (development branch) Release: 22.04 [Package version] $ apt-cache policy landscape-common python3-twisted landscape-common: Installed: 19.12-0ubuntu10 Candidate: 19.12-0ubuntu10 Version table: *** 19.12-0ubuntu10 500 500 http://nl.archive.ubuntu.com/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status python3-twisted: Installed: 22.1.0-2ubuntu2 Candidate: 22.1.0-2ubuntu2 Version table: *** 22.1.0-2ubuntu2 500 500 http://nl.archive.ubuntu.com/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status [Other information] Changelog mentioned removal of _PY3 constant https://changelogs.ubuntu.com/changelogs/pool/main/t/twisted/twisted_22.1.0-2ubuntu2/changelog Remove _PY3 from compat https://github.com/twisted/twisted/commit/f40c6ace36cab4f291f400e583258f940be75b44 ** Affects: landscape-client (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962539 Title: python3-twisted breaks landscape-sysinfo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1962539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs