Bug 1608854 - [abrt] python3-flake8: __getattr__(): application.py:353:run:AttributeError: 'NoneType' object has no attribute '_force_cleanup'
Summary: [abrt] python3-flake8: __getattr__(): application.py:353:run:AttributeError: ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-flake8
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ce84160a940490b8d6efe72aa7c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-26 11:51 UTC by Edgar Hoch
Modified: 2019-05-28 21:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 21:57:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.21 KB, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details
File: cgroup (331 bytes, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details
File: cpuinfo (1.51 KB, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details
File: environ (11.40 KB, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details
File: mountinfo (6.41 KB, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details
File: namespaces (129 bytes, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details
File: open_fds (251 bytes, text/plain)
2018-07-26 11:51 UTC, Edgar Hoch
no flags Details

Description Edgar Hoch 2018-07-26 11:51:38 UTC
Description of problem:


Version-Release number of selected component:
python3-flake8-3.4.1-3.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/flake8 join_suffix.py
crash_function: __getattr__
exception_type: AttributeError
executable:     /usr/bin/flake8
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.17.5-200.fc28.x86_64
runlevel:       N 3
type:           Python3
uid:            1801

Truncated backtrace:
application.py:353:run:AttributeError: 'NoneType' object has no attribute '_force_cleanup'

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2705, in get_entry_map
    ep_map = self._ep_map
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2663, in __getattr__
    raise AttributeError(attr)
AttributeError: _ep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/flake8/main/application.py", line 348, in run
    self._run(argv)
  File "/usr/lib/python3.6/site-packages/flake8/main/application.py", line 335, in _run
    self.initialize(argv)
  File "/usr/lib/python3.6/site-packages/flake8/main/application.py", line 317, in initialize
    self.find_plugins()
  File "/usr/lib/python3.6/site-packages/flake8/main/application.py", line 139, in find_plugins
    self.check_plugins = plugin_manager.Checkers()
  File "/usr/lib/python3.6/site-packages/flake8/plugins/manager.py", line 334, in __init__
    self.manager = PluginManager(self.namespace)
  File "/usr/lib/python3.6/site-packages/flake8/plugins/manager.py", line 252, in __init__
    self._load_all_plugins()
  File "/usr/lib/python3.6/site-packages/flake8/plugins/manager.py", line 256, in _load_all_plugins
    for entry_point in pkg_resources.iter_entry_points(self.namespace):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 641, in iter_entry_points
    entries = dist.get_entry_map(group)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2708, in get_entry_map
    self._get_metadata('entry_points.txt'), self
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2402, in parse_map
    for group, lines in data:
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3043, in split_sections
    for line in yield_lines(s):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2262, in yield_lines
    for ss in strs:
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2621, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1404, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1400, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1513, in _get
    return stream.read()
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/flake8", line 11, in <module>
    load_entry_point('flake8==3.4.1', 'console_scripts', 'flake8')()
  File "/usr/lib/python3.6/site-packages/flake8/main/cli.py", line 16, in main
    app.run(argv)
  File "/usr/lib/python3.6/site-packages/flake8/main/application.py", line 353, in run
    self.file_checker_manager._force_cleanup()
AttributeError: 'NoneType' object has no attribute '_force_cleanup'

Local variables in innermost frame:
argv: None
self: <flake8.main.application.Application object at 0x7f5f58bff5c0>

Comment 1 Edgar Hoch 2018-07-26 11:51:43 UTC
Created attachment 1470704 [details]
File: backtrace

Comment 2 Edgar Hoch 2018-07-26 11:51:45 UTC
Created attachment 1470705 [details]
File: cgroup

Comment 3 Edgar Hoch 2018-07-26 11:51:46 UTC
Created attachment 1470706 [details]
File: cpuinfo

Comment 4 Edgar Hoch 2018-07-26 11:51:47 UTC
Created attachment 1470707 [details]
File: environ

Comment 5 Edgar Hoch 2018-07-26 11:51:48 UTC
Created attachment 1470708 [details]
File: mountinfo

Comment 6 Edgar Hoch 2018-07-26 11:51:49 UTC
Created attachment 1470709 [details]
File: namespaces

Comment 7 Edgar Hoch 2018-07-26 11:51:50 UTC
Created attachment 1470710 [details]
File: open_fds

Comment 8 Ben Cotton 2019-05-02 21:15:20 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 9 Ben Cotton 2019-05-28 21:57:50 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.