Subj : Re: WxCenter - Weather reader for Synchronet To : Codefenix From : DaveW Date : Tue Sep 05 2023 23:21:54 Re: Re: WxCenter - Weather reader for Synchronet By: Codefenix to DaveW on Tue Sep 05 2023 08:31 am > First, when wxcenter.js validates the location through the geocode.maps.co > API, it filters out results with a type not matching administrative, city, > town, or village. Looks like Port Charlotte, FL has type values not matching > any of these, so that's why it's not finding it > (https://geocode.maps.co/search?q=Port%20Charlotte,+Fl). I went ahead and > added the type "census", so now it validates that location OK. > > Second, looks like the showForecast function crashes the script when no > results are returned. This is a legitimate bug I need to fix, so thanks for > bringing it to my attention. > > For now, go ahead and try the latest wxcenter.js from GitHub again for Port > Charlotte, FL and let me know how it goes for you. > Hello, I went and changed the BBS location in the main Config to Port Charlotte, Fl and I am getting the same error. It is weird because when i change my BBS location to Murdock, Fl (a subdivision of Port Charlotte) the results from the weather app will come back and give me the weather for Port Charlotte. haha That is a little weird but i guess it is an easy workaround.. :) So it will give me the weather for Port Charlotte only if my BBS location is Murdock, Fl.. lol I hope this helps you. This is an awesome program though. The Sixel weathermaps are amazing for a BBS. DaveW Port of Call BBS BBS.PCTechDr.com Port:2323 https://BBS.PCTechDr.xyz DaveW Port of Call BBS BBS.PCTechDr.com Port:2323 https://BBS.PCTechDr.xyz --- SBBSecho 3.14-Win32 * Origin: Port of Call BBS - BBS.PCTechDr.com:2323 (1337:3/184) .