Bug 2222489

Summary: [abrt] meld: on_setting_changed(): settings.py:58:on_setting_changed:AttributeError: 'NoneType' object has no attribute 'props'
Product: [Fedora] Fedora Reporter: alod123
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: alod123, dmaphy, epel-packagers-sig, lkundrak, michel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6734a8b3ef643fb18308ec019a04d7e8fdd2554
Whiteboard: abrt_hash:0a7d2f64027b1ec0f45051800029babf14695f46;VARIANT_ID=xfce;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:27:26 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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

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

Comment 8 Aoife Moloney 2024-05-28 13:27:26 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.