varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.12k stars 137 forks source link

[abrt] variety: register_clipboard(): VarietyWindow.py:343:register_clipboard:AttributeError: 'NoneType' object has no attribute #671

Closed martinkg closed 6 months ago

martinkg commented 6 months ago

Version of Variety

Describe the bug

Started my computer and logged in. Variety is set to start automatically.

Additional info: reporter: libreport-2.17.4 cgroup: 0::/user.slice/user-1001.slice/user@1001.service/app.slice/variety.service cmdline: /usr/bin/python3 /usr/bin/variety --profile /home/david/.config/variety/ crash_function: register_clipboard exception_type: AttributeError executable: /usr/bin/variety interpreter: python3-3.11.1-1.fc37.x86_64 kernel: 6.1.6-200.fc37.x86_64 runlevel: N 5 type: Python3 uid: 1001

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 variety.main() File "/usr/lib/python3.11/site-packages/variety/init.py", line 239, in main window.start(arguments) File "/usr/lib/python3.11/site-packages/variety/VarietyWindow.py", line 145, in start self.register_clipboard() File "/usr/lib/python3.11/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 0x7f6fe51e5540 (uninitialized at 0x(nil))> clipboard_changed: <function VarietyWindow.register_clipboard..clipboard_changed at 0x7f6fe4f78040>

Context

Attach Variety's log file

Desktop environment and version

OS name and version

variety-0.8.9-2.fc37

Fedora Bugzilla Ticket

jlu5 commented 6 months ago

Duplicate of #596