![]() |
Diablo Python has no gtk.glade?
I just refreshed the application list and updated everything, which installed a new version of python. Unfortunately, this version seems to not include the gtk.glade python module. Anyone else have this problem?
|
Re: Diablo Python has no gtk.glade?
Quote:
Code:
Nokia-N810-23-14:~# python |
Re: Diablo Python has no gtk.glade?
Ah, but I have a different build date of python than you do. Anyway, just seems to be some diablo extras growing pains. I'm guessing it'll be fixed in the next day or two, and if not, I'll file a bug.
Code:
/home/user # python |
Re: Diablo Python has no gtk.glade?
I have got exactly the same problem as you. Hope this is fixed soon.
|
Re: Diablo Python has no gtk.glade?
Please post a bug report if you want it fixed.
Glade was being depreciated in favor of Gtk.Builder. I switched on app to it and it's not that hard to do. |
Re: Diablo Python has no gtk.glade?
I opened a bug in the pymaemo tracker.
|
Re: Diablo Python has no gtk.glade?
Quote:
|
Re: Diablo Python has no gtk.glade?
Quote:
Convert the glade file in a xml file understandable for gtk.builder (there is a script called gtk-builder-convert). At the moment Glade doesn't have support for the gtkbuilder files, but it's in its todo list. And then in python code: builder = gtk.Builder() builder.add_from_file('the new xml file') builder.get_object do the same thing as gladetree.get_widget gtk.builder is available in the gtk module, so it's not necessary to install anything. |
Re: Diablo Python has no gtk.glade?
Excellent, thanks! I'll look into converting Erminig to gtk.builder() :)
|
Re: Diablo Python has no gtk.glade?
Not to be an indian giver... does the 770 support Gtk.Builder or is that limited to the gtk backport in OS2008?
|
Re: Diablo Python has no gtk.glade?
Quote:
GtkBuilder was available from 2.12, and in OS2008 we have 2.10. |
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) |
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 |
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.... |
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.
|
Re: Diablo Python has no gtk.glade?
Quote:
In any case, I'm pretty sure that python 2.5 exists on Diablo.... |
Re: Diablo Python has no gtk.glade?
2.5 is there but no other packages, especially to do with gtk and python.
|
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? |
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. |
Re: Diablo Python has no gtk.glade?
My bad....wrong copy-paste :s
Anyways, I meant the diablo repository, which has python2.5-gtk2 |
Re: Diablo Python has no gtk.glade?
Yeah, sources.list is fine. Looks like the python packages are a little on the light side for Diablo at the moment.
|
Re: Diablo Python has no gtk.glade?
Very good. Whoever uploaded that package please re-upload one and re-enable building of the glade module. The chinoook package (with the same version number!) does include glade and the diablo package does not - wicked!
Chinook (w/ Glade): http://repository.maemo.org/extras/p...sso3_armel.deb Diablo (w/o Glade): http://repository.maemo.org/extras/p...sso3_armel.deb You can "wget" these files and "less them to see the package contents and note that the diablo one does not include the "glade.so" binary python module. |
Re: Diablo Python has no gtk.glade?
Quote:
http://maemogeek.blogspot.com/2007/1...atch-into.html But I prefer to use qemu-arm-cvs-m instead. |
Re: Diablo Python has no gtk.glade?
Quote:
|
Re: Diablo Python has no gtk.glade?
Looks like a new version of python-gtk2 has been uploaded today with glade support.
|
All times are GMT. The time now is 01:55. |
vBulletin® Version 3.8.8