gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] ✘3.18 release soon


From: Gary E. Miller
Subject: Re: [gpsd-dev] ✘3.18 release soon
Date: Tue, 2 Oct 2018 17:28:46 -0700

Yo Fred!

On Tue, 2 Oct 2018 17:17:49 -0700 (PDT)
Fred Wright <address@hidden> wrote:

> > Works for me:
> >
> >    # ./ubxtool -V
> >    ubxtool: Version 3.18
> >
> > Tested on Python 2.7 and 3.6.
> >
> > Something seriously different with your Python and the way it
> > imports things.  I assume this is another macOS defect?  
> 
> No, it just happens when pyserial isn't installed.

That is intentional.  That way the new 'scons check' that runs "ubxtool
-V" shows the broken install.

Before it just gave a crash dump.  Now it gives an informative
error message.

Ditto for "zerk -V"

> Pyserial isn't a 
> standard Python library, as noted in the comment related to
> complaining about its absence.  Requiring pyserial just to make
> "scons check" work is undesirable.

I can see the need for a SConstruct rule to test for pyserial, the
same way the new tests check for Gtk.
> 
> My WIP fix is to defer complaining about its absence until the
> program actually needs to open a serial port, which is not always the
> case.

I wanted to do that for a while.  But then I realized people will then
try the serial, fail, and hate us.  Non-trivial fix, but should not be
hard either.

Either way, a warning from scons would also be helpful.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpKAZqkp_nKR.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]