TypeError: %x format: an integer is required, not float - meteostick and weewx 4.1

27 views
Skip to first unread message

Joachim Puttkammer

unread,
Jun 1, 2020, 5:05:54 PM6/1/20
to weewx-user
Hi,
I installed on a raspi 3 debian buster, weewx 4.1 and the meteostick.
There is no problem with the Simulator driver, but with the meteostick.driver :

INFO user.meteostick: # frequency band 868MHz (EU)
INFO weewx.engine: Main loop exiting. Shutting engine down.
Caught unrecoverable exception:
    ****  %x format: an integer is required, not float
    ****  Traceback (most recent call last):
    ****    File "/usr/share/weewx/weewxd", line 154, in main
    ****      engine.run()
    ****    File "/usr/share/weewx/weewx/engine.py", line 188, in run
    ****      for packet in self.console.genLoopPackets():
    ****    File "/usr/share/weewx/user/meteostick.py", line 310, in genLoopPackets
    ****      data = self.station.parse_readings(readings, self.rain_per_tip)
    ****    File "/usr/share/weewx/user/meteostick.py", line 643, in parse_readings
    ****      rain_per_tip)
    ****    File "/usr/share/weewx/user/meteostick.py", line 884, in parse_raw
    ****      % (temp_raw, temp_c))
    ****  TypeError: %x format: an integer is required, not float
    ****  Exiting.

What to do ?

Joachim

mwall

unread,
Jun 1, 2020, 5:26:57 PM6/1/20
to weewx-user


On Monday, June 1, 2020 at 5:05:54 PM UTC-4, Joachim Puttkammer wrote:

What to do ?

please try weewx-meteostick 0.67 (commit 669a0e5)

m
 

Joachim Puttkammer

unread,
Jun 2, 2020, 8:45:17 AM6/2/20
to weewx-user

please try weewx-meteostick 0.67 (commit 669a0e5)

I tried and it works . Thank you Matthew
Reply all
Reply to author
Forward
0 new messages