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

next in thread | previous in thread | raw e-mail | index | archive | help

--=-O+H1kNKbpYOkdtRm0nOE
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

V p=E1, 09. 04. 2004 v 12:18, Franz Klammer p=ED=B9e:

> >I'm running into weird behaviour of py-gnome under -CURRENT.
> >
> >$ python
> >Python 2.3.3 (#2, Mar 11 2004, 11:36:35)=20
> >[GCC 3.3.3 [FreeBSD] 20031106] on freebsd5
> >Type "help", "copyright", "credits" or "license" for more information.
> > =20
> >
> >>>>import gnome.canvas
> >>>>       =20
> >>>>
> >Traceback (most recent call last):
> >  File "<stdin>", line 1, in ?
> >ImportError: could not import gtk._gtk
> > =20
> >
> >
> >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?
> >
> > =20
> >
> looks like it doesn't find the gtk-module to import.
> i've seen this (resp. same) error after a typo in importing:
>=20
> 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
>  >>>
>=20
> 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.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Do not meddle in the affairs of Wizards, for they are subtle and
quick to anger.

--=-O+H1kNKbpYOkdtRm0nOE
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: 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?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAdojdntdYP8FOsoIRAjmqAJ9LPq3YfAKErPzH/pvCM62AS3rK2gCcDprh
T7oiftYPyY1MHxmc+rWfOFM=
=QY9y
-----END PGP SIGNATURE-----

--=-O+H1kNKbpYOkdtRm0nOE--



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