[2008.9] installing lint-wifi

Matthias Apitz guru at unixarea.de
Tue Sep 30 07:27:54 CEST 2008


I've tried to install 'lint-wifi' following the Wiki:

fetched lint-wifi_0.1_armv4t.ipk and later because of missing gtk for
python in addition python-pygtk_2.10.4-ml7_armv4t.opk (btw: what is the
difference between *.ipk and *.opk ?)

installing python-pygtk_2.10.4-ml7_armv4t.opk fetched some dependencies:

# opkg install python-pygtk_2.10.4-ml7_armv4t.opk
Multiple packages (python-pygtk and python-pygtk) providing same name marked HOLD or PREFER.  Using latest.
Installing python-pygtk (2.10.4-ml7) to root...
Installing python-shell (2.5.2-ml0) to root...
Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/python-shell_2.5.2-ml0_armv4t.opk
Installing python-pycairo (1.4.0-ml1) to root...
Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/python-pycairo_1.4.0-ml1_armv4t.opk
Installing python-pygobject (2.12.3-r3) to root...
Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/python-pygobject_2.12.3-r3_armv4t.opk
Installing libglade-2.0-0 (2.6.2-r2) to root...
Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/libglade-2.0-0_2.6.2-r2_armv4t.opk
Configuring libglade-2.0-0
Configuring python-pycairo
Configuring python-pygobject
Configuring python-pygtk
Configuring python-shell
root at om-gta02:~# 

but launching 'lint-wifi.py' fails with:

root at om-gta02:~# lint-wifi.py
Traceback (most recent call last):
  File "/usr/bin/lint-wifi.py", line 9, in <module>
    import gtk, os
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 82, in <module>
NameError: name 'init' is not defined

Any idea what I have done wrong? Thx

Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

More information about the community mailing list