AsiaRF AW7916-NPD not recognised - Crash after installing

Blockquote
ControllerMissing Python 3.9.18: /usr/bin/python3
Sun Apr 21 17:37:40 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

[/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py](file:///usr/lib/python3.9/site-packages/flup/server/fcgi_base.py) in run(self=<flup.server.fcgi_base.Request object>)

[/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py](file:///usr/lib/python3.9/site-packages/flup/server/fcgi_base.py) in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)

[/usr/lib/python3.9/site-packages/reforis/main.py](file:///usr/lib/python3.9/site-packages/reforis/main.py) in call(self=<reforis.main.AppWrapper object>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www/turris-webapps/’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’, ‘HTTP_ACCEPT_LANGUAGE’: ‘de,en-US;q=0.7,en;q=0.3’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_COOKIE’: ‘turrisauth=pdggxfxehnlwpovyxvngnfiyitqhrjixiyvys…b82; session=da46f7f8-0cec-44d2-a7ab-b8a1d80e1b0e’, ‘HTTP_DNT’: ‘1’, ‘HTTP_HOST’: ‘192.168.1.1’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.9/site-packages/flask/app.py](file:///usr/lib/python3.9/site-packages/flask/app.py) in call(self=<Flask ‘reforis’>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www/turris-webapps/’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’, ‘HTTP_ACCEPT_LANGUAGE’: ‘de,en-US;q=0.7,en;q=0.3’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_COOKIE’: ‘turrisauth=pdggxfxehnlwpovyxvngnfiyitqhrjixiyvys…b82; session=da46f7f8-0cec-44d2-a7ab-b8a1d80e1b0e’, ‘HTTP_DNT’: ‘1’, ‘HTTP_HOST’: ‘192.168.1.1’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.9/site-packages/flask/app.py](file:///usr/lib/python3.9/site-packages/flask/app.py) in wsgi_app(self=<Flask ‘reforis’>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www/turris-webapps/’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’, ‘HTTP_ACCEPT_LANGUAGE’: ‘de,en-US;q=0.7,en;q=0.3’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_COOKIE’: ‘turrisauth=pdggxfxehnlwpovyxvngnfiyitqhrjixiyvys…b82; session=da46f7f8-0cec-44d2-a7ab-b8a1d80e1b0e’, ‘HTTP_DNT’: ‘1’, ‘HTTP_HOST’: ‘192.168.1.1’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.9/site-packages/flask/app.py](file:///usr/lib/python3.9/site-packages/flask/app.py) in handle_exception(self=<Flask ‘reforis’>, e=ControllerMissing(‘Connection to controller 0000444E6D163F14 is lost.’))

[/usr/lib/python3.9/site-packages/reforis/init.py](file:///usr/lib/python3.9/site-packages/reforis/init.py) in internal_error(error=<InternalServerError ‘500: Internal Server Error’>)

[/usr/lib/python3.9/site-packages/flask/templating.py](file:///usr/lib/python3.9/site-packages/flask/templating.py) in render_template(template_name_or_list=‘errors/500.html’, **context={‘error’: <InternalServerError ‘500: Internal Server Error’>, ‘g’: <flask.ctx._AppCtxGlobals object>, ‘request’: <Request ‘http://192.168.1.1/reforis/’ [GET]>, ‘session’: <FileSystemSession {‘_permanent’: True}>})

[/usr/lib/python3.9/site-packages/flask/app.py](file:///usr/lib/python3.9/site-packages/flask/app.py) in update_template_context(self=<Flask ‘reforis’>, context={‘error’: <InternalServerError ‘500: Internal Server Error’>, ‘g’: <flask.ctx._AppCtxGlobals object>, ‘request’: <Request ‘http://192.168.1.1/reforis/’ [GET]>, ‘session’: <FileSystemSession {‘_permanent’: True}>})

[/usr/lib/python3.9/site-packages/reforis/init.py](file:///usr/lib/python3.9/site-packages/reforis/init.py) in add_translations_catalog_to_ctx()

[/usr/lib/python3.9/site-packages/flask_babel/init.py](file:///usr/lib/python3.9/site-packages/flask_babel/init.py) in get_locale()

[/usr/lib/python3.9/site-packages/reforis/init.py](file:///usr/lib/python3.9/site-packages/reforis/init.py) in get_locale()

[/usr/lib/python3.9/site-packages/reforis/init.py](file:///usr/lib/python3.9/site-packages/reforis/init.py) in _get_locale_from_backend(app=<Flask ‘reforis’>)

[/usr/lib/python3.9/site-packages/reforis/backend.py](file:///usr/lib/python3.9/site-packages/reforis/backend.py) in perform(self=MqttSender, module=‘web’, action=‘get_data’, data=None, raise_exception_on_failure=True, controller_id=None)

[/usr/lib/python3.9/site-packages/reforis/backend.py](file:///usr/lib/python3.9/site-packages/reforis/backend.py) in perform(self=MqttSender, module=‘web’, action=‘get_data’, data=None, raise_exception_on_failure=True, controller_id=None)

[/usr/lib/python3.9/site-packages/reforis/backend.py](file:///usr/lib/python3.9/site-packages/reforis/backend.py) in _send(self=MqttSender, module=‘web’, action=‘get_data’, data=None, controller_id=None)

[/usr/lib/python3.9/site-packages/foris_client/buses/mqtt.py](file:///usr/lib/python3.9/site-packages/foris_client/buses/mqtt.py) in send(self=<foris_client.buses.mqtt.MqttSender object>, module=‘web’, action=‘get_data’, data=None, timeout=30.0, controller_id=‘0000444E6D163F14’)

[/usr/lib/python3.9/site-packages/foris_client/buses/mqtt.py](file:///usr/lib/python3.9/site-packages/foris_client/buses/mqtt.py) in check_controllers()

ControllerMissing: Connection to controller 0000444E6D163F14 is lost.
args = (‘Connection to controller 0000444E6D163F14 is lost.’,)
device_id = ‘0000444E6D163F14’
with_traceback =

Blockquote

further same in Turris 7.0 above 6.5.2

Blockquote
ControllerMissing Python 3.10.13: /usr/bin/python3
Sun Apr 21 17:27:30 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

[/usr/lib/python3.10/site-packages/flup/server/fcgi_base.py](file:///usr/lib/python3.10/site-packages/flup/server/fcgi_base.py) in run(self=<flup.server.fcgi_base.Request object>)

[/usr/lib/python3.10/site-packages/flup/server/fcgi_base.py](file:///usr/lib/python3.10/site-packages/flup/server/fcgi_base.py) in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)

[/usr/lib/python3.10/site-packages/reforis/main.py](file:///usr/lib/python3.10/site-packages/reforis/main.py) in call(self=<reforis.main.AppWrapper object>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www/turris-webapps/’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’, ‘HTTP_ACCEPT_LANGUAGE’: ‘de,en-US;q=0.7,en;q=0.3’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_COOKIE’: ‘turrisauth=gjjiebrftvaauksicyutaeizefighxemtwtcs…12c; session=99d3892e-0774-4177-87b4-0b16395a3ecb’, ‘HTTP_DNT’: ‘1’, ‘HTTP_HOST’: ‘172.31.31.5’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.10/site-packages/flask/app.py](file:///usr/lib/python3.10/site-packages/flask/app.py) in call(self=<Flask ‘reforis’>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www/turris-webapps/’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’, ‘HTTP_ACCEPT_LANGUAGE’: ‘de,en-US;q=0.7,en;q=0.3’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_COOKIE’: ‘turrisauth=gjjiebrftvaauksicyutaeizefighxemtwtcs…12c; session=99d3892e-0774-4177-87b4-0b16395a3ecb’, ‘HTTP_DNT’: ‘1’, ‘HTTP_HOST’: ‘172.31.31.5’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.10/site-packages/flask/app.py](file:///usr/lib/python3.10/site-packages/flask/app.py) in wsgi_app(self=<Flask ‘reforis’>, environ={‘CONTENT_LENGTH’: ‘0’, ‘DOCUMENT_ROOT’: ‘/www/turris-webapps/’, ‘GATEWAY_INTERFACE’: ‘CGI/1.1’, ‘HTTP_ACCEPT’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8’, ‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’, ‘HTTP_ACCEPT_LANGUAGE’: ‘de,en-US;q=0.7,en;q=0.3’, ‘HTTP_CONNECTION’: ‘keep-alive’, ‘HTTP_COOKIE’: ‘turrisauth=gjjiebrftvaauksicyutaeizefighxemtwtcs…12c; session=99d3892e-0774-4177-87b4-0b16395a3ecb’, ‘HTTP_DNT’: ‘1’, ‘HTTP_HOST’: ‘172.31.31.5’, …}, start_response=<function BaseFCGIServer.handler..start_response>)

[/usr/lib/python3.10/site-packages/flask/app.py](file:///usr/lib/python3.10/site-packages/flask/app.py) in handle_exception(self=<Flask ‘reforis’>, e=ControllerMissing(‘Connection to controller 0000444E6D163F14 is lost.’))

[/usr/lib/python3.10/site-packages/reforis/init.py](file:///usr/lib/python3.10/site-packages/reforis/init.py) in internal_error(error=<InternalServerError ‘500: Internal Server Error’>)

[/usr/lib/python3.10/site-packages/flask/templating.py](file:///usr/lib/python3.10/site-packages/flask/templating.py) in render_template(template_name_or_list=‘errors/500.html’, **context={‘error’: <InternalServerError ‘500: Internal Server Error’>, ‘g’: <flask.ctx._AppCtxGlobals object>, ‘request’: <Request ‘http://172.31.31.5/reforis/’ [GET]>, ‘session’: <FileSystemSession {‘_permanent’: True}>})

[/usr/lib/python3.10/site-packages/flask/app.py](file:///usr/lib/python3.10/site-packages/flask/app.py) in update_template_context(self=<Flask ‘reforis’>, context={‘error’: <InternalServerError ‘500: Internal Server Error’>, ‘g’: <flask.ctx._AppCtxGlobals object>, ‘request’: <Request ‘http://172.31.31.5/reforis/’ [GET]>, ‘session’: <FileSystemSession {‘_permanent’: True}>})

[/usr/lib/python3.10/site-packages/reforis/init.py](file:///usr/lib/python3.10/site-packages/reforis/init.py) in add_translations_catalog_to_ctx()

[/usr/lib/python3.10/site-packages/flask_babel/init.py](file:///usr/lib/python3.10/site-packages/flask_babel/init.py) in get_locale()

[/usr/lib/python3.10/site-packages/reforis/init.py](file:///usr/lib/python3.10/site-packages/reforis/init.py) in get_locale()

[/usr/lib/python3.10/site-packages/reforis/init.py](file:///usr/lib/python3.10/site-packages/reforis/init.py) in _get_locale_from_backend(app=<Flask ‘reforis’>)

[/usr/lib/python3.10/site-packages/reforis/backend.py](file:///usr/lib/python3.10/site-packages/reforis/backend.py) in perform(self=MqttSender, module=‘web’, action=‘get_data’, data=None, raise_exception_on_failure=True, controller_id=None)

[/usr/lib/python3.10/site-packages/reforis/backend.py](file:///usr/lib/python3.10/site-packages/reforis/backend.py) in perform(self=MqttSender, module=‘web’, action=‘get_data’, data=None, raise_exception_on_failure=True, controller_id=None)

[/usr/lib/python3.10/site-packages/reforis/backend.py](file:///usr/lib/python3.10/site-packages/reforis/backend.py) in _send(self=MqttSender, module=‘web’, action=‘get_data’, data=None, controller_id=None)

[/usr/lib/python3.10/site-packages/foris_client/buses/mqtt.py](file:///usr/lib/python3.10/site-packages/foris_client/buses/mqtt.py) in send(self=<foris_client.buses.mqtt.MqttSender object>, module=‘web’, action=‘get_data’, data=None, timeout=30.0, controller_id=‘0000444E6D163F14’)

[/usr/lib/python3.10/site-packages/foris_client/buses/mqtt.py](file:///usr/lib/python3.10/site-packages/foris_client/buses/mqtt.py) in check_controllers()

ControllerMissing: Connection to controller 0000444E6D163F14 is lost.
args = (‘Connection to controller 0000444E6D163F14 is lost.’,)
device_id = ‘0000444E6D163F14’
with_traceback =

Blockquote

Found a solution - apart from getting kmod-mt7916-firmware I needed the to get kmod-mt76-sdio installed.

Seeing forward to have Turris 7.0 with this now working WiFi