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

seam_carving.jl #57

Closed
1rdsk1 opened this issue Dec 4, 2020 · 2 comments
Closed

seam_carving.jl #57

1rdsk1 opened this issue Dec 4, 2020 · 2 comments
Assignees

Comments

@1rdsk1
Copy link

1rdsk1 commented Dec 4, 2020

Hi, I am running Pluto in chrome on windows 10 and get following error on the third code block. Is it possible to run the code on windows? curl.exe is installed.
failed process: Process('C:\WINDOWS\System32\curl.exe' -s -S -g -L -f -o 'C:\Users\ruper\AppData\Local\Temp\jl_2fRSvgqCWA' https://cdn.shortpixel.ai/spai/w_1086+q_lossy+ret_img+to_webp/https://wisetoast.com/wp-content/uploads/2015/10/The-Persistence-of-Memory-salvador-deli-painting.jpg, ProcessExited(35)) [35]

pipeline_error@process.jl:525[inlined]
download_curl(::String, ::String, ::String)@download.jl:44
download@download.jl:62[inlined]
download(::String)@download.jl:89
top-level scope@Local: 17[inlined]

@fonsp fonsp self-assigned this Dec 8, 2020
@BrandonConder
Copy link

BrandonConder commented Jan 2, 2021

There could be a few things here, I'm not sure which one is the most likely culprit...

I've run Julia 1.5.3 64-bit portable on a Windows 10 machine and can confirm that the download code runs fine, as does the rest of the notebook.


What version of Julia do you have installed?


There could be an upstream issue with download.jl in Julia Base.

One possible answer is editing the bad cell to use download_powershell instead of download


curl error 35 is an SSL error

The SSL error could be a red-herring, since I was seeing cmd.exe complain about HTTPS when I was using single quotation marks around the file target (i.e. 'C:\Users\ruper\AppData\Local\Temp\jl_2fRSvgqCWA').

Can you access the file by changing the URL to "http://cdn.shortpixel.ai/spai/w_1086+q_lossy+ret_img+to_webp/http://wisetoast.com/wp-content/uploads/2015/10/The-Persistence-of-Memory-salvador-deli-painting.jpg"

Can you access the file on a different wifi e.g. at a coffee shop?

If that works then the problem has to do with the network you're using and/or the certificate store, not specifically Windows.
Unfortunately it's my understanding that SSL errors are pretty difficult to fix.

@fonsp
Copy link
Member

fonsp commented Jan 3, 2021

It sounds like this was a university/government firewall, or just a "flaky connection" or "internet weather".

We tried looking for a more stable website to use, like wikimedia: https://en.wikipedia.org/wiki/File:The_Persistence_of_Memory.jpg
but there are only low-resolution versions available, because the work is not yet in the public domain (1931).

The link we used is high-resolution, because it is actually not the work by Salvador Dali, it is a replica! (Posted online by the author)

I have updated the notebook to not use a redirect anymore, which might help, but there's nothing more we can do.

@fonsp fonsp closed this as completed Jan 3, 2021
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

3 participants