ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] pygtk
@ 2003-09-04 15:24 Sergey Degtyaryov
  2003-09-05 14:09 ` Alexandre Prokoudine
  0 siblings, 1 reply; 4+ messages in thread
From: Sergey Degtyaryov @ 2003-09-04 15:24 UTC (permalink / raw)
  To: Sisyphus

Добрый вечер.

У меня почему-то не импортируются классы из 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


-- 
Сергей Дегтярев



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] pygtk
  2003-09-04 15:24 [sisyphus] pygtk Sergey Degtyaryov
@ 2003-09-05 14:09 ` Alexandre Prokoudine
  2003-09-05 20:24   ` Sergey Degtyaryov
  2003-09-08 13:49   ` [sisyphus] pygtk Michael Shigorin
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Prokoudine @ 2003-09-05 14:09 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

Sergey Degtyaryov wrote
> Добрый вечер.
> 
> У меня почему-то не импортируются классы из gtk.py
> вот таким образом:

Они вообще никак не импортируются. PyGtk у нас уже, по личному опыту, давно нерабочий.


-- 
Alexandre Prokoudine
ALT Linux Documentation Team
JabberID: avp@altlinux.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] pygtk
  2003-09-05 14:09 ` Alexandre Prokoudine
@ 2003-09-05 20:24   ` Sergey Degtyaryov
  2003-09-08 13:49   ` [sisyphus] pygtk Michael Shigorin
  1 sibling, 0 replies; 4+ messages in thread
From: Sergey Degtyaryov @ 2003-09-05 20:24 UTC (permalink / raw)
  To: sisyphus

Alexandre Prokoudine wrote:
> Sergey Degtyaryov wrote
> 
>>Добрый вечер.
>>
>>У меня почему-то не импортируются классы из gtk.py
>>вот таким образом:
> 
> 
> Они вообще никак не импортируются. PyGtk у нас уже, по личному опыту, давно нерабочий.

Я , прочитав это, собрал зимиановские, навскидку, пакеты (pygtk и 
pygtk-devel).
Это не помогает, так что проблема где-то глубже.

-- 
С уважением, Сергей Дегтярев
XMMS : %s



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sisyphus] Re: pygtk
  2003-09-05 14:09 ` Alexandre Prokoudine
  2003-09-05 20:24   ` Sergey Degtyaryov
@ 2003-09-08 13:49   ` Michael Shigorin
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2003-09-08 13:49 UTC (permalink / raw)
  To: sisyphus; +Cc: Alexandre Prokoudine

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

On Fri, Sep 05, 2003 at 06:09:04PM +0400, Alexandre Prokoudine wrote:
> > У меня почему-то не импортируются классы из gtk.py вот таким
> > образом:
> Они вообще никак не импортируются. PyGtk у нас уже, по личному
> опыту, давно нерабочий.

trickster:~> rpm -qR solfege | grep pygtk
pygtk2 >= 1.9.11

и ведь как-то работает, хотя зимой-весной проблемы были
действительно недетские.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-08 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 15:24 [sisyphus] pygtk Sergey Degtyaryov
2003-09-05 14:09 ` Alexandre Prokoudine
2003-09-05 20:24   ` Sergey Degtyaryov
2003-09-08 13:49   ` [sisyphus] pygtk Michael Shigorin

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