I did the install of Cheetah.

Restarted the Mac, restarted weewx (checked for wview using the port (no 
sign) and got this:

12/28/19 9:20:15.764 PM weewx[83]: manager: Added record 2019-12-28 
21:20:00 PST (1577596800) to database 'weewx.sdb'
12/28/19 9:20:15.769 PM weewx[83]: manager: Added record 2019-12-28 
21:20:00 PST (1577596800) to daily summary in 'weewx.sdb'
12/28/19 9:20:15.816 PM weewx[83]: reportengine: Unable to instantiate 
generator 'weewx.cheetahgenerator.CheetahGenerator'
12/28/19 9:20:15.816 PM weewx[83]:         ****  No module named 
Cheetah.Template
12/28/19 9:20:15.819 PM weewx[83]:         ****  Generator ignored
12/28/19 9:20:22.319 PM weewx[83]: reportengine: Unable to instantiate 
generator 'weewx.cheetahgenerator.CheetahGenerator'
12/28/19 9:20:22.319 PM weewx[83]:         ****  No module named 
Cheetah.Template
12/28/19 9:20:22.319 PM weewx[83]:         ****  Generator ignored

Also a lot of json-style information was written to the terminal - appeared 
to be the data intended for Cheetah.

WeatherMini:weewx dsbach$ ./bin/weewxd weewx.conf
LOOP:   2019-12-28 21:21:22 PST (1577596882) appTemp: 40.9650108791, 
barometer: 30.119, cloudbase: 1801.21794114, consBatteryVoltage: 4.61, 
dateTime: 1577596882, dayET: 0.02, dayRain: 0.01, dewpoint: 37.367441059, 
extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, 
extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, 
forecastIcon: 6, forecastRule: 44, heatindex: 44.8, humidex: 44.8, 
inDewpoint: 47.8314402429, inHumidity: 38.0, insideAlarm: 0, inTemp: 75.2, 
leafWet4: 0.0, maxSolarRad: 186.732005992, monthET: 0.51, monthRain: 7.96, 
outHumidity: 75.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 44.8, 
radiation: 0.0, rain: None, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, 
soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.0, 
sunrise: 1577548560, sunset: 1577578980, trendIcon: 0, txBatteryStatus: 0, 
usUnits: 1, UV: 0.0, windchill: 44.8, windDir: 103.0, windGust: 2.0, 
windGustDir: 103.0, windSpeed: 2.0, windSpeed10: 3.0, yearET: 28.6, 
yearRain: 39.79

and later in the same stream:

raceback (most recent call last):
  File "/Users/Shared/weewx/bin/weewx/reportengine.py", line 185, in run
    obj = weeutil.weeutil._get_object(generator)(
  File "/Users/Shared/weewx/bin/weeutil/weeutil.py", line 1107, in 
_get_object
    mod = __import__(module)
  File "/Users/Shared/weewx/bin/weewx/cheetahgenerator.py", line 66, in 
<module>
    import Cheetah.Template
ImportError: No module named Cheetah.Template

It seems that somethings is really messed up.

db

On Saturday, December 28, 2019 at 5:02:27 PM UTC-8, Thomas Keffer wrote:
>
> Did you install cheetah?
>
> On Sat, Dec 28, 2019 at 5:59 PM David Bach <[email protected] <javascript:>> 
> wrote:
>
>> weewx is running - files going into public_html and manager writing to 
>> the database (catching up). However, I'm getting this message:
>>
>> 12/28/19 4:50:42.759 PM sudo[713]:   dsbach : TTY=ttys000 ; 
>> PWD=/Users/Shared/weewx ; USER=root ; COMMAND=/bin/launchctl load 
>> /Library/LaunchDaemons/com.weewx.weewxd.plist
>> 12/28/19 4:55:15.217 PM weewx[715]: manager: Added record 2019-12-28 
>> 16:55:00 PST (1577580900) to database 'weewx.sdb'
>> 12/28/19 4:55:15.222 PM weewx[715]: manager: Added record 2019-12-28 
>> 16:55:00 PST (1577580900) to daily summary in 'weewx.sdb'
>> 12/28/19 4:55:15.276 PM weewx[715]: reportengine: Unable to instantiate 
>> generator 'weewx.cheetahgenerator.CheetahGenerator'
>> 12/28/19 4:55:15.276 PM weewx[715]:         ****  No module named 
>> Cheetah.Template
>> 12/28/19 4:55:15.278 PM weewx[715]:         ****  Generator ignored
>> 12/28/19 4:55:21.701 PM weewx[715]: reportengine: Unable to instantiate 
>> generator 'weewx.cheetahgenerator.CheetahGenerator'
>> 12/28/19 4:55:21.701 PM weewx[715]:         ****  No module named 
>> Cheetah.Template
>> 12/28/19 4:55:21.703 PM weewx[715]:         ****  Generator ignored
>>
>> Ideas?
>>
>> David
>>
>> On Saturday, December 28, 2019 at 3:49:42 PM UTC-8, Thomas Keffer wrote:
>>>
>>> As Gary notes, the problem is that your configuration file, weewx.conf, 
>>> was not configured to use the Vantage driver properly.
>>>
>>> How did you do the install? The easiest is to follow the directions for 
>>> MacOS <http://www.weewx.com/docs/macos.htm>. This will prompt you for 
>>> which driver you want to use. Just indicate the Vantage driver, and the 
>>> setup utility will take care of setting up weewx.conf.
>>>
>>> -tk
>>>
>>> On Sat, Dec 28, 2019 at 1:25 PM David Bach <[email protected]> wrote:
>>>
>> I'm attempting to install weewx on a Mac mini that has been running wview 
>>>> for years. The installation of weewx went relatively smoothly. I copied 
>>>> the 
>>>> database from wview to weewx and double-checked the configuration files.
>>>>
>>>> I start weewx and receive:
>>>>
>>>> WeatherMini:weewx dsbach$ ./bin/weewxd weewx.conf
>>>> Traceback (most recent call last):
>>>>   File "./bin/weewxd", line 64, in <module>
>>>>     weewx.engine.main(options, args)
>>>>   File "/Users/Shared/weewx/bin/weewx/engine.py", line 888, in main
>>>>     engine = engine_class(config_dict)
>>>>   File "/Users/Shared/weewx/bin/weewx/engine.py", line 72, in __init__
>>>>     self.setupStation(config_dict)
>>>>   File "/Users/Shared/weewx/bin/weewx/engine.py", line 90, in 
>>>> setupStation
>>>>     driver = config_dict[stationType]['driver']
>>>>   File "/Library/Python/2.7/site-packages/configobj.py", line 554, in 
>>>> __getitem__
>>>>     val = dict.__getitem__(self, key)
>>>> KeyError: 'Vantage'
>>>>
>>>> The wview installation required a serial to USB converter by Silicon 
>>>> Labs that shows up in /dev as /tty.SLAB_USBtoUART. Two others I tried 
>>>> didn't work back when I installed wview.
>>>>
>>>> I used screen to attempt to connect to this USB port and it was 
>>>> successful. I attempted to connect to /dev/ttyUSB0 and ttyUSB1 without 
>>>> success (there are no such devs listed). So I believe that the former is 
>>>> the correct port. But how do I tell weewx to look there for the loop data.
>>>>
>>>> I don't know how to make sense our of the section about udev and 
>>>> creating an alias in the documentation. 
>>>>
>>>> My installation of weewx is straightforward. I'm just trying to replace 
>>>> wview with weewx at http://hillhousehome.net/weewx.
>>>>
>>>> MacOS El Capitan, MacMini, weewx 3.9.2, final version of wview, 
>>>>
>>>> I'm not unfamiliar with weewx - I have a working installation on 
>>>> another VantagePro 2 weather station on a Raspberry Pi.
>>>>
>>>> I know the basics of linux command line, but often I come across 
>>>> situations I cannot understand, such as writing udev rules.
>>>>
>>>> -- 
>>>> 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].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/f20f7e94-8271-488e-830e-2a4f21838f5d%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/f20f7e94-8271-488e-830e-2a4f21838f5d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3f42c3b7-8433-40ef-b24f-928b977fee2f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/3f42c3b7-8433-40ef-b24f-928b977fee2f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> -tk
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cc9aa1c9-18ce-4fb6-9c52-64d4e03bc1b4%40googlegroups.com.

Reply via email to