Domain and config file

Hello I’m new to Rasa, installed Rasa x , but when I run the comman: Rasa x, it doesn’t open the explorer, and this error occur: Used: Win 10- python 3.6 - Ujson 1.35.

(mychatbot) PS C:\Users\mohab\documents\rasa_projects\rasax> rasa x 2020-12-18 14:53:24.222482: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found 2020-12-18 14:53:24.226939: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2020-12-18 14:53:26.206650: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘nvcuda.dll’; dlerror: nvcuda.dll not found 2020-12-18 14:53:26.210893: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303) 2020-12-18 14:53:26.218083: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: LAPTOP-EB14KO94 2020-12-18 14:53:26.221727: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: LAPTOP-EB14KO94 Traceback (most recent call last): File “c:\users\mohab\anaconda3\envs\mychatbot\lib\site-packages\rasa\cli\x.py”, line 499, in run_locally domain_path=domain_path, TypeError: main() got an unexpected keyword argument ‘domain_path’

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: http://forum.rasa.com/. (mychatbot) PS C:\Users\mohab\documents\rasa_projects\rasax>

What could be the reason ?

Can you share the command you used to run rasa X as well as the version of rasa?

1 Like

Rasa 2.2.1, Rasa x 0.34.0.

I used the command : rasa x to run rasa. I copy/paste the required dll files ( cudart64_101 and nvcuda) and as written"Successfully opened dynamic library …) for both dll files. Although there are still errors !

(chatbot1) PS C:\Users\mohab\rasa_projects\chatbot1> rasa x 2020-12-18 20:25:33.423738: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll 2020-12-18 20:25:36.071438: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll 2020-12-18 20:25:36.079854: E tensorflow/stream_executor/cuda/cuda_driver.cc:314] failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error 2020-12-18 20:25:36.093122: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: LAPTOP-EB14KO94 2020-12-18 20:25:36.099464: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: LAPTOP-EB14KO94 Traceback (most recent call last): File “c:\users\mohab\anaconda3\envs\chatbot1\lib\site-packages\rasa\cli\x.py”, line 499, in run_locally domain_path=domain_path, TypeError: main() got an unexpected keyword argument ‘domain_path’

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: http://forum.rasa.com/. (chatbot1) PS C:\Users\mohab\rasa_projects\chatbot1>

For the last error, just open “c:\users\mohab\anaconda3\envs\chatbot1\lib\site-packages\rasa\cli\x.py” and delete the domain_path=domain_path, in line 499 would work. I don’t know if it’s a bug.

2 Likes

Thanks alot ! It worked ! I have a question please! Do you know if Rasa X works on Windows 8.1? or only Win 10?

I don’t know about that… In my opinion it should work. If not, you can try Docker or WSL.

1 Like

Thanks a lot @Humanlike

You’re welcome. :smile:

@ratteya Hi I’m getting thr exactly same error can you tell me where you pasted .dll files.

@Hamza-Nadeem Hi Hamza Search this site for any missing dll file.

Hi @ratteya. Which python version you are using ?

3.6

1 Like

I believe this issue should be resolved with Rasa 2.2.2 released yesterday.

Didn’t work for me :frowning_face:

Hi Hamza-Nadeem,

The error you received makes me think that your versioning might still be off. Your error says the issue is on line 500, but the change that was made to fix this with 2.2.2 would have caused the issue to appear on line 501. Rasa x startup issues with Rasa Open Source 2.2.x and Rasa X < 0.35 by tmbo · Pull Request #7612 · RasaHQ/rasa · GitHub

HTH

Hi @kearnsw,

So what should I do now other than wait for rasa-x==0.35 release? I am a beginner and very confused about this error.

I tried different versions of rasa and rasa-x but didn’t work, even when I make new project with rasa init command I get the same error.

P.S only rasa x command is giving error other commands are working fine

I’d recommend creating a virtual environment for the project. To do so, go to the project directory and run the following command:

python -m venv c:\your\project\directory\.venv

Then activate the environment whenever you are working on the project by running the .bat activation file:

c:\your\project\directory\.venv\Scripts\activate

The first time you activate the virtual environment you’ll need to reinstall rasa. This should ensure your versioning is correct.

How did you upgrade Rasa previously?

Already tried by creating virtual environment but no gain.

I upgraded rasa using commands: pip install rasa==2.2.2 and pip install rasa

For rasa-x I used commands: pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple and pip3 install rasa-x==0.34.0 --extra-index-url https://pypi.rasa.com/simple

I heard rasa x 0.35 coming in start of January should I expect it will get resolved in that version ?

just downgraded to rasa=1.10.14 and rasa-x==0.32.2.

getting no error rasa x command working fine, but the issue is the project I’m been working on is in Rasa 2.0 format.