Date: Wed, 10 Jul 2024 17:31:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280219] sysutils/iocage: "AttributeError: module 'collections' has no attribute 'Iterable'" Message-ID: <bug-280219-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280219 Bug ID: 280219 Summary: sysutils/iocage: "AttributeError: module 'collections' has no attribute 'Iterable'" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: grembo@FreeBSD.org Reporter: asomers@FreeBSD.org Assignee: grembo@FreeBSD.org Flags: maintainer-feedback?(grembo@FreeBSD.org) While running with Python 3.11, when reporting certain errors, iocage will crash like this: $ sudo iocage update JAIL ***************************************************************************= *****=20 fdescfs(5) is not mounted, performance may suffer. Please run:=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 mount -t fdescfs null /dev/fd=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 You can also permanently mount it in /etc/fstab with the following entry:= =20=20=20=20=20=20=20 fdescfs /dev/fd fdescfs rw 0 0=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 ***************************************************************************= *****=20 Snapshot: zroot/iocage/jails/JAIL@ioc_update_RELEASE_2024-07-10_17-11-26 created.=20 Updating jail...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 * Updating JAIL to the latest patch level...=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 tmp48o54bff: Cannot upgrade from a version that is not a release=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 (including alpha, beta and release candidates)=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 using tmp48o54bff. Instead, FreeBSD can be directly=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 upgraded by source or upgraded to a RELEASE/RELENG version=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 prior to running tmp48o54bff. Currently running: RELEASE Traceback (most recent call last): File "/usr/local/bin/iocage", line 10, in <module> sys.exit(cli()) ^^^^^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, = in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, = in main rv =3D self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, = in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, = in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/iocage_cli/update.py", line= 53, in cli ioc.IOCage(jail=3Djail, skip_jails=3Dskip_jails).update(**kwargs) File "/usr/local/lib/python3.11/site-packages/iocage_lib/iocage.py", line 2076, in update ioc_fetch.IOCFetch( File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_fetch.py", l= ine 917, in fetch_update iocage_lib.ioc_common.consume_and_log( File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_common.py", = line 904, in consume_and_log for output in filter(lambda o: any(v for v in o), exec_gen): File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_exec.py", li= ne 259, in exec_jail raise iocage_lib.ioc_exceptions.CommandFailed( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/iocage_lib/ioc_exceptions.p= y", line 34, in __init__ collections.Iterable AttributeError: module 'collections' has no attribute 'Iterable' --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280219-7788>