Bug 1601763 - [abrt] python3-argcomplete: find(): _check_module.py:26:find:AttributeError: 'NoneType' object has no attribute 'has_location'
Summary: [abrt] python3-argcomplete: find(): _check_module.py:26:find:AttributeError: ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-argcomplete
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ebfc98b1a9adbdf3ec779b7ac1a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-17 08:09 UTC by Kamil Páral
Modified: 2018-09-24 12:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-24 12:14:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (816 bytes, text/plain)
2018-07-17 08:09 UTC, Kamil Páral
no flags Details
File: cgroup (399 bytes, text/plain)
2018-07-17 08:09 UTC, Kamil Páral
no flags Details
File: cpuinfo (1.31 KB, text/plain)
2018-07-17 08:09 UTC, Kamil Páral
no flags Details
File: environ (6.49 KB, text/plain)
2018-07-17 08:09 UTC, Kamil Páral
no flags Details
File: mountinfo (4.11 KB, text/plain)
2018-07-17 08:09 UTC, Kamil Páral
no flags Details
File: namespaces (129 bytes, text/plain)
2018-07-17 08:10 UTC, Kamil Páral
no flags Details
File: open_fds (242 bytes, text/plain)
2018-07-17 08:10 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1608306 0 unspecified CLOSED Nonresponsive maintainer: dbmacartney 2021-02-22 00:41:40 UTC

Internal Links: 1608306

Description Kamil Páral 2018-07-17 08:09:47 UTC
Version-Release number of selected component:
python3-argcomplete-1.9.3-3.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        python3 -m argcomplete._check_module py_comp
crash_function: find
exception_type: AttributeError
executable:     /usr/lib/python3.6/site-packages/argcomplete/_check_module.py
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.17.6-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
_check_module.py:26:find:AttributeError: 'NoneType' object has no attribute 'has_location'

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.6/site-packages/argcomplete/_check_module.py", line 49, in <module>
    main()
  File "/usr/lib/python3.6/site-packages/argcomplete/_check_module.py", line 42, in main
    with open(find(sys.argv[1])) as f:
  File "/usr/lib/python3.6/site-packages/argcomplete/_check_module.py", line 26, in find
    if not spec.has_location:
AttributeError: 'NoneType' object has no attribute 'has_location'

Local variables in innermost frame:
spec: None
names: ['py_comp']
name: 'py_comp'

Comment 1 Kamil Páral 2018-07-17 08:09:53 UTC
Created attachment 1459339 [details]
File: backtrace

Comment 2 Kamil Páral 2018-07-17 08:09:55 UTC
Created attachment 1459340 [details]
File: cgroup

Comment 3 Kamil Páral 2018-07-17 08:09:56 UTC
Created attachment 1459341 [details]
File: cpuinfo

Comment 4 Kamil Páral 2018-07-17 08:09:58 UTC
Created attachment 1459342 [details]
File: environ

Comment 5 Kamil Páral 2018-07-17 08:09:59 UTC
Created attachment 1459343 [details]
File: mountinfo

Comment 6 Kamil Páral 2018-07-17 08:10:00 UTC
Created attachment 1459344 [details]
File: namespaces

Comment 7 Kamil Páral 2018-07-17 08:10:01 UTC
Created attachment 1459345 [details]
File: open_fds

Comment 8 Miro Hrončok 2018-08-20 17:21:08 UTC
Kamil, I just got this package. IS this still happening? What's the reproducer?

Comment 9 Kamil Páral 2018-08-21 09:02:16 UTC
Honestly I have no idea how to reproduce this :/


Note You need to log in before you can comment on or make changes to this bug.