Belchertown 1.2 and Danish Charaters

235 views
Skip to first unread message

gert.a...@gmail.com

unread,
Oct 19, 2020, 8:40:02 AM10/19/20
to weewx-user
Hi

I'm running Ubuntu 20.04, Weewx 4.1.1, Phyton 3 and Belchertown 1.2. I have upgraded from Belchertown 1.1 and I have some issues with the Aeris and the Windrose.

With Aeris I'm missing the  current weather icon, but I have the text. Screenshot attached.

Using the Windrose I have some funny characters instead of the Danish characters. See screenshot.

My ordinals in weewx.conf is:
directions = N, NNØ, NØ, ØNØ, Ø, ØSØ, SØ, SSØ, S, SSV, SV, VSV, V, VNV, NV, NNV, N/A

Correct display Belchertown 1.1(using Darksky):

Missing icon and correct characters Belchertown 1.2(using Aeris):

I had a similar problem with the development to version 1.1:
but Pat fixed it. I don't know if the issue is related to the bug in the 1.1 development version.

Any ideas where to look?

Rgds
Gert

weewx.txt
Icon.jpg
Rose.jpg

gert.a...@gmail.com

unread,
Oct 20, 2020, 12:15:18 AM10/20/20
to weewx-user
Hi

I got my icons back. Did a new installation of Belchertown.

But, I'm still missing the Danish characters in the Windrose.

Rgds
Gert

Arend

unread,
Oct 21, 2020, 8:32:30 AM10/21/20
to weewx-user
Hi Gert,

Getting those Danish characters back: try to find and uncomment this line in belchertown.js.tmpl.

                //options.xAxis.labels = { useHTML: true } // Option disabled in highcharts 8

Kind regards, Arend 

Op dinsdag 20 oktober 2020 om 06:15:18 UTC+2 schreef gert.a...@gmail.com:

gert.a...@gmail.com

unread,
Oct 21, 2020, 3:51:58 PM10/21/20
to weewx-user
Hi Arend

Thanks a lot, that solved the problem. I wonder how you found this, good work.

Rgds
Gert

gert.a...@gmail.com

unread,
Oct 31, 2020, 2:00:13 AM10/31/20
to weewx-user
Hi Arend. All

Do you also know where to fix this? It should say "Ø" Have looked in belchertown.js.tmpl, but I don't think I can find anything here

Gert

Untitled.jpg

Arend

unread,
Nov 1, 2020, 9:56:27 AM11/1/20
to weewx-user
Hi Gert,

This issue showed up after upgrading from 1.1 to 1.2? And you had no problems in 1.1?

Arend

Op zaterdag 31 oktober 2020 om 07:00:13 UTC+1 schreef gert.a...@gmail.com:

gert.a...@gmail.com

unread,
Nov 1, 2020, 3:42:40 PM11/1/20
to weewx-user
Hi Arend

As far as I remember, the problem was not in version 1.1. Also the previous problem was not in version 1.1. I still wonder, why the line was commented.

Gert

Arend

unread,
Nov 1, 2020, 4:34:01 PM11/1/20
to weewx-user
I get the impression that most of the code that was responsible for handling 'useHTML' has been removed.
Contrary the comment in the belchertown.js.tmpl file, 'useHTML' is still present and functional in the latest Highcharts API.
Putting all the required code back in would be quite a job I guess. And those changes should be added to the master in the repo, otherwise you would face the same problems again with the next update.
I don't know why it has been removed, only Pat can answer that.


Op zondag 1 november 2020 om 21:42:40 UTC+1 schreef gert.a...@gmail.com:

Arend

unread,
Jan 15, 2021, 3:56:09 PM1/15/21
to weewx-user
Hi Gert,

As requested, you can find the version with a fix for Danish characters here (this version is the same to the one you used before):


At some point I will try to create a branch that will include all essential fixes and all updates to the original Belchertown master.

Regards, Arend
Op zondag 1 november 2020 om 22:34:01 UTC+1 schreef Arend:

Gert Andersen

unread,
Jan 16, 2021, 12:44:44 AM1/16/21
to weewx...@googlegroups.com

Hi Arend

 

Thanks for your help.

 

Rgds

Gert

--
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/sT87LBkYTaU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4a6f3978-50ae-4bdc-ae5f-11c8a55e6c29n%40googlegroups.com.

 

Gert Andersen

unread,
Jan 16, 2021, 1:45:13 AM1/16/21
to weewx...@googlegroups.com

Hi Arend

I can see you have 3 branches, should I download the master or one of the others?

 

Thanks

Gert

 

Sendt fra Mail til Windows 10

 

Fra: Arend
Sendt: 15. januar 2021 21:56
Til: weewx-user
Emne: [weewx-user] Re: Belchertown 1.2 and Danish Charaters

 

Hi Gert,

--

Arend

unread,
Jan 16, 2021, 3:31:58 AM1/16/21
to weewx-user
Good morning Gert,

The master branche is indeed the right one.

The other branches do not yet support Danish character (useHTML).

Arend

Op zaterdag 16 januari 2021 om 07:45:13 UTC+1 schreef gert.a...@gmail.com:
Reply all
Reply to author
Forward
0 new messages