GradienceTeam / Gradience

Change the look of Adwaita, with ease
https://gradienceteam.github.io
GNU General Public License v3.0
1.3k stars 51 forks source link

bug: preset manager not opening #268

Closed daudix closed 2 years ago

daudix commented 2 years ago

Is there an existing issue for this?

What happened?

Clicking on Palette button don't opens the Preset Manager

❯ flatpak run --env=LANG=en com.github.GradienceTeam.Gradience.Devel

(process:2): Gtk-WARNING **: 14:52:17.403: Locale not supported by C library.
    Using the fallback 'C' locale.
DEBUG:root:disabled plugins: []

(process:2): Adwaita-WARNING **: 14:52:17.850: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
DEBUG:root:{}
DEBUG:root:file:///usr/share/backgrounds/gnome/adwaita-l.jpg
DEBUG:root:adwaita-l.jpg
DEBUG:root:/usr/share/backgrounds/gnome/adwaita-l.jpg
DEBUG:root:normal run

(gradience:2): Gtk-CRITICAL **: 14:52:21.418: Unable to retrieve child object 'offline_label' from class template for type 'GradiencePresetWindow' while building a 'GradiencePresetWindow'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): raw.githubusercontent.com:443
DEBUG:urllib3.connectionpool:https://raw.githubusercontent.com:443 "GET /GradienceTeam/Community/main/presets.json HTTP/1.1" 200 303
Traceback (most recent call last):
  File "/app/lib/python3.10/site-packages/gradience/window.py", line 318, in on_presets_button_clicked
    GradiencePresetWindow().present()
  File "/app/lib/python3.10/site-packages/gradience/presets_manager_window.py", line 58, in __init__
    self.setup_explore()
  File "/app/lib/python3.10/site-packages/gradience/presets_manager_window.py", line 88, in setup_explore
    self.search_stack.set_visible("page_offline")
AttributeError: 'NoneType' object has no attribute 'set_visible'

To Reproduce

  1. Click on palette button

Expected behavior

A Preset Manager to show up

Screenshots

Kooha-2022-08-25-14-51-06.webm

OS

Fedora Linux 36 (Silverblue edition)

Version

0.1.0-22d7ac3

Installation method

Flatpak from manual build - next

Additional context

No response

Code of Conduct

0xMRTT commented 2 years ago

Could you retry ?

daudix commented 2 years ago

Now it's working!