I have Rasa X installed on my own server connected to GitHub where I have all my chatbot data. When I try to run docker-compose up
I get this error:
action_server_1 | Traceback (most recent call last):
action_server_1 | File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
action_server_1 | "__main__", mod_spec)
action_server_1 | File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
action_server_1 | exec(code, run_globals)
action_server_1 | File "/app/rasa_sdk/__main__.py", line 33, in <module>
action_server_1 | main()
action_server_1 | File "/app/rasa_sdk/__main__.py", line 29, in main
action_server_1 | main_from_args(cmdline_args)
action_server_1 | File "/app/rasa_sdk/__main__.py", line 20, in main_from_args
action_server_1 | args.ssl_password,
action_server_1 | File "/app/rasa_sdk/endpoint.py", line 116, in run
action_server_1 | app = create_app(action_package_name, cors_origins=cors_origins)
action_server_1 | File "/app/rasa_sdk/endpoint.py", line 68, in create_app
action_server_1 | executor.register_package(action_package_name)
action_server_1 | File "/app/rasa_sdk/executor.py", line 222, in register_package
action_server_1 | self.register_action(action)
action_server_1 | File "/app/rasa_sdk/executor.py", line 157, in register_action
action_server_1 | action = action()
action_server_1 | File "/app/actions/actions.py", line 631, in __init__
action_server_1 | self.intent_mappings = pd.read_csv("./data/intent_description_mapping.csv")
action_server_1 | File "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 685, in parser_f
action_server_1 | return _read(filepath_or_buffer, kwds)
action_server_1 | File "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 457, in _read
action_server_1 | parser = TextFileReader(fp_or_buf, **kwds)
action_server_1 | File "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 895, in __init__
action_server_1 | self._make_engine(self.engine)
action_server_1 | File "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 1135, in _make_engine
action_server_1 | self._engine = CParserWrapper(self.f, **self.options)
action_server_1 | File "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 1917, in __init__
action_server_1 | self._reader = parsers.TextReader(src, **kwds)
action_server_1 | File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__
action_server_1 | File "pandas/_libs/parsers.pyx", line 689, in pandas._libs.parsers.TextReader._setup_parser_source
action_server_1 | FileNotFoundError: [Errno 2] File b'data/intent_description_mapping.csv' does not exist: b'data/intent_description_mapping.csv'
However I do have the file intent_description_mapping.csv
both in my server directory and in GitHub. How can I fix it?
Thank you, Tiziano