I don't know then - sorry.  I got odd results when running wee_reports and 
specifying a config file unless I used sudo wee_reports --config=

Have no other suggestions apart from moving the file to somewhere else and 
trying again.  I did my test by copying weew.conf to /home/pi and running 
reports, and it seemed ok once I used sudo.

Sorry - you'll have to wait for someone else's input!



On Thursday, 7 September 2017 06:53:49 UTC+3, TheChoctlab wrote:

> Same result when using sudo.
>
> ls -l weewx.conf
> -rw-r--r-- 1 root root 16493 Sep  6 20:06 weewx.conf
>
>
>
> On Wednesday, September 6, 2017 at 8:46:39 PM UTC-7, Andrew Milner wrote:
>>
>> have you tried sudo?
>>
>> what are the permissions for /etc/weewx/weewx.conf?
>>
>>
>>
>> On Thursday, 7 September 2017 06:27:16 UTC+3, TheChoctlab wrote:
>>
>>> wee_reports –config=/etc/weewx/weewx.conf
>>>
>>> Now yields the following:
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/bin/wee_reports", line 69, in <module>
>>>     main()
>>>   File "/usr/bin/wee_reports", line 40, in main
>>>     config_path, config_dict = weecfg.read_config(options.config_path, 
>>> args)
>>>   File "/usr/share/weewx/weecfg/__init__.py", line 221, in read_config
>>>     locations=locations, file_name=file_name)
>>>   File "/usr/share/weewx/weecfg/__init__.py", line 196, in find_file
>>>     raise IOError("%s is not a file" % file_path)
>>> IOError: –config=/etc/weewx/weewx.conf is not a file
>>>
>>> However, /etc/weewx/weewx.conf does exist and I can bring it up at will 
>>> in nano.
>>>
>>>
>>>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to