wlandsman / IDLAstro

Astronomy related procedures in the commercial IDL language
https://asd.gsfc.nasa.gov/archive/idlastro/
BSD 2-Clause "Simplified" License
144 stars 64 forks source link

Unable to read HTTP server #25

Open agallenne opened 6 years ago

agallenne commented 6 years ago

Hi,

Seems like the example command does not work for me: a=webget('http://www.mpia.de/index.html') I have the following: % WEBGET: Unable to read HTTP server I have Mac OS 10.12.6 and IDL 8.4.1 (and 7.0) Trying an other command, which works on other machine linux/Mac, does not work either: webget('http://cdsweb.u-strasbg.fr/cgi-bin/nph-sesame/-o/?HD%20360')

Note that urls works on the browser though.

Any idea why?

wlandsman commented 6 years ago

I have a received another report of difficulties with webget.pro with recent versions of MacOS. I will take a closer look at this when I return from vacation.

Note, though, that I am trying to phase out the use of webget.pro, since use of the IDLNetURL object seems to be more robust. For examples of how to do this, look at querydss.pro, querysimbad.pro or queryvizier.pro, which have all been modified in the past 3 years to use the IDLNetURL object rather than webget.pro

agallenne commented 6 years ago

Ok thank you. The module web get.pro is inside a pipeline, which is not mine, so not easy to replace I think. Note that with Mac OS Yosemite it works, but no longer with Sierra.