Hi, I was able to run kapula.py here http://lindi.iki.fi/lindi/darcs/kapula/kapula so I think import dbus is working.
PYTHONPPATH env var is it not set by default in SHR? Sriranjan On Fri, Jul 24, 2009 at 12:34 AM, Marc Verwerft <marc.js.verwe...@gmail.com>wrote: > Hello Nriranjan, > > On Thu, Jul 23, 2009 at 8:43 PM, RANJAN<infi...@gmail.com> wrote: > > I scp the code to phone mem and the typed python getgps.py but it ended > with > > the following errors: > > > > NameError: global name 'dbus_error' is not defined > > NameError typically suggests that you use something that is not > defined. Either the script is not functioning or (more likely) the > dbus package (import dbus) is not loaded. is your PYTHONPATH env var > set? See > http://docs.python.org/using/cmdline.html?highlight=pythonpath#environment-variables > > > > > How shall I solve this?Please suggest. > > > > Sriranjan > > > > On Thu, Jul 23, 2009 at 11:45 PM, RANJAN <infi...@gmail.com> wrote: > >> > >> Hi, > >> > >> Any ideas on how to run and use codes as this? > >> http://people.debian.org/~enrico/2009-06/getgps<http://people.debian.org/%7Eenrico/2009-06/getgps> > >> > >> Sriranjan > > > > >
_______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel