Hi all

I tried wlink 0.9 and installed it as described here 
: https://github.com/weewx/weewx/wiki/wlink
changed the weewx.conf and restarted the system. 
I got the following syslog / errormessages when starting

--- 

sudo /etc/init.d/weewx restart;tail -f /var/log/syslog
[....] Restarting weewx (via systemctl): weewx.service.
Sep 27 16:27:30 raspberrypi weewx[959]: Stopping weewx weather system: 
weewx not running....
Sep 27 16:27:30 raspberrypi systemd[1]: Starting LSB: weewx weather 
system...
Sep 27 16:27:30 raspberrypi weewx[1001]: engine: Initializing weewx version 
3.5.0
Sep 27 16:27:30 raspberrypi weewx[1001]: engine: Using Python 2.7.9 
(default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
Sep 27 16:27:30 raspberrypi weewx[1001]: engine: Platform 
Linux-4.4.17-v7+-armv7l-with-debian-8.0
Sep 27 16:27:30 raspberrypi weewx[1001]: engine: pid file is 
/var/run/weewx.pid
Sep 27 16:27:30 raspberrypi weewx[1013]: engine: Using configuration file 
/etc/weewx/weewx.conf
Sep 27 16:27:30 raspberrypi weewx[1013]: engine: Loading station type 
WeatherLink (user.wlink)
Sep 27 16:27:30 raspberrypi weewx[985]: Starting weewx weather system: 
weewx.
Sep 27 16:27:30 raspberrypi systemd[1]: Started LSB: weewx weather system.
Sep 27 16:27:31 raspberrypi weewx[1013]: wlink: version is 0.9
Sep 27 16:27:31 raspberrypi weewx[1013]: wlink: expecting HTML format 'B'
Sep 27 16:27:31 raspberrypi weewx[1013]: wlink: polling interval is 60.0
Sep 27 16:27:31 raspberrypi weewx[1013]: engine: StdConvert target unit is 
0x1
Sep 27 16:27:31 raspberrypi weewx[1013]: wxcalculate: The following values 
will be calculated: 
barometer=prefer_hardware,windchill=prefer_hardware,dewpoint=prefer_hardware,appTemp=prefer_hardware,rainRate=prefer_hardware,windrun=prefer_hardware,heatindex=prefer_hardware,maxSolarRad=prefer_hardware,humidex=prefer_hardware,pressure=prefer_hardware,inDewpoint=prefer_hardware,ET=prefer_hardware,altimeter=prefer_hardware,cloudbase=prefer_hardware
Sep 27 16:27:31 raspberrypi weewx[1013]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA,maxSolarRad=RS
Sep 27 16:27:31 raspberrypi weewx[1013]: engine: Archive will use data 
binding wx_binding
Sep 27 16:27:31 raspberrypi weewx[1013]: engine: Record generation will be 
attempted in 'hardware'
Sep 27 16:27:31 raspberrypi weewx[1013]: engine: Caught unrecoverable 
exception in engine:
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****  unsupported operand 
type(s) for *: 'NoneType' and 'int'
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****  Traceback (most recent 
call last):
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 853, in main
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****      engine = 
EngineClass(config_dict)
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 75, in __init__
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****     
 self.loadServices(config_dict)
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 136, in loadServices
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****     
 self.service_obj.append(weeutil.weeutil._get_object(svc)(self, 
config_dict))
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 484, in __init__
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****      if software_interval 
!= self.engine.console.archive_interval:
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****    File 
"/usr/share/weewx/user/wlink.py", line 117, in archive_interval
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****     
 self._archive_interval = self.download_archive_interval() * 60
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****  TypeError: unsupported 
operand type(s) for *: 'NoneType' and 'int'
Sep 27 16:27:31 raspberrypi weewx[1013]:     ****  Exiting. 

-----

Any hints what happens here ? 

Thx and regards
Frank

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to