-->September 6th, 2025<--
Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.
--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark
Yep, a server error where update files are stored is causing this. Here are a couple ways in which to fix it;
https://www.livesectional.com/community/raspberry-pi-questions/rpi-refuses-to-connect/#post-885
Let us know if you have any troubles following it. - Mark
Commenting out the testupdate() function did the trick. Thank you!
David
I tried the Map Utilities> Check for update and here's the results:
urllib.error.HTTPError
urllib.error.HTTPError: HTTP Error 406: Not Acceptable
Traceback (most recent call last)
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 2309, in
__call__return self.wsgi_app(environ, start_response)
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 2295, in
wsgi_appresponse = self.handle_exception(e)
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 1741, in
handle_exceptionreraise(exc_type, exc_value, tb)
-
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in
reraiseraise value
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in
wsgi_appresponse = self.full_dispatch_request()
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in
full_dispatch_requestrv = self.handle_user_exception(e)
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in
handle_user_exceptionreraise(exc_type, exc_value, tb)
-
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in
reraiseraise value
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in
full_dispatch_requestrv = self.dispatch_request()
-
File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in
dispatch_requestreturn self.view_functions[rule.endpoint](**req.view_args)
-
File "/NeoSectional/webapp.py", line 233, in
test_for_updatetestupdate()
-
File "/NeoSectional/webapp.py", line 1697, in
testupdateif checkforupdate() == True:
-
File "/NeoSectional/webapp.py", line 1675, in
checkforupdatedlftpfile(source_path + verfilename, target_path + verfilename) # download version file from neoupdate
-
File "/NeoSectional/webapp.py", line 1659, in
dlftpfilewget.download(url, filename)
-
File "/usr/local/lib/python3.7/dist-packages/wget.py", line 526, in
download(tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback)
-
File "/usr/lib/python3.7/urllib/request.py", line 247, in
urlretrievewith contextlib.closing(urlopen(url, data)) as fp:
-
File "/usr/lib/python3.7/urllib/request.py", line 222, in
urlopenreturn opener.open(url, data, timeout)
-
File "/usr/lib/python3.7/urllib/request.py", line 531, in
openresponse = meth(req, response)
-
File "/usr/lib/python3.7/urllib/request.py", line 641, in
http_response'http', request, response, code, msg, hdrs)
-
File "/usr/lib/python3.7/urllib/request.py", line 569, in
errorreturn self._call_chain(*args)
-
File "/usr/lib/python3.7/urllib/request.py", line 503, in
_call_chainresult = func(*args)
-
File "/usr/lib/python3.7/urllib/request.py", line 649, in
http_error_defaultraise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 406: Not Acceptable
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump()shows all variables in the framedump(obj)dumps all that's known about the object
