Skip to content

cant load data #264

@nico2004444

Description

@nico2004444

gtk theme issues and cant load data from my location

`(mousam:22614): Gtk-WARNING **: 11:23:35.423: Theme parser error: gtk.css:1:1-52: Failed to import: Die Ressource auf »/org/gnome/theme/gtk.css« existiert nicht

(mousam:22614): Adwaita-WARNING **: 11:23:35.638: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
Internet connection confirmed through socket connection
Traceback (most recent call last):
File "/usr/share/mousam/mousam/mousam.py", line 208, in _on_data_fetch_success
self._render_weather_grid()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/share/mousam/mousam/mousam.py", line 313, in _render_weather_grid
add_card(CardAirPollution().card, 2, 0, width=2)
~~~~~~~~~~~~~~~~^^
File "/usr/share/mousam/mousam/UI_CardAirPollution.py", line 20, in init
self.create_card()
~~~~~~~~~~~~~~~~^^
File "/usr/share/mousam/mousam/UI_CardAirPollution.py", line 65, in create_card
main_val = Gtk.Label(label=self.air_apllution_data["hourly"]["us_aqi"][idx])
TypeError: Must be string, not int

(mousam:22614): Gdk-WARNING **: 11:23:36.506: vkAcquireNextImageKHR(): A swapchain no longer matches the surface properties exactly, but can still be used to present to the surface successfully. (VK_SUBOPTIMAL_KHR) (1000001003)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions