[Scons-users] error on scons 3.1.1. nd python 3.5

daggs daggs at gmx.com
Thu Oct 24 21:33:48 EDT 2019


Greetings,

I use ubuntu 16.04 as my desktop (don't ask why, I cannot change it). I cannot use the stock ubuntu scons pkg because it doesn't supports python3.5 and I have several feature from 3.5 which I need.
so I've downloaded scons 3.1.1 and installed it locally.
my run cmd is this: /usr/bin/env python3 /home/daggs/workspace/scons_3.0/scons-3.1.1/bin/scons . -Q
when the flow is done with a bunch of depenecies, the flow fails with this error:
AttributeError: 'map' object has no attribute 'get_state':
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Script/Main.py", line 1374:
    _exec_main(parser, values)
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Script/Main.py", line 1337:
    _main(parser)
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Script/Main.py", line 1112:
    nodes = _build_targets(fs, options, targets, target_top)
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Script/Main.py", line 1311:
    jobs.run(postfunc = jobs_postfunc)
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Job.py", line 111:
    self.job.start()
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Job.py", line 381:
    task = self.taskmaster.next_task()
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Taskmaster.py", line 969:
    node = self._find_next_ready_node()
  File "/home/daggs/workspace/scons_3.0/scons-3.1.1/bin/../engine/SCons/Taskmaster.py", line 860:
    childstate = child.get_state()

what is is error and how can I solve it?


More information about the Scons-users mailing list