Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-13 Thread Geni 0815
Thanks for the help, it worked like this. Am Mittwoch, 12. August 2020 17:01:07 UTC+2 schrieb Tom Keffer: > > As noted in the install page for Debian > , for stretch (Debian 9), you need > to use Python 2. So, you want > > > *wget -qO - http://weewx.com/apt/

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-12 Thread Tom Keffer
As noted in the install page for Debian , for stretch (Debian 9), you need to use Python 2. So, you want *wget -qO - http://weewx.com/apt/weewx- python2.list | sudo tee /etc/apt/sources.list.d/weewx.list* *sudo apt-get update* *su

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-11 Thread Geni 0815
pi@raspberrypi:~ $ PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" pi@raspberrypi:~ $ NAME="Raspbian GNU/Linux" pi@raspberrypi:~ $ VERSION_ID="9" pi@raspberrypi:~ $ VERSION="9 (stretch)" pi@raspberrypi:~ $ VERSION_CODENAME=stretch pi@raspberrypi:~ $ ID=raspbian pi@raspberrypi:~ $ ID_LIKE=debia

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-11 Thread Tom Keffer
What version of Rasbian are you running? *cat /etc/os-release* -tk On Tue, Aug 11, 2020 at 7:25 AM geni08...@gmail.com wrote: > pi@raspberrypi:~ $ sudo apt install weewx > Paketlisten werden gelesen... Fertig > Abhängigkeitsbaum wird aufgebaut. > Statusinformationen werden eingelesen Ferti

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-11 Thread geni08...@gmail.com
pi@raspberrypi:~ $ sudo apt install weewx Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen Fertig Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie di

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-11 Thread Tom Keffer
I'm sorry: I just realized that your post is unrelated to the original post. We need some context to understand what you are trying to do. The screenshot you sent does not match your description of what you did. Are you truly upgrading? If so, from what version? What happens when you do a simple i

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-10 Thread geni08...@gmail.com
I did this: wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list sudo apt-get update sudo apt-get upgrade sudo apt install python3-mysqldb sudo apt install python3-ephem sudo apt-get update sudo apt-get upgrade tke...@gmail.com schrieb am Dienstag, 11

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-10 Thread Tom Keffer
(Please do not send a screen shot. They are hard to read, include only a few lines, and cannot be translated. Cut and paste instead.) Did you do *sudo apt-get update* first? On Mon, Aug 10, 2020 at 10:02 AM geni08...@gmail.com < geni0815.0...@gmail.com> wrote: > Update gets stuck with errors f

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-10 Thread geni08...@gmail.com
Update gets stuck with errors from missing packages [image: weewx1.jpg] Jlou 43 schrieb am Dienstag, 4. August 2020 um 23:13:53 UTC+2: > Thanks for your reply, but I solved my problem by reinstalling this way: > > > 3. Install WeeWX > > After installing the prerequisites, you can install WeeWX

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-04 Thread Jlou 43
Thanks for your reply, but I solved my problem by reinstalling this way: 3. Install WeeWX After installing the prerequisites, you can install WeeWX itself. 1. Expand the source archive: tar xvfz weewx-X.Y.Z.tar.gz 2. Change directory into the expanded archive:

Re: [weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-04 Thread Tom Keffer
Reinstalling will change nothing. There is another option: change the templates, so they no longer use has_key() (which no longer exists in Python 3). Instead use the 'x in y' pattern. For example, you would change #if $Extras.has_key('googleMapsDisplay') to #if 'googleMapsDisplay' in $Extras

[weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-04 Thread Jlou 43
I wonder if I will not reinstall weewx with the saved files and directories ... -- 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...@google

[weewx-user] Re: upgrade from weewx 3.9.2 to 4.1.1 doesn't work ...

2020-08-04 Thread Jlou 43
And this morning I made : Prerequisites for Debian 10 (Buster), Raspbian 10, Ubuntu 18.04-19.10 sudo apt update # Requiredsudo apt install python3-configobj sudo apt install python3-pil sudo apt install python3-serial sudo apt install python3-usb sudo apt install python3-pip # This works for mo