<div dir="ltr">On Sun, Aug 31, 2008 at 10:44 PM, Christ van Willegen <span dir="ltr"><<a href="mailto:cvwillegen@gmail.com">cvwillegen@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sun, Aug 31, 2008 at 7:11 PM, Katrin Tomanek <<a href="mailto:katrin.tomanek@gmx.de">katrin.tomanek@gmx.de</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I wanted to test mofi today to get my WIFI running. So, I installed mofi as<br>
> explained in the wiki (<a href="http://wiki.openmoko.org/wiki/Mofi" target="_blank">http://wiki.openmoko.org/wiki/Mofi</a>, installation<br>
> through opkg).<br>
><br>
> When starting mofi from a terminal, I get the following error:<br>
><br>
> ---- snip ----<br>
><br>
> Traceback (most recent call last):<br>
> File "/usr/lib/mofi/mofi_gui.py", line 30, in <module><br>
> import gtk<br>
> File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 82,<br>
> in <module><br>
> init()<br>
> NameError: name 'init' is not defined<br>
><br>
> ---- snap ----<br>
><br>
> Any hints? What's wrong here?<br>
<br>
</div>Edit the file /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py<br>
and change the call to init() to _init()<br>
<br>
HTH!<br>
<br>
</blockquote></div>Why doesn't somebody fix the charmed file in the repos? This change has also been recommended in the GPRS with GSM Multiplexing and GUI subsection on the wiki. What happens in a real-world scenario is people trying to use vi on the phone's tiny screen estate, standing around wifi hotspots, if they know they have to change init() to _init(). Finding line 82 is very difficult unless you are a vi wizard. The tiny letters on the keyboard (and that's hoping it is raster's kbd, not the original one) make it even worse.<br>
</div>