wee_import error

81 views
Skip to first unread message

Michael Sanphillipo

unread,
Dec 13, 2021, 12:25:35 PM12/13/21
to weewx-user
I'm on Weewx 4.5.1 and I need to import data from Weather Unnderground, so I'm trying to set up a wee_import  import. conf file and I'm getting the following error. I have my Weather Underground information in my weewx.conf file. I also tried to create an import.conf file by copying the wu_example file and renaming it import.conf. 

wee_import --config=/this/directory/weewx.conf --import-config=/directory/import.conf
Traceback (most recent call last):
  File "/usr/share/weewx/wee_import", line 903, in <module>
    main()
  File "/usr/share/weewx/wee_import", line 804, in main
    config_path, config_dict = weecfg.read_config(options.config_path, args)
  File "/usr/share/weewx/weecfg/__init__.py", line 173, in read_config
    locations=locations, file_name=file_name)
  File "/usr/share/weewx/weecfg/__init__.py", line 147, in find_file
    raise IOError("%s is not a file" % file_path)
OSError: /this/directory/weewx.conf is not a file

vince

unread,
Dec 13, 2021, 2:02:44 PM12/13/21
to weewx-user
On Monday, December 13, 2021 at 9:25:35 AM UTC-8 sanph...@gmail.com wrote:
wee_import --config=/this/directory/weewx.conf --import-config=/directory/import.conf

OSError: /this/directory/weewx.conf is not a file


The paths "/this/directory" and "/directory" are just examples.
You need to use your actual pathnames...

If your import.conf is in /tmp, the command would be "wee_import --import-config=/tmp/import.conf"
If your import.conf is in /home/pi, the command would be "wee_import --import-config=/home/pi/import.conf"
and so on....
 

Reply all
Reply to author
Forward
Message has been deleted
0 new messages