[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-users
Subject:    [Gpsd-users] Rv: Re:  Fwd:  gpsfake fails
From:       Ezequiel_García <elezegarcia () yahoo ! com ! ar>
Date:       2011-08-17 14:07:11
Message-ID: 1313590031.95171.YahooMailClassic () web39305 ! mail ! mud ! yahoo ! com
[Download RAW message or body]


--- El mié 17-ago-11, Ezequiel García <elezegarcia@yahoo.com.ar> escribió:

> De: Ezequiel García <elezegarcia@yahoo.com.ar>
> Asunto: Re: [Gpsd-users] Fwd:  gpsfake fails
> Para: "Rusty Synate" <k.saran.k@gmail.com>
> Fecha: miércoles, 17 de agosto de 2011, 11:06
> Hi,
> 
> Please do this and tell me the result:
> 
> python -c "import sys; print sys.path"
> 
> then do this:
> 
> $ updatedb
> $ locate gps | grep python
> 
> or maybe
> 
> $ locate gps.py
> 
> The gps python module comes with gpsd. My compilation
> works
> fine but I am using a very old version.
> 
> You could try also looking at /usr/local/bin/gpsfake as its
> 
> a python script. It seems the error is very clear though:
> it cant find the python module.
> 
> Cheers,
> Ezequiel.
> 
> 
> 
> --- El mié 17-ago-11, Rusty Synate <k.saran.k@gmail.com>
> escribió:
> 
> > De: Rusty Synate <k.saran.k@gmail.com>
> > Asunto: [Gpsd-users] Fwd:  gpsfake fails
> > Para: gpsd-users@lists.berlios.de
> > Fecha: miércoles, 17 de agosto de 2011, 7:10
> > ---------- Forwarded message
> > ----------
> > From: Rusty Synate <k.saran.k@gmail.com>
> > Date: 2011/8/17
> > Subject: Re: [Gpsd-users] gpsfake fails
> > To: Ezequiel García <elezegarcia@yahoo.com.ar>
> > 
> > 
> >  I have one more question. Is gps.fake comes with
> gpsd or
> > my system has to
> > have it.
> > 
> > Thanks in advance.
> > 
> > 2011/8/17 Rusty Synate <k.saran.k@gmail.com>
> > 
> > > [root@uxchas233 ~]# uname -a
> > > Linux uxchas233 2.6.33.3-85.fc13.i686.PAE #1 SMP
> Thu
> > May 6 18:27:11 UTC
> > > 2010 i68
> > > 6 i686 i386 GNU/Linux
> > > [root@uxchas233 ~]# which python
> > > /usr/bin/python
> > > [root@uxchas233 ~]# which gpsd
> > > /usr/local/sbin/gpsd
> > > [root@uxchas233 ~]# which gpsfake
> > > /usr/local/bin/gpsfake
> > > [root@uxchas233 ~]#
> > >
> > > I tried exporting the PYTHONPATH but no good.
> Above
> > are the details of my
> > > system.
> > >
> > > Is  that gpsd-2.96 requires python with some
> > packages installed.
> > >
> > > My system has python 2.6 installed.
> > >
> > >
> > >
> > > 2011/8/16 Ezequiel García <elezegarcia@yahoo.com.ar>
> > >
> > >>
> > >> --- El mar 16-ago-11, Rusty Synate <k.saran.k@gmail.com>
> > escribió:
> > >>
> > >> > De: Rusty Synate <k.saran.k@gmail.com>
> > >> > Asunto: [Gpsd-users] gpsfake fails
> > >> > Para: gpsd-users@lists.berlios.de
> > >> > Fecha: martes, 16 de agosto de 2011,
> 12:07
> > >> > Hi,
> > >> >
> > >> > I have installed gpsd-2.96. But when i
> tried
> > to start
> > >> > gpsfake its coming
> > >> > like.
> > >> >
> > >> > Traceback (most recent call last):
> > >> >   File "./gpsfake", line 13,
> > in <module>
> > >> >     import gps.fake
> > >> > ImportError: No module named gps.fake
> > >> >
> > >>
> > >> I have no idea what distribution are you
> using
> > and
> > >> how have you installed gpsd.
> > >> But I can tell you:
> > >> 1. The message you are seeing is python
> talking to
> > you.
> > >>   Python looks for modules in his
> > known path. You can try this
> > >>   to get that path: python -c
> > "import sys; print sys.path"
> > >> 2. I assume you installed gpsd at /usr/local/
> so
> > you have to add
> > >>   that path into variable
> > PYTHONPATH (at profile or such).
> > >>   For instance, export
> > PYTHONPATH=/usr/local/lib/python/site-packages.
> > >>
> > >> Hope it helps
> > >> Ezequiel.
> > >>
> > >>
> > >>
> > >
> > >
> > > --
> > > Cheers
> > >
> > > Rusty Synate
> > > +91 9952 940 841
> > >
> > >
> > 
> > 
> > -- 
> > Cheers
> > 
> > Rusty Synate
> > +91 9952 940 841
> > 
> > 
> > 
> > 
> > -- 
> > Cheers
> > 
> > Rusty Synate
> > +91 9952 940 841
> > _______________________________________________
> > Gpsd-users mailing list
> > Gpsd-users@lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/gpsd-users
> >
> 
_______________________________________________
Gpsd-users mailing list
Gpsd-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic