-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Description
/opt/venv/lib/python3.10/site-packages/rasa/core/tracker_store.py:1042: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
Base: DeclarativeMeta = declarative_base()
2024-01-13 12:21:36 WARNING rasa.utils.common - Failed to write global config. Error: [Errno 13] Permission denied: '/app/.config'. Skipping.
/opt/venv/lib/python3.10/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
/opt/venv/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
/opt/venv/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
/opt/venv/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
/opt/venv/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel.yaml')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
2024-01-13 12:21:36 INFO rasa.cli.train - Started validating domain and training data...
/opt/venv/lib/python3.10/site-packages/tensorflow/python/framework/dtypes.py:246: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`. (Deprecated NumPy 1.24)
np.bool8: (False, True),
2024-01-13 12:21:40 INFO rasa.validator - Validating intents...
2024-01-13 12:21:40 INFO rasa.validator - Validating uniqueness of intents and stories...
2024-01-13 12:21:40 INFO rasa.validator - Validating utterances...
2024-01-13 12:21:40 INFO rasa.validator - Story structure validation...
Processed story blocks: 100%|β| 1/1 [00:00<00:00, 4198.50it/s, # tracker
2024-01-13 12:21:40 INFO rasa.core.training.story_conflict - Considering all preceding turns for conflict analysis.
2024-01-13 12:21:40 INFO rasa.validator - No story structure conflicts found.
2024-01-13 12:21:40 WARNING rasa.utils.common - Failed to write global config. Error: [Errno 13] Permission denied: '/app/.config'. Skipping.
Traceback (most recent call last):
File "/opt/venv/bin/rasa", line 8, in <module>
sys.exit(main())
File "/opt/venv/lib/python3.10/site-packages/rasa/__main__.py", line 133, in main
cmdline_arguments.func(cmdline_arguments)
File "/opt/venv/lib/python3.10/site-packages/rasa/cli/train.py", line 61, in <lambda>
train_parser.set_defaults(func=lambda args: run_training(args, can_exit=True))
File "/opt/venv/lib/python3.10/site-packages/rasa/cli/train.py", line 101, in run_training
training_result = train_all(
File "/opt/venv/lib/python3.10/site-packages/rasa/api.py", line 105, in train
return train(
File "/opt/venv/lib/python3.10/site-packages/rasa/model_training.py", line 207, in train
return _train_graph(
File "/opt/venv/lib/python3.10/site-packages/rasa/model_training.py", line 249, in _train_graph
config, _missing_keys, _configured_keys = recipe.auto_configure(
File "/opt/venv/lib/python3.10/site-packages/rasa/engine/recipes/default_recipe.py", line 963, in auto_configure
DefaultV1Recipe._dump_config(
File "/opt/venv/lib/python3.10/site-packages/rasa/engine/recipes/default_recipe.py", line 1071, in _dump_config
DefaultV1Recipe._add_missing_config_keys_to_file(config_file_path, missing_keys)
File "/opt/venv/lib/python3.10/site-packages/rasa/engine/recipes/default_recipe.py", line 1123, in _add_missing_config_keys_to_file
with open(
PermissionError: [Errno 13] Permission denied: 'config.yml'
make[1]: *** [Makefile:291: rasa-train] Error 1
make[1]: Leaving directory '/home/user/Projects/RasaGPT'
make: *** [Makefile:57: install] Error 2
Key points:
- SQLAlchemy is too new, requires < 2.0
- Can't create app/.config due to permission issue
- Gives a permission error while trying to access config.yaml
- I already did
sudo chown -R 1000:1000 .on the root directory of the project - Seems like a Docker access error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels