Bug 2231593

Summary: [abrt] python3-argcomplete: __getitem__(): __init__.py:287:__getitem__:KeyError: 'console_scripts'
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: python-argcompleteAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: droidbittin, igor.raits, mfabik, mhroncok, msrb, mtasaka, python-packagers-sig, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f9ccacd9d3cfa5fcbb63747e419fb0b54c31fab
Whiteboard: abrt_hash:3691f92589ce3b3ab9c1feb283915dd5541cec28;VARIANT_ID=;
Fixed In Version: python-argcomplete-2.0.0-11.fc40 python-argcomplete-2.0.0-11.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 05:24:37 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:
Description Flags
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: os_info
none
File: cpuinfo none

Description Mamoru TASAKA 2023-08-12 08:33:55 UTC
Description of problem:
1. launch a new terminal (such as gnome-terminal)
2. On new terminal, type $ koji <tab><tab>

Then this backtrace occurrs (100% reproducible)

koji-1.33.1-2.fc39.noarch
python3-argcomplete-2.0.0-10.fc39.noarch

Version-Release number of selected component:
python3-argcomplete-2.0.0-10.fc39

Additional info:
reporter:       libreport-2.17.11
runlevel:       N 5
interpreter:    python3-3.12.0~rc1-1.fc39.x86_64
reason:         __init__.py:287:__getitem__:KeyError: 'console_scripts'
exception_type: StopIteration
crash_function: __getitem__
cmdline:        /usr/bin/python3 -m argcomplete._check_console_script /bin/koji
type:           Python3
kernel:         6.4.9-200.fc38.x86_64
cgroup:         0::/user.slice/user-500.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-df5ed674-d1c2-4411-876d-8022134f2db2.scope
uid:            500
executable:     /usr/lib/python3.12/site-packages/argcomplete/_check_console_script.py
package:        python3-argcomplete-2.0.0-10.fc39

Truncated backtrace:
#1 [/usr/lib64/python3.12/importlib/metadata/__init__.py:285] __getitem__


Potential duplicate: bug 2231589

Comment 1 Mamoru TASAKA 2023-08-12 08:33:59 UTC
Created attachment 1983100 [details]
File: environ

Comment 2 Mamoru TASAKA 2023-08-12 08:34:01 UTC
Created attachment 1983101 [details]
File: mountinfo

Comment 3 Mamoru TASAKA 2023-08-12 08:34:02 UTC
Created attachment 1983102 [details]
File: open_fds

Comment 4 Mamoru TASAKA 2023-08-12 08:34:04 UTC
Created attachment 1983103 [details]
File: namespaces

Comment 5 Mamoru TASAKA 2023-08-12 08:34:06 UTC
Created attachment 1983104 [details]
File: backtrace

Comment 6 Mamoru TASAKA 2023-08-12 08:34:07 UTC
Created attachment 1983105 [details]
File: os_info

Comment 7 Mamoru TASAKA 2023-08-12 08:34:08 UTC
Created attachment 1983106 [details]
File: cpuinfo

Comment 9 Miro Hrončok 2023-08-13 17:58:11 UTC
*** Bug 2231589 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Update System 2023-08-14 04:13:50 UTC
FEDORA-2023-530e9e4567 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-530e9e4567

Comment 12 Fedora Update System 2023-08-14 04:14:35 UTC
FEDORA-2023-237c202647 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-237c202647

Comment 13 Fedora Update System 2023-08-14 05:24:37 UTC
FEDORA-2023-237c202647 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-08-14 05:45:36 UTC
FEDORA-2023-530e9e4567 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.