Bug 2254925

Summary: [abrt] variety: register_clipboard(): VarietyWindow.py:343:register_clipboard:AttributeError: 'NoneType' object has no attribute 'connect'
Product: [Fedora] Fedora Reporter: David Hampton <bugzilla>
Component: varietyAssignee: MartinKG <mgansser>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: bugzilla, mgansser
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c13a08d7d82b648cfbb6d2ba1e57f639dc56cae
Whiteboard: abrt_hash:338b0b2796acccdc9e70e042d6ac953c2eb0a616;VARIANT_ID=workstation;
Fixed In Version: variety-0.8.12-1.fc38 variety-0.8.12-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-12 01:51:38 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 David Hampton 2023-12-17 22:49:37 UTC
Description of problem:
Booted my system and logged in. Variety is set to start on login.

Version-Release number of selected component:
variety-0.8.11-1.fc39

Additional info:
reporter:       libreport-2.17.11
kernel:         6.6.6-200.fc39.x86_64
cmdline:        /usr/bin/python3 /usr/bin/variety --profile /home/david/.config/variety/
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/variety.service
uid:            1001
reason:         VarietyWindow.py:343:register_clipboard:AttributeError: 'NoneType' object has no attribute 'connect'
executable:     /usr/bin/variety
type:           Python3
package:        variety-0.8.11-1.fc39
runlevel:       N 5
exception_type: AttributeError
crash_function: register_clipboard
interpreter:    python3-3.12.0-1.fc39.x86_64
comment:        Booted my system and logged in. Variety is set to start on login.

Truncated backtrace:
VarietyWindow.py:343:register_clipboard:AttributeError: 'NoneType' object has no attribute 'connect'

Traceback (most recent call last):
  File "/usr/bin/variety", line 66, in <module>
    variety.main()
  File "/usr/lib/python3.12/site-packages/variety/__init__.py", line 239, in main
    window.start(arguments)
  File "/usr/lib/python3.12/site-packages/variety/VarietyWindow.py", line 145, in start
    self.register_clipboard()
  File "/usr/lib/python3.12/site-packages/variety/VarietyWindow.py", line 343, in register_clipboard
    self.clipboard.connect("owner-change", clipboard_changed)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'connect'

Local variables in innermost frame:
self: <VarietyWindow.VarietyWindow object at 0x7f1c5c95d0c0 (uninitialized at 0x(nil))>
clipboard_changed: <function VarietyWindow.register_clipboard.<locals>.clipboard_changed at 0x7f1c5c739300>

Potential duplicate: bug 2166103

Comment 1 David Hampton 2023-12-17 22:49:41 UTC
Created attachment 2004724 [details]
File: os_info

Comment 2 David Hampton 2023-12-17 22:49:42 UTC
Created attachment 2004725 [details]
File: environ

Comment 3 David Hampton 2023-12-17 22:49:44 UTC
Created attachment 2004726 [details]
File: mountinfo

Comment 4 David Hampton 2023-12-17 22:49:45 UTC
Created attachment 2004727 [details]
File: open_fds

Comment 5 David Hampton 2023-12-17 22:49:46 UTC
Created attachment 2004728 [details]
File: namespaces

Comment 6 David Hampton 2023-12-17 22:49:48 UTC
Created attachment 2004729 [details]
File: backtrace

Comment 7 David Hampton 2023-12-17 22:49:49 UTC
Created attachment 2004730 [details]
File: cpuinfo

Comment 8 MartinKG 2023-12-18 08:03:04 UTC
Upstream Ticket:
https://github.com/varietywalls/variety/issues/671

Comment 9 Fedora Update System 2024-02-02 10:26:50 UTC
FEDORA-2024-ec60ac3edc has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ec60ac3edc

Comment 10 Fedora Update System 2024-02-02 10:27:12 UTC
FEDORA-2024-0f46b7165e has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0f46b7165e

Comment 11 Fedora Update System 2024-02-03 00:48:59 UTC
FEDORA-2024-0f46b7165e has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0f46b7165e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0f46b7165e

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

Comment 12 Fedora Update System 2024-02-03 01:08:23 UTC
FEDORA-2024-ec60ac3edc has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ec60ac3edc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ec60ac3edc

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

Comment 13 Fedora Update System 2024-02-12 01:51:38 UTC
FEDORA-2024-ec60ac3edc (variety-0.8.12-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-02-12 02:43:27 UTC
FEDORA-2024-0f46b7165e (variety-0.8.12-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.