{"action":"created","issue":{"url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator/issues/197","repository_url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator","labels_url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator/issues/197/comments","events_url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator/issues/197/events","html_url":"https://github.com/slytomcat/yandex-disk-indicator/issues/197","id":334069781,"node_id":"MDU6SXNzdWUzMzQwNjk3ODE=","number":197,"title":"Подвисает во время обновления истории загрузок...","user":{"login":"linxon","id":8144644,"node_id":"MDQ6VXNlcjgxNDQ2NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8144644?v=4","gravatar_id":"","url":"https://api.github.com/users/linxon","html_url":"https://github.com/linxon","followers_url":"https://api.github.com/users/linxon/followers","following_url":"https://api.github.com/users/linxon/following{/other_user}","gists_url":"https://api.github.com/users/linxon/gists{/gist_id}","starred_url":"https://api.github.com/users/linxon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linxon/subscriptions","organizations_url":"https://api.github.com/users/linxon/orgs","repos_url":"https://api.github.com/users/linxon/repos","events_url":"https://api.github.com/users/linxon/events{/privacy}","received_events_url":"https://api.github.com/users/linxon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-20T13:10:37Z","updated_at":"2018-06-21T07:35:25Z","closed_at":null,"author_association":"NONE","body":"Если во время синхронизации открыть пункт \"Последние синхронизированные\" и дождаться обновления списка истории, то в момент обновления индикатор насмерть зависает.\r\n\r\n**До:** ![menu_189](https://user-images.githubusercontent.com/8144644/41658626-a58c3c02-749f-11e8-84fc-b202722cbf6a.png)\r\n\r\n**После:** ![menu_189 1-](https://user-images.githubusercontent.com/8144644/41658759-1727e1cc-74a0-11e8-906a-f33ba67fb781.png)\r\n\r\n**Вывод команды \"yandex-disk-indicator -l10\"**\r\n```bash\r\n2018-06-20 15:48:09,496 INFO     yandex-disk-indicator v.1.10.4\r\n2018-06-20 15:48:09,496 DEBUG    Logging level: 10\r\n2018-06-20 15:48:09,497 DEBUG    Config value read as: autostart = False\r\n2018-06-20 15:48:09,498 DEBUG    Config value read as: fmextensions = False\r\n2018-06-20 15:48:09,498 DEBUG    Config value read as: theme = True\r\n2018-06-20 15:48:09,498 DEBUG    Config value read as: daemons = ¯\\_(ツ)_/¯\r\n2018-06-20 15:48:09,498 DEBUG    Config value read as: notifications = False\r\n2018-06-20 15:48:09,498 INFO     Config read: ¯\\_(ツ)_/¯\r\n2018-06-20 15:48:09,555 DEBUG    Config value read as: auth = ¯\\_(ツ)_/¯\r\n2018-06-20 15:48:09,555 DEBUG    Config value read as: dir = ¯\\_(ツ)_/¯\r\n2018-06-20 15:48:09,555 DEBUG    Config value read as: exclude-dirs = ¯\\_(ツ)_/¯\r\n2018-06-20 15:48:09,555 DEBUG    Config value read as: proxy = False\r\n2018-06-20 15:48:09,555 DEBUG    Config value read as: startonstartofindicator = False\r\n2018-06-20 15:48:09,556 DEBUG    Config value read as: stoponexitfromindicator = True\r\n2018-06-20 15:48:09,556 INFO     Config read: ¯\\_(ツ)_/¯\r\n\r\n(yandex-disk-indicator.py:31838): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed\r\n2018-06-20 15:48:09,878 DEBUG    Event raised by Timer\r\n2018-06-20 15:48:09,878 INFO     Change event: stat,size,\r\n2018-06-20 15:48:09,880 DEBUG    Sub-menu 'Last synchronized' has 0 items\r\n2018-06-20 15:48:09,880 INFO     Status: unknown -> none\r\n2018-06-20 15:48:16,861 INFO     Daemon started, message: Запуск демона...Готово\r\n\r\n2018-06-20 15:48:17,347 DEBUG    Event raised by Watcher\r\n2018-06-20 15:48:17,347 INFO     Change event: ,,last\r\n2018-06-20 15:48:17,450 DEBUG    Sub-menu 'Last synchronized' has 10 items\r\n2018-06-20 15:48:24,542 DEBUG    Event raised by Watcher\r\n2018-06-20 15:48:24,542 INFO     Change event: stat,size,\r\n2018-06-20 15:48:24,543 INFO     Status: none -> busy\r\n2018-06-20 15:48:59,945 DEBUG    Event raised by Watcher\r\n2018-06-20 15:48:59,945 INFO     Change event: stat,,last\r\n2018-06-20 15:48:59,977 DEBUG    Sub-menu 'Last synchronized' has 10 items\r\n2018-06-20 15:49:02,185 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:02,186 INFO     Change event: stat,,\r\n2018-06-20 15:49:04,214 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:04,215 INFO     Change event: stat,,\r\n2018-06-20 15:49:06,252 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:06,252 INFO     Change event: stat,,\r\n2018-06-20 15:49:12,837 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:12,838 INFO     Change event: stat,,\r\n2018-06-20 15:49:19,326 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:19,327 INFO     Change event: stat,,\r\n2018-06-20 15:49:23,536 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:23,536 INFO     Change event: stat,,\r\n2018-06-20 15:49:25,843 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:25,843 INFO     Change event: stat,,\r\n2018-06-20 15:49:31,318 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:31,318 INFO     Change event: stat,,\r\n2018-06-20 15:49:36,524 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:36,524 INFO     Change event: stat,,\r\n2018-06-20 15:49:41,240 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:41,240 INFO     Change event: stat,,\r\n2018-06-20 15:49:45,907 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:45,907 INFO     Change event: stat,,\r\n2018-06-20 15:49:51,025 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:51,025 INFO     Change event: stat,,\r\n2018-06-20 15:49:56,252 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:56,252 INFO     Change event: stat,,\r\n2018-06-20 15:49:59,162 DEBUG    Event raised by Timer\r\n2018-06-20 15:49:59,162 INFO     Change event: stat,,\r\n2018-06-20 15:50:06,320 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:06,321 INFO     Change event: stat,,\r\n2018-06-20 15:50:13,392 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:13,393 INFO     Change event: stat,,\r\n2018-06-20 15:50:19,664 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:19,665 INFO     Change event: stat,,\r\n2018-06-20 15:50:26,454 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:26,454 INFO     Change event: stat,,\r\n2018-06-20 15:50:29,859 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:29,859 INFO     Change event: stat,,\r\n2018-06-20 15:50:37,295 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:37,295 INFO     Change event: stat,,\r\n2018-06-20 15:50:40,419 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:40,419 INFO     Change event: stat,,\r\n2018-06-20 15:50:45,487 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:45,488 INFO     Change event: stat,,\r\n2018-06-20 15:50:48,635 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:48,635 INFO     Change event: stat,,\r\n2018-06-20 15:50:52,078 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:52,079 INFO     Change event: stat,,\r\n2018-06-20 15:50:56,290 DEBUG    Event raised by Timer\r\n2018-06-20 15:50:56,290 INFO     Change event: stat,,\r\n2018-06-20 15:51:01,922 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:01,922 INFO     Change event: stat,,last\r\n2018-06-20 15:51:04,317 DEBUG    Sub-menu 'Last synchronized' has 10 items\r\n *** судя по всему где-то тут начинает подвисать ***\r\n2018-06-20 15:51:07,317 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:07,317 INFO     Change event: stat,,\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n2018-06-20 15:51:09,846 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:09,846 INFO     Change event: stat,,\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n\r\n(yandex-disk-indicator.py:31838): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed\r\n2018-06-20 15:51:11,926 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:11,926 INFO     Change event: stat,,\r\n2018-06-20 15:51:14,329 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:14,329 INFO     Change event: stat,,\r\n2018-06-20 15:51:22,086 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:22,086 INFO     Change event: stat,,\r\n2018-06-20 15:51:25,687 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:25,687 INFO     Change event: stat,,\r\n2018-06-20 15:51:33,342 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:33,342 INFO     Change event: stat,,\r\n2018-06-20 15:51:37,245 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:37,245 INFO     Change event: stat,,\r\n2018-06-20 15:51:42,633 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:42,633 INFO     Change event: stat,,\r\n2018-06-20 15:51:47,837 DEBUG    Event raised by Timer\r\n2018-06-20 15:51:47,838 INFO     Change event: stat,,\r\n*** Делаю SIGTERM ***\r\n2018-06-20 15:51:49,586 DEBUG    Exit started\r\n2018-06-20 15:51:49,586 DEBUG    Indicator exit started: \r\n2018-06-20 15:51:58,573 INFO     Daemon stopped, message: Демон остановлен.\r\n\r\n2018-06-20 15:51:58,573 INFO     Demon stopped\r\n2018-06-20 15:51:58,573 DEBUG    Indicator exited\r\n```\r\n\r\nПугают сообщения \"(yandex-disk-indicator.py:31838): Gtk-CRITICAL **\"...\r\nОС Gentoo Linux. Дерево зависимостей:\r\n```bash\r\n* dependency graph for x11-misc/yd-tools-1.10.4\r\n `--  x11-misc/yd-tools-1.10.4  ~amd64 \r\n   `--  dev-lang/python-3.4.8  (dev-lang/python) amd64 \r\n   `--  dev-lang/python-3.5.5  (dev-lang/python) amd64 \r\n   `--  dev-lang/python-3.6.5  (dev-lang/python) amd64 \r\n   `--  dev-lang/python-exec-2.4.5  (>=dev-lang/python-exec-2) amd64  [python_targets_python3_4(-)? python_targets_python3_5(-)? python_targets_python3_6(-)? -python_single_target_python3_4(-) -python_single_target_python3_5(-) -python_single_target_python3_6(-)]\r\n   `--  dev-libs/glib-2.52.3  (>=dev-libs/glib-2.0) amd64 \r\n   `--  dev-libs/libappindicator-12.10.0-r301  (dev-libs/libappindicator) amd64 \r\n   `--  dev-python/pyinotify-0.9.6  (>=dev-python/pyinotify-0.9.6) amd64  [python_targets_python3_4(-)? python_targets_python3_5(-)? python_targets_python3_6(-)? -python_single_target_python3_4(-) -python_single_target_python3_5(-) -python_single_target_python3_6(-)]\r\n   `--  dev-python/pygobject-3.24.1  (dev-python/pygobject) amd64  [python_targets_python3_4(-)? python_targets_python3_5(-)? python_targets_python3_6(-)? -python_single_target_python3_4(-) -python_single_target_python3_5(-) -python_single_target_python3_6(-)]\r\n   `--  gnome-extra/zenity-3.24.0  (gnome-extra/zenity) amd64 \r\n   `--  net-misc/yandex-disk-0.1.5.978_p1  (net-misc/yandex-disk) ~amd64 \r\n   `--  x11-misc/xclip-0.13  (x11-misc/xclip) amd64 \r\n   `--  x11-libs/gtk+-3.22.29  (>=x11-libs/gtk+-3.0) amd64 \r\n   `--  x11-libs/gdk-pixbuf-2.36.12  (>=x11-libs/gdk-pixbuf-2.0) amd64 \r\n   `--  sys-devel/gettext-0.19.8.1  (sys-devel/gettext) amd64 \r\n   `--  sys-apps/sed-4.2.2  (>=sys-apps/sed-4) amd64 \r\n[ x11-misc/yd-tools-1.10.4 stats: packages (16), max depth (1) ]\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator/issues/comments/399005493","html_url":"https://github.com/slytomcat/yandex-disk-indicator/issues/197#issuecomment-399005493","issue_url":"https://api.github.com/repos/slytomcat/yandex-disk-indicator/issues/197","id":399005493,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTAwNTQ5Mw==","user":{"login":"slytomcat","id":8654729,"node_id":"MDQ6VXNlcjg2NTQ3Mjk=","avatar_url":"https://avatars0.githubusercontent.com/u/8654729?v=4","gravatar_id":"","url":"https://api.github.com/users/slytomcat","html_url":"https://github.com/slytomcat","followers_url":"https://api.github.com/users/slytomcat/followers","following_url":"https://api.github.com/users/slytomcat/following{/other_user}","gists_url":"https://api.github.com/users/slytomcat/gists{/gist_id}","starred_url":"https://api.github.com/users/slytomcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slytomcat/subscriptions","organizations_url":"https://api.github.com/users/slytomcat/orgs","repos_url":"https://api.github.com/users/slytomcat/repos","events_url":"https://api.github.com/users/slytomcat/events{/privacy}","received_events_url":"https://api.github.com/users/slytomcat/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T07:35:25Z","updated_at":"2018-06-21T07:35:25Z","author_association":"OWNER","body":"Gtk-CRITICAL - 'CRITICAL' как бы намекает... После этой ошибки там основной цикл GTK подвисает и приходит хана всему GUI. Народ на стаковерфлове только одно и обсуждает - как заставить GTK игнорировать эту ошибку. И рецепты там есть. Но это ИМХО не совсем верный вариант... Надо бы устранить причину по которой этот критикал возникает.\r\n\r\nQt версию на питоне взялся сделать один человек. Я разделил проект на две аля-мастер ветки и сейчас все обновления коммичу в обе. Кроме текущего мастера есть ветка gtk+qt в которой код индикатора разделен на три части - тулзы, наблюдатель за yandex-disk, и GUI. Идея такова, что в зависимости от того, какой GUI компонент в сборку включается получается либо GTK, либо QT версия. \r\nПо своей части работ (размежевание GUI от всего остального) я все сделал, QT-шный GUI - пока в работе (человек работу поменял, поэтому не быстро). "}}
{"actor":{"display_login":"slytomcat"}}