Hello, Sef Take a look under [ImageGenerator] in the skin.conf configuration file for your 'BigReport', and make sure there are entries for
top_label_font_path bottom_label_font_path unit_label_font_path axis_label_font_path rose_label_font_path -tk On Tue, Feb 5, 2019 at 4:04 PM Sef Konings <[email protected]> wrote: > > Hi, weewx users. > > I have just upgraded my weewx weatherstation, from weewx 3.8.2 to the > latest version 3.9.0. I have done this with the apt-get update and upgrade > tool The weatherstation starts again in 3.9.0, new graphs are being > produced, but after a few minutes, I can see this error message when the > system is producing the html pages: > > 2019 Feb 6 00:53:09 localhost reportengine: Caught unrecoverable > exception in generator 'weewx.imagegenerator.ImageGenerator' > 2019 Feb 6 00:53:09 localhost **** 'NoneType' object has no > attribute 'startswith' > 2019 Feb 6 00:53:09 localhost **** Generator terminated > Feb 6 00:53:09 localhost weewx[537]: imagegenerator: Generated 19 images > for BigReport in 5.01 seconds > Feb 6 00:53:09 localhost weewx[537]: cheetahgenerator: Generated 1 files > for report lastrain in 0.04 seconds > Feb 6 00:53:09 localhost weewx[537]: cheetahgenerator: Generated 1 files > for report cmon in 0.04 seconds > Feb 6 00:53:09 localhost weewx[537]: reportengine: Caught unrecoverable > exception in generator 'weewx.imagegenerator.ImageGenerator' > Feb 6 00:53:09 localhost weewx[537]: **** 'NoneType' object has > no attribute 'startswith' > Feb 6 00:53:09 localhost weewx[537]: **** Traceback (most recent > call last): > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 204, in run > Feb 6 00:53:09 localhost weewx[537]: **** obj.start() > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 300, in start > Feb 6 00:53:09 localhost weewx[537]: **** self.run() > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/share/weewx/weewx/imagegenerator.py", line 32, in run > Feb 6 00:53:09 localhost weewx[537]: **** > self.genImages(self.gen_ts) > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/share/weewx/weewx/imagegenerator.py", line 112, in genImages > Feb 6 00:53:09 localhost weewx[537]: **** plot = > weeplot.genplot.TimePlot(plot_options) > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/share/weewx/weeplot/genplot.py", line 122, in __init__ > Feb 6 00:53:09 localhost weewx[537]: **** skin_dir, > self.top_label_font_path) > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/share/weewx/weeplot/genplot.py", line 134, in normalize_path > Feb 6 00:53:09 localhost weewx[537]: **** if > os.path.isabs(path): > Feb 6 00:53:09 localhost weewx[537]: **** File > "/usr/lib/python2.7/posixpath.py", line 54, in isabs > Feb 6 00:53:09 localhost weewx[537]: **** return > s.startswith('/') > Feb 6 00:53:09 localhost weewx[537]: **** AttributeError: > 'NoneType' object has no attribute 'startswith' > Feb 6 00:53:09 localhost weewx[537]: **** Generator terminated > > After this, weewx keeps active. I already have been searching in this > group for other people with the same errormessage, but until now nobody > seems to have got this problem. > Can you please give me a clue ? (You can find my weewx page on : > https://sekoni.nl/weewx) > > Thanks ! > many regards, > > Sef > > > -- > 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. > -- 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.
