When i use sudo python3 /home/pi/weewx-Weather34/w34_installer.py

I have a message :


















*PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )Copyright (c) The 
PHP GroupZend Engine v3.4.0, Copyright (c) Zend Technologies    with Zend 
OPcache v7.4.28, Copyright (c), by Zend Technologies!!! NO VALID 
W34_INSTALLER CONFIG FILE. INSTALL ABORTED!!!pi@raspberrypi:~ $ sudo 
python3 /home/pi/weewx-Weather34/w34_installer.py!!! THIS INSTALL IS USING 
PYTHON VERSION 3.9.2 IS THIS CORRECT? (Yes/No) yInstall will continue with 
Python Version 3.9.2PYTHON EPHEM VERSION 3.7.7.1 INSTALLEDPYTHON XMLTODICT 
VERSION 0.12.0 INSTALLEDPHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( 
NTS )Copyright (c) The PHP GroupZend Engine v3.4.0, Copyright (c) Zend 
Technologies    with Zend OPcache v7.4.28, Copyright (c), by Zend 
TechnologiesCannot find ../services.txt file INSTALL ABORTED*
Whereas my file service.txt is in /home/pi


Le dimanche 27 février 2022 à 20:57:46 UTC+1, Matthieu Devigne a écrit :

> I use debian (raspberry)
>
> Le dimanche 27 février 2022 à 19:58:09 UTC+1, vince a écrit :
>
>>
>> Looks like you need to use sudo....
>>
>> On Sunday, February 27, 2022 at 10:04:29 AM UTC-8 matthieu89...@gmail.com 
>> wrote:
>>
>>> Yes, I download the new version with the method setup py.
>>> I have a permission denied : home/weewx/bin/user/w34hightchartsSearchX.py
>>>
>>> And I always have the error messages in syslog.
>>>
>>>
>>> Le dimanche 27 février 2022 à 16:34:09 UTC+1, steep...@gmail.com a 
>>> écrit :
>>>
>>>> Hi,
>>>> The repository has now been updated to the new vesion 4.2.0
>>>>
>>>> On Sunday, February 27, 2022 at 8:03:21 AM UTC matthieu89...@gmail.com 
>>>> wrote:
>>>>
>>>>> Good ;) , thanks. 
>>>>>
>>>>> Le dimanche 27 février 2022 à 08:42:54 UTC+1, steep...@gmail.com a 
>>>>> écrit :
>>>>>
>>>>>>
>>>>>> It looks as though the main weather34.py module has not install 
>>>>>> correctly.
>>>>>> I will be releasing a new version of the template this evening which 
>>>>>> I think may help you. 
>>>>>> I will let you know directly when this happens.
>>>>>> Ian
>>>>>> On Sunday, February 27, 2022 at 6:25:58 AM UTC 
>>>>>> matthieu89...@gmail.com wrote:
>>>>>>
>>>>>>> Thanks, I have a new problem with weather34.
>>>>>>>
>>>>>>> I don't understand where the problem comes from. I modified 
>>>>>>> weewx.conf
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Le samedi 26 février 2022 à 23:02:26 UTC+1, steep...@gmail.com a 
>>>>>>> écrit :
>>>>>>>
>>>>>>>> No that is not correct. If that location is where your 
>>>>>>>> weewx-Weather34 folder is, services.txt should be /home/pi/services.txt
>>>>>>>>
>>>>>>>> The reason for that location is to prevent the files services.txt 
>>>>>>>> being copied to your webserver during the install process which would 
>>>>>>>> the 
>>>>>>>> expose all your api keys etc and create a security risk.
>>>>>>>>
>>>>>>>> On Saturday, February 26, 2022 at 8:35:37 PM UTC 
>>>>>>>> matthieu89...@gmail.com wrote:
>>>>>>>>
>>>>>>>>> The services.txt is /home/pi/weewx-Weather34 :
>>>>>>>>> Is no correct ?
>>>>>>>>>
>>>>>>>>> Le samedi 26 février 2022 à 19:09:40 UTC+1, steep...@gmail.com a 
>>>>>>>>> écrit :
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> The services.txt file must be alongside you weather34 install 
>>>>>>>>>> folder not in it. Eg if your weather34 installer folder is in your 
>>>>>>>>>> home 
>>>>>>>>>> folder, services.txt should be in your home folder as well.
>>>>>>>>>>
>>>>>>>>>> Ian
>>>>>>>>>>
>>>>>>>>>> On Saturday, February 26, 2022 at 4:12:38 PM UTC 
>>>>>>>>>> matthieu89...@gmail.com wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello,
>>>>>>>>>>>
>>>>>>>>>>> I am installing weather34 with weewx
>>>>>>>>>>> I put the file service.txt file in weather34
>>>>>>>>>>>
>>>>>>>>>>> But I have a problem with the installation :
>>>>>>>>>>>
>>>>>>>>>>> >>> %Run w34_installer.py
>>>>>>>>>>> !!! THIS INSTALL IS USING PYTHON VERSION 3.9.2 IS THIS CORRECT? 
>>>>>>>>>>> (Yes/No)Yes
>>>>>>>>>>> Install will continue with Python Version 3.9.2
>>>>>>>>>>>
>>>>>>>>>>> PYTHON EPHEM VERSION 3.7.7.1 INSTALLED
>>>>>>>>>>> PYTHON XMLTODICT VERSION 0.12.0 INSTALLED
>>>>>>>>>>>
>>>>>>>>>>> PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
>>>>>>>>>>> Copyright (c) The PHP Group
>>>>>>>>>>> Zend Engine v3.4.0, Copyright (c) Zend Technologies
>>>>>>>>>>>     with Zend OPcache v7.4.28, Copyright (c), by Zend 
>>>>>>>>>>> Technologies
>>>>>>>>>>> PHP INSTALLED
>>>>>>>>>>>
>>>>>>>>>>> List of found conf files to install with
>>>>>>>>>>> 1 -> setup_py.conf
>>>>>>>>>>> 2 -> macos.conf
>>>>>>>>>>> 3 -> packaged.conf
>>>>>>>>>>> Enter the NUMBER of the installer config file 3
>>>>>>>>>>> Installer Config file packaged.conf was chosen.
>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>   File "/home/pi/weewx-Weather34/w34_installer.py", line 97, in 
>>>>>>>>>>> __init__
>>>>>>>>>>>     with open("../services.txt") as infile:
>>>>>>>>>>> FileNotFoundError: [Errno 2] No such file or directory: 
>>>>>>>>>>> '../services.txt'
>>>>>>>>>>> [Errno 2] No such file or directory: '../services.txt'
>>>>>>>>>>> >>> 
>>>>>>>>>>>
>>>>>>>>>>

-- 
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/6b161905-0d76-454f-a664-3cd4720dd3a1n%40googlegroups.com.

Reply via email to