10/18/2023 Map Stopped Working?
Visit this post for the fix
Wow, I had all the things!
Once I fixed the above, I still could not get into the web editor - but noticed the LED count was also throwing an error, fixed fixed that and still couldn't get into the editor. Followed the steps below to comment out the software update, and once I fixed that I could get into the editor.
I repopulated my airport list and things still seemed wrong, but the RGB/GBR flip had switched too, so I fixed that as well and I'm officially back up and running!
Thanks for your help, I love my map and its definitely a conversation piece!
@markyharris It is not an issue for me to do this in cmd. I work with computer and automation....but not with python. So I had to lean on you for the ins and outs of python. I will try this and report back to you on what I find.
@markyharris Option 2 worked like a charm on both version 4.360 and 4.372. Thanks for your help and get software you have created. I am very impressed with the detail and configurability you have put into this.
Having the same issue. Cannot connect to the map from my computer and it is not updating the airports. I tried option 2 but it keeps telling me that cd/neosectional that there is no such file or directory. when i do a dir there is not NeoSectional directory in the listing. any suggestions??
thanks.
You can download the image from the downloads page now. But if you want to double check the directory issue it should look like this from the command line;
cd /NeoSectional
Be sure to capitalize the appropriate letters as shown. Your post above did not have a space or the capital letters. Let me know. - Mark
@jeffc Also be sure as noted in Mark's reply that you have a space between the cd and the /.
cd /NeoSectional
Thanks,
Bill
Hi, I’m not sure if I’m having the same issue or not but I’m not 100% sure how to correct it with the coding and information posted and was hoping to get a little extra help.
I check my router information and the LiveSectional is connected to my wifi (I use the BerryLan app) and getting everything set up was totally fine. When I turn my board on it connects automatically and shows the current metar data but won’t update from the first information received. I also can’t get into the setting and access it from my desktop anymore. When I put the IPaddress:5000 I get ERR_CONNECTION_FAILED on google chrome.
Any help I would greatly appreciate, and thanks for your time!
@liveadmin i was finally able to get it to work and got it updated. Thanks for all the help.
Unfortunately the fix didn't work for me... both doing a mod as well as wgetting the new file. App still not responsive - any other ideas/troubleshooting suggestions?
If you have a monitor connected, please attach a picture of the error message it provides. Maybe that will help. - Mark
@markyharris no monitor but I can ssh in and show you whatever logs you'd like to see..
@markyharris does this help?
Oct 6 19:57:27 LiveSectionalV4 rc.local[558]: Traceback (most recent call last):
Oct 6 19:57:27 LiveSectionalV4 rc.local[558]: File "/NeoSectional/webapp.py", line 58, in <module>
Oct 6 19:57:27 LiveSectionalV4 rc.local[558]: import scan_network
Oct 6 19:57:27 LiveSectionalV4 rc.local[558]: ModuleNotFoundError: No module named 'scan_network'
Kevin,
It looks like you must be running an older version and its looking for a module called scan_network.py and not finding it. I would suggest upgrading to the latest image, but in the meantime feel free to copy over this module and see if it works. Follow these on your ssh session
cd /NeoSectional sudo wget https://raw.githubusercontent.com/markyharris/livesectional/master/scan_network.py sudo reboot now
This will select the correct directory then copy the needed file over and reboot. Let us know how it goes. - Mark
@markyharris no go. latest log.
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]: [I 211006 20:36:28 startup:24]
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]:
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]: Startup of startup.py Script, Version v4.346
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]: [I 211006 20:36:28 startup:25] Log Level Set To: 20
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]: [I 211006 20:36:28 startup:39] Running thread 0
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]: [I 211006 20:36:28 startup:39] Running thread 1
Oct 6 20:36:28 LiveSectionalV4 rc.local[561]: [I 211006 20:36:28 startup:39] Running thread 2
Oct 6 20:36:29 LiveSectionalV4 rc.local[561]: [I 211006 20:36:29 startup:42] metar-v4.py
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:100]
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]:
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: Startup of metar-v4.py Script, Version v4.346
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:101] Log Level Set To: 20
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: /NeoSectional/metar-v4.py:290: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: GPIO.setup(7, GPIO.IN, pull_up_down=GPIO.PUD_UP) #set pin 7 to ground for TAF + 11 hours
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:306] Watching /NeoSectional/config.py For Change
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:334] metar-v4.py Settings Loaded
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:558] Airports File Loaded
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:564] METAR Data Loading
Oct 6 20:36:32 LiveSectionalV4 rc.local[561]: [I 211006 20:36:32 metar-v4:592] RPI IP Address = 10.1.0.111
Oct 6 20:36:33 LiveSectionalV4 rc.local[561]: [I 211006 20:36:33 metar-v4:596] Internet Available
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:33 metar-v4:597] https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&mostRecentForEachStation=constraint&hoursBeforeNow=2.5&stationString=KAIA,KPUB,KECP,KPNS,KORL,KDDC,KARA,KMYR,KILM,KRBX,KORF,KOXB,KPVD,KBGR,KBTV,KALB,KEWR,KPHL,KRIC,KRMN,KHEF,KCJR,KGVE,KRDU,KFAY,KJZI,KCAE,KCLT,KJQF,KUZA,KEQY,KROA,KBUF,KAGC,KCRW,KGEV,KAVL,KAND,KAGS,KSAV,KCRG,KDED,KX26,KFXE,KEYW,KFMY,KZPH,KTLH,KABY,KOPN,KATL,KPDK,KRKW,KCMH,KYIP,KSLH,KFWA,KCHA,KAUO,KPNS,KMOB,KMGM,KBHM,KHSV,KJWN,KSDF,KIND,KGYY,KMKE,KOSH,KSTF,KGPT,KNEW,KMBO,KMEM,KSTL,KPIA,KCID,KSTP,KBBG,KLIT,KLFT,KSHV,KFSM,KMKC,KOMA,KROX,KFAF,KFSD,KSLN,KICT,KTUL,KF00,KTME,KACT,KRBD,KPWA,KBIS,KRAP,KCPR,KAMA,KABI,KBRO,KSSF,KLBB,KBJC,KBIL,KHVR,KBZN,KJAC,KROW,KDRT,KABQ,KCNY,KSLC,KPIH,KGIC,KGEG,KBOI,KTWF,KRIF,KEKO,KPGA,KELP,KRYN,KPHX,KLAS,KTPH,KRNO,KBDN,KSEA,KPDX,KRDD,KSAC,KSFO,KMRY,KMAE,KBFL,KLAX,KMYF
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:34 metar-v4:1140] Starting METAR Data Display
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:34 metar-v4:1150] KTME Not Reporting Flight Category through the API.
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:34 metar-v4:1233] Decoded METAR Data for Display
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:34 metar-v4:1376] Rotary Switch Not Installed. Using Switch Position 0 as Default
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:34 wipes-v4:41]
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]:
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: Startup of wipes-v4.py Script, Version v4.346
Oct 6 20:36:34 LiveSectionalV4 rc.local[561]: [I 211006 20:36:34 wipes-v4:42] Log Level Set To: 20
Oct 6 20:36:36 LiveSectionalV4 rc.local[561]: [I 211006 20:36:36 wipes-v4:755] maxlat = 48.85 minlat = 24.55 maxlon = -68.82 minlon = -122.62
Oct 6 20:36:36 LiveSectionalV4 rc.local[561]: [I 211006 20:36:36 wipes-v4:756] sizelat = 24.3 sizelon = 53.8 centerlat 36.7 centerlon = -95.72
Oct 6 20:36:37 LiveSectionalV4 rc.local[561]: [I 211006 20:36:37 wipes-v4:865] Turning Off all LEDs
Oct 6 20:36:37 LiveSectionalV4 rc.local[561]: [I 211006 20:36:37 wipes-v4:870] Executing Rabbit Chase Wipe
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: [I 211006 20:36:51 metar-v4:546] Calling wipes script
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: [I 211006 20:36:51 metar-v4:558] Airports File Loaded
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: [I 211006 20:36:51 metar-v4:564] METAR Data Loading
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: [I 211006 20:36:51 metar-v4:592] RPI IP Address = 10.1.0.111
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: Traceback (most recent call last):
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: File "/NeoSectional/webapp.py", line 58, in <module>
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: import scan_network
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: File "/NeoSectional/scan_network.py", line 7, in <module>
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: import nmap
Oct 6 20:36:51 LiveSectionalV4 rc.local[561]: ModuleNotFoundError: No module named 'nmap'
Oct 6 20:36:52 LiveSectionalV4 rc.local[561]: [I 211006 20:36:52 metar-v4:596] Internet Available
Oct 6 20:36:52 LiveSectionalV4 rc.local[561]: [I 211006 20:36:52 metar-v4:597] https://www.aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&mostRecentForEachStation=constraint&hoursBeforeNow=2.5&stationString=KAIA,KPUB,KECP,KPNS,KORL,KDDC,KARA,KMYR,KILM,KRBX,KORF,KOXB,KPVD,KBGR,KBTV,KALB,KEWR,KPHL,KRIC,KRMN,KHEF,KCJR,KGVE,KRDU,KFAY,KJZI,KCAE,KCLT,KJQF,KUZA,KEQY,KROA,KBUF,KAGC,KCRW,KGEV,KAVL,KAND,KAGS,KSAV,KCRG,KDED,KX26,KFXE,KEYW,KFMY,KZPH,KTLH,KABY,KOPN,KATL,KPDK,KRKW,KCMH,KYIP,KSLH,KFWA,KCHA,KAUO,KPNS,KMOB,KMGM,KBHM,KHSV,KJWN,KSDF,KIND,KGYY,KMKE,KOSH,KSTF,KGPT,KNEW,KMBO,KMEM,KSTL,KPIA,KCID,KSTP,KBBG,KLIT,KLFT,KSHV,KFSM,KMKC,KOMA,KROX,KFAF,KFSD,KSLN,KICT,KTUL,KF00,KTME,KACT,KRBD,KPWA,KBIS,KRAP,KCPR,KAMA,KABI,KBRO,KSSF,KLBB,KBJC,KBIL,KHVR,KBZN,KJAC,KROW,KDRT,KABQ,KCNY,KSLC,KPIH,KGIC,KGEG,KBOI,KTWF,KRIF,KEKO,KPGA,KELP,KRYN,KPHX,KLAS,KTPH,KRNO,KBDN,KSEA,KPDX,KRDD,KSAC,KSFO,KMRY,KMAE,KBFL,KLAX,KMYF
Oct 6 20:36:52 LiveSectionalV4 rc.local[561]: [I 211006 20:36:52 metar-v4:1140] Starting METAR Data Display
Oct 6 20:36:52 LiveSectionalV4 rc.local[561]: [I 211006 20:36:52 metar-v4:1150] KTME Not Reporting Flight Category through the API.
Oct 6 20:36:52 LiveSectionalV4 rc.local[561]: [I 211006 20:36:52 metar-v4:1233] Decoded METAR Data for Display