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 [email protected] 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, [email protected] 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 [email protected] >> wrote: >> >>> The services.txt is /home/pi/weewx-Weather34 : >>> Is no correct ? >>> >>> Le samedi 26 février 2022 à 19:09:40 UTC+1, [email protected] 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 >>>> [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/60625707-494e-40f8-9bc2-f70cb3d87fcfn%40googlegroups.com.
