In fact it's python 2 running on my raspberry:
pi@raspberrypi:~ $ python -V Python 2.7.16 Le mardi 4 août 2020 17:40:30 UTC+2, Jlou 43 a écrit : > > Thank you for your answer, I think you are right I installed python 3 and > shouldn't have, how can I go back to python 2 now? > Thank you. > > Le mardi 4 août 2020 17:28:55 UTC+2, Tom Keffer a écrit : >> >> I would guess that you are using a search list extension that has not >> been ported to Python 3. >> >> Try running Python 2. Or, see if there is an update for the extension. >> >> On Tue, Aug 4, 2020 at 8:23 AM Jlou 43 <[email protected]> wrote: >> >>> Hello, >>> >>> I've got a problem since I update Weewx from 3.9.2 to 4.1.1 : my web >>> page isn't updated (only the graphs are) and here is what I find in my >>> Syslog.log : >>> >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> Generate failed with exception '<class 'NameMapper.NotFound'>' >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** Ignoring template /home/weewx/skins/Alf_normal/index.html.tmpl >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** Reason: cannot find 'has_key' while searching for 'has_key' >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** Traceback (most recent call last): >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in >>> generate >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** unicode_string = compiled_template.respond() >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** File "_home_weewx_skins_Alf_normal_index_html_tmpl.py", line 1201, >>> in respond >>> Aug 4 17:10:17 raspberrypi weewx[2682] ERROR weewx.cheetahgenerator: >>> **** NameMapper.NotFound: cannot find 'has_key' while searching for >>> 'has_key' >>> >>> Thank you for your help. >>> >>> -- >>> 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/d1c4583e-5053-4728-9baf-7f637a439991o%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/d1c4583e-5053-4728-9baf-7f637a439991o%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/ca97914c-28ed-4000-8fd9-3669e6b86164o%40googlegroups.com.
