Hi
I have setup UWG, Matlab etc (2015b, not latest version of Matlab) as per instructions.
To check the installation works I have downloaded and tried running the Singapore example file.
Step 1 runs.
Step 2 fails. Error Message is that the weather file is missing. I think this is because of the space in the file name that appears to have crept in in the 2017-06-05_1-17-57 image attached. This is presumably in the UWG component within Dragonfly
The actual error message states "Could not find version 9.0 of the Matlab runtime. And a few other explanatory words. I cannot replicate this now, but part of the problem seemed to be on the first run that the path in which Dragonfly was looking for UWG was C:\ladybug\UWG.
I am wondering if this is because of the code shown below. It seems to me that the code at lines 980-988 in the Dragonfly “Main” component sets the UWG program to be in folder DragonFly_Installation\UWG\ BUT in lines 112-119 the Dragonfly_Installation is set to C;\ladybug\
Code at: lines 980-988 in Dragonfly main component
if checkIn.letItFly:
sc.sticky[“dragonfly_release”] = versionCheck()
if sc.sticky.has_key(“dragonfly_release”) and sc.sticky[“dragonfly_release”]:
folders = df_findFolders()
sc.sticky[“dragonfly_folders”] = {}
if folders.UWGPath == None:
if os.path.isdir(sc.sticky[“Dragonfly_DefaultFolder”] + “\UWG\”):
folders.UWGPath = sc.sticky[“Dragonfly_DefaultFolder”] + “\UWG\”
BUT:
Earlier (Lines 112-119) the Dragonfly_DefaultFolder was set thus:
#set up default pass
if not self.folderIsSetByUser:
if os.path.exists(“c:\ladybug\”) and os.access(os.path.dirname(“c:\ladybug\”), os.F_OK):
# folder already exists so it is all fine
sc.sticky[“Dragonfly_DefaultFolder”] = "c:\ladybug\"
elif os.access(os.path.dirname(“c:\”), os.F_OK):
#the folder does not exists but write privileges are given so it is fine
sc.sticky[“Dragonfly_DefaultFolder”] = “c:\ladybug\”