Unable to instantiate generator 'weewx.cheetahgenerator.CheetahGenerator'

50 views
Skip to first unread message

Andrea

unread,
May 4, 2020, 9:09:09 AM5/4/20
to weewx-user
I've got this error running vers.4. I use Mint 19.3 and when I did the installation of python3.cheetah I received error because "python3-cheetah" not found, so I've installed python3-cheetah with pip. Could be this the problem?


ERROR weewx.reportengine: Unable to instantiate generator 'weewx.cheetahgenerator.CheetahGenerator'
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****  No module named 'Cheetah'
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/reportengine.py", line 180, in run
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****      obj = weeutil.weeutil.get_object(generator)(
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****      mod = __import__(module)
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 66, in <module>
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****      import Cheetah.Filters
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****  ModuleNotFoundError: No module named 'Cheetah'
May  4 14:53:05 Linux-Dell weewx[16268] ERROR weewx.reportengine:         ****  Generator ignored

Andrea

unread,
May 4, 2020, 9:36:24 AM5/4/20
to weewx-user
Ok I've installed again cheetah3 and the error was solved.
Thanks

Andrea
Reply all
Reply to author
Forward
0 new messages