Bug 1733793 - [abrt] pylint: add_one_message(): utils.py:547:add_one_message:KeyError: None
Summary: [abrt] pylint: add_one_message(): utils.py:547:add_one_message:KeyError: None
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pylint
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Dersch
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a58e18500c247f8dcc779c0cc10...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-28 16:21 UTC by Brian J. Murrell
Modified: 2019-07-28 16:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
File: backtrace (1.72 KB, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details
File: cgroup (399 bytes, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details
File: cpuinfo (1.48 KB, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details
File: environ (5.52 KB, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details
File: mountinfo (5.92 KB, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details
File: namespaces (129 bytes, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details
File: open_fds (427 bytes, text/plain)
2019-07-28 16:21 UTC, Brian J. Murrell
no flags Details

Description Brian J. Murrell 2019-07-28 16:21:38 UTC
Version-Release number of selected component:
pylint-2.3.1-1.fc30

Additional info:
reporter:       libreport-2.10.1
cmdline:        /usr/bin/python3 /usr/bin/pylint -f text '--msg-template={path}:{line}:{column}:{C}: [{symbol}] {msg}' -r n ''
crash_function: add_one_message
exception_type: KeyError
executable:     /usr/bin/pylint
interpreter:    python3-3.7.3-3.fc30.x86_64
kernel:         5.1.16-300.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1001

Truncated backtrace:
utils.py:547:add_one_message:KeyError: None

Traceback (most recent call last):
  File "/usr/bin/pylint", line 11, in <module>
    load_entry_point('pylint==2.3.1', 'console_scripts', 'pylint')()
  File "/usr/lib/python3.7/site-packages/pylint/__init__.py", line 20, in run_pylint
    Run(sys.argv[1:])
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 1628, in __init__
    linter.check(args)
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 943, in check
    self._do_check(files_or_modules)
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 1057, in _do_check
    for descr in self.expand_files(files_or_modules):
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 1099, in expand_files
    self.add_message(key, args=message)
  File "/usr/lib/python3.7/site-packages/pylint/utils.py", line 496, in add_message
    message_definition, line, node, args, confidence, col_offset
  File "/usr/lib/python3.7/site-packages/pylint/utils.py", line 547, in add_one_message
    self.stats["by_module"][self.current_name][msg_cat] += 1
KeyError: None

Local variables in innermost frame:
self: <pylint.lint.PyLinter object at 0x7fe34b4d54a8>
message_definition: MessageDefinition:{'checker': <pylint.lint.PyLinter object at 0x7fe34b4d54a8>, 'msgid': 'F0001', 'msg': '%s', 'descr': 'Used when an error occurred preventing the analysis of a               module (unable to find it for instance).', 'symbol': 'fatal', 'scope': 'line-based-msg', 'minversion': None, 'maxversion': None, 'old_names': []}
line: None
node: None
args: 'No module named '
confidence: Confidence(name='UNDEFINED', description='Warning without any associated confidence level.')
col_offset: None
msgid: 'F0001'
symbol: 'fatal'
msg_cat: 'fatal'

Comment 1 Brian J. Murrell 2019-07-28 16:21:40 UTC
Created attachment 1594092 [details]
File: backtrace

Comment 2 Brian J. Murrell 2019-07-28 16:21:41 UTC
Created attachment 1594093 [details]
File: cgroup

Comment 3 Brian J. Murrell 2019-07-28 16:21:41 UTC
Created attachment 1594094 [details]
File: cpuinfo

Comment 4 Brian J. Murrell 2019-07-28 16:21:42 UTC
Created attachment 1594095 [details]
File: environ

Comment 5 Brian J. Murrell 2019-07-28 16:21:43 UTC
Created attachment 1594096 [details]
File: mountinfo

Comment 6 Brian J. Murrell 2019-07-28 16:21:44 UTC
Created attachment 1594097 [details]
File: namespaces

Comment 7 Brian J. Murrell 2019-07-28 16:21:45 UTC
Created attachment 1594098 [details]
File: open_fds


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