From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93FD61382C5 for ; Fri, 18 Jun 2021 11:20:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D091E0821; Fri, 18 Jun 2021 11:20:41 +0000 (UTC) Received: from covici.com (debian-2.covici.com [166.84.7.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29995E078A for ; Fri, 18 Jun 2021 11:20:40 +0000 (UTC) Received: from ccs.covici.com (ccs.covici.com [70.109.53.110]) (authenticated bits=0) by covici.com (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPSA id 15IBJbqB004277 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 18 Jun 2021 07:19:39 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.15.2/8.15.2) with ESMTPS id 15IBKTHx1054185 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 18 Jun 2021 07:20:29 -0400 Received: (from covici@localhost) by ccs.covici.com (8.15.2/8.15.2/Submit) id 15IBKTPu1054184; Fri, 18 Jun 2021 07:20:29 -0400 Date: Fri, 18 Jun 2021 07:20:29 -0400 Message-ID: From: John Covici To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Python-3.9 and emerge problems In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/27 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Covici Computer Systems Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Archives-Salt: 230bb3f7-1255-400f-a16f-9cb18af3c80d X-Archives-Hash: 78a96d9f138c83f19e77df03a8b425d1 On Fri, 18 Jun 2021 05:46:27 -0400, Jacques Montier wrote: > > [1 ] > [1.1 ] > Hello all, > > This morning : > > #emerge --sync > #emerge --oneshot sys-apps/portage > #emerge -auvDN --with-bdeps=y --keep-going world > > I get these errors : > > Traceback (most recent call last): > File "/usr/lib/python-exec/python3.9/emerge", line 51, in > retval = emerge_main() > File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 1319, in > emerge_main > return run_action(emerge_config) > File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line 3392, in > run_action > retval = action_build(emerge_config, spinner=spinner) > File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line 354, in > action_build > success, mydepgraph, favorites = backtrack_depgraph( > File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 10005, > in backtrack_depgraph > return _backtrack_depgraph(settings, trees, myopts, myparams, > File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 10043, > in _backtrack_depgraph > success, favorites = mydepgraph.select_files(myfiles) > File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 4055, > in select_files > return self._select_files(args) > File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 4189, > in _select_files > set_atoms = root_config.setconfig.getSetAtoms(s) > File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py", line > 271, in getSetAtoms > myatoms.update(self.getSetAtoms(s, > File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py", line > 271, in getSetAtoms > myatoms.update(self.getSetAtoms(s, > File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py", line > 260, in getSetAtoms > myatoms = myset.getAtoms() > File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line 58, > in getAtoms > self._load() > File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line 53, > in _load > self.load() > File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line 111, > in load > self._setAtoms(self.mapPathsToAtoms(self._files, > File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line 83, > in mapPathsToAtoms > for p in exclude_paths: > TypeError: 'NoneType' object is not iterable > > And i can't do anything else... > > I see that python-3.8 has gone away > # eselect python list > Available Python interpreters, in order of preference: > [1] python3.9 > > emerge --info file attached > > I don't really know what to do. > Any idea ? > > Thanks a lot in advance, ... I got a similar error -- I have a strange idea about this -- see if you have any instances ofthread.isAlive( in portage or anywhere else in your python3.9 -- if you do you need to change them to thread.is_alive( ... python changed the name and I don't think some people got the message -- apparently it has been depricated for quite a while now. Just a wild guess. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com