Git Product home page Git Product logo

Comments (7)

ry avatar ry commented on July 16, 2024

I'm unable to repeat the failure. Further debugging would be helpful.

(And you can always download the binary manually at https://github.com/denoland/deno/releases - note that the gzip file contains only the executable binary which will have to be made executable with chmod.)

from deno_install.

rosierjolie avatar rosierjolie commented on July 16, 2024

Thanks for the response, I was able to use the binary you linked. I will look further into the issue I have been running into when running the curl command when I get the chance. @ry

from deno_install.

hayd avatar hayd commented on July 16, 2024

Most likely this is an intermittent http error on GitHub, we could retry the URL several times. We could also throw the error rather than hide it.

deno_install/install.py

Lines 42 to 46 in b6b938f

try:
html = urlopen(url).read().decode('utf-8')
except:
print("Unable to find release page for", tag)
sys.exit(1)

from deno_install.

alexkuz avatar alexkuz commented on July 16, 2024

@hayd I also ran into this - here's what I've got from exception:

<urlopen error [Errno 1] _ssl.c:507: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version>

After upgrading python from 2.7.6 to latest version (2.7.15) I've got this:

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)>

Then I installed certificates with Install Certificates.command (as was suggested in ReadMe) and finally it worked.
Hope it helps :)

from deno_install.

hayd avatar hayd commented on July 16, 2024

Yikes. I guess 2.7.6 is from 2013 so it's good to update.

  try: 
      html = urlopen(url).read().decode('utf-8') 
- except: 
+ except HTTPError as e:  # Note: HTTPError needs to be imported
+    print(e)
     print("Unable to find release page for", tag)
     sys.exit(1) 

Would at least show it's a protocol issue and perhaps be searchable to this issue.

from deno_install.

alexkuz avatar alexkuz commented on July 16, 2024

BTW it's probably better to catch URLError instead of HTTPError - I'm not sure if these errors were of HTTPError type.

from deno_install.

MarkTiedemann avatar MarkTiedemann commented on July 16, 2024

Since #42, the python installer is deprecated. So this issue can be closed.

cc @ry

from deno_install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.