Hi everyone,
I was trying to open rasa x using command ‘rasa x’ and I’m getting the following error. I did not have any problem during rasa x installation.
All help is appreciated, Thank you very much in advance.
(venv) akshaya@akshaya-VirtualBox:~/Desktop/rasaprojects/wellness-check-bot$ rasa x /home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasa/shared/core/slots.py:311: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the 'influence_conversation' flag for slot 'confirm_weight' instead. rasa.shared.utils.io.raise_warning( /home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasa/shared/core/slots.py:311: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the 'influence_conversation' flag for slot 'weight' instead. rasa.shared.utils.io.raise_warning( /home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasa/shared/core/slots.py:311: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the 'influence_conversation' flag for slot 'Heart_rate' instead. rasa.shared.utils.io.raise_warning( /home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasa/shared/core/slots.py:311: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the 'influence_conversation' flag for slot 'Blood_Glucose' instead. rasa.shared.utils.io.raise_warning( /home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasa/shared/core/domain.py:714: FutureWarning: The formssection in the domain used the old Rasa Open Source 1 list format to define forms. Rasa Open Source will be configured to use the deprecatedFormActionwithin the Rasa SDK. If you want to use the new Rasa Open Source 2FormActionadapt yourformssection as described in the documentation. Support for the deprecatedFormAction` in the Rasa SDK will be removed in Rasa Open Source 3.0.
rasa.shared.utils.io.raise_warning(
Starting Rasa X in local mode…
Traceback (most recent call last):
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasa/cli/x.py”, line 496, in run_locally
local.main(
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/local.py”, line 234, in main
sql_migrations.run_migrations(session)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/sql_migrations.py”, line 25, in run_migrations
_run_schema_migrations(session)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/sql_migrations.py”, line 41, in _run_schema_migrations
_run_alembic_migration(alembic_config)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/sql_migrations.py”, line 65, in _run_alembic_migration
command.upgrade(alembic_config, target_revision)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/command.py”, line 298, in upgrade
script.run_env()
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/base.py”, line 489, in run_env
util.load_python_file(self.dir, “env.py”)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/util/pyfiles.py”, line 98, in load_python_file
module = load_module_py(module_id, path)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/util/compat.py”, line 184, in load_module_py
spec.loader.exec_module(module)
File “”, line 848, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/database/schema_migrations/alembic/env.py”, line 96, in
run_migrations_online()
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/database/schema_migrations/alembic/env.py”, line 86, in run_migrations_online
context.run_migrations()
File “”, line 8, in run_migrations
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/runtime/environment.py”, line 846, in run_migrations
self.get_context().run_migrations(**kw)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/runtime/migration.py”, line 511, in run_migrations
for step in self._migrations_fn(heads, self):
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/command.py”, line 287, in upgrade
return script._upgrade_revs(revision, rev)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/base.py”, line 364, in _upgrade_revs
revs = list(revs)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/revision.py”, line 777, in _iterate_revisions
uppers = util.dedupe_tuple(self.get_revisions(upper))
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/revision.py”, line 321, in get_revisions
resolved_id, branch_label = self.resolve_revision_number(id)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/revision.py”, line 501, in _resolve_revision_number
self._revision_map
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/util/langhelpers.py”, line 230, in get
obj.dict[self.name] = result = self.fget(obj)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/revision.py”, line 123, in _revision_map
for revision in self._generator():
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/base.py”, line 112, in _load_revisions
script = Script.from_filename(self, vers, file)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/script/base.py”, line 906, in from_filename
module = util.load_python_file(dir, filename)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/util/pyfiles.py”, line 98, in load_python_file
module = load_module_py(module_id, path)
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/alembic/util/compat.py”, line 184, in load_module_py
spec.loader.exec_module(module)
File “”, line 848, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/database/schema_migrations/alembic/versions/migration_2021_03_05_add_message_log_entity_metadata_table_e2b7e06f6dc5.py”, line 13, in
import rasax.community.database.schema_migrations.alembic.utils as migration_utils
File “/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/rasax/community/database/schema_migrations/alembic/utils.py”, line 12, in
from sqlalchemy.engine import reflection, RowProxy, Connection
ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ (/home/akshaya/Desktop/rasaprojects/venv/lib/python3.8/site-packages/sqlalchemy/engine/init.py)
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/.
^CGoodbye
Goodbye
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File “/usr/lib/python3.8/multiprocessing/util.py”, line 224, in call
File “/usr/lib/python3.8/multiprocessing/heap.py”, line 278, in free
AttributeError: ‘NoneType’ object has no attribute ‘getpid’
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File “/usr/lib/python3.8/multiprocessing/util.py”, line 224, in call
File “/usr/lib/python3.8/multiprocessing/heap.py”, line 278, in free
AttributeError: ‘NoneType’ object has no attribute ‘getpid’
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File “/usr/lib/python3.8/multiprocessing/util.py”, line 224, in call
File “/usr/lib/python3.8/multiprocessing/heap.py”, line 278, in free
AttributeError: ‘NoneType’ object has no attribute ‘getpid’
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File “/usr/lib/python3.8/multiprocessing/util.py”, line 224, in call
File “/usr/lib/python3.8/multiprocessing/heap.py”, line 278, in free
AttributeError: ‘NoneType’ object has no attribute ‘getpid’
Exception ignored in: <Finalize object, dead>
Traceback (most recent call last):
File “/usr/lib/python3.8/multiprocessing/util.py”, line 224, in call
File “/usr/lib/python3.8/multiprocessing/heap.py”, line 278, in free
AttributeError: ‘NoneType’ object has no attribute ‘getpid’
`