NOAA Reports not corrcet - Belchertown

261 views
Skip to first unread message

Joachim Puttkammer

unread,
May 5, 2020, 5:30:23 PM5/5/20
to weewx-user
Hi,
I have installed weewx (4.0.0) with the skin Belchertown (1.1) on the local PC (Debian Buster). Everything works.
After that I also installed weewx (4.0.0) on the Raspi (jessie) with the skin Belchertown (1.1.). Everything works except the NOAA report.
When I click on Report, a page in HTML format is displayed

WetterstationPuttkammer-local.pngWetterstationPuttkammer-pi.png



Why are only JAN and FEB displayed and the other months are missing?


/var/www/html/weewx/public_html/index.html

           
<div class="noaa_reports">
                   
<H1>NOAA Reports</H1>
                   
<div class="row">
                       
<div class="col-sm-12 wx-year-row">
                           
<a href="?yr=2020" class="noaa_rep_nav"><b>2020</b></a>:
<a href="?yr=2020&amp;mo=01" class="noaa_rep_nav"><b>Jan</b></a>
<a href="?yr=2020&amp;mo=02" class="noaa_rep_nav"><b>Feb</b></a>
                       
</div>
                   
</div>
                   
<a href="#" class="noaa_direct_link">Hier anklicken</a> um den Report direkt zu sehen bzw. oben Monat oder Jahr ausw&#228;hlen.
                   
<br><br>
                   
<div class="noaa_report_container">
                       
<pre id="noaa_contents"></pre>
                   
</div> <!-- END noaa_report_container -->
               
</div> <!-- END noaa_reports -->

I ask for help

Dirk

unread,
May 7, 2020, 12:51:29 PM5/7/20
to weewx-user
Hi,
i have the same problem after i have updatet weewx to 4.0.0,
only the year 2020 Jan Feb are showing,
any solution?

Dirk

unread,
May 15, 2020, 11:49:30 AM5/15/20
to weewx-user
I still have this problem.
All reports are generated and uploaded to the Server, but only 2 of them are to see on the webpage.
Any ideas?
Screenshot_20200515-173924__01.jpg

Rolf Zanchettin

unread,
May 16, 2020, 11:29:29 AM5/16/20
to weewx-user
Hello,

i have the same problem.
Any advice?

Thanks in advance
Best regards
Rolf

PYB

unread,
May 31, 2020, 3:45:27 PM5/31/20
to weewx-user
Hello,

I run into the same problem with Belchertown 1.1 on Weewx 4.1 running on a Rpi3B+
Only 2020 and January are selectable and a HTML page is displayed.
Apart from that, Belchertown skin with the active graphs is really impressive and classy.

Thanks in advance.
Best regards,
Pierre-Yves



Belcherton-1.1- reports.jpg

Tom Keffer

unread,
May 31, 2020, 4:48:28 PM5/31/20
to weewx-user
I think I may know what the problem is. To make the drop down list work, the templates have to be processed in a specific order: the "By month" and "By year" first, then the "To date" templates. Unfortunately, with the introduction of Python 3, dictionaries are no longer ordered (they were not guaranteed to be ordered in Python 2 either, but, in practice, they were), so the processing order has become random.

The net effect is that sometimes the drop down list works, sometimes it doesn't.

Look for a fix in V4.1.1. Probably out late tomorrow.

-tk

--
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/fb2a8cde-857e-4380-b35e-2276b7d2b0f4%40googlegroups.com.

Pat

unread,
May 31, 2020, 8:09:55 PM5/31/20
to weewx-user
Tom, thanks for looking into this. I had this reported to my GitHub too and hadn't had a chance to dig into it. Hopefully 4.1.1 fixes it!
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Olivier Payrastre

unread,
Jun 2, 2020, 5:08:38 AM6/2/20
to weewx-user

Hello,

I just tried update to 4.1.1 this morning, but unfortunatly, I've the same issue than in 4.0 and 4.1.

Best regards.

Olivier.

Joachim Puttkammer

unread,
Jun 4, 2020, 6:56:11 AM6/4/20
to weewx-user
For Information

I have completely reinstalled weewx 4.1.1 ( Raspberry , Meteostick, empty database, Belchertown skin).
NOAA reports are displayed correctly.

Olivier Payrastre

unread,
Jun 4, 2020, 7:53:53 AM6/4/20
to weewx-user
Yes, why not, but before doing that, i'd like to know if you kept an empty database or import it after ?

Thanks a lot.

Olivier Payrastre

unread,
Jun 4, 2020, 6:11:41 PM6/4/20
to weewx-user
I've found the trouble, was because, my Weewx4 was on Python2. Now launched with python3 there no more issue on my RPI3 and raspbian10.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages