Bug 2140799 - [abrt] libreport-plugin-bugzilla: module(): problem_formatter.py:270:process_section_items:TypeError: 'NoneType' object is not subscriptable
Summary: [abrt] libreport-plugin-bugzilla: module(): problem_formatter.py:270:process_...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1c4e30ea3be508eba9646be9804...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-07 21:09 UTC by Mikhail
Modified: 2023-07-01 03:07 UTC (History)
6 users (show)

Fixed In Version: libreport-2.17.7-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-01 03:07:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (747 bytes, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details
File: environ (1.69 KB, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details
File: mountinfo (3.00 KB, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details
File: open_fds (389 bytes, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details
File: namespaces (171 bytes, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details
File: backtrace (1.26 KB, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details
File: cpuinfo (2.96 KB, text/plain)
2022-11-07 21:09 UTC, Mikhail
no flags Details

Description Mikhail 2022-11-07 21:09:11 UTC
Version-Release number of selected component:
libreport-plugin-bugzilla-2.17.4-1.fc38

Additional info:
reporter:       libreport-2.17.6
kernel:         6.0.0-0.rc6.20220922gitdc164f4fb00a.43.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -b -A /etc/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf -F /etc/libreport/plugins/bugzilla_format_analyzer_libreport.conf
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.fedoraproject.Setroubleshootd
uid:            1000
reason:         problem_formatter.py:270:process_section_items:TypeError: 'NoneType' object is not subscriptable
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.4-1.fc38
runlevel:       N 5
exception_type:   File "/usr/lib64/python3.11/site-packages/reportclient/internal/problem_formatter.py", line 316, in generate_report
crash_function: module
interpreter:    python3-3.11.0~rc2-1.fc38.x86_64

Truncated backtrace:
problem_formatter.py:270:process_section_items:TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):
  File "/usr/bin/reporter-bugzilla", line 709, in <module>
    report = pf.generate_report()
             ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/problem_formatter.py", line 316, in generate_report
    section['items'] = self.process_section_items(section)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/problem_formatter.py", line 291, in process_section_items
    child['items'] = self.process_section_items(child)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/problem_formatter.py", line 270, in process_section_items
    processed_items.append({'name': short_bt['name'],
                                    ~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Local variables in innermost frame:
self: <reportclient.internal.problem_formatter.ProblemFormatter object at 0x7fbbd5bee5d0>
section: {'name': 'Truncated backtrace', 'items': ['%bare_%short_backtrace'], 'children': []}
processed_items: []
short_bt: None
item: 'short_backtrace'

Comment 1 Mikhail 2022-11-07 21:09:15 UTC
Created attachment 1922868 [details]
File: os_info

Comment 2 Mikhail 2022-11-07 21:09:17 UTC
Created attachment 1922869 [details]
File: environ

Comment 3 Mikhail 2022-11-07 21:09:18 UTC
Created attachment 1922870 [details]
File: mountinfo

Comment 4 Mikhail 2022-11-07 21:09:19 UTC
Created attachment 1922871 [details]
File: open_fds

Comment 5 Mikhail 2022-11-07 21:09:21 UTC
Created attachment 1922872 [details]
File: namespaces

Comment 6 Mikhail 2022-11-07 21:09:23 UTC
Created attachment 1922873 [details]
File: backtrace

Comment 7 Mikhail 2022-11-07 21:09:24 UTC
Created attachment 1922874 [details]
File: cpuinfo

Comment 8 Ian Laurie 2022-12-19 04:29:49 UTC
Trying to report an SELINUX issue.


reporter:       libreport-2.17.6
kernel:         6.1.0-65.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -b -A /etc/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf -F /etc/libreport/plugins/bugzilla_format_analyzer_libreport.conf
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-dbus\x2d:1.2\x2dorg.fedoraproject.Setroubleshootd.slice/dbus-:1.2-org.fedoraproject.Setroubleshootd
uid:            1000
reason:         problem_formatter.py:270:process_section_items:TypeError: 'NoneType' object is not subscriptable
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.6-1.fc38
runlevel:       N 5
exception_type: TypeError
crash_function: process_section_items
interpreter:    python3-3.11.1-1.fc38.x86_64
comment:        Trying to report an SELINUX issue.

Comment 9 Ian Laurie 2022-12-23 04:23:17 UTC
Tried to report an SELINUX issue.


reporter:       libreport-2.17.6
kernel:         6.1.0-65.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -b -A /etc/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf -F /etc/libreport/plugins/bugzilla_format_analyzer_libreport.conf
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-dbus\x2d:1.2\x2dorg.fedoraproject.Setroubleshootd.slice/dbus-:1.2-org.fedoraproject.Setroubleshootd
uid:            1000
reason:         problem_formatter.py:270:process_section_items:TypeError: 'NoneType' object is not subscriptable
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.6-1.fc38
runlevel:       N 5
exception_type: TypeError
crash_function: process_section_items
interpreter:    python3-3.11.1-1.fc38.x86_64
comment:        Tried to report an SELINUX issue.

Comment 10 Ian Laurie 2023-01-31 23:40:13 UTC
Trying to report an SELINUX issue using the SELINUX reporting mechanism.


reporter:       libreport-2.17.6
kernel:         6.2.0-0.rc6.44.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -b -A /etc/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf -F /etc/libreport/plugins/bugzilla_format_analyzer_libreport.conf
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-dbus\x2d:1.2\x2dorg.fedoraproject.Setroubleshootd.slice/dbus-:1.2-org.fedoraproject.Setroubleshootd
uid:            1000
reason:         problem_formatter.py:270:process_section_items:TypeError: 'NoneType' object is not subscriptable
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.6-2.fc38
runlevel:       N 5
exception_type: TypeError
crash_function: process_section_items
interpreter:    python3-3.11.1-4.fc38.x86_64
comment:        Trying to report an SELINUX issue using the SELINUX reporting mechanism.

Comment 11 Ben Cotton 2023-02-07 15:11:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.


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