Re: error on scons 3.1.1. nd python 3.5
Bill Deegan <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAEyG4CFvLB7TjmqX+JcSNBQmf7kn-NjYUuALPvPyN-YBFyqAPw@mail.gmail.com> |
map is a python construct which will run a function on each element in the iterator provided to it. I swear we fixed this. Ahh I found it. https://pairlist4.pair.net/pipermail/scons-users/2019-October/007879.html Do you have any custom builders in your build? Can you share your build system? Good chance the issue is with something in your code, as it seems very much like what Peter ran into.. -Bill On Thu, Oct 24, 2019 at 7:31 PM daggs <[email protected]> wrote: > Greetings, > > tried latest git repo, still presists. > unfortunatly, I'm unable to provice a small SConstruct which reproduces. > if you can explain abit what this map does, I might be able to create one > > Dagg. > > *Sent:* Friday, October 25, 2019 at 4:32 AM > *From:* "Bill Deegan" <[email protected]> > *To:* "SCons users mailing list" <[email protected]> > *Subject:* Re: [Scons-users] error on scons 3.1.1. nd python 3.5 > Can you try the current master in our git repo? > I think this may have recently been fixed. > > Also.. do you have a small SConstruct which reproduces it so we can fix > the issue if not? > > On Thu, Oct 24, 2019 at 3:33 PM daggs <[email protected]> wrote: > >> 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? >> _______________________________________________ >> Scons-users mailing list >> [email protected] >> https://pairlist4.pair.net/mailman/listinfo/scons-users > > _______________________________________________ Scons-users mailing list > [email protected] > https://pairlist4.pair.net/mailman/listinfo/scons-users > _______________________________________________ > Scons-users mailing list > [email protected] > https://pairlist4.pair.net/mailman/listinfo/scons-users > _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users