Come on, Python 2.6 is over 11 years old, and hasn't been supported for well over 6 years! Time to upgrade!
If you're running Python 3, WeeWX requires Python v3.5 or greater. Versions before that do not support % formatting of bytes and bytearrays. Not sure what the problem is. Are you two using an old version of configobj? That could do it. Try *python -c "import configobj; print(configobj.__version__)"* -tk On Tue, Dec 31, 2019 at 11:42 AM Vince Skahan <[email protected]> wrote: > On Monday, December 30, 2019 at 1:28:50 PM UTC-8, Tom Keffer wrote: >> >> ... is up. In the usual spot. >> http://weewx.com/downloads/development_versions/ >> >> > Does b6 have a minimum python version ? > > Rolled the dice and tried an upgrade of my ancient Seagate Dockstar 3.9.0 > to beta-6. Fail on startup. > > Python is 2.7.3, debian version is 7.6 > I'd have to compile my own python pieces from source to get a current > version if you wanted me to try that. > Same goes for trying to get to python3. Nothing newer than 3.2.3 > available precompiled for this box. > > root@debian:/home/src/weewx-4.0.0b6# service weewx start > [....] Starting weewx weather system: weewxTraceback (most recent call > last): > File "/home/weewx/bin/weewxd", line 16, in <module> > import weewx.engine > File "/home/weewx/bin/weewx/engine.py", line 30, in <module> > import weewx.accum > File "/home/weewx/bin/weewx/accum.py", line 95, in <module> > defaults_dict = configobj.ConfigObj(StringIO(DEFAULTS_INI), > encoding='utf-8') > File "/usr/lib/python2.7/dist-packages/configobj.py", line 1230, in > __init__ > self._load(infile, configspec) > File "/usr/lib/python2.7/dist-packages/configobj.py", line 1290, in _load > infile = self._handle_bom(infile) > File "/usr/lib/python2.7/dist-packages/configobj.py", line 1430, in > _handle_bom > if not line.startswith(BOM): > UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: > ordinal not in range(128) > failed! > > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/c71931fd-e57d-4f7d-94ec-60648a934f98%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/c71931fd-e57d-4f7d-94ec-60648a934f98%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zECiLp_-WS0LUk%2BUNP6Mkde6T-a9uGkiW4P4FGeAUh_A_A%40mail.gmail.com.
