-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid hostname error while running bootstrap-vitasdk.sh #62
Comments
can you try to execute the following line : wget -qO- https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py | python - $@ and post the output |
Nothing output. $? is 0. |
can you try can we replace all those python code + github API + Travis API with a simpler line that only rely on standard UNIX utilities : URL=https://github.com/vitasdk/autobuilds/releases
wget -qO- $URL | grep -Po "/download/.*.tar.bz2" | sed s,^,$URL, | grep osx |
I have the same issue. This is the output when running that command
|
And yes, |
My python version is 2.7.16.
failed. |
I tried everything. I tried with Python3.8 and 2.7. I ended up just spinning an EC2 and had zero issues with a linux sandbox. Was able able to deploy a hello world. Will develop from there! |
@MaskedFuyu could you upload output of |
I also have this problem, I also made sure to set up a basic python alias pointing to python3.
|
Ok the issue is python3 vs python. Update include/install-vitasdk.sh to the following on line 4: |
Yes. I ended up literally reseting python and python3 and have no issues. Also tested compiling in an ec2 instance (linux) and no issues. |
In order to fix this, I tried to add some kind of python-detection. Before: get_download_link () {
wget -qO- https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py | python - $@
} After modification: get_download_link () {
wget -qO- https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py | $(which python||which python3) - $@
} It seems on some systems the correct path to the python-executable is needed (mostly due to /bin/sh being used internally instead of bash), so this should fix that (even help for python3 being used instead of python2) Can someone try this? |
The solution by @FibreFoX works out for me. Windows 10 here. |
It works but there's this: MacOS 12.6.1 |
I use anaconda env, I try to solve it get_download_link () { wget -qO- https://github.com/vitasdk/vita-headers/raw/master/.travis.d/last_built_toolchain.py | python - $@} |
Trying to install on macOS 11.0 beta.
The script failed and the output:
No additional error information output so I'm not sure what had caused this.
The text was updated successfully, but these errors were encountered: