[weewx-user] Re: Belchertown 1.1

2020-05-14 Thread Ron Sell
I got it to work. Had to reinstall PHP.

I extended my database to include :
schema_extended = schemas.wview.schema + [('appTemp', 'REAL'), ('windrun', 
'REAL'), ('lightning_strikes', 'REAL'), ('avg_distance', 'REAL'), 
('maxSolarRad', 'REAL'),('lightningYYY', 'REAL'), ('lightningZZZ', 'REAL')]

I followed all of the instructions here:
https://github.com/poblabs/weewx-belchertown/wiki/Adding-a-new-observation-type-to-the-WeeWX-database

Now i get this error:

Any ideas?

Traceback (most recent call last):
  File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
obj.start()
  File "/usr/share/weewx/weewx/reportengine.py", line 280, in start
self.run()
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
ngen = self.generate(gen_dict[section_name], self.gen_ts)
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in generate
ngen += self.generate(section[subsection], gen_ts)
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, in generate
ngen += self.generate(section[subsection], gen_ts)
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, in generate
default_binding)
  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 376, in 
_getSearchList
searchList += obj.get_extension_list(timespan, db_lookup)
  File "/usr/share/weewx/user/belchertown.py", line 836, in 
get_extension_list
obs_output = getattr(current, obs)
  File "/usr/share/weewx/weewx/tags.py", line 457, in __getattr__
vt = weewx.xtypes.get_scalar(obs_type, self.record, db_manager)
  File "/usr/share/weewx/weewx/xtypes.py", line 71, in get_scalar
return xtype.get_scalar(obs_type, record, db_manager)
  File "/usr/share/weewx/weewx/wxservices.py", line 252, in get_scalar
return getattr(self, method_name)(obs_type, record, db_manager)
  File "/usr/share/weewx/weewx/wxservices.py", line 274, in calc_cloudbase
if 'outTemp' not in data or 'outHumidity' not in data:
TypeError: argument of type 'NoneType' is not iterable






On Tuesday, 12 May 2020 13:59:47 UTC-4, Ron Sell wrote:
>
> I am trying to re create my Weewx on a new server. I am having the hardest 
> time. When I make changes to the weewx.conf, restart service and run sudo 
> weewx_reports none of my changes take affect. What am I missing?
>
> [[Belchertown]]
>
> HTML_ROOT = /var/www/html
>
> skin = Belchertown
>
> [[[Extras]]]
>
> belchertown_root_url = http://10.0.0.1 81
>
>   # footer_copyright_text = BelchertownWeather.com
>
> forecast_enabled = 1
>
> forecast_api_id = x
>
> forecast_api_secret = x
>
> forecast_units = "us"
>
> forecast_stale = forecast_stale
>
> earthquake_enabled = 0
>
> twitterenabled = 0
>
> webpage_autorefresh = 20
>
>   #mqtt_websockets_enabled = 1
>
>#   mqtt_websockets_host = "10.0.0.32"
>
>#   mqtt_websockets_port = 9001
>
>#   mqtt_websockets_topic = "weather/#"
>
> disconnect_live_website_visitor = 0
>
> show_apptemp = 1
>
>   #  show_windrun = 1
>
> station_observations = barometer, dewpoint, outHumidity, 
> cloudbase, rainWithRainRate, UV, radiation
>
> theme = auto
>
> reload_hook_images = 1
>
> reload_images_hook_af = 60
>
> show_last_updated_alert = 1
>
> last_updated_alert_threshold = 1800
>
> footer_disclaimer_text = "Weather"
>
> footer_copyright_text = " "
>
> powered_by = "WeatherFlow"
>
> about_page_header = "About"
>
> home_page_header = "Weather Conditions"
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ce6b2c10-5350-48e8-93a1-bfbf49c5df9e%40googlegroups.com.


Re: [weewx-user] Re: Belchertown 1.1

2020-05-13 Thread Ron Sell
Thanks for the tips

On Wed, May 13, 2020 at 7:29 PM G Hammer  wrote:

> Stick with the current version and troubleshoot it. It is different and
> the time spent will be useful.
>
> On Wed, May 13, 2020, 7:14 PM Ron Sell  wrote:
>
>> I don’t want 1.0. I just tried to install to try and troubleshoot things.
>>
>> On Wed, May 13, 2020 at 4:27 PM G Hammer  wrote:
>>
>>> I recall having that look once a while back.
>>> I think I did this to correct it.
>>> If it wasn't, no harm done if they are available for your Pi.
>>> It looks like pyephem or if python3, python3-ephem aren't installed in
>>> the second screenshot.
>>>
>>> Just wondering why you wish to return to v 1 though.
>>>
>>> Anyway, give these a try.
>>>
>>> sudo apt-get -y install libfreetype6-dev
>>> sudo apt-get -y install libjpeg-dev
>>>
>>>
>>>
>>> --
>>> 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 weewx-user+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/7ea36df9-3f25-4d20-8db7-ffe2e02eed16%40googlegroups.com
>>> 
>>> .
>>
>>
>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/AgqvlniDdLg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/CABn15daaGpNsgD_%3Df-uuL%3D%2BLDhxfJ2c8hZ6UmFvizg6ZHYLQ1g%40mail.gmail.com
>> 
>> .
>>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CALBRR-3Se7eKyWR8_uo4Og6Rv_cZkJfQQP-Mt%3DfsLenXPi%3DFZw%40mail.gmail.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CABn15dZn8u2x4JzPmC%3D8UeMOQrLSjCdEqEYwuFCaGPny7knHQA%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown 1.1

2020-05-13 Thread G Hammer
Stick with the current version and troubleshoot it. It is different and the
time spent will be useful.

On Wed, May 13, 2020, 7:14 PM Ron Sell  wrote:

> I don’t want 1.0. I just tried to install to try and troubleshoot things.
>
> On Wed, May 13, 2020 at 4:27 PM G Hammer  wrote:
>
>> I recall having that look once a while back.
>> I think I did this to correct it.
>> If it wasn't, no harm done if they are available for your Pi.
>> It looks like pyephem or if python3, python3-ephem aren't installed in
>> the second screenshot.
>>
>> Just wondering why you wish to return to v 1 though.
>>
>> Anyway, give these a try.
>>
>> sudo apt-get -y install libfreetype6-dev
>> sudo apt-get -y install libjpeg-dev
>>
>>
>>
>> --
>> 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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/7ea36df9-3f25-4d20-8db7-ffe2e02eed16%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/AgqvlniDdLg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CABn15daaGpNsgD_%3Df-uuL%3D%2BLDhxfJ2c8hZ6UmFvizg6ZHYLQ1g%40mail.gmail.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CALBRR-3Se7eKyWR8_uo4Og6Rv_cZkJfQQP-Mt%3DfsLenXPi%3DFZw%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown 1.1

2020-05-13 Thread Ron Sell
I don’t want 1.0. I just tried to install to try and troubleshoot things.

On Wed, May 13, 2020 at 4:27 PM G Hammer  wrote:

> I recall having that look once a while back.
> I think I did this to correct it.
> If it wasn't, no harm done if they are available for your Pi.
> It looks like pyephem or if python3, python3-ephem aren't installed in the
> second screenshot.
>
> Just wondering why you wish to return to v 1 though.
>
> Anyway, give these a try.
>
> sudo apt-get -y install libfreetype6-dev
> sudo apt-get -y install libjpeg-dev
>
>
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/7ea36df9-3f25-4d20-8db7-ffe2e02eed16%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CABn15daaGpNsgD_%3Df-uuL%3D%2BLDhxfJ2c8hZ6UmFvizg6ZHYLQ1g%40mail.gmail.com.


[weewx-user] Re: Belchertown 1.1

2020-05-13 Thread G Hammer
I recall having that look once a while back.
I think I did this to correct it.
If it wasn't, no harm done if they are available for your Pi.
It looks like pyephem or if python3, python3-ephem aren't installed in the 
second screenshot.

Just wondering why you wish to return to v 1 though.

Anyway, give these a try.

sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install libjpeg-dev



-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7ea36df9-3f25-4d20-8db7-ffe2e02eed16%40googlegroups.com.