RingOV / gis-weather

Customizable weather widget
58 stars 18 forks source link

How do I close this issue? #50

Open madirishman opened 2 years ago

madirishman commented 2 years ago

gis-weather does not work with plasma-wayland gis .

RingOV commented 2 years ago

Popup menu worked?

madirishman commented 2 years ago

Yes, the only thing that does not is the the window that displays the weather. I can see it change with Preset selections, but there is nothing in the window. When the widget is started it has the start up splash displayed then it goes blank. Get BlueMail https://bluemail.me for Desktop RingOV wrote: Popup menu worked? — Reply to this email directly, view it on GitHub https://github.com/RingOV/gis-weather/issues/50#issuecomment-1004993118 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIRJOPTB4AOVVTY2SPXAH3UUMQXZANCNFSM5LFGAMEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread.Message ID: @.***>

RingOV commented 2 years ago

Run in terminal gis-weather -t Show value of DESKTOP_SESSION = from output And try all options from popup menu [Testing] WindowTypeHint

madirishman commented 2 years ago

gis-weather -t Gis Weather 0.8.4.1 testing mode turned on Configuration folder: /home/chief/.config/gis-weather/gw_config1.json /usr/share/gis-weather/gis-weather.py:634: DeprecationWarning: Gtk.StatusIcon.set_from_file is deprecated self.indicator.set_from_file(os.path.join(APP_PATH, "icon.png")) (gis-weather.py:28845): Gtk-CRITICAL : 07:19:46.203: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed /usr/share/gis-weather/gis-weather.py:636: DeprecationWarning: Gtk.StatusIcon.set_visible is deprecated self.indicator.set_visible(True) /usr/share/gis-weather/gis-weather.py:1536: DeprecationWarning: Gtk.Window.set_has_resize_grip is deprecated self.window_main.set_has_resize_grip(False) /usr/share/gis-weather/gis-weather.py:1595: DeprecationWarning: Gtk.Window.set_opacity is deprecated self.window_main.set_opacity(opacity) Widget size: width = 521 height = 236 including indent = 20 /usr/share/gis-weather/gis-weather.py:1547: DeprecationWarning: Gtk.Widget.is_composited is deprecated if not self.window_main.is_composited(): Type_hint = DESKTOP_SESSION = plasmawayland Your screen supports alpha (gis-weather.py:28845): WARNING : 07:19:46.249: AT-SPI: Could not obtain desktop path or name /usr/share/gis-weather/gis-weather.py:809: DeprecationWarning: Gdk.cairo_create is deprecated self.cr = Gdk.cairo_create(self.get_window()) (gis-weather.py:28845): WARNING : 07:19:46.292: atk-bridge: get_device_events_reply: unknown signature (gis-weather.py:28845): WARNING : 07:19:46.293: atk-bridge: get_device_events_reply: unknown signature (gis-weather.py:28845): WARNING : 07:19:46.293: atk-bridge: GetRegisteredEvents returned message with unknown signature (gis-weather.py:28845): WARNING : 07:19:46.303: AT-SPI: Could not obtain desktop path or name (gis-weather.py:28845): WARNING **: 07:19:46.303: AT-SPI: Could not obtain desktop path or name

Getting weather for 3 days Downloading https://services.gismeteo.ru/inform-service/inf_chrome/forecast/?lang=en&city=7347 1 OK updated on server 04:00 weather received 07:19 Next update in 60 min

(gis-weather.py:28845): Gtk-CRITICAL : 07:19:50.553: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed /usr/share/gis-weather/gis-weather.py:647: DeprecationWarning: Gtk.StatusIcon.get_size is deprecated self.draw_text_to_png(self.indicator.get_size(), text) Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream Gdk-Message: 07:20:03.685: Window 0x55d115bfaaa0 is a temporary window without parent, application will not be able to position it on screen. (gis-weather.py:28845): Gdk-CRITICAL : 07:20:03.686: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed (gis-weather.py:28845): Gtk-CRITICAL : 07:20:18.101: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream Gdk-Message: 07:20:37.197: Window 0x55d11630be20 is a temporary window without parent, application will not be able to position it on screen. (gis-weather.py:28845): Gdk-CRITICAL : 07:20:37.199: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed (gis-weather.py:28845): Gtk-CRITICAL : 07:20:47.852: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.634: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.660: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.688: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.709: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.726: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.747: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.782: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.820: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream (gis-weather.py:28845): Gtk-CRITICAL : 07:21:17.853: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 868, in expose self.Draw_Weather(self.cr) File "/usr/share/gis-weather/gis-weather.py", line 974, in Draw_Weather ind.set_label(weather['t_now'][0].split(';')[t_index]) File "/usr/share/gis-weather/gis-weather.py", line 647, in set_label self.draw_text_to_png(self.indicator.get_size(), text) File "/usr/share/gis-weather/gis-weather.py", line 695, in draw_text_to_png surface.write_to_png(os.path.join(CONFIG_PATH, "text.png")) main.cairo.IOError: error while writing to output stream Get BlueMail https://bluemail.me for Desktop RingOV wrote: Run in terminal gis-weather -t Show value of DESKTOP_SESSION = from output And try all options from popup menu [Testing] WindowTypeHint — Reply to this email directly, view it on GitHub https://github.com/RingOV/gis-weather/issues/50#issuecomment-1005530004 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIRJOI5AW7QVAX3VQRTYP3UUQHINANCNFSM5LFGAMEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread.Message ID: @.***>

madirishman commented 2 years ago

DESKTOP_SESSION = plasmawayland Get BlueMail https://bluemail.me for Desktop RingOV wrote: Run in terminal gis-weather -t Show value of DESKTOP_SESSION = from output And try all options from popup menu [Testing] WindowTypeHint — Reply to this email directly, view it on GitHub https://github.com/RingOV/gis-weather/issues/50#issuecomment-1005530004 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIRJOI5AW7QVAX3VQRTYP3UUQHINANCNFSM5LFGAMEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread.Message ID: @.***>

madirishman commented 2 years ago

All pop-up menu options work because after returning to X11 Session. they show as implemented. It's a rendering problem apparently something to do with the Wayland compositor?

Get BlueMail https://bluemail.me for Desktop RingOV wrote: Run in terminal gis-weather -t Show value of DESKTOP_SESSION = from output And try all options from popup menu [Testing] WindowTypeHint — Reply to this email directly, view it on GitHub https://github.com/RingOV/gis-weather/issues/50#issuecomment-1005530004 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIRJOI5AW7QVAX3VQRTYP3UUQHINANCNFSM5LFGAMEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread.Message ID: @.***>

RingOV commented 2 years ago

Gis Weather 0.8.4.1 Try lastest version from github (0.8.4.18)

madirishman commented 2 years ago

Awesome my man! It works. Thanks brother :) Get BlueMail https://bluemail.me for Desktop RingOV wrote: Gis Weather 0.8.4.1 Try lastest version from github (0.8.4.18) — Reply to this email directly, view it on GitHub https://github.com/RingOV/gis-weather/issues/50#issuecomment-1006549455 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIRJOJKFBFAI6YKHZXJJJLUUWDXDANCNFSM5LFGAMEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread.Message ID: @.***>

Mshmaitelly commented 8 months ago

Is this app Plasma 6 compatible?

madirishman commented 8 months ago

Works for me on ARCOLINUX/PLasma 6