From: Sergey Degtyaryov <maga@beltel.ru> To: Sisyphus@altlinux.ru Subject: [sisyphus] pygtk Date: Thu, 04 Sep 2003 19:24:51 +0400 Message-ID: <3F575943.4090902@beltel.ru> (raw) Добрый вечер. У меня почему-то не импортируются классы из gtk.py вот таким образом: Traceback (most recent call last): File "/usr/bin/icepref", line 1253, in ? class Label(GtkLabel): NameError: name 'GtkLabel' is not defined если включить в скрипт "from GtkExtra import *", то ругается уже GtkExtra, но на тот же самый gtk.py: File "/usr/bin/icepref", line 26, in ? from GtkExtra import * File "/usr/lib/python2.2/site-packages/GtkExtra.py", line 116, in ? class _MessageBox(GtkDialog): NameError: name 'GtkDialog' is not defined На "from gtk import *" -- ругани нет. gtk.py присутствует, со всеми перечисленными выше классами. [maga@work /]$ rpm -qa|grep pygtk pygtk-devel-0.6.9-alt5 pygtk-0.6.9-alt5 pygtk2-1.99.12-alt1 pygtk-glarea-0.6.9-alt5 -- Сергей Дегтярев
next reply other threads:[~2003-09-04 15:24 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-09-04 15:24 Sergey Degtyaryov [this message] 2003-09-05 14:09 ` Alexandre Prokoudine 2003-09-05 20:24 ` Sergey Degtyaryov 2003-09-08 13:49 ` [sisyphus] pygtk Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3F575943.4090902@beltel.ru \ --to=maga@beltel.ru \ --cc=Sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git