Skip to content
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

Cannot open URL #402

Closed
simplelh opened this issue Sep 10, 2020 · 1 comment
Closed

Cannot open URL #402

simplelh opened this issue Sep 10, 2020 · 1 comment

Comments

@simplelh
Copy link

simplelh commented Sep 10, 2020

When trying to open the hw0.jl online,this error occurs:

Error message:

failed process: Process(`'C:\Windows\System32\curl.exe' -s -S -g -L -f -o 'C:\Users\Admin\AppData\Local\Temp\Fascinating blueprint.jl' https://raw.githubusercontent.com/mitmath/18S191/master/homework/homework0/hw0.jl`, ProcessExited(6)) [6]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] download_curl(::String, ::String, ::String) at .\download.jl:44
 [3] download(::String, ::String) at .\download.jl:62
 [4] open_url(::Pluto.ServerSession, ::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\Admin\.julia\packages\Pluto\upwxH\src\webserver\SessionActions.jl:10
 [5] open_url at C:\Users\Admin\.julia\packages\Pluto\upwxH\src\webserver\SessionActions.jl:10 [inlined]
 [6] (::Pluto.var"#try_launch_notebook_response#102"{Pluto.var"#try_launch_notebook_response#91#103"{Pluto.ServerSession}})(::typeof(Pluto.SessionActions.open_url), ::String; title::String, advice::String, home_url::String) at C:\Users\Admin\.julia\packages\Pluto\upwxH\src\webserver\Static.jl:63
 [7] (::Pluto.var"#serve_openfile#105"{Pluto.ServerSession,Pluto.ServerSecurity})(::HTTP.Messages.Request) at C:\Users\Admin\.julia\packages\Pluto\upwxH\src\webserver\Static.jl:97
 [8] handle(::HTTP.Handlers.RequestHandlerFunction{Pluto.var"#serve_openfile#105"{Pluto.ServerSession,Pluto.ServerSecurity}}, ::HTTP.Messages.Request) at C:\Users\Admin\.julia\packages\HTTP\atT5q\src\Handlers.jl:253
 [9] handle(::HTTP.Handlers.Router{Symbol("##253")}, ::HTTP.Messages.Request) at C:\Users\Admin\.julia\packages\HTTP\atT5q\src\Handlers.jl:467
 [10] (::Pluto.var"#196#203"{Pluto.ServerSession,HTTP.Handlers.Router{Symbol("##253")},Base.RefValue{Function}})(::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at C:\Users\Admin\.julia\packages\Pluto\upwxH\src\webserver\WebServer.jl:171
 [11] handle at C:\Users\Admin\.julia\packages\HTTP\atT5q\src\Handlers.jl:269 [inlined]
 [12] #4 at C:\Users\Admin\.julia\packages\HTTP\atT5q\src\Handlers.jl:345 [inlined]
 [13] macro expansion at C:\Users\Admin\.julia\packages\HTTP\atT5q\src\Servers.jl:367 [inlined]
 [14] (::HTTP.Servers.var"#13#14"{HTTP.Handlers.var"#4#5"{HTTP.Handlers.StreamHandlerFunction{Pluto.var"#196#203"{Pluto.ServerSession,HTTP.Handlers.Router{Symbol("##253")},Base.RefValue{Function}}}},HTTP.ConnectionPool.Transaction{Sockets.TCPSocket},HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}})() at .\task.jl:356
@fonsp
Copy link
Owner

fonsp commented Sep 10, 2020

Hi! It sounds like the URL raw.githubusercontent.com was (temporarily) blocked or broken, maybe because of a corporate/government firewall?

Here is a workaround:

  1. Go to https://raw.githubusercontent.com/mitmath/18S191/master/homework/homework0/hw0.jl in your web browser.
  2. Just like in my guide, create a folder for your homework submissions.
  3. Save the page (Ctrl+S) to that folder, and call it hw0 - simplelh.jl.
  4. Find the full path to your hw0 - simplelh.jl file using the guide
  5. Open Pluto, and in the main menu, type the full path into the blue box, and click Open.

Let me know if this worked!

@fonsp fonsp closed this as completed Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants