Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936018 - app-accessibility/accerciser-3.42.0: ModuleNotFoundError: No module named 'imp'
Summary: app-accessibility/accerciser-3.42.0: ModuleNotFoundError: No module named 'imp'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-14 00:39 UTC by tusooa
Modified: 2024-07-16 07:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_936018.txt,9.71 KB, text/plain)
2024-07-14 00:40 UTC, tusooa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tusooa 2024-07-14 00:39:50 UTC
Unable to launch accerciser,

Reproducible: Always

Steps to Reproduce:
1. emerge accerciser
2. accerciser

Actual Results:  
] accerciser
Traceback (most recent call last):
  File "/usr/bin/accerciser", line 83, in <module>
    accerciser.main()
  File "/usr/lib/python3.12/site-packages/accerciser/__init__.py", line 34, in main
    from .accerciser import Main
  File "/usr/lib/python3.12/site-packages/accerciser/accerciser.py", line 29, in <module>
    from .plugin import PluginManager
  File "/usr/lib/python3.12/site-packages/accerciser/plugin/__init__.py", line 15, in <module>
    from .plugin_manager import PluginManager
  File "/usr/lib/python3.12/site-packages/accerciser/plugin/plugin_manager.py", line 21, in <module>
    from .view import ViewManager
  File "/usr/lib/python3.12/site-packages/accerciser/plugin/view.py", line 23, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

Expected Results:  
It should launch without errors

emerge --info is too large to be pasted here.

Installation process:

Dependency resolution took 8.04 s (backtrack: 0/20).

[ebuild  N     ] dev-python/traitlets-5.14.3::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 158 KiB
[ebuild  N     ] dev-python/pyasn1-0.6.0::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 145 KiB
[ebuild  N     ] dev-python/ptyprocess-0.7.0-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 70 KiB
[ebuild  N     ] dev-python/python-xlib-0.33::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 (-python3_13)" 209 KiB
[ebuild  N     ] dev-python/entrypoints-0.4::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 14 KiB
[ebuild  N     ] dev-python/tqdm-4.66.4::gentoo  USE="-examples -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 166 KiB
[ebuild  N     ] dev-python/automat-22.10.0::gentoo  USE="-examples -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 58 KiB
[ebuild  N     ] dev-python/constantly-23.10.4::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 31 KiB
[ebuild  N     ] dev-python/hyperlink-21.0.0-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 138 KiB
[ebuild  N     ] dev-python/incremental-22.10.0-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 18 KiB
[ebuild  N     ] dev-python/typing-extensions-4.12.2::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 84 KiB
[ebuild  N     ] dev-python/zope-interface-6.4_p2::gentoo  USE="-debug -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 288 KiB
[ebuild  N     ] dev-python/semantic-version-2.10.0::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 0 KiB
[ebuild  N     ] dev-python/overrides-7.7.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 23 KiB
[ebuild  N     ] dev-python/websocket-client-1.8.0::gentoo  USE="-examples -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 54 KiB
[ebuild  N     ] dev-python/hatch-jupyter-builder-0.9.1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 55 KiB
[ebuild  N     ] dev-python/hatch-nodejs-version-0.3.2::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 17 KiB
[ebuild  N     ] dev-python/bleach-6.1.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 198 KiB
[ebuild  N     ] dev-python/defusedxml-0.8.0_rc2::gentoo  USE="-examples" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 37 KiB
[ebuild  N     ] dev-python/jupyterlab-pygments-0.3.0::gentoo  PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 16 KiB
[ebuild  N     ] dev-python/mistune-3.0.2::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 89 KiB
[ebuild  N     ] dev-python/pandocfilters-1.5.1::gentoo  PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 9 KiB
[ebuild  N     ] dev-python/tinycss2-1.3.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 66 KiB
[ebuild  N     ] dev-python/python-json-logger-2.0.7::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 11 KiB
[ebuild  N     ] dev-python/argon2-cffi-bindings-21.2.0-r1::gentoo  USE="-debug -test" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 1,739 KiB
[ebuild  N     ] dev-python/sniffio-1.3.1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 17 KiB
[ebuild  N     ] dev-python/scikit-build-core-0.9.6::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 224 KiB
[ebuild  N     ] dev-python/nest-asyncio-1.6.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 8 KiB
[ebuild  N     ] dev-python/QtPy-2.4.1-r1::gentoo  USE="gui network opengl printsupport pyqt5 qml sql svg widgets xml -designer -help -multimedia -positioning -pyqt6 -pyside2 (-pyside6) -quick -sensors -serialport -speech -test -testlib -webchannel -webengine -websockets" PYTHON_TARGETS="python3_12 -python3_10 -python3_11" 64 KiB
[ebuild  N     ] dev-python/asttokens-2.4.1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 57 KiB
[ebuild  N     ] dev-python/executing-2.0.1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 818 KiB
[ebuild  N     ] dev-python/pure-eval-0.2.2::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 19 KiB
[ebuild  N     ] dev-python/wcwidth-0.2.13::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 99 KiB
[ebuild  N     ] dev-python/parso-0.8.4::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 389 KiB
[ebuild  N     ] dev-python/jupyter-core-5.7.2::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 86 KiB
[ebuild  N     ] dev-python/matplotlib-inline-0.1.7::gentoo  PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 8 KiB
[ebuild  N     ] dev-python/jedi-0.19.1::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 1,229 KiB
[ebuild  N     ] dev-python/pexpect-4.9.0::gentoo  USE="-doc -examples -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 163 KiB
[ebuild  N     ] dev-python/prompt-toolkit-3.0.47::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 416 KiB
[ebuild  N     ] dev-python/stack-data-0.6.3::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 44 KiB
[ebuild  N     ] dev-python/pyasn1-modules-0.4.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 301 KiB
[ebuild  N     ] dev-python/setuptools-rust-1.9.0-r1::gentoo  USE="-debug -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 0 KiB
[ebuild  N     ] dev-python/anyio-4.4.0-r1::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 161 KiB
[ebuild  N     ] dev-python/argon2-cffi-23.1.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 42 KiB
[ebuild  N     ] dev-python/jupyter-events-0.10.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 61 KiB
[ebuild  N     ] net-libs/zeromq-4.3.5-r1:0/5::gentoo  USE="libbsd sodium -doc -drafts -static-libs -test -unwind" 2,471 KiB
[ebuild  N     ] dev-python/comm-0.2.2::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 10 KiB
[ebuild  N     ] dev-python/pyzmq-26.0.3::gentoo  USE="-debug -drafts -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 263 KiB
[ebuild  N     ] dev-python/nbformat-5.10.4::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 140 KiB
[ebuild  N     ] dev-python/cryptography-42.0.8::gentoo  USE="-debug -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 723 KiB
[ebuild  N     ] dev-python/pyopenssl-24.1.0::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 176 KiB
[ebuild  N     ] dev-python/service-identity-24.1.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 40 KiB
[ebuild  N     ] dev-python/twisted-24.3.0::gentoo  USE="ssl -conch -http2 -serial -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 3,420 KiB
[ebuild  N     ] dev-python/tornado-6.4.1::gentoo  USE="-debug -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 489 KiB
[ebuild  N     ] dev-python/prometheus-client-0.20.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 77 KiB
[ebuild  N     ] dev-python/jupyter-client-8.6.2::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 334 KiB
[ebuild  N     ] dev-python/terminado-0.18.1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 32 KiB
[ebuild  N     ] dev-python/jupyter-server-terminals-0.5.3::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 31 KiB
[ebuild  N     ] dev-python/nbclient-0.10.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 61 KiB
[ebuild  N     ] dev-python/nbconvert-7.16.4::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 835 KiB
[ebuild  N     ] dev-python/jupyter-server-2.14.1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 703 KiB
[ebuild  N     ] dev-python/ipython-8.24.0::gentoo  USE="qt5 smp -doc -examples -nbconvert -notebook -test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 5,364 KiB
[ebuild  N     ] dev-python/ipykernel-6.29.4::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 160 KiB
[ebuild  N     ] dev-python/ipyparallel-8.8.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11" 6,642 KiB
[ebuild  N     ] dev-python/qtconsole-5.5.2::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11" 429 KiB
[ebuild  N     ] app-accessibility/accerciser-3.42.0::gentoo  PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 1,953 KiB

