py-gnome problems on -CURRENT
Franz Klammer
klammer at webonaut.com
Fri Apr 9 10:18:26 GMT 2004
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.
More information about the freebsd-gnome
mailing list