Bug 1702891 - [abrt] catfish: get_display_size(): CatfishWindow.py:320:get_display_size:TypeError: Argument 1 does not allow None as a value
Summary: [abrt] catfish: get_display_size(): CatfishWindow.py:320:get_display_size:Typ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: catfish
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bac3d7dee022245e08f48eaa5e1...
: 1725378 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-25 07:18 UTC by Kerwin Smith
Modified: 2019-09-13 04:33 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-09-13 04:33:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.01 KB, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details
File: cgroup (341 bytes, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details
File: cpuinfo (1.47 KB, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details
File: environ (3.55 KB, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details
File: mountinfo (3.56 KB, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details
File: namespaces (129 bytes, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details
File: open_fds (1.48 KB, text/plain)
2019-04-25 07:18 UTC, Kerwin Smith
no flags Details

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 .


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