It appears that you are running weewx 3.9.2.  
The error you have shows that the new  belchertown.py (v1.3) script want to 
access to functions in  weewx.xtypes , which does not exists in version 
3.9.2

You will need to install weewx 4.0 or higher to avoid this error.

Le mardi 4 avril 2023 à 14:54:46 UTC+2, Parsoli 69 a écrit :

> FYI, I am getting updated graph data at https://elburnweather.org/weewx 
> in the native weewx skin.  However my Belchertown skin is accessed via 
> https://elburnweather.org/
> Is the skin supposed to grab the .png data at /weewx and pull that into 
> the Graphs folder at the root of /var/www/html ?  Or some symobolic link to 
> it?
>
> On Tuesday, April 4, 2023 at 7:28:00 AM UTC-5 Parsoli 69 wrote:
>
>> Since I've received no replies, figured I'd paste my weewx.conf data 
>> below to see if that gives someone a thought on where I should go with this.
>> My main content is at /var/www/html
>> There is a /var/www/html/weewx folder as well
>>
>>
>>
>> # WEEWX CONFIGURATION FILE
>> #
>> # Copyright (c) 2009-2019 Tom Keffer <[email protected]>
>> # See the file LICENSE.txt for your rights.
>>
>>
>> ##############################################################################
>>
>> #<meta name="twitter:card" content="summary_large_image">
>> #<meta name="twitter:site" content="@Parsoli">
>> #<meta name="twitter:creator" content="@Parsoli">
>> #<meta name="twitter:title" content="Elburn Weather">
>> #<meta name="twitter:image" content="
>> https://www.elburn.il.us/wp-content/uploads/2018/04/EburnFooterLogo-e1525036460870.png
>> ">
>>
>> # This section is for general configuration information.
>>
>> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>> #debug = 1
>>
>> # Root directory of the weewx data file hierarchy for this station
>> WEEWX_ROOT = /
>>
>> # Whether to log successful operations
>> log_success = True
>>
>> # Whether to log unsuccessful operations
>> log_failure = True
>>
>> # How long to wait before timing out a socket (FTP, HTTP) connection
>> socket_timeout = 20
>>
>> # Do not modify this. It is used when installing and updating weewx.
>> version = 3.9.2
>> loop_on_init = True
>>
>>
>> ##############################################################################
>>
>> [StdReport]
>>
>>     # Where the skins reside, relative to WEEWX_ROOT
>>     SKIN_ROOT = /etc/weewx/skins
>>
>>     # Where the generated reports should go, relative to WEEWX_ROOT
>>     HTML_ROOT = /var/www/html/weewx
>>     # The database binding indicates which data should be used in reports.
>>     data_binding = wx_binding
>>
>>     # Whether to log a successful operation
>>     log_success = True
>>
>>     # Whether to log an unsuccessful operation
>>     log_failure = False
>>
>>     # Each of the following subsections defines a report that will be run.
>>     # See the customizing guide to change the units, plot types and line
>>     # colors, modify the fonts, display additional sensor data, and other
>>     # customizations. Many of those changes can be made here by overriding
>>     # parameters, or by modifying templates within the skin itself.
>>
>>     [[SeasonsReport]]
>>         # The SeasonsReport uses the 'Seasons' skin, which contains the
>>         # images, templates and plots for the report.
>>         skin = Seasons
>>         enable = true
>>
>>     [[SmartphoneReport]]
>>         # The SmartphoneReport uses the 'Smartphone' skin, and the images 
>> and
>>         # files are placed in a dedicated subdirectory.
>>         skin = Smartphone
>>         enable = false
>>         HTML_ROOT = /var/www/html/weewx/smartphone
>>
>>     [[MobileReport]]
>>         # The MobileReport uses the 'Mobile' skin, and the images and 
>> files
>>         # are placed in a dedicated subdirectory.
>>         skin = Mobile
>>         enable = false
>>         HTML_ROOT = /var/www/html/weewx/mobile
>>
>>     [[StandardReport]]
>>         # This is the old "Standard" skin. By default, it is not enabled.
>>         skin = Standard
>>         enable = false
>>
>>     [[Belchertown]]
>>         HTML_ROOT = /var/www/html/
>>         belchertown_debug = 1
>>         skin = Belchertown
>> enable = true
>>
>>         [[[Extras]]]
>>             logo_image = "
>> https://www.elburn.il.us/wp-content/uploads/2018/04/EburnFooterLogo-e1525036460870.png
>> "
>>             earthquake_enabled = 1
>>             twitter_enabled = 1
>>             belchertown_locale = auto
>>             #darksky_secret_key = "REDACTED"
>>             forecast_alert_enabled = 1
>>             #STEVE ADDED FORECAST DATA APR 23#
>>             forecast_enabled = 1
>>             forecast_provider = aeris
>>             forecast_api_id = REDACTED
>>             forecast_api_secret = REDACTED
>>             forecast_units = us
>>             forecast_lang = en
>>             forecast_stale = 3540
>>             forecast_aeris_use_metar = 1
>>             forecast_interval_hours = 24
>>             aqi_enabled = 1
>>             site_title = "Elburn Weather"
>>             belchertown_root_url = https://elburnweather.org
>>             # default = auto
>>             theme = auto
>>             theme_toggle_enabled = 1
>>             station_observations = barometer, dewpoint, outHumidity, 
>> rainWithRainRate
>>             show_apptemp = 1
>> highcharts_enabled = 1
>>             graph_page_show_all_button = 1
>>             graph_page_default_graphgroup = "day"
>>             highcharts_homepage_graphgroup = "day"
>>             highcharts_decimal = "auto"
>>             highcharts_thousands = "auto"
>>             webpage_autorefresh = 60000
>>             footer_copyright_text = "Elburn Weather"
>>
>> #    [[Highcharts_Belchertown]]
>> #        HTML_ROOT = /var/www/html/weewx/belchertown
>> #        skin = Highcharts_Belchertown
>> #        #site_title = Elburn Weather
>>
>>             # For help refer to the docs at 
>> https://github.com/poblabs/weewx-belchertown
>>             # and consult skin.conf for the configurable elements and 
>> their hierarchy
>>
>>             #--- General Options ---
>>             # belchertown_debug = 0
>>             # belchertown_locale = "auto"
>>             # theme = light
>>             # theme_toggle_enabled = 1
>>             # logo_image = ""
>>             # logo_image_dark = ""
>>             # site_title = "My Weather Website"
>>             # station_observations = 
>> "barometer","dewpoint","outHumidity","rainWithRainRate"
>>             # beaufort_category = 0
>>             # manifest_name = "My Weather Website"
>>             # manifest_short_name = "MWW"
>>             # aeris_map = 0
>>             # radar_html = ''   #  (default seems to center on your 
>> lat/lon)
>>             # radar_html_dark = None
>>             # radar_zoom = 8
>>             # radar_marker = 0
>>             # almanac_extras = 1
>>             # highcharts_enabled = 1
>>             # graph_page_show_all_button = 1
>>             # graph_page_default_graphgroup = "day"
>>             # highcharts_homepage_graphgroup = "day"
>>             # highcharts_decimal = "auto"
>>             # highcharts_thousands = "auto"
>>             # googleAnalyticsId = ""
>>             # pi_kiosk_bold = "false"
>>             # pi_theme = "auto"
>>             # webpage_autorefresh = 0
>>             # reload_hook_images = 0
>>             # reload_images_radar = 300
>>             # reload_images_hook_asi = -1
>>             # reload_images_hook_af = -1
>>             # reload_images_hook_as = -1
>>             # reload_images_hook_ac = -1
>>             # show_last_updated_alert = 0
>>             # last_updated_alert_threshold = 1800
>>
>>
>> On Sunday, April 2, 2023 at 1:40:16 PM UTC-5 Parsoli 69 wrote:
>>
>>> Hello Folks,
>>>
>>> Long time v 1.0.1 Belchertown user.  Woke up yesterday to Darksky 
>>> forecasts gone and for whatever reason, a Current Temp that was not 
>>> updating.  So....Time to Upgrade!
>>>
>>> Went thru the upgrade to 1.3.  Aeris forecasting working and all looks 
>>> super.  Except, no graphs showing up on main page and empty in /graphs
>>>
>>> Been reading all day long and deleted my graphs.conf, renamed the 
>>> example file to graphs.conf.  Ran sudo weereports a zillion times, 
>>> nothing.  Is there another process that will spawn these later in the day 
>>> or should I be looking elsewhere?  Syslog gives the below.  Any thoughts on 
>>> where to start digging?
>>>
>>> copygenerator: copied 3 files to /var/www/html/
>>>
>>> Apr  2 13:35:18 weather weewx[971]: reportengine: Caught unrecoverable 
>>> exception in generator 'user.belchertown.HighchartsJsonGenerator'
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****  Error trying to use 
>>> database binding wx_binding to graph observation outTemp. Error was: 
>>> 'module' object has no attribute 'xtypes'.
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****  Traceback (most recent 
>>> call last):
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****    File 
>>> "/usr/share/weewx/weewx/reportengine.py", line 204, in run
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****      obj.start()
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****    File 
>>> "/usr/share/weewx/weewx/reportengine.py", line 300, in start
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****      self.run()
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****    File 
>>> "/usr/share/weewx/user/belchertown.py", line 2771, in run
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****      special_target_unit
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****    File 
>>> "/usr/share/weewx/user/belchertown.py", line 3737, in get_observation_data
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****      % (binding, 
>>> obs_lookup, e)
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****  Warning: Error trying 
>>> to use database binding wx_binding to graph observation outTemp. Error was: 
>>> 'module' object has no attribute 'xtypes'.
>>>
>>> Apr  2 13:35:18 weather weewx[971]:         ****  Generator terminated
>>>
>>>
>>>

-- 
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/656a331e-3e1e-4ea9-8071-1f059eda216cn%40googlegroups.com.

Reply via email to