Total: 66 packages (66 new), Size of downloads: 32,223 KiB

Would you like to merge these packages? [Yes/No]
Comment 1 tusooa 2024-07-14 00:40:21 UTC
Created attachment 897555 [details]
emerge --info
Comment 3 Pacho Ramos gentoo-dev 2024-07-15 06:19:19 UTC
Thanks for the info

Strange, I think I tried to run it, but maybe I didn't launch the right version or something :/

I will look at it as soon as possible
Comment 4 Pacho Ramos gentoo-dev 2024-07-15 09:53:37 UTC
This would also be needed
https://gitlab.gnome.org/GNOME/accerciser/-/commit/825470a96722cf81b4fa6cd337c0280c0bf30b4b

But, sadly, only the first commit (the second looks the same as the first) applies... maybe we will need to use a snapshot (as done in Arch)
Comment 5 Larry the Git Cow gentoo-dev 2024-07-15 18:56:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8100d020e64eb91fd330a7b28e67370c737fb25

commit f8100d020e64eb91fd330a7b28e67370c737fb25
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-07-15 18:54:58 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-15 18:55:41 +0000

    app-accessibility/accerciser: Fix compat with python 3.12
    
    Thanks-to: tusooa
    Thanks-to: Sam James
    Bug: https://bugs.gentoo.org/936018
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../accerciser/accerciser-3.42.0-r1.ebuild         | 54 ++++++++++++++
 .../files/accerciser-3.42.0-imp-module.patch       | 83 ++++++++++++++++++++++
 2 files changed, 137 insertions(+)
Comment 6 Pacho Ramos gentoo-dev 2024-07-15 18:56:41 UTC
It seems to fix the bug for me. Can you please try it before I fast stabilize it?

Thanks!
Comment 7 tusooa 2024-07-16 00:05:26 UTC
(In reply to Pacho Ramos from comment #6)
> It seems to fix the bug for me. Can you please try it before I fast
> stabilize it?
> 
> Thanks!

Yes, it works for me. Thank you!
Comment 8 Larry the Git Cow gentoo-dev 2024-07-16 07:03:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d1f58865bf3a37c1e8aac027a9a0cb4ef890e8

commit 14d1f58865bf3a37c1e8aac027a9a0cb4ef890e8
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-07-16 07:02:52 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-16 07:03:04 +0000

    app-accessibility/accerciser: stabilize 3.42.0-r1 for ALLARCHES
    
    Closes: https://bugs.gentoo.org/936018
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-accessibility/accerciser/accerciser-3.42.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 07:03:41 UTC
(In reply to Pacho Ramos from comment #4)

(Ah, I think one was a merge commit.)

Thanks!