-
Notifications
You must be signed in to change notification settings - Fork 17
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
wait_for_all_airports issue? #18
Comments
Can you send me the config file you were using? |
Here is the config file and the airport file I was using. The config file currently reflects the “data/kawo_to_kosh.json” call, when I switch back and forth I simply delete that and insert “data/charlotte.json”
Any input is greatly appreciated! I’m hoping I just have a character in the wrong place or something.
[charlotte.json.txt](https://github.com/JohnMarzulli/categorical-sectional/files/2936549/charlotte.json.txt)
[config.json.txt](https://github.com/JohnMarzulli/categorical-sectional/files/2936551/config.json.txt)
… On Mar 6, 2019, at 3:36 AM, John Marzulli ***@***.***> wrote:
Can you send me the config file you were using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#18 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AXIy7_mr8zyFkJ-EsNcRXh2o9flS_kR-ks5vT34NgaJpZM4bgFSU>.
|
A bit more info: |
John, have you had a chance to look into this? I know you are probably busy with other stuff (like things that pay the bills!) but I just wanted to try and reach out before I went a different route. I don’t have enough of a background in Python to troubleshoot any more than I have. Thanks for the help and the great software! |
@Groner1661 - I am taking a look at this now with my dev setup/ |
@Groner1661 - I have a potential fix prepared in a new branch. Can you try switching to the branch https://github.com/JohnMarzulli/categorical-sectional/tree/better_faa_csv_identifier_support ? Let me know if this works. |
This worked! Thank you! It appears I had several airports that were not reporting METARs, some must have went offline as I was populating my list. Thank you for the help! |
Thank you for the issue report! Just like a PIREP, you were able to help others! I am going to let the change "soak" on my dev/personal until for a few days before merging this into master. |
John - I'm having a similar issue... and moving over to the "faa_better" branch didn't correct it. I have 164 lights, of which, 100 are active airports. I've checked each airport in my config file and all of them are reporting on Aviation Weather. I have checked syntax a half dozen times and just can't seem to find my problem. Looking through my log, I'm seeing every METAR coming back as "INVALID" which is, of course, setting the color to 0,0,0. The error I THINK is relevant is pasted below...not sure if this is a different problem or related, but I'd appreciate any help! 2019-03-14 23:59:28,675 - weathermap - WARNING - 2019-03-15 03:59:28.675550 WARN: get_metars:():502: get_metars EX:<urlopen error getrandom() initialization failed. (_ssl.c:720)> |
After initial light test and list of airports loaded, controller.py seems to start to grab weather info and will then wait on a random airport for about 30 seconds. After waiting, the program seems to stop and nothing else happens. This only appears to happen when I have more than 50 airports in the airport file. Testing with included "kawo_to_kosh.json" file is successful. Testing with smaller custom airport file is successful.
Partial logs attached below:
START OF PROGRAM:
2019-03-06 04:58:19.827880 INFO: :():467: Initialize weather for all airports
2019-03-06 04:58:19.832706 INFO: get_metars:():454: get_metars([KSOP,KILM,KOAJ,KNKT,KCPC,KDYB,KCQW,KEXX,KEOE,KUKF,KXNO,KHKY,KEWN,KSAV,KETC,KSMS,KAQX,KOGB,KISO,KMEB,KIPJ,KJQF,KARW,KVUJ,KSVN,KHYW,KHRJ,KGWW,KFBG,KFFA,KSPA,KSCR,KSVH,KHBI,KAIK,KCHS,KFDW,KINT,KHFF,KGSB,KAKH,KFLO,KFQD,KRWI,KRDU,KEDE,KLUX,KSSC,KCLT,KBBP,KGSO,KRUQ,KDPL,KNBC,KMNI,KJNX,KMAO,KTBR,KSUT,KCDN,KHXD,K2J5,KJYL,KNCA,KEHO,KHVS,K7W6,KMRN,KFAY,KMQI,KUZA,KCTZ,KMMT,KBUY,KBNL,KAFP,KPGV,KHSE,KEYF,KEQY,KDCM,KCKI,KRBW,KLRO,KOCW,KMYR,KCRE,KRCZ,KCUB,KJZI,KLHZ,KAGS,KUDG,KMKS,KCAE,KMRH,KGGE])
2019-03-06 04:58:21.066605 INFO: get_metars:():463: Attempting to reconcile METARs not returned with cache.
2019-03-06 04:58:21.069788 INFO: get_metars:():484: ~get_metars() => [KSOP,KILM,KOAJ,KNKT,KARW,KDYB,KCQW,KEXX,KEOE,KUKF,KXNO,KHKY,KEWN,KSAV,KETC,KSMS,KAQX,KOGB,KISO,KGGE,KMEB,KIPJ,KJQF,KCPC,KGSO,KSVN,KHYW,KHRJ,KGWW,KFBG,KFFA,KSPA,KSCR,KSVH,KHBI,KAIK,KCHS,KFLO,KINT,KHFF,KGSB,KAKH,KFDW,KFQD,KRWI,KRDU,KEDE,KRCZ,KSSC,KCLT,KBBP,KVUJ,KRUQ,KDPL,KNBC,KMNI,KJNX,KMAO,KTBR,KSUT,K2J5,KHXD,KJYL,KNCA,KEHO,KHVS,K7W6,KMRN,KFAY,KAGS,KUZA,KCTZ,KMMT,KBUY,KBNL,KAFP,KLHZ,KHSE,KEYF,KEQY,KDCM,KCKI,KRBW,KLRO,KOCW,KMYR,KCRE,KLUX,KCUB,KJZI,KPGV,KMQI,KUDG,KMKS,KCAE,KMRH,KCDN]
PULLS WEATHER INFO AND EVENTUALLY IT WAITS ON A SEEMINGLY RANDOM AIRPORT FOR ABOUT A MINUTE:
2019-03-06 04:59:30.820003 INFO: wait_for_all_airports:():452: Waiting on KOGB
2019-03-06 04:59:31.323654 INFO: wait_for_all_airports:():452: Waiting on KOGB
2019-03-06 04:59:31.827408 INFO: wait_for_all_airports:():452: Waiting on KOGB
2019-03-06 04:59:32.331169 INFO: wait_for_all_airports:():452: Waiting on KOGB
2019-03-06 04:59:32.834724 INFO: wait_for_all_airports:():452: Waiting on KOGB
2019-03-06 04:59:33.338372 INFO: wait_for_all_airports:():452: Waiting on KOGB
2019-03-06 04:59:33.843488 INFO: render_thread:():422: Starting rendering thread
2019-03-06 04:59:33.847454 INFO: get_civil_twilight:():156: get_civil_twilight(KSOP, 2019-03-06 04:59:33.844890, True)
Locks up here and I never see lights after the light test. It will "wait" on a different airport every time, seems completely random.
This does not happen with the included airport file "kawo_to_kosh.json", and as far as I can tell the formatting of my file is identical to yours.
The text was updated successfully, but these errors were encountered: