Bug 47590 - gis-weather не работает. Необходимо обновление
Summary: gis-weather не работает. Необходимо обновление
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gis-weather (show other bugs)
Version: unstable
Hardware: all Linux
: P5 enhancement
Assignee: drool
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-14 19:03 MSK by Алексей
Modified: 2023-10-05 08:17 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Алексей 2023-09-14 19:03:34 MSK
При запуске gis-weather 0.8.1 (из репозитория) происходит ошибка. текст в консоли следующий:
Gis Weather 0.8.1
/usr/share/gis-weather/utils/localization.py:8: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Not found gir1.2-appindicator3-0.1 (libappindicator3)
/usr/share/gis-weather/gis-weather.py:69: PyGIWarning: Rsvg was imported without specifying a version first. Use gi.require_version('Rsvg', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import Rsvg
Traceback (most recent call last):
  File "/usr/share/gis-weather/gis-weather.py", line 225, in <module>
    Gdk.WindowTypeHint.DOCK,
    ^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3/site-packages/gi/overrides/__init__.py", line 32, in __getattr__
    return getattr(self._introspection_module, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3/site-packages/gi/module.py", line 126, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gdk' object has no attribute 'WindowTypeHint'


После замены gis-weather на версию 0.8.4.1 (из гитхаба https://github.com/RingOV/gis-weather ) виджет работает без проблем.
Comment 1 ruslandh 2023-10-03 01:19:16 MSK
Попробуйте

apt-repo test 330848
Comment 2 Repository Robot 2023-10-03 12:37:55 MSK
gis-weather-0.8.4.17-alt1 -> sisyphus:

 Tue Oct 03 2023 Hihin Ruslan <ruslandh@altlinux.ru> 0.8.4.17-alt1
 - Update from github (ALT #47590)
Comment 3 Алексей 2023-10-04 23:47:14 MSK
Спасибо. Работает.