Not understanding your comment. Changing to python 3 involves changing the interpreter, not the code. WeeWX V4 uses the exact same code base for Python 2 and Python 3. It's just which interpreter gets invoked that makes the difference.
/home/weewx is not involved if you do a Debian package install. And, vice versa: /etc/weewx is not involved if you do a setup.py install. The two installs are completely independent and do not share code, configuration information, nor databases. Which one gets run as a daemon is determined by what is in the daemon script /etc/init.d/weewx. -tk On Fri, Oct 30, 2020 at 1:28 PM Michael Sanphillipo <[email protected]> wrote: > I guess when I did the conversion to Python3 I changed the install > location to my original location which was etc/weewx then ran python3 > ./setup.py build then sudo python3 ./setup.py install when I should have > left it home/weewx. If it's running okay would it be best to just leave it > the way it is are there any advantages of upgrading to python3? > > On Friday, October 30, 2020 at 4:09:55 PM UTC-4 [email protected] wrote: > >> The Debian package installer and the setup.py installer are completely >> independent and have nothing in common. So, you are just running your old >> system. >> >> Either upgrade your old Debian install by following the directions in the >> Upgrade Guide for DEB packages, or change over to run the software left >> behind by the setup.py install. If you want to do the latter, you should >> modify /etc/init.d/weewx to point to the new location. >> >> -tk >> >> On Fri, Oct 30, 2020 at 12:48 PM Michael Sanphillipo <[email protected]> >> wrote: >> >>> My original install was via a Deb package I upgraded to Python3 a few >>> months ago and today I used the setup.py method. Is the syslog what you >>> need a copy of? >>> >>> On Fri, Oct 30, 2020 at 3:45 PM Tom Keffer <[email protected]> wrote: >>> >>>> If the log says v4.1.1, then that's the version you are using. >>>> >>>> The file weewx.conf.4.2.0 is the configuration file straight out of the >>>> distribution, before it has been merged or modified. >>>> >>>> What install method did you use for the original install? What install >>>> method did you use for the upgrade? Did you use the same method? >>>> >>>> To say anything more, we would have to see the log. >>>> >>>> -tk >>>> >>>> On Fri, Oct 30, 2020 at 12:38 PM Michael Sanphillipo < >>>> [email protected]> wrote: >>>> >>>>> Tom, I ran the Python3 upgrade and it appears to be working fine. When >>>>> I look in the syslog after restarting it still says Initializing weewx >>>>> version 4.1.1. I looked at the weewx.conf and the version says 4.2.0. When >>>>> the upgrade was finished I noticed that the weewx.conf was updated and a >>>>> new weewx.conf.4.2.0 was created not one with weewx.conf.YYYYMMDDHHMMSS . >>>>> Any idea how I can tell what version I'm actually running? >>>>> >>>>> On Tuesday, October 27, 2020 at 8:14:04 AM UTC-4 [email protected] >>>>> wrote: >>>>> >>>>>> Some new features, fixes some bugs. >>>>>> >>>>>> See the *Upgrade Guide <http://www.weewx.com/docs/upgrading.htm>* >>>>>> for instructions on how to upgrade. >>>>>> >>>>>> CHANGE LOG >>>>>> >>>>>> CHANGES COMING! This is the last release that will support the LaCrosse >>>>>> WS23xx, >>>>>> Oregon WMR200 and WMR300 stations. In the future, they will be published >>>>>> as >>>>>> unsupported extensions. >>>>>> >>>>>> Made it easier to add new, derived types via StdWXCalculate. Fixes issue >>>>>> #491. >>>>>> >>>>>> Changed the tag system slightly in order to make it possible for the >>>>>> XTypes >>>>>> system to add new aggregations that take an argument. >>>>>> >>>>>> Added the new data types in the extended_wview schema to the WeeWX types >>>>>> system. Fixes issue #613. >>>>>> >>>>>> Added ability to label left, right or both y-axes of graphs. PR#610. >>>>>> Fixes issue #609. Thanks to user Brent Fraser! >>>>>> >>>>>> Added units and labels for the lightning data types. >>>>>> >>>>>> Fixed problem where threads attempt to access non-existent database. >>>>>> Fixes >>>>>> issue #579. >>>>>> >>>>>> Fixed problem that caused reporting units to revert to US if they were >>>>>> in a >>>>>> mixed unit system. Fixes issue #576. >>>>>> >>>>>> Fixed problem that could cause the station registry to fail if given a >>>>>> location >>>>>> with a non-ASCII location name. >>>>>> >>>>>> Changed TE923 bucket size from 0.02589 inches to 1/36 of an inch >>>>>> (0.02777778 in). PR #575. Fixes issue #574. Thanks to user Timothy! >>>>>> >>>>>> Undocumented option retry_certificate has been renamed to retry_ssl, and >>>>>> now >>>>>> covers all SSL errors (not just certificate errors). Fixes issue #569. >>>>>> Thanks >>>>>> to user Eric! >>>>>> >>>>>> Fixed problem caused by specifying a [Logging]/[[formatters]] section in >>>>>> weewx.conf that uses interpolated variables. >>>>>> >>>>>> Fixed problem in the Vantage driver that resulted in incorrect >>>>>> sunrise/sunset >>>>>> being included in loop packets when run under Python 3. Thanks to users >>>>>> Constantine and Jacques! >>>>>> >>>>>> Improved auto-scaling of plot axes. >>>>>> >>>>>> Fixed problem where aggregates of windvec and windgustvec returned the >>>>>> aggregate >>>>>> since start of day, not the start of the aggregation period. Fixes issue >>>>>> #590. >>>>>> >>>>>> New unit "beaufort", included in "group_speed". Treating beaufort as a >>>>>> separate >>>>>> type has been deprecated. Fixes issue #591. >>>>>> >>>>>> New unit "kPa", included in "group_pressure". Fixes issue #596. >>>>>> >>>>>> Fixed bug in the simulator. Made it easier to subclass class Simulator. >>>>>> >>>>>> Expressions in StdCalibration are now ordered. Later corrections can >>>>>> depend on >>>>>> earlier corrections. >>>>>> >>>>>> Fixed problem under Python 2, where option 'none' could cause exception. >>>>>> PR #597. Thanks to user Clément! >>>>>> >>>>>> Fixed problem with ws23xx driver under Python 3 that caused it to crash. >>>>>> >>>>>> Use a more modern formula for heat index. Fixes issue #601. Thanks to >>>>>> user Peter Q! >>>>>> >>>>>> Allow overriding the data binding when using iterators. Fixes issue #580. >>>>>> >>>>>> Fixed problem where old daily summaries may not have a version number. >>>>>> >>>>>> Fixed problem in WMR200 driver where missing UV reports as index 255. >>>>>> >>>>>> Added option 'force_direction' for working around a WU bug. Fixes issue >>>>>> #614. >>>>>> >>>>>> -- >>>>> 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/3c090ea7-e68f-4a0a-9668-188bbd2d28den%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/3c090ea7-e68f-4a0a-9668-188bbd2d28den%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "weewx-user" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/weewx-user/5y47fJnD2QI/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEAXx-gK9igspLRqMEvzT8YYQudkxOWJx3NDc%3D9%2BnvmtVg%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAXx-gK9igspLRqMEvzT8YYQudkxOWJx3NDc%3D9%2BnvmtVg%40mail.gmail.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/CAAsGudp7WDbY3DMXjpapF1jH4RK%2BrvT28QQUrdAgyS7smpyOnw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/CAAsGudp7WDbY3DMXjpapF1jH4RK%2BrvT28QQUrdAgyS7smpyOnw%40mail.gmail.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/37f08e93-a9da-4729-a569-ddaf8fb673ben%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/37f08e93-a9da-4729-a569-ddaf8fb673ben%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/CAPq0zEDwu2cbny-uYTMMNev2mGE%2BRXH35sOQR4eJev%2BLGn%3Dz9w%40mail.gmail.com.
