-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can not download an epw file with the new "Open EPW, STAT files" component on Windows XP #212
Comments
Your GH file is running correctly on my system: For some reason, you system seems to be unable to access secure http from background scripts. Can you confirm that using the "Update Ladybug" component like this also fails? This might be an issue with Windows XP that I remember you have. Can anyone else who is viewing this thread confirm whether they have experienced this issue? -Chris |
Thank you @chriswmackey , |
@stgeorges , |
@stgeorges can you test and see if urllib works on your system with the new link. The issue with urllib is that it's incapable of making secure connections which is needed to download https links. I'm sure there should be a workaround for this issue on Windows XP: https://support.microsoft.com/en-us/kb/314864 |
Hi @chriswmackey , @mostaphaRoudsari , Sorry for the late reply. Chris, on Microsoft WebClient.DownloadFile page, there stands that this method has been introduced since .NET 1.1 version. Windows xp does not support higher than 4.0 .NET version, which is what I have installed. So I guess this method should be included into my windows XP. Mostapha, yes, the urllib did not work when I ran it with "https" link.
I also took a look at the link you gave me. I have my Firewall disabled, and Antivirus too. I think we can conclude that this issue only happens on Windows XP, and this is it. Probably there are not so many Ladybug+Honeybee users using this operating system. Thanks for the support guys. |
Hi @chriswmackey , @mostaphaRoudsari ,
I was wondering if anyone else has been having issues with the latest Open EPW and STAT files component?
I downloaded the newest one, once I noticed this Chris topic (thanks for the information Chris!).
For some reason I can not download any epw file anymore.
This is the exception I am getting:
Here is an example definition:
open_epw_stat_files.zip
A new folder:
USA_PA_Philadelphia.Intl.AP.724080_TMY3
gets created, but it's empty with noUSA_PA_Philadelphia.Intl.AP.724080_TMY3.zip
inside it.Up until now I have been using an older version 0.0.59 of the component from 01th of February 2015. It worked with no problem.
I noticed that it has been using urllib.urlopen method for downloading. This method has been removed since then and replaced with the new System.Net.WebClient().DownloadFile method. Is there a reason for this (I do not know what is causing the issue, or either saying that this is the problem).
I tried turning off my Firewall and my Antivirus, and again the got the same upper exception.
I am using Windows XP SP3, 32 bit Rhino 5 (5.12.50810.13095, 08/10/2015), and Grasshopper 0.9.0075.
Thank you.
The text was updated successfully, but these errors were encountered: