Re: [weewx-user] error in generated file in simple template

2021-01-25 Thread sc.lep...@gmail.com
Hello Gary Its OK after changed like you write ;) Thanks a lot Perhaps différence in Python and Python3 Thanks @all and Have a nice day ;) Stephane Le dimanche 24 janvier 2021 à 23:08:51 UTC+1, gjr80 a écrit : > No need to make such drastic changes. True it is a python 2/python3 issue

Re: [weewx-user] error in generated file in simple template

2021-01-24 Thread gjr80
No need to make such drastic changes. True it is a python 2/python3 issue but the fix is far simpler. The clue is in the error message: Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR weewx.cheetahgenerator: Reason: '>' not supported between instances of 'str' and 'int' An

Re: [weewx-user] error in generated file in simple template

2021-01-24 Thread Rainer Lang
I think, if you also install python2 (they can be both on the same machine) and change in /etc/default/weewx the WEEWX_PYTHON entry into WEEWX_PYTHON=python2 and then restart weewx, it should work. Once the skin has been updated and tested for Python3, you can change it back to python3 again.

Re: [weewx-user] error in generated file in simple template

2021-01-24 Thread Rainer Lang
So it appears - just tested and saw that under Python 2.7.16 the skin runs without problems. Weewx is 4.3.0 On 24.01.2021 22:08, John Kline wrote: It seems weewx-simple does not (yet) support Python 3. On Jan 24, 2021, at 12:46 PM, sc.lep...@gmail.com wrote: Hello I used the simple

Re: [weewx-user] error in generated file in simple template

2021-01-24 Thread John Kline
It seems weewx-simple does not (yet) support Python 3. > On Jan 24, 2021, at 12:46 PM, sc.lep...@gmail.com > wrote: > > Hello > > I used the simple template from https://github.com/matthewwall/weewx-simple > > My platform > Debian10 / Python 3 /last Weewx (4.3.0) > > When I activate

[weewx-user] error in generated file in simple template

2021-01-24 Thread sc.lep...@gmail.com
Hello I used the simple template from https://github.com/matthewwall/weewx-simple My platform Debian10 / Python 3 /last Weewx (4.3.0) When I activate simple template I ve this error : Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR weewx.cheetahgenerator: Generate failed with