Bug 1920378 - [abrt] catfish: get_screen_size(): CatfishWindow.py:404:get_screen_size:AttributeError: 'NoneType' object has no attribute 'get_geometry'
Summary: [abrt] catfish: get_screen_size(): CatfishWindow.py:404:get_screen_size:Attri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: catfish
Version: 33
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:da34b41847e48e1940228324d61...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-26 08:27 UTC by meursault587
Modified: 2021-02-09 00:56 UTC (History)
2 users (show)

Fixed In Version: catfish-4.16.0-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-09 00:56:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.04 KB, text/plain)
2021-01-26 08:27 UTC, meursault587
no flags Details
File: cpuinfo (2.36 KB, text/plain)
2021-01-26 08:27 UTC, meursault587
no flags Details
File: environ (1.07 KB, text/plain)
2021-01-26 08:27 UTC, meursault587
no flags Details
File: mountinfo (3.67 KB, text/plain)
2021-01-26 08:27 UTC, meursault587
no flags Details
File: namespaces (172 bytes, text/plain)
2021-01-26 08:27 UTC, meursault587
no flags Details
File: open_fds (1.65 KB, text/plain)
2021-01-26 08:27 UTC, meursault587
no flags Details

Description meursault587 2021-01-26 08:27:38 UTC
Version-Release number of selected component:
catfish-4.16.0-1.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app-gnome-catfish-25633.scope
cmdline:        /usr/bin/python3 /usr/bin/catfish
crash_function: get_screen_size
exception_type: AttributeError
executable:     /usr/bin/catfish
interpreter:    python3-3.9.1-2.fc33.x86_64
kernel:         5.10.9-201.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
CatfishWindow.py:404:get_screen_size:AttributeError: 'NoneType' object has no attribute 'get_geometry'

Traceback (most recent call last):
  File "/usr/bin/catfish", line 44, in <module>
    catfish.main()
  File "/usr/lib/python3.9/site-packages/catfish/__init__.py", line 77, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/lib/python3.9/site-packages/catfish_lib/Window.py", line 175, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3.9/site-packages/catfish/CatfishWindow.py", line 326, in finish_initializing
    (screen_width, screen_height) = self.get_screen_size()
  File "/usr/lib/python3.9/site-packages/catfish/CatfishWindow.py", line 404, in get_screen_size
    geometry = monitor.get_geometry()
AttributeError: 'NoneType' object has no attribute 'get_geometry'

Local variables in innermost frame:
self: <CatfishWindow.CatfishWindow object at 0x7fa363859900 (CatfishWindow at 0x5628860307a0)>
display: <__gi__.GdkWaylandDisplay object at 0x7fa3730081c0 (GdkWaylandDisplay at 0x5628860081b0)>
monitor: None

Comment 1 meursault587 2021-01-26 08:27:41 UTC
Created attachment 1750806 [details]
File: backtrace

Comment 2 meursault587 2021-01-26 08:27:43 UTC
Created attachment 1750807 [details]
File: cpuinfo

Comment 3 meursault587 2021-01-26 08:27:44 UTC
Created attachment 1750808 [details]
File: environ

Comment 4 meursault587 2021-01-26 08:27:45 UTC
Created attachment 1750809 [details]
File: mountinfo

Comment 5 meursault587 2021-01-26 08:27:47 UTC
Created attachment 1750810 [details]
File: namespaces

Comment 6 meursault587 2021-01-26 08:27:48 UTC
Created attachment 1750811 [details]
File: open_fds

Comment 7 Mamoru TASAKA 2021-01-27 01:36:16 UTC
Would you mind reporting this upstream with detailed explanation about how to reproduce this issue?

https://gitlab.xfce.org/apps/catfish/-/issues

Comment 8 Mamoru TASAKA 2021-01-27 01:39:09 UTC
... And actually there is already a report on the upstream, sorry.

https://gitlab.xfce.org/apps/catfish/-/issues/42

Comment 9 Mamoru TASAKA 2021-01-31 06:17:34 UTC
For now, I will add workaround for this.

Comment 10 Fedora Update System 2021-01-31 07:37:15 UTC
FEDORA-2021-16ffff87f9 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-16ffff87f9

Comment 11 Fedora Update System 2021-02-01 01:42:17 UTC
FEDORA-2021-16ffff87f9 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-16ffff87f9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-16ffff87f9

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

Comment 12 Fedora Update System 2021-02-09 00:56:21 UTC
FEDORA-2021-16ffff87f9 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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