Hi, Indeed the problem was some corruption in your skin.conf:
Mar 25 16:40:22 DietPi weewx[421]: cheetahgenerator: using search list [ 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', u'u', u 's', u'e', u'r', u'.', u'h', u'i', u's', u't', u'o', u'r', u'y', u'g', u'e', u'n', u'e', u'r', u'a', u't', u'o', u'r', u'.', u'M', u'y', u'X', u'S', u'e' , u'a', u'r', u'c', u'h'] indicates that the search_list_extensions setting was somehow corrupted and it had WeeWX looking for all sorts of search list extensions that do not exist, hence the ValueError: Empty module name error. Gary On Tuesday, 26 March 2019 04:36:26 UTC+10, Copain wrote: > > SOLVED! > > I recreated the skin.conf file from backup and the additions in the > 'ToDate' section. Thereafter it worked immediately. > There may have been some space or tab character at a wrong position, which > blocked the execution of 'user.historygenerator.MyXSearch'. > > So, as usual in Linux systems: be careful while typing ... > > > > Am Montag, 25. März 2019 17:03:43 UTC+1 schrieb Copain: > >> My weewx runs on RPi 3B with dietpi. >> >> I created the custom report 'forecast.html.tmpl', which I added to the >> 'CheetahGenerator' section of skin.conf (niculskin) as follows: >> >> [[ToDate]] >> [[[forecast]]] >> template = forecast.html.tmpl >> >> Now, I don't get any html reports any more and the attached log file >> shows 'ValueError: Empty module name'. >> >> How can I resolve this issue? >> >> Thanks. >> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
