Bug 1702891

Summary: [abrt] catfish: get_display_size(): CatfishWindow.py:320:get_display_size:TypeError: Argument 1 does not allow None as a value
Product: [Fedora] Fedora Reporter: Kerwin Smith <kerwin>
Component: catfishAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: bugzilla, dslopez, masahase, mhroncok, mtasaka, rudolf.kunzli
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4dec755302d229da3911920849ad624ae195ce38
Whiteboard: abrt_hash:bac3d7dee022245e08f48eaa5e1018b98f3e777f;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-13 04:33:58 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Kerwin Smith 2019-04-25 07:18:44 UTC
Description of problem:
tried starting catfish.
broke

Version-Release number of selected component:
catfish-1.4.7-1.fc30

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 /usr/bin/catfish
crash_function: get_display_size
exception_type: TypeError
executable:     /usr/bin/catfish
interpreter:    python3-3.7.3-1.fc30.x86_64
kernel:         5.0.8-300.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
CatfishWindow.py:320:get_display_size:TypeError: Argument 1 does not allow None as a value

Traceback (most recent call last):
  File "/usr/bin/catfish", line 42, in <module>
    catfish.main()
  File "/usr/lib/python3.7/site-packages/catfish/__init__.py", line 75, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/lib/python3.7/site-packages/catfish_lib/Window.py", line 168, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3.7/site-packages/catfish/CatfishWindow.py", line 273, in finish_initializing
    (display_width, display_height) = self.get_display_size()
  File "/usr/lib/python3.7/site-packages/catfish/CatfishWindow.py", line 320, in get_display_size
    m = s.get_monitor_at_window(s.get_active_window())
TypeError: Argument 1 does not allow None as a value

Local variables in innermost frame:
self: <CatfishWindow.CatfishWindow object at 0x7ff28b7121f8 (CatfishWindow at 0x55bf852647e0)>
s: <__gi__.GdkWaylandScreen object at 0x7ff28847f4c8 (GdkWaylandScreen at 0x55bf8523c800)>

Comment 1 Kerwin Smith 2019-04-25 07:18:46 UTC
Created attachment 1558480 [details]
File: backtrace

Comment 2 Kerwin Smith 2019-04-25 07:18:47 UTC
Created attachment 1558481 [details]
File: cgroup

Comment 3 Kerwin Smith 2019-04-25 07:18:47 UTC
Created attachment 1558482 [details]
File: cpuinfo

Comment 4 Kerwin Smith 2019-04-25 07:18:48 UTC
Created attachment 1558483 [details]
File: environ

Comment 5 Kerwin Smith 2019-04-25 07:18:49 UTC
Created attachment 1558484 [details]
File: mountinfo

Comment 6 Kerwin Smith 2019-04-25 07:18:50 UTC
Created attachment 1558485 [details]
File: namespaces

Comment 7 Kerwin Smith 2019-04-25 07:18:50 UTC
Created attachment 1558486 [details]
File: open_fds

Comment 8 Peter 2019-05-22 13:01:20 UTC
Similar problem has been detected:

A simple click on the icon gives me the fault; the same happens on my other computer

reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 /usr/bin/catfish
crash_function: get_display_size
exception_type: TypeError
executable:     /usr/bin/catfish
interpreter:    python3-3.7.3-3.fc30.x86_64
kernel:         5.0.16-300.fc30.x86_64
package:        catfish-1.4.7-1.fc30
reason:         CatfishWindow.py:320:get_display_size:TypeError: Argument 1 does not allow None as a value
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Rudolf Kunzli 2019-06-30 09:43:05 UTC
*** Bug 1725378 has been marked as a duplicate of this bug. ***

Comment 10 David 2019-09-11 19:26:48 UTC
Similar problem has been detected:

Installed
Not work
uninstalled from software
install from rpm
Not start

reporter:       libreport-2.10.1
cmdline:        /usr/bin/python3 /usr/bin/catfish
crash_function: get_display_size
exception_type: TypeError
executable:     /usr/bin/catfish
interpreter:    python3-3.7.4-1.fc30.x86_64
kernel:         5.2.11-200.fc30.x86_64
package:        catfish-1.4.7-1.fc30
reason:         CatfishWindow.py:320:get_display_size:TypeError: Argument 1 does not allow None as a value
runlevel:       N 5
type:           Python3
uid:            1000

Comment 11 Mamoru TASAKA 2019-09-13 04:33:58 UTC
This should not happen with current catfish-1.4.8-1.fc30 .