py-gnome problems on -CURRENT

Pav Lucistnik pav at FreeBSD.org
Fri Apr 9 11:28:32 GMT 2004


V pá, 09. 04. 2004 v 12:18, Franz Klammer píše:

> >I'm running into weird behaviour of py-gnome under -CURRENT.
> >
> >$ python
> >Python 2.3.3 (#2, Mar 11 2004, 11:36:35) 
> >[GCC 3.3.3 [FreeBSD] 20031106] on freebsd5
> >Type "help", "copyright", "credits" or "license" for more information.
> >  
> >
> >>>>import gnome.canvas
> >>>>        
> >>>>
> >Traceback (most recent call last):
> >  File "<stdin>", line 1, in ?
> >ImportError: could not import gtk._gtk
> >  
> >
> >
> >truss shows it's trying to load library <stdin> (literally) just after
> >loading gtk20-properties.mo. Question is - why? And it works OK on
> >-STABLE...
> >
> >Anyone can help me here?
> >
> >  
> >
> looks like it doesn't find the gtk-module to import.
> i've seen this (resp. same) error after a typo in importing:
> 
> Python 2.3.3 (#2, Apr  1 2004, 18:37:59)
> [GCC 3.3.3 [FreeBSD] 20031106] on freebsd5
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import gnome.cnavas
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named cnavas
>  >>> import gnome.canvas
>  >>>
> 
> maybe you should rebuild all your py\* packages or at least py23-gtk ...

Well I get the message

ImportError: could not import gtk._gtk

Which is correct, there is gtk-2.0/gtk/_gtk.so and truss shows this file
is found and processed.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Do not meddle in the affairs of Wizards, for they are subtle and
quick to anger.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040409/1602ddf4/attachment.bin


More information about the freebsd-gnome mailing list