Author Topic: Looking For Python Gnome Module  (Read 3533 times)

wuurp

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://
Looking For Python Gnome Module
« 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?

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Looking For Python Gnome Module
« Reply #1 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
[ Invalid Attachment ]

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...  
« Last Edit: October 08, 2006, 01:14:28 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

wuurp

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://
Looking For Python Gnome Module
« Reply #2 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'

 

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Looking For Python Gnome Module
« Reply #3 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
[ Invalid Attachment ]

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
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

wuurp

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://
Looking For Python Gnome Module
« Reply #4 on: January 15, 2007, 10:34:40 am »
Still doesn't solve my problem with

AttributeError: 'module' object has no attribute 'init'

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Looking For Python Gnome Module
« Reply #5 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.  
« Last Edit: January 15, 2007, 11:02:40 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]