One student of mine is having the following problem:
You are not connected to the internet and you do not have the weather files already on your computer. You must be connected to the internet to download the files with this component. SystemError(‘Unable to connect to the remote server’,)
It appears, of course, when trying to download a weather file. But the connection issue also appear when trying to use the update component.
We tried to change the default path to different locations in the computer, but no help.
The machine is connected to the internet (just in case you are asking).
Strange thing is that on the same computer, months ago, the process worked (she has succeeded downloading EPW to default location).
Abraham,
What is the URL of the weather file that you are trying to download? It’s possible that it might be an old URL that no longer exists (the US Dept of Energy moved the EPW database location a year and a half ago). With this last release of Ladybug, we stopped supporting the auto-updating of these old URLs to the new DoE database in the Open EPW and STAT component. We did this to try and get everyone using the new URLs.
Check if you can download the URL manually and ,if you can, then we’ll start investigating other possible explanations.
-Chris
Run the attached GH file on her machine and post the error here. Then, we will at least be able to see what exactly is going wrong and, hopefully, we’ll have some ideas of how to fix it.
I get an email from her this morning saying that the issue has been solved. Turn to be that the Firewall setting in her machine were blocking the download option. Now she changed the settings and the component is working fine.
I recall seeing this in a different thread. We nned to remember better next time.
@Mohammad.ElGhandour - I am unsure what your query is about. This is the only problem I am encountering with Ladybug Tools 1.2. And it is not a problem with the Tools, but with the NREL Weather file server going down. I was merely checking that others were having this problem in a forum where I knew people were regularly using the download function. of course, the function that runs open studio will drop an error related to the unavailability of the weather file, if the weather file is, in fact, unavailable. A nice feature of 1.2 that I noticed was that if the script had run previously, the weather file was available in any directory set up for that analysis.
Many thanks for your information.
I am using legacy Ladybug68 and honeybee65, as I have my school exam in them.
In fact my problem is that even after I downloaded the epw file on my computer I receive an error when I run the Honeybee_Export to openstudio component.
This is exactly what I get "1. Solution exception:The type initializer for ‘OpenStudio.OpenStudioModelCorePINVOKE’ threw an exception."
So is that due to the servers unavailability or due to something else?
As @minggangyin states, this has nothing to do with the non-availability online of weather files from the US government web site. However, I would suggest that you search the discourse discussion for the error message you posted. This for me turned up the very useful ending at Export to OPENSTUDIO error "ModelCorePINVOKE" - #43 by chris
There is more than enough information there to determine what might be special about your installation. I suspect that the lessons we have all learned about relative compatibility of each version of ladybug tools with each version of open Studio or Radiance apply equally to Ladybug Legacy tools as to the current distribution. 1.4 Compatibility Matrix · ladybug-tools/lbt-grasshopper Wiki · GitHub