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: CLOSED EOL
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: 2024-05-28 13:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:27:26 UTC
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

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.


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