maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Diablo Python has no gtk.glade? (https://talk.maemo.org/showthread.php?t=21381)

yerga 2008-06-29 18:38

Re: Diablo Python has no gtk.glade?
 
Quote:

Originally Posted by brontide (Post 197360)
Not to be an indian giver... does the 770 support Gtk.Builder or is that limited to the gtk backport in OS2008?

I think it was done in OS2008. the gtk version in OS2007 and OS2006 was 2.6, too old to backport to it.
GtkBuilder was available from 2.12, and in OS2008 we have 2.10.

Baloo 2008-06-29 19:38

Re: Diablo Python has no gtk.glade?
 
Mmm, can't get gtk to work in a Diablo scratchbox at the moment.

Code:

Python 2.3.4 (#1, Aug  1 2007, 16:36:19)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named gtk
>>>


Baloo 2008-06-29 19:41

Re: Diablo Python has no gtk.glade?
 
Seems that 'python' points to 2.3.4 for me on a fresh diablo install and a 'python2.5' gives the following:

Code:

sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
sem_post: Function not implemented
Python 2.5.1 (r251:54863, Apr 30 2008, 09:17:53)
[GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
sem_post: Function not implemented
sem_post: Function not implemented
>>>


lorelei 2008-06-29 19:51

Re: Diablo Python has no gtk.glade?
 
@Baloo: you have to install python2.5-runtime in order to have python 2.5.

that sem_post message comes from qemu running behind scratchbox, and can be ignored....

Baloo 2008-06-29 20:07

Re: Diablo Python has no gtk.glade?
 
In a Diablo scratchbox python2.5-runtime can't be found. Nokia need to do some catch-up.

lorelei 2008-06-29 20:24

Re: Diablo Python has no gtk.glade?
 
Quote:

Originally Posted by Baloo (Post 197396)
In a Diablo scratchbox python2.5-runtime can't be found. Nokia need to do some catch-up.

Well, it looks like you were able to run Python 2.5, at least according to your screen output you posted before?

In any case, I'm pretty sure that python 2.5 exists on Diablo....

Baloo 2008-06-29 21:04

Re: Diablo Python has no gtk.glade?
 
2.5 is there but no other packages, especially to do with gtk and python.

lorelei 2008-06-29 21:22

Re: Diablo Python has no gtk.glade?
 
python2.5-gtk2 has already been uploaded to diablo-extras, so it should be available when you do an "apt-get install python2.5-gtk2" on a scratchbox terminal...

From the repository it looks like a lot of python2.5-related packages are already uploaded:

http://repository.maemo.org/extras/pool/chinook/free/p/

Did you configure properly your /etc/apt/sources.list in scratchbox?

TrueJournals 2008-06-30 03:47

Re: Diablo Python has no gtk.glade?
 
But that's the chinook repository... Try http://repository.maemo.org/extras/pool/diablo/free/p/

There are some python packages, but not as many.

lorelei 2008-06-30 07:05

Re: Diablo Python has no gtk.glade?
 
My bad....wrong copy-paste :s

Anyways, I meant the diablo repository, which has python2.5-gtk2


All times are GMT. The time now is 01:52.

vBulletin® Version 3.8.8