Using the DEB/RPM installer, the HTML_ROOT is a full path in weewx.conf. Using setup.py, the HTML_ROOT is relative to WEEWX_ROOT in weewx.conf.
This causes a problem when trying to create an SLE that saves data to folders within HTML_ROOT. For example with setup.py the output of noaa_dir below = " public_html/belchertown/NOAA" which is not a full path, so noaa_file_list fails. noaa_dir = self.generator.skin_dict['HTML_ROOT'] + "/NOAA/" noaa_file_list = os.listdir( noaa_dir ) If i change it to the below, I end up getting duplicate slashes at the beginning of the path from DEB/RPM, but it creates the full HTML_ROOT path for setup.py. Not ideal for package installs though. noaa_dir = self.generator.config_dict["WEEWX_ROOT"] + "/" + self.generator. skin_dict['HTML_ROOT'] + "/NOAA/" Is there a reliable way to get the full path to the HTML_ROOT no matter what type of installation the user used?