Summary: | sys-apps/portage-2.3.40: PollSelectAdapter has no attribute close | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Fabian Groffen <grobian> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | prefix |
Priority: | Normal | ||
Version: | 2.2 | ||
Hardware: | PPC | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 651804 |
Description
Fabian Groffen
2018-05-28 15:08:56 UTC
I solved this by changing the getattr call like this: close = getattr(self._poll_obj, 'close', None) (e.g. adding the default value of None, so the next if handles the case) seems this is already fixed in https://gitweb.gentoo.org/proj/portage.git/commit/?id=4fb5ef2ce2cb27ae155a25bfa5a4666597afb6ac crap, thanks. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=4fb5ef2ce2cb27ae155a25bfa5a4666597afb6ac commit 4fb5ef2ce2cb27ae155a25bfa5a4666597afb6ac Author: Zac Medico <zmedico@gentoo.org> Date: 2018-05-26 13:20:06 -0700 EventLoop.close: fix 'AttributeError: close' for python2 For python2 without epoll, fix handling of missing 'close' attribute on self._poll_obj. Fixes: 4095be74985c ("Add ForkExecutor (bug 649588)") Reported-by: Brian Evans <grknight@gentoo.org> pym/portage/util/_eventloop/EventLoop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba3bcfcfb90e683e504881d24b6bed496ad65b1 commit 4ba3bcfcfb90e683e504881d24b6bed496ad65b1 Author: Zac Medico <zmedico@gentoo.org> Date: 2018-05-26 13:42:25 -0700 sys-apps/portage: fix 'AttributeError: close' for python2 without epoll See: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4fb5ef2ce2cb27ae155a25bfa5a4666597afb6ac Reported-by: Brian Evans <grknight@gentoo.org> Package-Manager: Portage-2.3.40, Repoman-2.3.9 sys-apps/portage/portage-2.3.40.ebuild | 4 ++++ 1 file changed, 4 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe44e894ae844ab8768dfd5584506750d0be297 commit cfe44e894ae844ab8768dfd5584506750d0be297 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-06-06 16:26:12 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-06-06 16:27:21 +0000 sys-apps/portage: 2.3.40-r1 revbump for regression fixes Fixes: https://bugs.gentoo.org/656610 Fixes: https://bugs.gentoo.org/656750 Fixes: https://bugs.gentoo.org/656942 Fixes: https://bugs.gentoo.org/657360 Fixes: https://bugs.gentoo.org/657420 Fixes: https://bugs.gentoo.org/657436 Package-Manager: Portage-2.3.40, Repoman-2.3.9 sys-apps/portage/{portage-2.3.40.ebuild => portage-2.3.40-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) |