On Saturday, April 25, 2020 at 1:10:32 AM UTC-7, gjr80 wrote: > > Hi, > > > So, I am having issues running weewx because "Python 2.7 reached the end > of its life on January 1st, 2020." > > I find this hard to believe. WeeWX v4, which is still in beta, (but will > be released real soon now) will be python 2 and 3 compatible. I would > suggest you wait for WeeWX v4 to be released before upgrading. In the > meantime let’s see if we can work what your problem is. Could you please > post a debug log. These instructions will help - > https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user. > > Gary
System is openSuse Tumbleweed I tried an strace which just left me wondering. configobj was missing and i got pip2 to install it with lots of warnings. Now it seems pyserial is also gone. (There doesnt seem (I couldnt find one for itto be a version of python serial for version 2.7 only for python3) I think this might help: -- Subject: Unit failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The unit weewx.service has entered the 'failed' state with result 'exit-code'. Apr 25 01:02:49 erb2 weewx[5432]: engine: Initializing weewx version 3.9.2 Apr 25 01:02:49 erb2 weewx[5432]: engine: Using Python 2.7.17 (default, Oct 24 2019, 12:43:41) [GCC] Apr 25 01:02:49 erb2 weewx[5432]: engine: Platform Linux-5.4.14-x86_64-with-glibc2.2.5 Apr 25 01:02:49 erb2 weewx[5432]: engine: Locale is 'en_US.UTF-8' Apr 25 01:02:49 erb2 weewx[5432]: engine: Using configuration file /usr/local/bin/weewx/weewx.conf Apr 25 01:02:49 erb2 weewx[5432]: engine: Debug is 1 Apr 25 01:02:49 erb2 weewx[5432]: engine: Initializing engine Apr 25 01:02:49 erb2 weewx[5432]: engine: Loading station type Vantage (weewx.drivers.vantage) Apr 25 01:02:49 erb2 weewx[5432]: vantage: Driver version is 3.1.1 Apr 25 01:02:49 erb2 weewx[5432]: engine: Import of driver failed: No module named serial (<type 'exceptions.ImportError'>) Apr 25 01:02:49 erb2 weewx[5432]: engine: Unable to load driver: No module named serial Apr 25 01:02:49 erb2 weewx[5432]: **** Exiting... Apr 25 01:02:49 erb2 systemd[1]: weewx.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The unit weewx.service has entered the 'failed' state with result 'exit-code'. -- 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/4e3e1363-9603-41aa-b863-6f1863986bd8%40googlegroups.com.
