[Scons-users] TryRun with CacheDir crashes on Python 3

Jason Kenny dragon512 at live.com
Fri Jun 29 09:57:47 EDT 2018

Do you have a fix for this?


From: Scons-users <scons-users-bounces at scons.org> On Behalf Of Bill Deegan
Sent: Tuesday, June 26, 2018 10:48 PM
To: Hector Martin 'marcan' <marcan at marcan.st>
Cc: SCons users mailing list <scons-users at scons.org>
Subject: Re: [Scons-users] TryRun with CacheDir crashes on Python 3

Looks like this is related to a known issue with Value nodes and python 3.
I'm looking into it, but it's a bit tricky because it's in the core.
The good news is the fix will likely fix more than one already filed bug as well..

On Tue, Jun 26, 2018 at 3:50 PM, Bill Deegan <bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>> wrote:
What's in your config.log file?

On Tue, Jun 26, 2018 at 9:38 AM, Hector Martin 'marcan' <marcan at marcan.st<mailto:marcan at marcan.st>> wrote:
On 2018-06-27 00:51, Bill Deegan wrote:
> Try changing src/engine/SCons/SConf.py line 612 from:
> outputStr = self.lastTarget.get_contents().decode()
> to:
> outputStr = self.lastTarget.get_text_contents()

No change.

>     Can you rerun with --debug=stacktrace and post.

That seems to do nothing. I don't get a stacktrace.

Hector Martin "marcan" (marcan at marcan.st<mailto:marcan at marcan.st>)
Public Key: https://mrcn.st/pub<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmrcn.st%2Fpub&data=02%7C01%7C%7Cb12e1fd62a134820843a08d5dbe0c74f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636656680812025262&sdata=jpBTc%2FYfbyJY2vpXu%2FG2C5lATnaSOlPRc%2BaUstbu0j4%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20180629/54b19f3b/attachment.html>

More information about the Scons-users mailing list