-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Many XML regions are not shown #127
Comments
Now I don't think the "/" is the problem, I went back to look at the xml in 1.9.30. |
Well, I cannot really help here as it works fine for me.... |
You have MacOS? Did you change anything in the Region Titles from "-" to "/" if you recall?? |
No, Linux Ubuntu or RPi4 or Windows 10. |
Are you sure it is working "fine". Does NOAA show all the regions? Mine shows only "Boston" region Many others are missing too. |
Yes, all the regions, and I had to remap all of them for the low res version. |
Which coorindateSets.xml are you using? |
Hi res |
Same with normal res. |
I am using Weatherfax 1.9.37.0 as installed by PIM. I have checked both install dir and user dir and the coordinateSets.xml file are the same. I don't think that is the problem. Also Retrieve > Update Data Files works fine. Not all Regions are displaying.. many of them. We are also missing India. The files exist. The xml files show these regions. |
This is frustrating. I thought we were done with this plugin. |
I see that you miss some regions in the Aviation Weather server. |
I found a bug in 1.9.37 that is not present in 1.9.36 and that can be related to what you see: Edit: This is not related to 1.9.37. This bug appears after having updated the data sources. Edit2: In fact it is. I wiped anything and reinstalled WF 1.9.37: Bug is present. |
Let me check some things and report again. |
Either the program is not reading the xml files properly, or the xml files have some very small issue. I think. Later: Thanks Ozolli for checking. |
Well, I'm not sure now. |
Yes but in each region you miss several charts: Americas, Indian Ocean and Oceania, Pacific, North Pacific. |
I find that 1.9.36 has the same issues after removing At least we agree there is an issue. |
If you use Retrieve > Update data files you will be updating to the current version 1.9.37 data. |
I removed the weatherfax directories, data and using Import tarball installed 1.9.32.5 and tried it. I has the same issues with a clean installation. Maybe you can try? |
Tomorrow I will test again 1.9.36 vs 1.9.37 because I am not so sure the NOAA slow servers are the only issues here. Edit: Hope i'm wrong ;-) |
I will leave this open |
I tested again 1.9.36 vs 1.9.37. v1.9.37. When opening the intenet download window we get this: All the servers and all the regions are already selected as if we had clicked the "All" servers and "All" regions buttons. Then I clicked on "French Polynesia" server: The "South Pacific" region is selected and we can see all the available charts. The Chile region is selected but we cannot see the available charts. Finally click on "French Polynesia" server again: The "South Pacific" region is selected but this time we cannot see all the available charts. This behaviour does not exist on v1.9.36. When opening the internet download window ony one server and one region is selected and the available charts are seen: |
Do you have any thoughts on why this is happening? I have looked through the code, and don't see that any of the recent would cause this. The only thing I can surmise is that we have multiple WFIR_ files that are read and displayed as if they are one XML file and there is some glitch in the coding for this which accounts for the failure of the xml to display. Perhaps it is a missing return character or space when the mulitple xml's are collected together to be displayed, or something like that. Is that plausible? |
I have not looked into the code yet and don't know if I'm qualified to understand it sufficiently. |
Ozolli, actually this is the commit list
You can drill down and see the actual changes, and I am having a difficult time figuring out what change is causing this problem. You've been a great help quantifying the issue. We should be able to identify the area in the code which is causing this. |
That's just an intuition, maybe this is here in src/InternetRetrievalDialog.cpp: 835 - m_lServers->SetSelection(m_lServers->Append(it->Name), it->Selected); (same for 858/873) |
Thanks. Perhaps Dave will have a chance to look at this. |
I compiled the plugin with |
Thats great. You solved it. I will make that change |
ozolli... |
Is this change made on LINE 850? In lieu of
BTW I do not find this at line 835 or anywhere near line 835 I find with a search "m_lServers->SetSelection" that line 187, 515 and 850 have that search, but only 850 has the full line Can you explain further please? Thanks. |
Rick, |
yes is this line supposed to be
??? |
No you keep m-lRegions. Just add: , it->Selected
|
OK ozolli, some confusion on my part.
and built and push it up. Please be explicit so this can be done efficiently. I don't like having a bunch of garbage in the commit history. For example, like this??? Many variations
|
Sorry I am leaving to go sail. Will fix this in a couple of days. |
Sorry Rick, I should have been more explicit.
|
I added the necessary ")" at the end before the ";" and I still get this error.
|
I am going to remove weatherfax from the catalogs. |
Also I notice there is a loose "} in this procedure and the { and } aren't paired properly. |
I was wrong, the { and } do match up. It it the conversion from integral to pointer type... |
Here is the file I modified : Yes there was a missing ) on line 873 in the above example. It should be : On linux native ubuntu-x86_64-22.04 everything works well : Single regions, all, none. |
Thanks, that fixed it. I had located the ) in the wrong place. |
1.9.40 is perfect here ! |
Good! will push to opencp/plugins now |
@ozolli @bdbcat
This bug was noticed in 1.9.37 while testing the new "Retrieve > Update Data Sources" which works well.
This bug has been around for awhile, and started before version 1.9.31
I had not noticed it and have not traced it back further than that yet.
For some reason NOAA only shows "Boston" and none of the other regions, Pt. Reyes, New Orleans, Kodiak, Honolulu
NOAA-OPC similarly is not complete.
Every single Server is coming up short on Regions, missing many many weatherfaxes.
Why?
I am wondering if the "/" used in the Region Names is the problem? Was "/" that used before?
The text was updated successfully, but these errors were encountered: