Author Topic: Python Under Rc9 Problem  (Read 2428 times)

gervin23

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Python Under Rc9 Problem
« on: April 21, 2005, 04:08:34 pm »
first off, amazing job with pdaXrom!

my problem is related to pygtk and the light&power app. to make a long story short, i had to uninstall all the python related packages and reinstall. i'm now getting the following startup error from lightnpower.py:

# lightnpower.py
Traceback (most recent call last):
  File "/usr/bin/lightnpower.py", line 344, in ?
    powersettings = powersettings()
  File "/usr/bin/lightnpower.py", line 68, in __init__
    import gtk
  File "/home/sash/pdaXrom-builder/build/pygtk-2.4.1/ipkg_tmp/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 33, in ?
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/gobject.so: undefined symbol: g_assert_warning

any ideas?

gtJormungand

  • Newbie
  • *
  • Posts: 38
    • View Profile
Python Under Rc9 Problem
« Reply #1 on: April 23, 2005, 08:01:49 am »
Did you install the full python23 ipk from the feed or did you just install the individual ones?

gervin23

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Python Under Rc9 Problem
« Reply #2 on: April 23, 2005, 06:37:40 pm »
ah yes, good question. i just tried both methods and get the same problem.

method 1:
ipkg install python-core
ipkg install pygtk (which installed prerequisites: python-codecs, python-dbus, python-fcntl, python-stringold, python-xml)

method 2:
ipkg install python
ipkg install pygtk (which installed prerequisites: python-codecs, python-core, python-dbus, python-fcntl, python-stringold, python-xml)

result with both methods:
# lightnpower.py
Traceback (most recent call last):
  File "/usr/bin/lightnpower.py", line 344, in ?
    powersettings = powersettings()
  File "/usr/bin/lightnpower.py", line 68, in __init__
    import gtk
  File "/home/sash/pdaXrom-builder/build/pygtk-2.4.1/ipkg_tmp/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 33, in ?
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/gobject.so: undefined symbol: g_assert_warning
« Last Edit: April 23, 2005, 06:38:39 pm by gervin23 »

gervin23

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
Python Under Rc9 Problem
« Reply #3 on: April 23, 2005, 06:53:34 pm »
does anyone know how i can extract the contents of the original image (initrd.bin or zImage.bin) on my linux box? i have a feeling pygtk in the feed is different than what's included in the kathrin-rc9.zip and short of reflashing woud like to compare.

gtJormungand

  • Newbie
  • *
  • Posts: 38
    • View Profile
Python Under Rc9 Problem
« Reply #4 on: April 25, 2005, 09:51:05 am »
Just to get it out of the way, do you have the proper version of gtk installed as well?