Bug 1752021 - [abrt] bash-completion: CTETest(): test_cte.py:114:CTETest:AttributeError: 'NoneType' object has no attribute 'ctes_with_update_delete'
Summary: [abrt] bash-completion: CTETest(): test_cte.py:114:CTETest:AttributeError: 'N...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Siteshwar Vashisht
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:83c08721b41c6ff16abb7ba33ff...
: 1827923 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-13 13:12 UTC by Matej Grabovsky
Modified: 2020-05-26 18:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 18:43:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.69 KB, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details
File: cgroup (399 bytes, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details
File: cpuinfo (1.48 KB, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details
File: environ (6.98 KB, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details
File: mountinfo (6.01 KB, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details
File: namespaces (129 bytes, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details
File: open_fds (511 bytes, text/plain)
2019-09-13 13:12 UTC, Matej Grabovsky
no flags Details

Description Matej Grabovsky 2019-09-13 13:12:13 UTC
Description of problem:
Tried to Tab-complete `pylint-3 test` in a directory containing the file `test.py`

Version-Release number of selected component:
1:bash-completion-2.8-6.fc30

Additional info:
reporter:       libreport-2.10.1
cmdline:        python3 /usr/share//bash-completion/completions/../helpers/python test.
crash_function: CTETest
exception_type: AttributeError
executable:     /usr/share/bash-completion/helpers/python
interpreter:    python3-3.7.4-1.fc30.x86_64
kernel:         5.2.13-200.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
test_cte.py:114:CTETest:AttributeError: 'NoneType' object has no attribute 'ctes_with_update_delete'

Traceback (most recent call last):
  File "/usr/share//bash-completion/completions/../helpers/python", line 13, in <module>
    for mod in walker():
  File "/usr/lib64/python3.7/pkgutil.py", line 107, in walk_packages
    yield from walk_packages(path, info.name+'.', onerror)
  File "/usr/lib64/python3.7/pkgutil.py", line 107, in walk_packages
    yield from walk_packages(path, info.name+'.', onerror)
  File "/usr/lib64/python3.7/pkgutil.py", line 92, in walk_packages
    __import__(info.name)
  File "/usr/lib64/python3.7/site-packages/sqlalchemy/testing/suite/__init__.py", line 1, in <module>
    from .test_cte import *  # noqa
  File "/usr/lib64/python3.7/site-packages/sqlalchemy/testing/suite/test_cte.py", line 13, in <module>
    class CTETest(fixtures.TablesTest):
  File "/usr/lib64/python3.7/site-packages/sqlalchemy/testing/suite/test_cte.py", line 114, in CTETest
    @testing.requires.ctes_with_update_delete
AttributeError: 'NoneType' object has no attribute 'ctes_with_update_delete'

Local variables in innermost frame:
__module__: 'sqlalchemy.testing.suite.test_cte'
__qualname__: 'CTETest'
__backend__: True
__requires__: ('ctes',)
run_inserts: 'each'
run_deletes: 'each'
define_tables: <classmethod object at 0x7ff5cf1d5d10>
insert_data: <classmethod object at 0x7ff5cf1cf110>
test_select_nonrecursive_round_trip: <function CTETest.test_select_nonrecursive_round_trip at 0x7ff5cf1d2cb0>
test_select_recursive_round_trip: <function CTETest.test_select_recursive_round_trip at 0x7ff5cf1d6ef0>
test_insert_from_select_round_trip: <function CTETest.test_insert_from_select_round_trip at 0x7ff5cf1d6950>

Comment 1 Matej Grabovsky 2019-09-13 13:12:16 UTC
Created attachment 1614867 [details]
File: backtrace

Comment 2 Matej Grabovsky 2019-09-13 13:12:17 UTC
Created attachment 1614868 [details]
File: cgroup

Comment 3 Matej Grabovsky 2019-09-13 13:12:18 UTC
Created attachment 1614869 [details]
File: cpuinfo

Comment 4 Matej Grabovsky 2019-09-13 13:12:20 UTC
Created attachment 1614870 [details]
File: environ

Comment 5 Matej Grabovsky 2019-09-13 13:12:21 UTC
Created attachment 1614871 [details]
File: mountinfo

Comment 6 Matej Grabovsky 2019-09-13 13:12:22 UTC
Created attachment 1614872 [details]
File: namespaces

Comment 7 Matej Grabovsky 2019-09-13 13:12:23 UTC
Created attachment 1614873 [details]
File: open_fds

Comment 8 Jeff Raber 2020-04-25 16:02:41 UTC
*** Bug 1827923 has been marked as a duplicate of this bug. ***

Comment 9 Ben Cotton 2020-04-30 20:11:31 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-05-26 18:43:29 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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