Listing a portion of the log of Weewx starting up:-

Apr  4 20:37:54 Pi3-Weewx systemd[1]: Starting LSB: weewx weather system...
Apr  4 20:37:55 Pi3-Weewx weewx[6556] INFO __main__: Initializing weewx 
version 4.5.1
Apr  4 20:37:55 Pi3-Weewx weewx[6556] INFO __main__: Using Python 3.7.3 
(default, Dec 20 2019, 18:57:59) #012[GCC 8.3.0]
Apr  4 20:37:55 Pi3-Weewx weewx[6556] INFO __main__: Platform 
Linux-4.19.118-v7+-armv7l-with-debian-10.4
Apr  4 20:37:55 Pi3-Weewx weewx[6556] INFO __main__: Locale is 'en_GB.UTF-8'
Apr  4 20:37:55 Pi3-Weewx weewx[6556] INFO __main__: PID file is 
/var/run/weewx.pid
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO __main__: Using configuration 
file /home/weewx/weewx.conf
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO __main__: Debug is 0
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Apr  4 20:37:55 Pi3-Weewx weewx[6545]: Starting weewx weather system: weewx.
Apr  4 20:37:55 Pi3-Weewx systemd[1]: Started LSB: weewx weather system.
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: StdConvert target 
unit is 0x1
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Archive will use 
data binding wx_binding
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Record generation 
will be attempted in 'hardware'
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Using archive 
interval of 300 seconds (specified by hardware)
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.restx: StationRegistry: 
Station will be registered.
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.restx: Wunderground-PWS: 
Data for station IWIGAN24 will be posted
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.restx: PWSWeather: Data 
for station PARBOLDWX will be posted
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.restx: CWOP: Posting not 
enabled.
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.restx: WOW: Posting not 
enabled.
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.restx: AWEKAS: Posting not 
enabled.
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO __main__: Starting up weewx 
version 4.5.1
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Clock error is 
-0.65 seconds (positive is fast)
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.manager: Starting backfill 
of daily summaries
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.manager: Daily summaries 
up to date
Apr  4 20:37:55 Pi3-Weewx weewx[6560] INFO weewx.engine: Starting main 
packet loop.


All looks fine to me.
I use to use the apt-get install Weewx method, is this message when I run 
sudo apt-get update an artefact of running that method?

pi@Pi3-Weewx:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]     
                     
Get:3 http://weewx.com/apt squeeze InRelease [3,910 B]                     
    
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages 
[13.0 MB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [372 
kB]
Get:6 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf 
Packages [58.7 kB]
Get:7 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf 
Packages [104 kB]
Reading package lists... Done                                               
                                    
E: Repository 'http://weewx.com/apt squeeze InRelease' changed its 'Origin' 
value from '. squeeze' to 'python2 squeeze'
E: Repository 'http://weewx.com/apt squeeze InRelease' changed its 'Label' 
value from '. squeeze' to 'python2 squeeze'
N: This must be accepted explicitly before updates for this repository can 
be applied. See apt-secure(8) manpage for details.

Any advice appreciated.
Regards
Phil



On Sunday, April 4, 2021 at 8:43:20 PM UTC+1 Phil Green wrote:

> Hello Tom,
> Yes I can confirm that it says python version 3.7.3 on startup in the log.
>
> So why would using sudo apt-get autoremove and it removes python-serial 
> and python-usb, not python3 versions would it stop Weewx running?
> Thanks for any advice.
> Regards
> Phil
>
> On Sunday, April 4, 2021 at 8:24:15 PM UTC+1 tke...@gmail.com wrote:
>
>> Look in the log. When you start up weewx, it will show you exactly which 
>> version of python it is using.
>>
>> On Sun, Apr 4, 2021 at 11:01 AM Phil Green <phil....@gmail.com> wrote:
>>
>>> Hello,
>>> I have been running Weewx and am up to date with version 4.5.1.
>>> When I updated several versions ago I migrated to python3 and installed 
>>> all the prerequisites, and used the relevant pythin3 commands to build & 
>>> install.
>>> System been running fine.
>>>
>>> I decided to update the reset of the Raspberry Pi command line system 
>>> using:-
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>> I noticed that it reported several python packages serial 7& usb etc 
>>> were no longer required, I presume the python 2.7 versions.
>>>
>>> So I removed them with the option auto remove.
>>> My Weewx program then fails to start.
>>>
>>> Fortunately I had made a back and everything is running again.
>>> So when I installed/upgraded using the python3 option I presume Weewx is 
>>> running under python3?
>>> Am I still running under python2.7?
>>> If I issue the command python -version it reports version 2.7 from the 
>>> command line.
>>> Any advice welcome.
>>> Regards
>>> Phil
>>>
>>>
>>>
>>> -- 
>>> 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 weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/29d8297b-a0f2-4dac-bd92-13992c39d7abn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/29d8297b-a0f2-4dac-bd92-13992c39d7abn%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/dddcf90d-360a-4760-ae64-e3426fa73274n%40googlegroups.com.

Reply via email to