Hello,
I come back to you with my English comprehension problem -> French for the
Wee_import utility.
The facts: I have a hole of a good month in my data (from 13/05/21 to
19/06/21). As I am in the "Meteo Belgique" network, I was able to retrieve
some data in CSV format: https://pastebin.com/pccbnzhs
I placed the configuration file (named "trou.conf")
https://pastebin.com/essg6rbp and the CSV in the /home/pi file
The " wee_import --import-config=/home/pi/trou.conf --dry-run " returns:
Using WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
Traceback (most recent call last):
File "/usr/share/weewx/weeimport/weeimport.py", line 302, in sourceFactory
source = import_config_dict['source']
File "/usr/lib/python3/dist-packages/configobj.py", line 554, in
__getitem__
val = dict.__getitem__(self, key)
KeyError: 'source'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/weewx/wee_import", line 903, in <module>
main()
File "/usr/share/weewx/wee_import", line 832, in main
args)
File "/usr/share/weewx/weeimport/weeimport.py", line 306, in sourceFactory
_source_keys = [s for s in SUPPORTED_SOURCES if s in
import_config_dict.keys]
File "/usr/share/weewx/weeimport/weeimport.py", line 306, in <listcomp>
_source_keys = [s for s in SUPPORTED_SOURCES if s in
import_config_dict.keys]
TypeError: argument of type 'method' is not iterable
--
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/124c9bec-8918-43d7-be1c-e61ddbe3be72n%40googlegroups.com.