Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Gis Weather погодный виджет  (Прочитано 1039674 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #570 : 25 Февраля 2015, 17:03:43 »
rada-07,
Ошибку повторить получилось, проявляется когда в Accuweather нет ни одного кода. Исправлю.

puh01,
Т.е. если в настройках выбрать другой язык погоды и обновить, то язык не меняется?

Оффлайн puh01

  • Участник
  • *
  • Сообщений: 162
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #571 : 25 Февраля 2015, 20:12:15 »
RingOV,
 Упс... А вот, если ткнуть кнопочку обновить язык меняется.
Xubuntu 20.04( x86_64), Xubuntu 22.04( x86_64)

Оффлайн Acad

  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #572 : 11 Марта 2015, 13:27:03 »
На XFCE debian 7.8 x64 gis-weather_0.7.5_all:
@debianpc:~$ gis-weather
Папка конфигурации:
    /home/stanislav/.config/gis-weather/gw_config1.json
Размеры виджета:
    ширина = 700 высота = 320 в т.ч. отступ = 20
Ваш экран поддерживает прозрачность
Traceback (most recent call last):
  File "/usr/share/gis-weather/gis-weather.py", line 1573, in <module>
    app.main()
  File "/usr/share/gis-weather/gis-weather.py", line 1560, in main
    if self.show_edit_dialog():
  File "/usr/share/gis-weather/gis-weather.py", line 1422, in show_edit_dialog
    dialog, entrybox, treeview, bar_err, bar_ok, bar_label, combobox_weather_lang, weather_lang_list, combobox_service = city_id_dialog.create(self.window_main, APP_PATH, weather_lang, service);
  File "/usr/share/gis-weather/dialogs/city_id_dialog.py", line 83, in create
    ui.add_from_file(os.path.join(APP_PATH, "dialogs","city_id_dialog.ui"))
  File "/usr/lib/python3/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Необработанный тег «packing»
« Последнее редактирование: 11 Марта 2015, 13:47:47 от Acad »

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #573 : 11 Марта 2015, 14:01:46 »
Почему то не может загрузить Glade форму. Буду разбираться.
Для начала надо посмотреть
dpkg -l | grep python3
dpkg -l | grep gir1.2

Оффлайн Acad

  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #574 : 11 Марта 2015, 14:17:04 »
stanislav@debianpc:~$ dpkg -l | grep python3
ii  python3                               3.2.3-6                            all          interactive high-level object-oriented language (default python3 version)
ii  python3-cairo                         1.10.0+dfsg-2                      amd64        Python 3 bindings for the Cairo vector graphics library
ii  python3-dbg                           3.2.3-6                            all          debug build of the Python 3 Interpreter (version 3.2)
ii  python3-gi                            3.2.2-2                            amd64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                      3.2.2-2                            amd64        Python 3 Cairo bindings for the GObject library
ii  python3-gi-dbg                        3.2.2-2                            amd64        Python 3 bindings for gobject-introspection libraries (debug extension)
ii  python3-minimal                       3.2.3-6                            all          minimal subset of the Python language (default python3 version)
ii  python3.2                             3.2.3-7                            amd64        Interactive high-level object-oriented language (version 3.2)
ii  python3.2-dbg                         3.2.3-7                            amd64        Debug Build of the Python Interpreter (version 3.2)
ii  python3.2-minimal                     3.2.3-7                            amd64        Minimal subset of the Python language (version 3.2)
stanislav@debianpc:~$ dpkg -l | grep gir1.2
ii  gir1.2-appindicator3-0.1              0.4.92-2                           amd64        Typelib files for libappindicator3-1
ii  gir1.2-atk-1.0                        2.4.0-2                            amd64        ATK accessibility toolkit (GObject introspection)
ii  gir1.2-freedesktop                    1.32.1-1                           amd64        Introspection data for some FreeDesktop components
ii  gir1.2-gdkpixbuf-2.0                  2.26.1-1                           amd64        GDK Pixbuf library - GObject-Introspection
ii  gir1.2-glib-2.0                       1.32.1-1                           amd64        Introspection data for GLib, GObject, Gio and GModule
ii  gir1.2-gnomebluetooth-1.0             3.4.2-1                            amd64        Introspection data for GnomeBluetooth
ii  gir1.2-gtk-3.0                        3.4.2-7                            amd64        GTK+ graphical user interface library -- gir bindings
ii  gir1.2-pango-1.0                      1.30.0-1                           amd64        Layout and rendering of internationalized text - gir bindings
ii  gir1.2-rsvg-2.0                       2.36.1-2                           amd64        gir files for renderer library for SVG files
ii  gir1.2-vte-2.90                       1:0.32.2-1                         amd64        GObject introspection data for the VTE library
stanislav@debianpc:~$

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #575 : 12 Марта 2015, 14:12:37 »
Acad,
cat /usr/lib/python3/dist-packages/gi/types.py

Оффлайн Acad

  • Новичок
  • *
  • Сообщений: 19
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #576 : 12 Марта 2015, 16:20:09 »
Acad,
cat /usr/lib/python3/dist-packages/gi/types.py
stanislav@debianpc:~$ cat /usr/lib/python3/dist-packages/gi/types.py
# -*- Mode: Python; py-indent-offset: 4 -*-
# vim: tabstop=4 shiftwidth=4 expandtab
#
# Copyright (C) 2005-2009 Johan Dahlin <johan@gnome.org>
#
#   types.py: base types for introspected items.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
# USA

from __future__ import absolute_import

import sys
from . import _gobject

from ._gi import \
    InterfaceInfo, \
    ObjectInfo, \
    StructInfo, \
    VFuncInfo, \
    register_interface_info, \
    hook_up_vfunc_implementation

if sys.version_info > (3, 0):
    def callable(obj):
        return hasattr(obj, '__call__')

def Function(info):

    def function(*args, **kwargs):
        return info.invoke(*args, **kwargs)
    function.__info__ = info
    function.__name__ = info.get_name()
    function.__module__ = info.get_namespace()

    return function


class NativeVFunc(object):

    def __init__(self, info):
        self._info = info

    def __get__(self, instance, klass):
        def native_vfunc(*args, **kwargs):
            return self._info.invoke(klass.__gtype__, *args, **kwargs)
        native_vfunc.__info__ = self._info
        native_vfunc.__name__ = self._info.get_name()
        native_vfunc.__module__ = self._info.get_namespace()

        return native_vfunc


def Constructor(info):

    def constructor(cls, *args, **kwargs):
        cls_name = info.get_container().get_name()
        if cls.__name__ != cls_name:
            raise TypeError('%s constructor cannot be used to create instances of a subclass' % cls_name)
        return info.invoke(cls, *args, **kwargs)

    constructor.__info__ = info
    constructor.__name__ = info.get_name()
    constructor.__module__ = info.get_namespace()

    return constructor


class MetaClassHelper(object):

    def _setup_constructors(cls):
        for method_info in cls.__info__.get_methods():
            if method_info.is_constructor():
                name = method_info.get_name()
                constructor = classmethod(Constructor(method_info))
                setattr(cls, name, constructor)

    def _setup_methods(cls):
        for method_info in cls.__info__.get_methods():
            name = method_info.get_name()
            function = Function(method_info)
            if method_info.is_method():
                method = function
            elif method_info.is_constructor():
                continue
            else:
                method = staticmethod(function)
            setattr(cls, name, method)

    def _setup_fields(cls):
        for field_info in cls.__info__.get_fields():
            name = field_info.get_name().replace('-', '_')
            setattr(cls, name, property(field_info.get_value, field_info.set_value))

    def _setup_constants(cls):
        for constant_info in cls.__info__.get_constants():
            name = constant_info.get_name()
            value = constant_info.get_value()
            setattr(cls, name, value)

    def _setup_vfuncs(cls):
        for vfunc_name, py_vfunc in cls.__dict__.items():
            if not vfunc_name.startswith("do_") or not callable(py_vfunc):
                continue

            # If a method name starts with "do_" assume it is a vfunc, and search
            # in the base classes for a method with the same name to override.
            # Recursion is not necessary here because getattr() searches all
            # super class attributes as well.
            vfunc_info = None
            for base in cls.__bases__:
                method = getattr(base, vfunc_name, None)
                if method is not None and hasattr(method, '__info__') and \
                        isinstance(method.__info__, VFuncInfo):
                    vfunc_info = method.__info__
                    break

            # If we did not find a matching method name in the bases, we might
            # be overriding an interface virtual method. Since interfaces do not
            # provide implementations, there will be no method attribute installed
            # on the object. Instead we have to search through
            # InterfaceInfo.get_vfuncs(). Note that the infos returned by
            # get_vfuncs() use the C vfunc name (ie. there is no "do_" prefix).
            if vfunc_info is None:
                vfunc_info = find_vfunc_info_in_interface(cls.__bases__, vfunc_name[len("do_"):])

            if vfunc_info is not None:
                assert vfunc_name == ('do_' + vfunc_info.get_name())
                # Check to see if there are vfuncs with the same name in the bases.
                # We have no way of specifying which one we are supposed to override.
                ambiguous_base = find_vfunc_conflict_in_bases(vfunc_info, cls.__bases__)
                if ambiguous_base is not None:
                    base_info = vfunc_info.get_container()
                    raise TypeError('Method %s() on class %s.%s is ambiguous '
                            'with methods in base classes %s.%s and %s.%s' %
                            (vfunc_name,
                             cls.__info__.get_namespace(),
                             cls.__info__.get_name(),
                             base_info.get_namespace(),
                             base_info.get_name(),
                             ambiguous_base.__info__.get_namespace(),
                             ambiguous_base.__info__.get_name()))
                hook_up_vfunc_implementation(vfunc_info, cls.__gtype__,
                                             py_vfunc)

    def _setup_native_vfuncs(cls):
        # Only InterfaceInfo and ObjectInfo have the get_vfuncs() method.
        # We skip InterfaceInfo because interfaces have no implementations for vfuncs.
        # Also check if __info__ in __dict__, not hasattr('__info__', ...)
        # because we do not want to accidentally retrieve __info__ from a base class.
        class_info = cls.__dict__.get('__info__')
        if class_info is None or not isinstance(class_info, ObjectInfo):
            return

        for vfunc_info in class_info.get_vfuncs():
            name = 'do_%s' % vfunc_info.get_name()
            value = NativeVFunc(vfunc_info)
            setattr(cls, name, value)

def find_vfunc_info_in_interface(bases, vfunc_name):
    for base in bases:
        # All wrapped interfaces inherit from GInterface.
        # This can be seen in IntrospectionModule.__getattr__() in module.py.
        # We do not need to search regular classes here, only wrapped interfaces.
        # We also skip GInterface, because it is not wrapped and has no __info__ attr.
        if base is _gobject.GInterface or\
                not issubclass(base, _gobject.GInterface) or\
                not isinstance(base.__info__, InterfaceInfo):
            continue

        for vfunc in base.__info__.get_vfuncs():
            if vfunc.get_name() == vfunc_name:
                return vfunc

        vfunc = find_vfunc_info_in_interface(base.__bases__, vfunc_name)
        if vfunc is not None:
            return vfunc

    return None

def find_vfunc_conflict_in_bases(vfunc, bases):
    for klass in bases:
        if not hasattr(klass, '__info__') or \
                not hasattr(klass.__info__, 'get_vfuncs'):
            continue
        vfuncs = klass.__info__.get_vfuncs()
        vfunc_name = vfunc.get_name()
        for v in vfuncs:
            if v.get_name() == vfunc_name and v != vfunc:
                return klass

        aklass = find_vfunc_conflict_in_bases(vfunc, klass.__bases__)
        if aklass is not None:
            return aklass
    return None

class GObjectMeta(_gobject.GObjectMeta, MetaClassHelper):

    def __init__(cls, name, bases, dict_):
        super(GObjectMeta, cls).__init__(name, bases, dict_)
        is_gi_defined = False
        if cls.__module__ == 'gi.repository.' + cls.__info__.get_namespace():
            is_gi_defined = True

        is_python_defined = False
        if not is_gi_defined and cls.__module__ != GObjectMeta.__module__:
            is_python_defined = True

        if is_python_defined:
            cls._setup_vfuncs()
        elif is_gi_defined:
            cls._setup_methods()
            cls._setup_constants()
            cls._setup_native_vfuncs()

            if isinstance(cls.__info__, ObjectInfo):
                cls._setup_fields()
                cls._setup_constructors()
            elif isinstance(cls.__info__, InterfaceInfo):
                register_interface_info(cls.__info__.get_g_type())

    def mro(cls):
        return mro(cls)


def mro(C):
    """Compute the class precedence list (mro) according to C3

    Based on http://www.python.org/download/releases/2.3/mro/
    Modified to consider that interfaces don't create the diamond problem
    """
    # TODO: If this turns out being too slow, consider using generators
    bases = []
    bases_of_subclasses = [[C]]

    if C.__bases__:
        bases_of_subclasses += list(map(mro, C.__bases__)) + [list(C.__bases__)]

    while bases_of_subclasses:
        for subclass_bases in bases_of_subclasses:
            candidate = subclass_bases[0]
            not_head = [s for s in bases_of_subclasses if candidate in s[1:]]
            if not_head and _gobject.GInterface not in candidate.__bases__:
                candidate = None # conflict, reject candidate
            else:
                break

        if candidate is None:
            raise TypeError('Cannot create a consistent method resolution '
                            'order (MRO)')

        bases.append(candidate)

        for subclass_bases in bases_of_subclasses[:]: # remove candidate
            if subclass_bases and subclass_bases[0] == candidate:
                del subclass_bases[0]
                if not subclass_bases:
                    bases_of_subclasses.remove(subclass_bases)

    return bases


class StructMeta(type, MetaClassHelper):

    def __init__(cls, name, bases, dict_):
        super(StructMeta, cls).__init__(name, bases, dict_)

        # Avoid touching anything else than the base class.
        g_type = cls.__info__.get_g_type()
        if g_type != _gobject.TYPE_INVALID and g_type.pytype is not None:
            return

        cls._setup_fields()
        cls._setup_methods()
        cls._setup_constructors()

        for method_info in cls.__info__.get_methods():
            if method_info.is_constructor() and \
                    method_info.get_name() == 'new' and \
                    not method_info.get_arguments():
                cls.__new__ = staticmethod(Constructor(method_info))
                break

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #577 : 14 Марта 2015, 11:41:55 »
Не ожидал я, что так сильно будут отличаться наши types.py (у меня 14.04)
https://www.diffchecker.com/2jxiwsii

У меня 42 строчки, в которой происходит ошибка, даже нет.

Надо стравнить с Ubuntu 12.04, на которой работает. У кого 12.04 дайте вывод
cat /usr/lib/python3/dist-packages/gi/types.py

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #578 : 17 Марта 2015, 13:56:59 »
Нашел образ 12.04 и в виртулайке в лайв режиме попробовал. Виджет устанавливается и работает.
/usr/lib/python3/dist-packages/gi/types.py точно такой же, как и на Debian.
Но на Debian ошибка, а в Ubuntu 12.04 нет.

Возможно, что-то не той версии, а возможно чего-то и не хватает.   :idiot2:
Единственная идея - сравнить версии и пакеты.
12.04 после установки виджета.
ubuntu@ubuntu:~$ dpkg -l | grep python3
ii  python3                                    3.2.3-0ubuntu1                      interactive high-level object-oriented language (default python3 version)
ii  python3-cairo                              1.10.0+dfsg-1                       Python 3 bindings for the Cairo vector graphics library
ii  python3-gi                                 3.2.0-3                             Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                           3.2.0-3                             Python 3 Cairo bindings for the GObject library
ii  python3-minimal                            3.2.3-0ubuntu1                      minimal subset of the Python language (default python3 version)
ii  python3.2                                  3.2.3-0ubuntu1                      Interactive high-level object-oriented language (version 3.2)
ii  python3.2-minimal                          3.2.3-0ubuntu1                      Minimal subset of the Python language (version 3.2)
ubuntu@ubuntu:~$ dpkg -l | grep gir1.2
ii  gir1.2-appindicator3-0.1                   0.4.92-0ubuntu1.1                   Typelib files for libappindicator3-1.
ii  gir1.2-atk-1.0                             2.4.0-0ubuntu1                      ATK accessibility toolkit (GObject introspection)
ii  gir1.2-atspi-2.0                           2.4.2-0ubuntu0.1                    Assistive Technology Service Provider (GObject introspection)
ii  gir1.2-dbusmenu-glib-0.4                   0.6.2-0ubuntu0.2                    typelib file for libdbusmenu-glib4
ii  gir1.2-dbusmenu-gtk-0.4                    0.6.2-0ubuntu0.2                    typelib file for libdbusmenu-gtk4
ii  gir1.2-dee-1.0                             1.0.10-0ubuntu1.1                   GObject introspection data for the Dee library
ii  gir1.2-freedesktop                         1.32.0-1                            Introspection data for some FreeDesktop components
ii  gir1.2-gdkpixbuf-2.0                       2.26.1-1                            GDK Pixbuf library - GObject-Introspection
ii  gir1.2-glib-2.0                            1.32.0-1                            Introspection data for GLib, GObject, Gio and GModule
ii  gir1.2-gmenu-3.0                           3.4.0-0ubuntu1                      GObject introspection data for the GNOME menu library
ii  gir1.2-gnomebluetooth-1.0                  3.2.2-0ubuntu5                      Introspection data for GnomeBluetooth
ii  gir1.2-gnomekeyring-1.0                    3.2.2-2                             GNOME keyring services library - introspection data
ii  gir1.2-gst-plugins-base-0.10               0.10.36-1ubuntu0.1                  Description: GObject introspection data for the GStreamer Plugins Base library
ii  gir1.2-gstreamer-0.10                      0.10.36-1ubuntu1                    Description: GObject introspection data for the GStreamer library
ii  gir1.2-gtk-2.0                             2.24.10-0ubuntu6                    GTK+ graphical user interface library -- gir bindings
ii  gir1.2-gtk-3.0                             3.4.2-0ubuntu0.6                    GTK+ graphical user interface library -- gir bindings
ii  gir1.2-gtksource-3.0                       3.4.2-0ubuntu1                      gir files for the GTK+ syntax highlighting widget
ii  gir1.2-gudev-1.0                           175-0ubuntu9.4                      libgudev-1.0 introspection data
ii  gir1.2-indicate-0.7                        0.6.92-0ubuntu1                     Typelib file for libindicate5
ii  gir1.2-javascriptcoregtk-3.0               1.8.3-0ubuntu0.12.04.1              GObject introspection data for the GTK+-based JavaScriptCore library
ii  gir1.2-json-1.0                            0.14.2-1                            GLib JSON manipulation library (introspection data)
ii  gir1.2-launchpad-integration-3.0           0.1.56.1                            library for launchpad integration (gir files)
ii  gir1.2-notify-0.7                          0.7.5-1                             sends desktop notifications to a notification daemon (Introspection files)
ii  gir1.2-pango-1.0                           1.30.0-0ubuntu3.1                   Layout and rendering of internationalized text - gir bindings
ii  gir1.2-peas-1.0                            1.2.0-1ubuntu1                      Application plugin library (introspection files)
ii  gir1.2-rb-3.0                              2.96-0ubuntu4.3                     GObject introspection data for the rhythmbox music player
ii  gir1.2-soup-2.4                            2.38.1-1                            GObject introspection data for the libsoup HTTP library
ii  gir1.2-timezonemap-1.0                     0.3.2                               typelib interface for libtimezonemap
ii  gir1.2-totem-1.0                           3.0.1-0ubuntu21.1                   GObject introspection data for Totem media player
ii  gir1.2-totem-plparser-1.0                  3.4.1-1                             GObject introspection data for the Totem Playlist Parser library
ii  gir1.2-unity-5.0                           5.12.0-0ubuntu1.1                   GObject introspection data for the Unity library
ii  gir1.2-vte-2.90                            1:0.32.1-0ubuntu1                   GObject introspection data for the VTE library
ii  gir1.2-webkit-3.0                          1.8.3-0ubuntu0.12.04.1              GObject introspection data for the WebKit library
ii  gir1.2-wnck-3.0                            3.4.0-0ubuntu1                      GObject introspection data for the WNCK library
ii  gir1.2-xkl-1.0                             5.2.1-1ubuntu1                      X Keyboard Extension high-level API - introspection data

Оффлайн qazawaq

  • Участник
  • *
  • Сообщений: 136
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #579 : 23 Марта 2015, 04:37:42 »
Прекрасное приложение  :D ! Спасибо .

Оффлайн Antony3d

  • Любитель
  • *
  • Сообщений: 83
  • 12.04+GNOME Shell 3.4.1
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #580 : 27 Марта 2015, 08:39:09 »
Не работает. Ubuntu 12.04. версия приложение последняя, установилась без ошибок.

По любому коду города добавляется как новосибирск, кнопка close&reload selected - вешает приложение, соответственно удалить предыдущие города невозможно.

Ну и вместо погоды показывает ошибку:

« Последнее редактирование: 27 Марта 2015, 08:44:37 от Antony3d »

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #581 : 27 Марта 2015, 10:17:20 »
А если AccuWeather?

Оффлайн Antony3d

  • Любитель
  • *
  • Сообщений: 83
  • 12.04+GNOME Shell 3.4.1
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #582 : 27 Марта 2015, 10:27:11 »
Всё также, добавляет любой город как н-ск, также виснет по кнопке close&reload selected
И так же ничего не работает.

Пользователь решил продолжить мысль 27 Марта 2015, 10:30:18:
Еще вот такое бывает после клоуз анд релоад:
« Последнее редактирование: 27 Марта 2015, 10:30:18 от Antony3d »

Оффлайн RingOV

  • Автор темы
  • Активист
  • *
  • Сообщений: 764
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #583 : 27 Марта 2015, 10:40:05 »
Пробуем так:
Закрыть виджет
rm ~/.config/gis-weather/gw_config*Запустить в терминале
Выбрать AccuWeather
Добавить za/sun-city/306096
Нажать close&reload
Весь вывод терминала скопировать в сообщение под спойлер

Оффлайн Antony3d

  • Любитель
  • *
  • Сообщений: 83
  • 12.04+GNOME Shell 3.4.1
    • Просмотр профиля
Re: Gis Weather погодный виджет v0.7.5 (20.12.2014)
« Ответ #584 : 27 Марта 2015, 10:55:48 »
└──▶ rm gw_config1.json
┌─(a3d)  (~/.config/gis-weather) 693.93GiB
└──▶ ls
backgrounds  color_schemes  gw_config1.json  icons  presets
Ничего не понял, не удаляется, а если удалить через sudo то все равно настройки не обнуляются.
┌─(a3d)  (~/.config/gis-weather)
└──▶ ll
total 8
drwxrwxr-x 1 a3d a3d  132 марта 27 13:54 ./
drwx------ 1 a3d a3d 1480 марта 27 11:18 ../
drwxrwxr-x 1 a3d a3d    0 марта 27 11:18 backgrounds/
drwxrwxr-x 1 a3d a3d  108 марта 27 11:18 color_schemes/
-rw-rw-r-- 1 a3d a3d 3267 марта 27 13:55 gw_config1.json
-rw-rw-r-- 1 a3d a3d 3260 марта 27 13:54 gw_config2.json
drwxrwxr-x 1 a3d a3d   14 марта 27 11:18 icons/
drwxrwxr-x 1 a3d a3d  130 марта 27 11:18 presets/

 

Страница сгенерирована за 0.022 секунд. Запросов: 21.