Bug 2222489 - [abrt] meld: on_setting_changed(): settings.py:58:on_setting_changed:AttributeError: 'NoneType' object has no attribute 'props'
Summary: [abrt] meld: on_setting_changed(): settings.py:58:on_setting_changed:Attribut...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: meld
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0a7d2f64027b1ec0f4505180002...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-13 01:54 UTC by alod123
Modified: 2023-07-13 01:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (682 bytes, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details
File: environ (2.17 KB, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details
File: mountinfo (3.78 KB, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details
File: open_fds (933 bytes, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details
File: namespaces (171 bytes, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details
File: backtrace (1.17 KB, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details
File: cpuinfo (2.80 KB, text/plain)
2023-07-13 01:54 UTC, alod123
no flags Details

Description alod123 2023-07-13 01:54:29 UTC
Description of problem:
When will it stop crashing on close?

Version-Release number of selected component:
meld-3.22.0-2.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.3.12-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/meld discord-0.0.28-2.spec discord-0.0.28-2.x86_64.spec
cgroup:         0::/user.slice/user-1000.slice/session-4.scope
uid:            0
reason:         settings.py:58:on_setting_changed:AttributeError: 'NoneType' object has no attribute 'props'
executable:     /usr/bin/meld
type:           Python3
package:        meld-3.22.0-2.fc38
runlevel:       N 5
exception_type: AttributeError
crash_function: on_setting_changed
interpreter:    python3-3.11.4-1.fc38.x86_64
comment:        When will it stop crashing on close?

Truncated backtrace:
settings.py:58:on_setting_changed:AttributeError: 'NoneType' object has no attribute 'props'

Traceback (most recent call last):
  File "/usr/bin/meld", line 463, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/bin/meld", line 458, in main
    setup_settings()
  File "/usr/bin/meld", line 317, in setup_settings
    meld.settings.create_settings()
  File "/usr/lib/python3.11/site-packages/meld/settings.py", line 124, in create_settings
    _meldsettings = MeldSettings()
                    ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/meld/settings.py", line 39, in __init__
    self.on_setting_changed(settings, 'prefer-dark-theme')
  File "/usr/lib/python3.11/site-packages/meld/settings.py", line 58, in on_setting_changed
    gtk_settings.props.gtk_application_prefer_dark_theme = prefer_dark
    ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'props'

Local variables in innermost frame:
self: <settings.MeldSettings object at 0x7f6dd43b4ec0 (meld+settings+MeldSettings at 0x559400b94f90)>
settings: <Gio.Settings object at 0x7f6dd43d0840 (GSettings at 0x559400b84970)>
key: 'prefer-dark-theme'
gtk_settings: None
prefer_dark: False

Comment 1 alod123 2023-07-13 01:54:33 UTC
Created attachment 1975519 [details]
File: os_info

Comment 2 alod123 2023-07-13 01:54:34 UTC
Created attachment 1975520 [details]
File: environ

Comment 3 alod123 2023-07-13 01:54:36 UTC
Created attachment 1975521 [details]
File: mountinfo

Comment 4 alod123 2023-07-13 01:54:37 UTC
Created attachment 1975522 [details]
File: open_fds

Comment 5 alod123 2023-07-13 01:54:38 UTC
Created attachment 1975523 [details]
File: namespaces

Comment 6 alod123 2023-07-13 01:54:40 UTC
Created attachment 1975524 [details]
File: backtrace

Comment 7 alod123 2023-07-13 01:54:41 UTC
Created attachment 1975525 [details]
File: cpuinfo


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