Hi,<br><br>I was able to run kapula.py here <br><a href="http://lindi.iki.fi/lindi/darcs/kapula/kapula">http://lindi.iki.fi/lindi/darcs/kapula/kapula</a><br>so I think import dbus is working.<br><br>PYTHONPPATH env var is it not set by default in SHR?<br>
<br>Sriranjan<br><br><div class="gmail_quote">On Fri, Jul 24, 2009 at 12:34 AM, Marc Verwerft <span dir="ltr"><<a href="mailto:marc.js.verwerft@gmail.com">marc.js.verwerft@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Nriranjan,<br>
<div class="im"><br>
On Thu, Jul 23, 2009 at 8:43 PM, RANJAN<<a href="mailto:infibit@gmail.com">infibit@gmail.com</a>> wrote:<br>
> I scp the code to phone mem and the typed python getgps.py but it ended with<br>
> the following errors:<br>
><br>
</div><div class="im">> NameError: global name 'dbus_error' is not defined<br>
<br>
</div>NameError typically suggests that you use something that is not<br>
defined. Either the script is not functioning or (more likely) the<br>
dbus package (import dbus) is not loaded. is your PYTHONPATH env var<br>
set? See <a href="http://docs.python.org/using/cmdline.html?highlight=pythonpath#environment-variables" target="_blank">http://docs.python.org/using/cmdline.html?highlight=pythonpath#environment-variables</a><br>
<div><div></div><div class="h5"><br>
><br>
> How shall I solve this?Please suggest.<br>
><br>
> Sriranjan<br>
><br>
> On Thu, Jul 23, 2009 at 11:45 PM, RANJAN <<a href="mailto:infibit@gmail.com">infibit@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> Any ideas on how to run and use codes as this?<br>
>> <a href="http://people.debian.org/%7Eenrico/2009-06/getgps" target="_blank">http://people.debian.org/~enrico/2009-06/getgps</a><br>
>><br>
>> Sriranjan<br>
><br>
><br>
</div></div></blockquote></div><br>