GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — Bug fix/fix error handling by dothebart · Pull Request #1925 · nodejs/node-gyp Conversation
| |||||||||||||||||||||
fixed by the 3rd commit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I am +1 if we are sure these changes are compatible with both Py2 and Py3. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
doesn't error out with python 2 on debian testing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@dothebart what's the situation that's causing this error to be experienced? how could we go about reproducing it? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@rvagg I was putting in the complete directory as But if its not supported to have absolute paths on filenames, gyp should rather error out; If I get it correctly it needs them relative to the location of the gyp-file - so 'stat' ing files, and ruling out absolute paths could keep people from running into misery. [edit - wrong issue, will create an issue for this one] |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
one of these issues was caused by a sub process erroring out - here due to non-python3-ness: so probably invoking the other one was caused by this section in in this context: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
sounds reasonable, @cclauss over to you I think |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -911,9 +911,7 @@ def ExpandVariables(input, phase, variables, build_file): | |||
| p_stdout, p_stderr = p.communicate('') | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
For consistency, my preference would be the solution we use elsewhere:
if bytes != str: # Python 3
p_stdout = p_stdout.decode('utf-8')
p_stderr = p_stderr.decode('utf-8')
And then revert the change to line 914.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@cclauss if you think this is important enough please take over the PR, submit a new one or whatever needs to be done so we can progress and get 6.0.1 out. If it's not that important then we'll just hold off on it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry bit under stress @cclauss sent you an invite to my fork so you can make yourselves home ;) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I made two reverts to this PR and now I fully support the remaining modifications. Thanks @dothebart for your patience and persistence.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
thanks for finishing where I left it ;) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@rvagg Can you please rerun the one Travis CI job that timed out? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I've restarted it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #1925 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Richard Lau <[email protected]>
|
landed in 1b11be6. I hope the commit msg is reasonable: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
thank you! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #1925 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Richard Lau <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.