Janne,

Could you please let me know whether WeeWX is being run under python 2 or 
3? You can tell by looking at the WeeWX log during WeeWX startup (the 
python version is logged) or you can look at the first line of any of the 
wee_xxxxxx (eg wee_database) utilities in the /usr/share/weewx directory.

If yo cannot work it out please restart WeeWX and post a log extract 
showing the full WeeWX startup.

Gary

On Monday, 21 February 2022 at 04:21:57 UTC+10 jannep...@gmail.com wrote:

> Hi, I updated from 4.5 to 4.6.2 and my wee_import stop to next message:
>
> I use WS6in1-driver with my Ventus.
>
> .......................
> Using WeeWX configuration file /etc/weewx/weewx.conf
> Starting wee_import...
> A CSV import from source file '/var/tmp/data.csv' has been requested.
> Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
> Destination table 'archive' unit system is '0x11' (METRICWX).
> Missing derived observations will be calculated.
> This is a dry run, imported data will not be saved to archive.
> Starting dry run import ...
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_import", line 899, in <module>
>     main()
>   File "/usr/share/weewx/wee_import", line 829, in main
>     source_obj.run()
>   File "/usr/share/weewx/weeimport/weeimport.py", line 372, in run
>     _raw_data = self.getRawData(period)
>   File "/usr/share/weewx/weeimport/csvimport.py", line 246, in getRawData
>     self.map = self.parseMap('CSV', _csv_reader, self.csv_config_dict)
>   File "/usr/share/weewx/weeimport/weeimport.py", line 635, in parseMap
>     and _val['units'] not in weewx.units.USUnits.values():
> AttributeError: 'ListOfDicts' object has no attribute 'values'
> ..........................................
>
> What this does mean? Any help? 
>
> Is there easy way to get back to working configuration (4.5)? 
>
> regards
> Janne
>

-- 
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/98eabde5-bd94-4121-a692-c634c66ef5fcn%40googlegroups.com.

Reply via email to