[Top][All Lists]

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

Re: [gpsd-users] SConfig error Python 2.7

From: Dominic Hilsbos
Subject: Re: [gpsd-users] SConfig error Python 2.7
Date: Thu, 1 Nov 2018 15:11:53 -0700


Thank you for your prompt response.

python -V: Python 2.7.13
scons (original): Attribute Error: 'list' object has no attribute 'keys': file "./SConstruct", line 1754: all_manpages = list(base_manpages.keys()) + list(python_manpages.keys())

Output of print lines: {'gpsctl.1': 'gpsctl.xml', 'gpsmon.1': 'gpsmon.xml', 'libQgpsmm.3': 'libgpsmm.xml', 'gpsd.8': 'gpsd.xml', 'libgpsmm.3': 'libgpsmm.xml', 'gpsdctl.8': 'gpsdctl.xml', 'gpspipe.1': 'gpspipe.xml', 'gpxlogger.1': 'gpxlogger.xml', 'gps2udp.1': 'gps2udp.xml', 'ppscheck.8': 'ppscheck.xml', 'gpsd_json.5': 'gpsd_json.xml', 'srec.5': 'srec.xml', 'libgps.3': 'libgps.xml', 'lcdgps.1': 'gps.xml', 'gpsinit.8': 'gpsinit.xml', 'gps.1': 'gps.xml', 'cgps.1': 'gps.xml', 'gpsdecode.1': 'gpsdecode.xml', 'ntpshmmon.1': 'ntpshmmon.xml'}

Thank you,

Dominic Hilsbos

On Thu, Nov 1, 2018 at 12:03 PM Gary E. Miller <address@hidden> wrote:
Yo Dominic!

On Thu, 1 Nov 2018 11:26:51 -0700
Dominic Hilsbos <address@hidden> wrote:

> I'm attempting to build gpsd in accordance with this HowTo:


> I have attempted clockmaker --build multiple times, and  the scons
> build line several times.


> I don't have the system in front of me, but scons complains that lists
> don't have a "keys" attribute and point at line 1754 of the SConfig
> file.

That is very odd.  Can you send the exact error message that scons

Here is line 1754:

all_manpages = list(base_manpages.keys()) + list(python_manpages.keys())

An odd line to fail...

For debugging, can you add these two lines just above the failing line?

all_manpages = list(base_manpages.keys()) + list(python_manpages.keys())

And send the output of running "scons"?

Also, please confirm your Python version this way:

# pthyon -V

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

reply via email to

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