now I see I have this error any idea what is that? May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** Traceback (most recent call last): May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 1889, in process_packet May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** data = self.calculate(cached_packet) May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 2265, in calculate May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** data[field] = self.get_field_value(field, packet) May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 1988, in get_field_value May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** grace=grace_period) May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 2961, in calc_trend May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** return now - then May 29 20:06:10 web journal[2823]: weewx[2823] INFO user.rtgd: rtgdthread: **** TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' May 29 20:06:10 web journal[2823]: weewx[2823] INFO weewx.manager: Added record 2022-05-29 20:05:00 CEST (1653847500) to database 'weewx' May 29 20:06:10 web journal[2823]: weewx[2823] INFO weewx.manager: Added record 2022-05-29 20:05:00 CEST (1653847500) to daily summary in 'weewx'
nedelja, 29. maj 2022 ob 19:49:39 UTC+2 je oseba [email protected] napisala: > thank you, that was it. > I just disable those 4 lines and now I get all data like before. > I was following interceptor installation but this is not ok below. now > works all > [[sensor_map_extensions]] > # inTemp = temperature_1 > # inHumidity = humidity_1 > # outTemp = temperature_4 > # outHumidity = humidity_4 > > nedelja, 29. maj 2022 ob 18:38:21 UTC+2 je oseba [email protected] > napisala: > >> I don't know much about the interceptor driver, but I would guess that >> there is something wrong with the sensor map. You have outTemp mapped to >> "temperature_4". Are you sure that's right? >> >> Another option would be to use Gary's Ecowitt driver >> <https://github.com/gjr80/weewx-gw1000>. It uses the native Ecowitt API. >> >> On Sun, May 29, 2022 at 9:31 AM [email protected] <[email protected]> >> wrote: >> >>> I have change this to 300 seconds and it is the same only half data >>> https://vreme.povej.net >>> when I check errors in chrome F12 I see this errors and don't know what >>> they mean. >>> >>> Mixed Content: The page at 'https://vreme.povej.net/' was loaded over >>> HTTPS, but requested an insecure stylesheet ' >>> http://fonts.googleapis.com/css?family=Lato:300,400,700'. This request >>> has been blocked; the content must be served over HTTPS. >>> vreme.povej.net/:26 Mixed Content: The page at 'https://vreme.povej.net/' >>> was loaded over HTTPS, but requested an insecure stylesheet ' >>> http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'. >>> >>> This request has been blocked; the content must be served over HTTPS. >>> image.html:1 Failed to load resource: the server responded with >>> a status of 404 (Not Found) >>> vreme.povej.net/:1 Mixed Content: The page at 'https://vreme.povej.net/' >>> was loaded over HTTPS, but requested an insecure stylesheet ' >>> http://fonts.googleapis.com/css?family=Lato:300,400,700'. This request >>> has been blocked; the content must be served over HTTPS. >>> vreme.povej.net/:1 Mixed Content: The page at 'https://vreme.povej.net/' >>> was loaded over HTTPS, but requested an insecure stylesheet ' >>> http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'. >>> >>> This request has been blocked; the content must be served over HTTPS. >>> DevTools failed to load source map: Could not load content for >>> https://vreme.povej.net/css/main.css.map: HTTP error: status code 404, >>> net::ERR_HTTP_RESPONSE_CODE_FAILURE >>> >>> >>> nedelja, 29. maj 2022 ob 16:36:54 UTC+2 je oseba [email protected] >>> napisala: >>> >>>> Hard to say, but the most likely problem is that you have a 60 second >>>> archive interval. LOOP packets may not be arriving fast enough from your >>>> station to support that. For example, if your station emits outside >>>> temperature only once every 90 seconds, then many records will not contain >>>> any valid value. >>>> >>>> Try changing to 300 seconds (5 minutes). >>>> >>>> -tk >>>> >>>> On Sun, May 29, 2022 at 3:48 AM [email protected] < >>>> [email protected]> wrote: >>>> >>>>> I remember I also can give you gauge data >>>>> >>>>> https://privatebin.povej.net/?16d876ea7e0f3415#7B7sTsHG6YkhMSWe3AirJw9UZhneG6EKccLDGsmKWS3o >>>>> >>>>> >>>>> nedelja, 29. maj 2022 ob 12:06:38 UTC+2 je oseba [email protected] >>>>> napisala: >>>>> >>>>>> yes I see, sorry, there must be log and more log and even more log. >>>>>> so I have enabled debug=2 and here is 11 miutes of weewx log, I hope >>>>>> that is ok if not I will give more log. >>>>>> >>>>>> https://privatebin.povej.net/?21784b4823c4fd9e#DnFo1DQji8gN1s9ByXicvUAccLFk3SHM8MPc9v8nqPcn >>>>>> >>>>>> I have in setup to update every 60 seconds also on my weather station >>>>>> console. >>>>>> >>>>>> sobota, 28. maj 2022 ob 22:39:36 UTC+2 je oseba [email protected] >>>>>> napisala: >>>>>> >>>>>>> Please read the directions in the link that John posted about how to >>>>>>> get a good log. You gave us only 31 seconds worth. We need to see it >>>>>>> from >>>>>>> when weewxd starts up through the first reporting cycle. >>>>>>> >>>>>>> On Sat, May 28, 2022 at 1:27 PM [email protected] < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> I finally manage to make it work I made a mistake in weewx.conf >>>>>>>> instead of "metric" I have wrong settings >>>>>>>> but still I can not get all data from it. No Idea why. I get all >>>>>>>> data except those below. >>>>>>>> and there is the same problem if I use default season skin. >>>>>>>> here is new log >>>>>>>> >>>>>>>> https://privatebin.povej.net/?3f6ebf3eff28df53#4X8Bcn5z4xnDjgKuhwpJtRMDMkb81e2aU9rMxVjxYUsU >>>>>>>> >>>>>>>> >>>>>>>> Outside Temperature >>>>>>>> N/A >>>>>>>> Wind Chill >>>>>>>> N/A >>>>>>>> Heat Index >>>>>>>> N/A >>>>>>>> Dewpoint >>>>>>>> N/A >>>>>>>> Humidity >>>>>>>> N/A >>>>>>>> Barometer >>>>>>>> N/A >>>>>>>> Barometer Trend (3 hours) >>>>>>>> N/A >>>>>>>> >>>>>>>> sobota, 28. maj 2022 ob 16:26:45 UTC+2 je oseba [email protected] >>>>>>>> napisala: >>>>>>>> >>>>>>>>> I see link is not in post with log. >>>>>>>>> here is again missed one >>>>>>>>> >>>>>>>>> https://privatebin.povej.net/?6f98f22991a91f95#8eAe4cWXz2YUD1yHtU9P6uKqq12ygUmBJTmJXXAR8sqH >>>>>>>>> >>>>>>>>> and recent log >>>>>>>>> >>>>>>>>> https://privatebin.povej.net/?f8c7ded3b868d764#4Y4dCtH6NNSVDojyqLqKHE1qvBPrYf1Dr4Zj9n97Qnjk >>>>>>>>> >>>>>>>>> >>>>>>>>> sobota, 28. maj 2022 ob 15:19:30 UTC+2 je oseba >>>>>>>>> [email protected] napisala: >>>>>>>>> >>>>>>>>>> I’m sure someone can help if you send a log. >>>>>>>>>> See: >>>>>>>>>> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user >>>>>>>>>> >>>>>>>>>> On May 28, 2022, at 5:51 AM, [email protected] < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Thank you >>>>>>>>>> I now manage to start weewx and it looks like it populate weewx >>>>>>>>>> database in mysql. >>>>>>>>>> But it doesn't update my html files >>>>>>>>>> I use a observer driver to get data from my froggit HP1000 >>>>>>>>>> weather station >>>>>>>>>> I seton weather station to send data to my external ip >>>>>>>>>> 123.123.123.123 on port 9000 >>>>>>>>>> this is server where I have installed weewx. >>>>>>>>>> but when I setup observer it doesn't work I get errors >>>>>>>>>> now I setup interceptor but still web page doesn't update. >>>>>>>>>> what I am missing here? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ############################################################################## >>>>>>>>>> [Observer] >>>>>>>>>> # This section is for the Observer weather stations. >>>>>>>>>> >>>>>>>>>> # The driver to use >>>>>>>>>> #driver = user.observer >>>>>>>>>> >>>>>>>>>> # How often to poll the device, in seconds >>>>>>>>>> poll_interval = 60 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ############################################################################## >>>>>>>>>> >>>>>>>>>> [Interceptor] >>>>>>>>>> # This section is for the network traffic interceptor driver. >>>>>>>>>> >>>>>>>>>> # The driver to use: >>>>>>>>>> # device_type = observer >>>>>>>>>> driver = user.interceptor >>>>>>>>>> device_type = ecowitt-client >>>>>>>>>> >>>>>>>>>> # Specify the hardware device to capture. Options include: >>>>>>>>>> # acurite-bridge - acurite internet bridge, smarthub, or >>>>>>>>>> access >>>>>>>>>> # observer - fine offset WH2600/HP1000/HP1003, ambient >>>>>>>>>> WS2902 >>>>>>>>>> # lw30x - oregon scientific LW301/LW302 >>>>>>>>>> # lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge >>>>>>>>>> # ecowitt-client - any hardware that uses the ecowitt >>>>>>>>>> protocol >>>>>>>>>> # wu-client - any hardware that uses the weather >>>>>>>>>> underground protocol >>>>>>>>>> # device_type = acurite-bridge >>>>>>>>>> mode = listen >>>>>>>>>> port = 9900 >>>>>>>>>> [[sensor_map_extensions]] >>>>>>>>>> inTemp = temperature_1 >>>>>>>>>> inHumidity = humidity_1 >>>>>>>>>> outTemp = temperature_4 >>>>>>>>>> outHumidity = humidity_4 >>>>>>>>>> >>>>>>>>>> ############################################################################## >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> sobota, 28. maj 2022 ob 03:00:56 UTC+2 je oseba >>>>>>>>>> [email protected] napisala: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> After you follow Gary’s advice to install the current version of >>>>>>>>>>> readltime_gauge-data, you’ll hit a problem with your version of >>>>>>>>>>> weewx-forecast, as it hasn’t been updated for Python3. To fix >>>>>>>>>>> this, you >>>>>>>>>>> can install a fork that has been ported: >>>>>>>>>>> >>>>>>>>>>> https://github.com/chaunceygardiner/weewx-forecast/releases/download/v3.4.0b11/weewx-forecast-3.4.0b11.zip >>>>>>>>>>> >>>>>>>>>>> On May 27, 2022, at 5:37 PM, gjr80 <[email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> It look like you are using the realtime_gauge-data v0.3.7 or >>>>>>>>>>> earlier. The current version is v0.5.5 - you will need to upgrade >>>>>>>>>>> as >>>>>>>>>>> python3 support was not added until v0.4.0. Use the latest version >>>>>>>>>>> - it is >>>>>>>>>>> available on GitHub here >>>>>>>>>>> <https://github.com/gjr80/weewx-realtime_gauge-data/releases>. >>>>>>>>>>> >>>>>>>>>>> Gary >>>>>>>>>>> >>>>>>>>>>> On Saturday, 28 May 2022 at 08:11:59 UTC+10 [email protected] >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> I use python3 version >>>>>>>>>>>> weewex is installed by this guide and I use centos 8 >>>>>>>>>>>> http://weewx.com/docs/redhat.htm >>>>>>>>>>>> weewx interceptor is this one >>>>>>>>>>>> https://github.com/matthewwall/weewx-interceptor >>>>>>>>>>>> weewx forecast is this one >>>>>>>>>>>> >>>>>>>>>>>> https://codeload.github.com/matthewwall/weewx-forecast/zip/refs/heads/master/weewx-forecast-master.zip >>>>>>>>>>>> I set debug = 2 >>>>>>>>>>>> this is log >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** self.loadServices(config_dict) >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewx/engine.py", >>>>>>>>>>>> line 161, in >>>>>>>>>>>> loadServices >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** obj = >>>>>>>>>>>> weeutil.weeutil.get_object(svc)(self, >>>>>>>>>>>> config_dict) >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weeutil/weeutil.py", >>>>>>>>>>>> line >>>>>>>>>>>> 1150, in get_object >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** mod = __import__(module) >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/user/rtgd.py", line >>>>>>>>>>>> 1234 >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** except Exception, e: >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** ^ >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** SyntaxError: invalid syntax >>>>>>>>>>>> May 28 00:08:27 web journal[19319]: weewx[19319] CRITICAL >>>>>>>>>>>> __main__: **** Exiting. >>>>>>>>>>>> May 28 00:09:37 web systemd[1]: Started Session 5 of user root. >>>>>>>>>>>> May 28 00:09:37 web systemd-logind[1010]: New session 5 of user >>>>>>>>>>>> root. >>>>>>>>>>>> May 28 00:09:41 web systemd[1]: Stopping SYSV: start and stop >>>>>>>>>>>> the weewx weather system... >>>>>>>>>>>> May 28 00:09:41 web weewx[19416]: Shutting down weewx: [ V >>>>>>>>>>>> redu ] >>>>>>>>>>>> May 28 00:09:41 web systemd[1]: weewx.service: Succeeded. >>>>>>>>>>>> May 28 00:09:41 web systemd[1]: Stopped SYSV: start and stop >>>>>>>>>>>> the weewx weather system. >>>>>>>>>>>> May 28 00:09:41 web systemd[1]: Starting SYSV: start and stop >>>>>>>>>>>> the weewx weather system... >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> Initializing weewx version 4.8.0 >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> Using Python 3.6.8 (default, Apr 29 2022, 13:46:02) #012[GCC 8.5.0 >>>>>>>>>>>> 20210514 >>>>>>>>>>>> (Red Hat 8.5.0-10)] >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> Platform >>>>>>>>>>>> Linux-4.18.0-372.9.1.el8.x86_64-x86_64-with-almalinux-8.6-Sky_Tiger >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> Locale is 'sl_SI.UTF-8' >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> Using configuration file /etc/weewx/weewx.conf >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> Debug is 2 >>>>>>>>>>>> May 28 00:09:42 web journal[19440]: weewx[19440] INFO __main__: >>>>>>>>>>>> PID file is /var/run/weewx.pid >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.engine: Loading station type Interceptor (user.interceptor) >>>>>>>>>>>> May 28 00:09:42 web weewx[19431]: Starting weewx: [ V redu ] >>>>>>>>>>>> May 28 00:09:42 web systemd[1]: Started SYSV: start and stop >>>>>>>>>>>> the weewx weather system. >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> user.interceptor: driver version is 0.53 >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> user.interceptor: device type: observer >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> user.interceptor: mode is listen >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> user.interceptor: listen on :9900 >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> user.interceptor: sensor map: {'pressure': 'pressure', >>>>>>>>>>>> 'barometer': >>>>>>>>>>>> 'barometer', 'outHumidity': 'humidity_out', 'inHumidity': >>>>>>>>>>>> 'humidity_in', >>>>>>>>>>>> 'outTemp': 'temperature_out', 'inTemp': 'temperature_in', >>>>>>>>>>>> 'windSpeed': >>>>>>>>>>>> 'wind_speed', 'windGust': 'wind_gust', 'windDir': 'wind_dir', >>>>>>>>>>>> 'windGustDir': 'wind_gust_dir', 'radiation': 'solar_radiation', >>>>>>>>>>>> 'dewpoint': >>>>>>>>>>>> 'dewpoint', 'windchill': 'windchill', 'rain': 'rain', 'rainRate': >>>>>>>>>>>> 'rain_rate', 'UV': 'uv', 'txBatteryStatus': 'battery', >>>>>>>>>>>> 'extraTemp1': >>>>>>>>>>>> 'temperature_1', 'extraTemp2': 'temperature_2', 'extraTemp3': >>>>>>>>>>>> 'temperature_3', 'extraHumid1': 'humidity_1', 'extraHumid2': >>>>>>>>>>>> 'humidity_2', >>>>>>>>>>>> 'soilTemp1': 'soil_temperature_1', 'soilTemp2': >>>>>>>>>>>> 'soil_temperature_2', >>>>>>>>>>>> 'soilMoist1': 'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', >>>>>>>>>>>> 'soilMoist3': 'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', >>>>>>>>>>>> 'leafWet1': 'leafwetness_1', 'leafWet2': 'leafwetness_2', 'pm2_5': >>>>>>>>>>>> 'pm2_5', >>>>>>>>>>>> 'extraTemp4': 'temperature_4', 'extraTemp5': 'temperature_5', >>>>>>>>>>>> 'extraTemp6': >>>>>>>>>>>> 'temperature_6', 'extraTemp7': 'temperature_7', 'extraTemp8': >>>>>>>>>>>> 'temperature_8', 'extraHumid3': 'humidity_3', 'extraHumid4': >>>>>>>>>>>> 'humidity_4', >>>>>>>>>>>> 'extraHumid5': 'humidity_5', 'extraHumid6': 'humidity_6', >>>>>>>>>>>> 'extraHumid7': >>>>>>>>>>>> 'humidity_7', 'extraHumid8': 'humidity_8', 'soilTemp3': >>>>>>>>>>>> 'soil_temperature_3', 'soilTemp4': 'soil_temperature_4'} >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.engine: StdConvert target unit is 0x10 >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.wxservices: StdWXCalculate will use data binding wx_binding >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.engine: Archive will use data binding wx_binding >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.engine: Record generation will be attempted in 'hardware' >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.engine: Using archive interval of 60 seconds (specified in >>>>>>>>>>>> weewx >>>>>>>>>>>> configuration) >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> Zambretti: forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> Zambretti: interval=600 max_age=604800 winddir_period=1800 >>>>>>>>>>>> pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 >>>>>>>>>>>> upper_pressure=1050.0 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: NWS: >>>>>>>>>>>> forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: NWS: >>>>>>>>>>>> location ID (lid) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: NWS: >>>>>>>>>>>> forecast office ID (foid) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: NWS: >>>>>>>>>>>> forecast will not be run >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: WU: >>>>>>>>>>>> forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: WU: >>>>>>>>>>>> API key (api_key) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: WU: >>>>>>>>>>>> forecast will not be run >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: OWM: >>>>>>>>>>>> forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: OWM: >>>>>>>>>>>> interval=10800 max_age=604800 >>>>>>>>>>>> api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX8d95 >>>>>>>>>>>> location=46.129980,14.601124 fc=5day3hour >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: UKMO: >>>>>>>>>>>> forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: UKMO: >>>>>>>>>>>> API key (api_key) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: UKMO: >>>>>>>>>>>> forecast will not be run >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> Aeris: forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> Aeris: client identifier (client_id) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> Aeris: client secret (client_secret) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> Aeris: forecast will not be run >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: WWO: >>>>>>>>>>>> forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: WWO: >>>>>>>>>>>> API key (api_key) is not specified >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: WWO: >>>>>>>>>>>> forecast will not be run >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: DS: >>>>>>>>>>>> forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: DS: >>>>>>>>>>>> interval=10800 max_age=604800 >>>>>>>>>>>> api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX114d >>>>>>>>>>>> location=46.129980,14.601124 fc=daily >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> XTide: forecast version 3.4.0b1 >>>>>>>>>>>> May 28 00:09:42 web /weewxd[19444]: forecast: MainThread: >>>>>>>>>>>> XTide: interval=1209600 max_age=2419200 location='Domzale' >>>>>>>>>>>> duration=2419200 >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.restx: StationRegistry: Registration not requested. >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.restx: PWSweather: Posting not enabled. >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.restx: CWOP: Posting not enabled. >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.restx: WOW: Posting not enabled. >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.restx: AWEKAS: Posting not enabled. >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> weewx.engine: 'pyephem' detected, extended almanac data is >>>>>>>>>>>> available >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] INFO >>>>>>>>>>>> user.interceptor: shutting down server thread >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: Caught unrecoverable exception: >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** invalid syntax (rtgd.py, line 1234) >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** Traceback (most recent call last): >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewxd", line 147, in >>>>>>>>>>>> main >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** engine = >>>>>>>>>>>> weewx.engine.StdEngine(config_dict) >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewx/engine.py", >>>>>>>>>>>> line 93, in >>>>>>>>>>>> __init__ >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** self.loadServices(config_dict) >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewx/engine.py", >>>>>>>>>>>> line 161, in >>>>>>>>>>>> loadServices >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** obj = >>>>>>>>>>>> weeutil.weeutil.get_object(svc)(self, >>>>>>>>>>>> config_dict) >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weeutil/weeutil.py", >>>>>>>>>>>> line >>>>>>>>>>>> 1150, in get_object >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** mod = __import__(module) >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** File "/usr/share/weewx/user/rtgd.py", line >>>>>>>>>>>> 1234 >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** except Exception, e: >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** ^ >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** SyntaxError: invalid syntax >>>>>>>>>>>> May 28 00:09:42 web journal[19444]: weewx[19444] CRITICAL >>>>>>>>>>>> __main__: **** Exiting. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> petek, 27. maj 2022 ob 21:08:24 UTC+2 je oseba >>>>>>>>>>>> [email protected] napisala: >>>>>>>>>>>> >>>>>>>>>>>>> Your log snippet shows an error in weewx-realtime_gauge-data, >>>>>>>>>>>>> probably because it’s an old version that doesn’t work with >>>>>>>>>>>>> Python3. What >>>>>>>>>>>>> version of weewx-realtime_gauge-data have you installed? >>>>>>>>>>>>> >>>>>>>>>>>>> Also, since you are want to get the forecast extension >>>>>>>>>>>>> working, what version are you using of that? >>>>>>>>>>>>> >>>>>>>>>>>>> And what python version are you running? >>>>>>>>>>>>> >>>>>>>>>>>>> Lastly, it would be good if you included the log as it would >>>>>>>>>>>>> answer these questions. See: >>>>>>>>>>>>> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user >>>>>>>>>>>>> >>>>>>>>>>>>> On May 27, 2022, at 7:46 AM, [email protected] < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> I have migrated weewx to another server, but have a problem. >>>>>>>>>>>>> First I copied old files to new server and try to start it and >>>>>>>>>>>>> didn't worked. >>>>>>>>>>>>> Than i Have new installation of weex and after that I have >>>>>>>>>>>>> installed driver observer when I start weewx it was ok. But after >>>>>>>>>>>>> that I >>>>>>>>>>>>> have installed forecast.zip and try to start weewx and all >>>>>>>>>>>>> stopped. >>>>>>>>>>>>> I use before version 4.8 and don't know if I migrate do I need >>>>>>>>>>>>> to install wewx first and than install observer driver and >>>>>>>>>>>>> forecast. >>>>>>>>>>>>> after that copy old weewx.conf into /etc/weewx >>>>>>>>>>>>> and restore mysql database and it should work, but doesn't. >>>>>>>>>>>>> when I start weewx I get this error. >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> weewx.restx: StationRegistry: Registration not requested. >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> weewx.restx: PWSweather: Posting not enabled. >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> weewx.restx: CWOP: Posting not enabled. >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> weewx.restx: WOW: Posting not enabled. >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> weewx.restx: AWEKAS: Posting not enabled. >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> weewx.engine: 'pyephem' detected, extended almanac data is >>>>>>>>>>>>> available >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] INFO >>>>>>>>>>>>> user.interceptor: shutting down server thread >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: Caught unrecoverable exception: >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** invalid syntax (rtgd.py, line 1234) >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** Traceback (most recent call last): >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewxd", line 147, >>>>>>>>>>>>> in main >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** engine = >>>>>>>>>>>>> weewx.engine.StdEngine(config_dict) >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewx/engine.py", >>>>>>>>>>>>> line 93, in >>>>>>>>>>>>> __init__ >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** self.loadServices(config_dict) >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weewx/engine.py", >>>>>>>>>>>>> line 161, in >>>>>>>>>>>>> loadServices >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** obj = >>>>>>>>>>>>> weeutil.weeutil.get_object(svc)(self, >>>>>>>>>>>>> config_dict) >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** File "/usr/share/weewx/weeutil/weeutil.py", >>>>>>>>>>>>> line >>>>>>>>>>>>> 1150, in get_object >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** mod = __import__(module) >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** File "/usr/share/weewx/user/rtgd.py", line >>>>>>>>>>>>> 1234 >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** except Exception, e: >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** ^ >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** SyntaxError: invalid syntax >>>>>>>>>>>>> May 27 16:23:58 web journal[6058]: weewx[6058] CRITICAL >>>>>>>>>>>>> __main__: **** Exiting. >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> 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/57148ec2-5516-40e6-b02f-896df88d13e9n%40googlegroups.com >>>>>>>>>>>>> >>>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/57148ec2-5516-40e6-b02f-896df88d13e9n%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]. >>>>>>>>>>> >>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/942fef96-e4de-468d-a977-2f8d7147a9d0n%40googlegroups.com >>>>>>>>>>> >>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/942fef96-e4de-468d-a977-2f8d7147a9d0n%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]. >>>>>>>>>> >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/64b38c3f-cbf8-4e52-bf0b-82586740ce97n%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/64b38c3f-cbf8-4e52-bf0b-82586740ce97n%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]. >>>>>>>> >>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/weewx-user/8d2d6e3c-4980-44a4-8df9-b27d5a031790n%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/8d2d6e3c-4980-44a4-8df9-b27d5a031790n%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]. >>>>> >>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/53cbaf70-af82-4672-9cc1-b98a462b126bn%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/53cbaf70-af82-4672-9cc1-b98a462b126bn%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]. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/aba10d09-c8f9-4937-bc6a-0617e3284cben%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/aba10d09-c8f9-4937-bc6a-0617e3284cben%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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/785531ba-1b4e-493d-b8ca-27911920a4d2n%40googlegroups.com.
