HTTPError: Selectin...
 
Notifications
Clear all

10/18/2023 Map Stopped Working?
Visit this post for the fix

HTTPError: Selecting Check for Updates

2 Posts
2 Users
0 Reactions
316 Views
(@stevepeck1)
Active Member
Joined: 5 years ago
Posts: 0
Topic starter  

 Check for Updates yields a page full of error message, headed, "

urllib.error.HTTPError

urllib.error.HTTPError: HTTP Error 406: Not Acceptable

"

Everything else seems to work fine. Is there an easy fix? Checked the forum and didn't find an obvious one. 

 

THANKS!!

Steve

 

The rest of the page is posted here:

 

  • 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_app

    response = self.handle_exception(e)
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1741, in handle_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise

    raise value
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app

    response = self.full_dispatch_request()
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request

    rv = self.handle_user_exception(e)
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise

    raise value
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request

    rv = self.dispatch_request()
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request

    return self.view_functions[rule.endpoint](**req.view_args)
  • File "/NeoSectional/webapp.py", line 234, in test_for_update

    testupdate()
  • File "/NeoSectional/webapp.py", line 1704, in testupdate

    if checkforupdate() == True:
  • File "/NeoSectional/webapp.py", line 1682, in checkforupdate

    dlftpfile(source_path + verfilename, target_path + verfilename)  # download version file from neoupdate
  • File "/NeoSectional/webapp.py", line 1666, in dlftpfile

    wget.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 urlretrieve

    with contextlib.closing(urlopen(url, data)) as fp:
  • File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen

    return opener.open(url, data, timeout)
  • File "/usr/lib/python3.7/urllib/request.py", line 531, in open

    response = 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 error

    return self._call_chain(*args)
  • File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain

    result = func(*args)
  • File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default

    raise HTTPError(req.full_url, code, msg, hdrs, fp)

urllib.error.HTTPError: HTTP Error 406: Not Acceptable


   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

Hi Steve,

Sorry for the hassles but starting with Version 4.374, 11-25-2021 that menu item was removed. The server used to handle the update data changed its protocol which is why you are receiving that error. To update, download the latest image on www.livesectional.com.

Be sure to use the Utilities Menu to download the config, airports and hmdata files so that you can upload them once the new image is installed. - Mark


   
ReplyQuote
Share: