Page MenuHomeSolus

Variety 0.8.4-26 broken after 20.08 sync
Closed, ResolvedPublic

Description

After Friday 20.08 sync Variety does'nt react on clicks to open options (click on tray icon): preferences, about, support dev., wallpaper picker. I didn't noticed if Variety got updated with this sync, but before update yesterday everything was fine on this machine with Variety (Solus got installed on Tuesday with Variety being configured to my needs same day)
No idea if this is a Variety problem, dependency or Solus side problem. On Github I haven't found any new bug reports so I create one here to investigate ,,issue" (not me - I just use things ;_;).
Output from terminal contains errors occurred when I tried to click on these options.
https://github.com/varietywalls/variety

$ variety
WARNING: 2021-08-21 20:57:12,810: create_menu() 'Variety Slideshow is not installed. This is an optional extension adding pan-and-zoom slideshows to Variety: see https://github.com/peterlevi/variety-slideshow for details'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 205, in _delayed
    self.create_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 242, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
  File "/usr/lib/python3.9/site-packages/variety_lib/PreferencesDialog.py", line 38, in __new__
    builder = get_builder("PreferencesVarietyDialog")
  File "/usr/lib/python3.9/site-packages/variety_lib/helpers.py", line 39, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/variety_lib/Builder.py", line 91, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 269, in on_mnu_preferences_activate
    self.create_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 242, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
  File "/usr/lib/python3.9/site-packages/variety_lib/PreferencesDialog.py", line 38, in __new__
    builder = get_builder("PreferencesVarietyDialog")
  File "/usr/lib/python3.9/site-packages/variety_lib/helpers.py", line 39, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/variety_lib/Builder.py", line 91, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 230, in on_mnu_donate_activate
    self.preferences_dialog.ui.notebook.set_current_page(8)
AttributeError: 'NoneType' object has no attribute 'ui'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 2710, in show_hide_wallpaper_selector
    pref_dialog = self.get_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 236, in get_preferences_dialog
    self.create_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 242, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
  File "/usr/lib/python3.9/site-packages/variety_lib/PreferencesDialog.py", line 38, in __new__
    builder = get_builder("PreferencesVarietyDialog")
  File "/usr/lib/python3.9/site-packages/variety_lib/helpers.py", line 39, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/variety_lib/Builder.py", line 91, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 2710, in show_hide_wallpaper_selector
    pref_dialog = self.get_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 236, in get_preferences_dialog
    self.create_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 242, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
  File "/usr/lib/python3.9/site-packages/variety_lib/PreferencesDialog.py", line 38, in __new__
    builder = get_builder("PreferencesVarietyDialog")
  File "/usr/lib/python3.9/site-packages/variety_lib/helpers.py", line 39, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/variety_lib/Builder.py", line 91, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'

(variety:8419): Gtk-CRITICAL **: 20:58:34.485: gtk_range_get_adjustment: assertion 'GTK_IS_RANGE (range)' failed
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 2710, in show_hide_wallpaper_selector
    pref_dialog = self.get_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 236, in get_preferences_dialog
    self.create_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 242, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
  File "/usr/lib/python3.9/site-packages/variety_lib/PreferencesDialog.py", line 38, in __new__
    builder = get_builder("PreferencesVarietyDialog")
  File "/usr/lib/python3.9/site-packages/variety_lib/helpers.py", line 39, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/variety_lib/Builder.py", line 91, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 2710, in show_hide_wallpaper_selector
    pref_dialog = self.get_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 236, in get_preferences_dialog
    self.create_preferences_dialog()
  File "/usr/lib/python3.9/site-packages/variety/VarietyWindow.py", line 242, in create_preferences_dialog
    self.preferences_dialog = PreferencesVarietyDialog(parent=self)  # pylint: disable=E1102
  File "/usr/lib/python3.9/site-packages/variety_lib/PreferencesDialog.py", line 38, in __new__
    builder = get_builder("PreferencesVarietyDialog")
  File "/usr/lib/python3.9/site-packages/variety_lib/helpers.py", line 39, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/variety_lib/Builder.py", line 91, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'

Event Timeline

Hyserski created this task.Aug 21 2021, 7:08 PM
Hyserski updated the task description. (Show Details)Aug 21 2021, 7:11 PM
algent added a subscriber: algent.Aug 21 2021, 7:20 PM

I think updating variety to 0.8.5 should fix the issue, since the getiterator fix was merged before the release.

Josh might cherry pick it to stable but you can grab the new version now by running sudo eopkg it https://packages.getsol.us/unstable/v/variety/variety-0.8.5-27-1-x86_64.eopkg

Nice!

Josh might cherry pick it to stable but you can grab the new version now by running sudo eopkg it https://packages.getsol.us/unstable/v/variety/variety-0.8.5-27-1-x86_64.eopkg

Thanks people ;)