Ralph, the docs that come with WeeWX v4 should be correct. If you found a mistake, please post it!
As for the Wiki, it will take some time for all the extension publishers to switch to Python 3. -tk On Tue, Dec 31, 2019 at 4:27 PM Ralph Underwood <ralp...@gmail.com> wrote: > It was relatively painless to convert/upgrade my python code to 3.7. A > few stumbles as the great internet has many wrong examples and > "solutions". For instance trying to install pyehem - what worked is *sudo > pip3 install ephem* > > Same kind of issues with install the mosquitto and paho client - being > sure that the solutions are valid for python 3 > > (google sure does like to "fix" spelling) > > I think that there will be a lot of work to update the docs and wiki for > version 4 - probably can't get it done this year :) > > happy New Year. > > > > On Tuesday, December 31, 2019 at 3:13:59 PM UTC-8, Tom Keffer wrote: >> >> 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 <vince...@gmail.com> 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 weewx-de...@googlegroups.com. >>> 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 weewx-development+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-development/a7445948-6163-47d6-ad1b-5ec25e46e27b%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/a7445948-6163-47d6-ad1b-5ec25e46e27b%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 weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEA%2B9YEdRxJ5fO7cMpV45R2S2A-Dc_HwFywUUttD-wGZZQ%40mail.gmail.com.