OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: wuurp on October 07, 2006, 12:51:55 pm

Title: Looking For Python Gnome Module
Post by: wuurp on October 07, 2006, 12:51:55 pm
I'm trying to run the python program mapview and get the error

ImportError: No module named gnome

I've looked through the packages in the feed (beta1), and the filelist and can't find anything. Does this exist for pdaXrom?
Title: Looking For Python Gnome Module
Post by: ZDevil on October 08, 2006, 01:11:11 pm
Hi,

Such apps are supposed to work with gnome-python.
Here is my package of gnome-python, which I compiled last month along the way (a bit frustratedly) to get gjots2 (a very nice outliner app) to work. But I didn't make it and had to give it up. See if it works for you. Good luck!

Code: [Select]
Package: gnome-python
Version: 2.6.2
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-python/gnome-python-2.6.2.tar.gz
Priority: optional
Section: Gnome
Licence: LGPL
Architecture: armv5tel
Maintainer: zdevil
Depends: python
Description: The gnome-python package contains the source packages for the Python bindings for GNOME called PyGNOME. PyGNOME is an extension module for Python that provides access to the base GNOME libraries, so you have access to more widgets, a simple configuration interface, and metadata support.
Size: 517.0k
[ You are not allowed to view attachments ]

P.S. It is a real pain in the axx to compile gnome thingies, because the current gnome packages for pdaX seem to be arcane versions...  
Title: Looking For Python Gnome Module
Post by: wuurp on October 08, 2006, 03:00:14 pm
Quote
Hi,

Such apps are supposed to work with gnome-python.
Here is my package of gnome-python, which I compiled last month along the way (a bit frustratedly) to get gjots2 (a very nice outliner app) to work. But I didn't make it and had to give it up. See if it works for you. Good luck!

Thanks for the reply.

I installed it to /mnt/card but I still got the error "ImportError: No module named gnome". So, I removed it and installed to flash and now it finds gnome apparently, but I get a new error, I think when it tries to initiate a window. I'm not real familiar with Python.

...in main gnome.init('mapview', '1.0')
AttributeError: 'module' object has no attribute 'init'

 
Title: Looking For Python Gnome Module
Post by: 2or0 on January 15, 2007, 10:12:09 am
Quote
Hi,

Such apps are supposed to work with gnome-python.
Here is my package of gnome-python, which I compiled last month along the way (a bit frustratedly) to get gjots2 (a very nice outliner app) to work. But I didn't make it and had to give it up. See if it works for you. Good luck!

Code: [Select]
Package: gnome-python
Version: 2.6.2
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-python/gnome-python-2.6.2.tar.gz
Priority: optional
Section: Gnome
Licence: LGPL
Architecture: armv5tel
Maintainer: zdevil
Depends: python
Description: The gnome-python package contains the source packages for the Python bindings for GNOME called PyGNOME. PyGNOME is an extension module for Python that provides access to the base GNOME libraries, so you have access to more widgets, a simple configuration interface, and metadata support.
Size: 517.0k
[ You are not allowed to view attachments ]

P.S. It is a real pain in the axx to compile gnome thingies, because the current gnome packages for pdaX seem to be arcane versions... 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143460\"][{POST_SNAPBACK}][/a][/div]

I found the reason why gnome-python doesn't work. It requires higher version of Orbits. When I compiled it, gnome-python works well. Also it requires python-pyorbit. I uploaded them on New Packages Announcement post.

- yonggun
Title: Looking For Python Gnome Module
Post by: wuurp on January 15, 2007, 10:34:40 am
Still doesn't solve my problem with

AttributeError: 'module' object has no attribute 'init'
Title: Looking For Python Gnome Module
Post by: ZDevil on January 15, 2007, 11:02:22 am
Cool! gjot2 at last!  Thanks, 2or0!  
I remember my attempt to compile gjot2 failed because of Orbits. I encountered tons of errors warning about outdated versions of gnome stuff on my Beta3 setup when I was compiling the new versions of Orbits.
Let see how gjot2 fares compared to notecase.