Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Apr 2004 12:18:22 +0200
From:      Franz Klammer <klammer@webonaut.com>
To:        pav@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: py-gnome problems on -CURRENT
Message-ID:  <4076786E.9010800@webonaut.com>
In-Reply-To: <1081504272.21715.19.camel@pav.hide.vol.cz>
References:  <1081504272.21715.19.camel@pav.hide.vol.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:

>Hi,
>
>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 ...

franz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4076786E.9010800>