[maemo-developers] [maemo-developers] Python2.5 in maemo 3.0 SDK
From: Luciano Miguel Wolf luciano.wolf at indt.org.brDate: Mon Jan 22 16:30:16 EET 2007
- Previous message: [maemo-developers] Python2.5 in maemo 3.0 SDK
- Next message: [maemo-developers] Re: video chat protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi David, This problem happens when you don't export the DISPLAY variable correctly. You need to point it to a valid X session, as described in Maemo tutorial. And I agree, the error message could be a bit clear about the real problem :) Regards, Luciano ext David wrote: > Hi > The first time I installed the SDK with python2.5, all works fine. > > But after a problem with some deb packages, I install the SDK one more > time ( Yes, It is not a solution....) > > Now, I can't import gtk module : > > [sbox-SDK_X86: /] > python2.5 > Python 2.5 (r25:9103, Jan 15 2007, 16:50:56) > [GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import gtk > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init > __.py", line 83, in <module> > File > "debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init > __.py", line 70, in _init > NameError: global name '_gtk' is not defined > > google don't help me :-( > > Any suggestion ? > > Thanks. > > David. > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers
- Previous message: [maemo-developers] Python2.5 in maemo 3.0 SDK
- Next message: [maemo-developers] Re: video chat protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]