i am facing issue while running “Rasa x” Command on local mode
Rasa Version : 2.8.2
Rasa SDK Version : 2.8.1
Rasa X Version : 0.42.0
i tried so many combinations of different differnt versions but still face the same error
My Rasa shell is working but only face issue while running “Rasa x” Command on local
Error :
AttributeError: ‘Sanic’ object has no attribute 'auth’
2021-08-17 11:15:24 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/icons/favicon.ico ’
2 Likes
nik202
(NiK202)
August 17, 2021, 10:01am
#2
@manishsonawane1998 Hi,
Solution 1: Install this
pip install sanic-jwt==1.6.0
Or
Solution 2:
Downgrade Rasa to rasa==2.8.1 and then downgrade rasa-x to 0.39.3
check rasa version rasa --version
its install or not
You will see some error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’
Install
pip install SQLAlchemy==1.3.22
should fix it
If sanic related error:
pip install sanic-jwt==1.6.0
delete .db if is showing alembic issue.
Good luck! I hope this will solve your issue.
1 Like
Hello @nik202 ,
Thanks,
Solution 1 works for me, Rasa x is working now
nik202
(NiK202)
August 17, 2021, 10:11am
#4
@manishsonawane1998 great. can you please close this thread with the solution for others.
nik202
(NiK202)
August 17, 2021, 10:13am
#6
@manishsonawane1998 Thanks, can you please share rasa --version
, I just want to update my knowledge, on which combination now Rasa-X is working properly.
@nik202 , yes currently am using these combination
Rasa Version : 2.8.2
Rasa SDK Version : 2.8.1
Rasa X Version : 0.42.0
Python Version : 3.8.10
nik202
(NiK202)
August 17, 2021, 10:15am
#8
@manishsonawane1998 Are you sure, everything is working and you able to chat with bot in web browser?
yes , everything is working
nik202
(NiK202)
August 17, 2021, 10:16am
#10
@manishsonawane1998 Thanks mate and good luck for your project.
mhs123m
(Mohammed Alismail)
October 19, 2022, 8:14am
#13
I actually sign up just to thank you.
got same error and your solution worked for me.
Thanks a lot.
nik202
(NiK202)
October 22, 2022, 3:59am
#14
@mhs123m great this message made my weekend. Happy to help!
1 Like