Bug 2246042
| Summary: | [abrt] thefuck: module(): conf.py:1:<module>:ModuleNotFoundError: No module named 'imp' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | son77391 | ||||||||||||||||
| Component: | thefuck | Assignee: | Arthur Bols <arthur> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | rawhide | CC: | arthur, mkreder, son77391 | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/b78ec0a81c1742ef93b1e73ed1a47e9583d6e5b | ||||||||||||||||||
| Whiteboard: | abrt_hash:5976aa1f6810cdf32d4b6b4b0e82f64a22c52e01;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | thefuck-3.32-11.fc40 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2024-01-25 15:00:30 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1995361 [details]
File: os_info
Created attachment 1995362 [details]
File: mountinfo
Created attachment 1995363 [details]
File: open_fds
Created attachment 1995364 [details]
File: namespaces
Created attachment 1995365 [details]
File: backtrace
Created attachment 1995366 [details]
File: cpuinfo
Created attachment 1995367 [details]
File: environ
FEDORA-2024-6cd733cb83 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-6cd733cb83 FEDORA-2024-6cd733cb83 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: thefuck 3.32 on rawhide causes: Traceback (most recent call last): File "/usr/bin/thefuck", line 5, in <module> from thefuck.entrypoints.main import main File "/usr/lib/python3.12/site-packages/thefuck/entrypoints/main.py", line 8, in <module> from .. import logs # noqa: E402 ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/thefuck/logs.py", line 8, in <module> from .conf import settings File "/usr/lib/python3.12/site-packages/thefuck/conf.py", line 1, in <module> from imp import load_source ModuleNotFoundError: No module named 'imp' ---- just install and run to reproduce bug. Version-Release number of selected component: thefuck-3.32-10.fc39 Additional info: reporter: libreport-2.17.11 kernel: 6.6.0-0.rc7.54.fc40.x86_64 cmdline: /usr/bin/python3 -sP /usr/bin/thefuck cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-2a0f0ef6-3783-4a67-b9bf-1efc5e0c2e92.scope uid: 1000 reason: conf.py:1:<module>:ModuleNotFoundError: No module named 'imp' executable: /usr/bin/thefuck type: Python3 package: thefuck-3.32-10.fc39 runlevel: N 5 exception_type: ModuleNotFoundError crash_function: module interpreter: python3-3.12.0-2.fc40.x86_64 Truncated backtrace: #1 [/usr/lib/python3.12/site-packages/thefuck/conf.py:1] <module> #2 [/usr/lib/python3.12/site-packages/thefuck/logs.py:8] <module> #3 [/usr/lib/python3.12/site-packages/thefuck/entrypoints/main.py:8] <module> #4 [/usr/bin/thefuck:5] <module>