@nik202 sorry to coming back in the old thread, the previous setup on my windows operating laptop had been sorted out with your help. due to consuming a lot of training time, I wanted to migrate the chatbot to my MacBook.
(setting up status of the MacBook)
Initially, the Rasa x setup was working smoothly but today for some reason it won’t working and I came back to this raised issue and tried the same versions with the in the anaconda environment, but still, it remains not working with the above suggestion marked as the solution.
Reference
Rasa Version : 2.8.1
Minimum Compatible Version: 2.8.0
Rasa SDK Version : 2.8.1
Rasa X Version : 0.39.3
Python Version : 3.8.11
Operating System : macOS-10.16-x86_64-i386-64bit
Python Path : /Users/rajithabandara/opt/anaconda3/envs/rasabot/bin/python
sanic versions
sanic 20.9.0
Sanic-Cors 0.10.0.post3
sanic-jwt 1.6.0
Sanic-Plugins-Framework 0.9.5Preformatted text
Error
Starting Rasa X in local mode... 🚀
2021-09-14 17:17:38 WARNING rasax.community.services.insights.insight_service - No local evaluation result files found.
[2021-09-14 17:17:47 +0530] [2198] [INFO] Goin' Fast @ http://0.0.0.0:5002
2021-09-14 17:17:47 INFO sanic.root - Goin' Fast @ http://0.0.0.0:5002
The server is running at http://localhost:5002/login?username=me&password=12MIJJStblZs
[2021-09-14 17:17:47 +0530] [2198] [INFO] Starting worker [2198]
2021-09-14 17:17:47 INFO sanic.root - Starting worker [2198]
[2021-09-14 17:17:47 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/static/css/2.d0c6ce9d.chunk.css'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
2021-09-14 17:17:47 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/static/css/2.d0c6ce9d.chunk.css'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:47 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/static/css/main.7023b552.chunk.css'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
2021-09-14 17:17:47 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/static/css/main.7023b552.chunk.css'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:47 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/static/js/2.51a60f9e.chunk.js'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
2021-09-14 17:17:47 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/static/js/2.51a60f9e.chunk.js'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:47 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/static/js/main.dc8fd3ed.chunk.js'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
2021-09-14 17:17:47 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/static/js/main.dc8fd3ed.chunk.js'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:48 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=fdcca3d1606539d560c22339710f83db'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
2021-09-14 17:17:48 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=fdcca3d1606539d560c22339710f83db'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:50 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=fdcca3d1606539d560c22339710f83db'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:52 +0530] [2198] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=fdcca3d1606539d560c22339710f83db'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sanic/app.py", line 909, in handle_request
request, request_name=name
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
response = await response
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/database/utils.py", line 368, in set_session
user = await decorators.user_from_request(request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
return await _get_user_from_request(request.app, request)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
'Sanic' object has no attribute 'auth'
[2021-09-14 17:17:54 +0530] [2198] [ERR