Error: "gensky/oconv not recognised as an internal or external command" when trying to run a daylighting simulation
Posted by Andy Tindale on 18-Jul-13 04:33 PM

There are 2 known causes of this problem:

1. Failure in the installation of the Radiance software. You can check to see if this is the cause by going to the DesignBuilder Radiance folder ("File > Folders > Radiance folder" menu command opens the folder in Windows Explorer). If you see folders "rlib" and "bin" then Radiance has installed correctly. If not then you should be able to manually install Radiance by copying the file "C:\Program files\DesignBuilder\Radiance\" (or C:\Program Files (x86)\DesignBuilder\Radiance on 64bit machines) to the above Radiance folder and extract it there. After the extraction you should have the "rlib" and "bin" folders below the DesignBuilder Radiance folder and Radiance should now run.

2. Problem caused by the encoding the command prompt is using. It may be a using a different encoding to VB6 so certain of the characters were being misinterpreted leading to an attempt to cd to a non-existent folder. In this case the solution is to:
  1. Set the font of the command window to Lucida Console, making sure it is set for all future invocations.
  2. Set the code page for the command prompt to 1252, not the default 850. To do this set the value of OEMCP in the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage to 1252