Bug 1830451

Summary: [abrt] terminator: wrapcloseterm(): paned.py:311:wrapcloseterm:AttributeError: 'NoneType' object has no attribute 'grab_focus'
Product: [Fedora] Fedora Reporter: Davide Repetto <red>
Component: terminatorAssignee: Dominic Hopf <dmaphy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: alekseymmm, dmaphy, etctweak, manologonz203, mattrose, thughes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a6b266b64e35b55a1cd6e4986d04ec14ea8680f1
Whiteboard: abrt_hash:b23b81855dbeba18853a39e4b7f6cc7b6242aaba;VARIANT_ID=matecompiz;
Fixed In Version: terminator-2.0.1-1.fc32 terminator-2.0.1-1.fc31 terminator-2.0.1-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-18 15:50:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Davide Repetto 2020-05-02 01:01:47 UTC
Version-Release number of selected component:
terminator-1.91-15.fc32

Additional info:
reporter:       libreport-2.12.0
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/bin/terminator --layout=ReD
crash_function: wrapcloseterm
exception_type: AttributeError
executable:     /usr/bin/terminator
interpreter:    python3-3.8.2-2.fc32.x86_64
kernel:         5.6.6-300.fc32.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
paned.py:311:wrapcloseterm:AttributeError: 'NoneType' object has no attribute 'grab_focus'

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/terminatorlib/paned.py", line 311, in wrapcloseterm
    Terminator().find_terminal_by_uuid(sibling.get_toplevel().last_active_term.urn).grab_focus()
AttributeError: 'NoneType' object has no attribute 'grab_focus'

Local variables in innermost frame:
self: <paned.HPaned object at 0x7f85187c0ec0 (terminatorlib+paned+HPaned at 0x559802bf6b10)>
widget: <terminal.Terminal object at 0x7f8528779840 (terminatorlib+terminal+Terminal at 0x559802f18140)>
sibling: <terminal.Terminal object at 0x7f85187c4100 (terminatorlib+terminal+Terminal at 0x5598031ed160)>
first_term_sibling: <terminal.Terminal object at 0x7f85187c4100 (terminatorlib+terminal+Terminal at 0x5598031ed160)>
cur_tabnum: None
focus_sibling: False
metadata: None
parent: <window.Window object at 0x7f852875f3c0 (terminatorlib+window+Window at 0x559802d90500)>

Comment 1 Davide Repetto 2020-05-02 01:01:50 UTC
Created attachment 1683920 [details]
File: backtrace

Comment 2 Davide Repetto 2020-05-02 01:01:51 UTC
Created attachment 1683921 [details]
File: cpuinfo

Comment 3 Davide Repetto 2020-05-02 01:01:53 UTC
Created attachment 1683922 [details]
File: environ

Comment 4 Davide Repetto 2020-05-02 01:01:54 UTC
Created attachment 1683923 [details]
File: mountinfo

Comment 5 Davide Repetto 2020-05-02 01:01:55 UTC
Created attachment 1683924 [details]
File: namespaces

Comment 6 Davide Repetto 2020-05-02 01:01:57 UTC
Created attachment 1683925 [details]
File: open_fds

Comment 7 Davide Repetto 2020-05-02 14:55:42 UTC
Similar problem has been detected:

I don't know what this crash is.

reporter:       libreport-2.12.0
cgroup:         0::/user.slice/user-1000.slice/session-7.scope
cmdline:        /usr/bin/python3 /usr/bin/terminator --layout=ReD
crash_function: wrapcloseterm
exception_type: AttributeError
executable:     /usr/bin/terminator
interpreter:    python3-3.8.2-2.fc32.x86_64
kernel:         5.6.7-300.fc32.x86_64
package:        terminator-1.92-1.fc32
reason:         paned.py:311:wrapcloseterm:AttributeError: 'NoneType' object has no attribute 'grab_focus'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 8 Aleksei Marov 2020-05-27 09:40:50 UTC
Similar problem has been detected:

Terminator crashed on close

reporter:       libreport-2.13.1
cgroup:         0::/user.slice/user-1000.slice/user/gnome-launched-terminator.desktop-3863.scope
cmdline:        /usr/bin/python3 /usr/bin/terminator
crash_function: wrapcloseterm
exception_type: AttributeError
executable:     /usr/bin/terminator
interpreter:    python3-3.8.3-1.fc32.x86_64
kernel:         5.6.14-300.fc32.x86_64
package:        terminator-1.92-3.fc32
reason:         paned.py:311:wrapcloseterm:AttributeError: 'NoneType' object has no attribute 'grab_focus'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Manolo Gonzalez 2020-10-10 19:07:54 UTC
*** Bug 1887094 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2020-10-13 16:44:56 UTC
FEDORA-2020-f225727bb7 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f225727bb7

Comment 11 Fedora Update System 2020-10-13 16:44:57 UTC
FEDORA-2020-bfc81c7b7d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bfc81c7b7d

Comment 12 Fedora Update System 2020-10-13 20:19:01 UTC
FEDORA-2020-f225727bb7 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f225727bb7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f225727bb7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2020-10-13 21:12:09 UTC
FEDORA-2020-bfc81c7b7d has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bfc81c7b7d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bfc81c7b7d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2020-10-13 22:39:35 UTC
FEDORA-2020-33efd31861 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-33efd31861`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-33efd31861

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Dominic Hopf 2020-10-16 18:02:38 UTC
*** Bug 1888945 has been marked as a duplicate of this bug. ***

Comment 16 Fedora Update System 2020-10-18 15:50:03 UTC
FEDORA-2020-f225727bb7 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2020-10-21 19:58:32 UTC
FEDORA-2020-bfc81c7b7d has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2020-10-23 22:13:19 UTC
FEDORA-2020-33efd31861 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.