Re: error on scons 3.1.1. nd python 3.5
daggs <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <trinity-5f1aa182-73da-4eeb-ab3a-ad61cde4928b-1572005520918@3c-app-mailcom-bs08> |
Greetings Bill, I do have custom builders. I'm not sure what you mean by "your build system", can you elaborate please? infact, now that I think of it, I'm in the process of migrating a project that worked on scons + python 2.7 to newer scons python 3.5. I remember that the old code used lambda and maybe map in the same manner within a func which scans a folder, looks for all files with a specific extension. in addition, I have hte ability to run just the parts with the custom builders and not all the project, in that scenario, I don't see the error. so this might be the issue. I'll check an update, Thanks for the help. Dagg. Sent: Friday, October 25, 2019 at 10:33 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 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 _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users