Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-03 Thread Manfred Maier
Thanks, vince! ... and meanwhile I found the answer to question 2 myself. Reading documentation sometimes helps :) Am Samstag, 2. Mai 2020 22:51:03 UTC+2 schrieb vince: > > On Saturday, May 2, 2020 at 1:37:30 PM UTC-7, Manfred Maier wrote: >> >> 1) Is there somewhere a list of packages that

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread vince
On Saturday, May 2, 2020 at 1:37:30 PM UTC-7, Manfred Maier wrote: > > 1) Is there somewhere a list of packages that should be updated to Python > 3? > http://www.weewx.com/docs/setup.htm has a nice list -- You received this message because you are subscribed to the Google Groups

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
User 'Dale' nailed it! After installing ephem for Python3 I have maxSolarRad back in my database :). Thanks so much! The support here is absolutely fantastic! Three related questions: 1) Is there somewhere a list of packages that should be updated to Python 3? 2) Is there a way to calculate

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
Manfred, user 'Dale' suggested to me offline that the problem could be that you have not installed the package 'ephem' for Python 3. *sudo apt install python3-ephem* -tk On Sat, May 2, 2020 at 1:20 PM Tom Keffer wrote: > That looks normal. > > When you run weewxd directly from the command

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
That looks normal. When you run weewxd directly from the command line, what do you see for maxSolarRad values? Check both LOOP packets (marked with LOOP:) and archive records (marked with REC:) -tk On Sat, May 2, 2020 at 1:12 PM Manfred Maier wrote: > Here you go. > syslog since the restart

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Here you go. syslog since the restart of weewx -- 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

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
I suspect that you're missing something to do the calculation. Let's check by using the attached instrumented version of wxservices.py. If you used a package installer, it goes in /usr/share/weewx/weewx/wxservices.py If you used the setup.py install method, it goes in

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
1) In the archive table in the database it's since I've switched to the Python 3 version. I've just noticed, that appTemp and windrun were also affected for a couple of hours (also ). But both meanwhile get calculated and have valid values in the database 2) This is what I find in the log:

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
1. When you say "maxSolarRadiation isn't calculated" do you mean it does not appear in LOOP or archive records at all? Or, that it has value None? 2. Look in the system log for something like May 2 07:21:39 nuc weewx[110614] INFO weewx.wxservices: The following values will be calculated:

[weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Hi, I've just detected that maxSolarRadiation isn't calculated since I've switched to the Python 3 version of Weewx. Before switching to Python 3, I already had the Python 2 version of 4.0.0 installed for a couple of hours. maxSolarRad got calculated during that time. Any idea what the issue