Bug 1404196

Summary: [abrt] terminator: paned.py:309:wrapcloseterm:AttributeError: 'NoneType' object has no attribute 'grab_focus'
Product: [Fedora] Fedora Reporter: Davide Repetto <red>
Component: terminatorAssignee: Dominic Hopf <dmaphy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: crius, dmaphy, mattrose
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9d0e90423cefdc2856b1c2c5fc4167aba6fdb9bf
Whiteboard: abrt_hash:8551801ef254a04c789b00c85f11d0068b09ff36;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-18 18:18:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Davide Repetto 2016-12-13 10:12:13 UTC
Description of problem:
I closed the program's window and ABRT popped up this notification.
I don't think the program really crashed...

Version-Release number of selected component:
terminator-1.90-5.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/bin/python /usr/bin/terminator --layout=ReD
executable:     /usr/bin/terminator
kernel:         4.8.12-300.red.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

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

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/terminatorlib/paned.py", line 309, 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:
widget: <terminal.Terminal object at 0x7f34100f0370 (terminatorlib+terminal+Terminal at 0x555eb69781c0)>
parent: <window.Window object at 0x7f34118a5af0 (terminatorlib+window+Window at 0x555eb695a270)>
cur_tabnum: None
self: <paned.HPaned object at 0x7f34094bd7d0 (terminatorlib+paned+HPaned at 0x555eb6d8d760)>
focus_sibling: False
sibling: <terminal.Terminal object at 0x7f34094bd960 (terminatorlib+terminal+Terminal at 0x555eb6978f80)>
first_term_sibling: <terminal.Terminal object at 0x7f34094bd960 (terminatorlib+terminal+Terminal at 0x555eb6978f80)>
metadata: None

Comment 1 Davide Repetto 2016-12-13 10:12:18 UTC
Created attachment 1231145 [details]
File: backtrace

Comment 2 Davide Repetto 2016-12-13 10:12:20 UTC
Created attachment 1231146 [details]
File: environ

Comment 3 Dominic Hopf 2016-12-18 18:18:09 UTC

*** This bug has been marked as a duplicate of bug 1322052 ***