Thanks a lot it worked.

Il giorno mar 9 mag 2023 alle ore 23:14 gjr80 <[email protected]> ha
scritto:

> From the command and output provided you are running wee_database from
> the /home/weewx/bin directory. Consequently wee_database is looking for
> weewx.conf in the same directory, and of course it is not found as
> weewx.conf is (normally) in /home/weewx. You need to specify the path to
> weewx.conf, eg:
>
> $ sudo ./wee_database /home/weewx/weewx.conf --reconfigure
>
> Gary
> On Tuesday, 9 May 2023 at 23:59:29 UTC+10 [email protected] wrote:
>
>> Good morning,
>> i am trying to update weewx db with wview_extended schema
>> but it returns the following error
>>
>> sudo ./wee_database weewx.conf --reconfigure
>> Traceback (most recent call last):
>>   File "./wee_database", line 1168, in <module>
>>     main()
>>   File "./wee_database", line 187, in main
>>     config_path, config_dict = weecfg.read_config(options.config_path,
>> args)
>>   File "/home/weewx/bin/weecfg/_init_.py", line 147, in read_config
>>     locations=locations, file_name=file_name)
>>   File "/home/weewx/bin/weecfg/_init_.py", line 117, in find_file
>>     raise IOError("%s is not a file" % file_path)
>> OSError: weewx.conf is not a file
>>
>> weewx version 4.10.2
>>
>> --
> 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/4fedc457-3f18-4467-bf3e-595d18590b5dn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/4fedc457-3f18-4467-bf3e-595d18590b5dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJ8_P8NsqTTeubC1jDnQpO%2B33eBg3UZmcELOc4D%3DwhcTXHG_Eg%40mail.gmail.com.

Reply via email to