Не удалось подключиться к archive.ubuntu.com:80, время ожидания подключения

Я щелкнул по прокомментированному:

http://www.jonobacon.org/2009/12/17/application-indicators-in-python/

и нашел оригинальная wiki:

http://www.jonobacon.org/2009/12/17/application-indicators-in-python/

It что добавление меню (даже пустого с «ind.set_menu (gtk.Menu ())» приводит к появлению индикатора состояния. Это желаемый результат?

import appindicator
import gtk
ind = appindicator.Indicator("test", "monitor", appindicator.CATEGORY_APPLICATION_STATUS)
ind.set_status(appindicator.STATUS_ACTIVE)
ind.set_attention_icon("indicator-messages-new")
menu = gtk.Menu()
ind.set_menu(gtk.Menu())
gtk.main()

0
задан 30 November 2017 в 19:01

2 ответа

Не ответ, но аналогичная проблема здесь. Вместо открытия нового потока.

Err:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease Could not connect to in.archive.ubuntu.com:80 (91.189.88.161), connection timed out [IP: 91.189.88.161 80] Err:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] Err:3 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] Err:4 http://in.archive.ubuntu.com/ubuntu xenial-security InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] Reading package lists... Done W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not connect to in.archive.ubuntu.com:80 (91.189.88.161), connection timed out [IP: 91.189.88.161 80] W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] W: Some index files failed to download. They have been ignored, or old ones used instead.

Просто упомянем ping & amp; host -v делают свою работу правильно.

0
ответ дан 18 July 2018 в 02:18

Не ответ, но аналогичная проблема здесь. Вместо открытия нового потока.

Err:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease Could not connect to in.archive.ubuntu.com:80 (91.189.88.161), connection timed out [IP: 91.189.88.161 80] Err:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] Err:3 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] Err:4 http://in.archive.ubuntu.com/ubuntu xenial-security InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] Reading package lists... Done W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not connect to in.archive.ubuntu.com:80 (91.189.88.161), connection timed out [IP: 91.189.88.161 80] W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease Unable to connect to in.archive.ubuntu.com:http: [IP: 91.189.88.161 80] W: Some index files failed to download. They have been ignored, or old ones used instead.

Просто упомянем ping & amp; host -v делают свою работу правильно.

0
ответ дан 24 July 2018 в 17:31

Другие вопросы по тегам:

Похожие вопросы: