Hi,
I am evaluating Rasa. I cloned Rasa starter pack and installed/build it and started the server. Then I used make cmdline
command to start the client which gives me the following error. I am running the application inUbuntu 18.04 64-bit
box on cloud with python 2.7.
What is the reason for this issue and how to solve it? Appreciate your insights.
python -m rasa_core.run -d models/current/dialogue -u models/current/nlu --endpoints endpoints.yml
/usr/local/lib/python2.7/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of
issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype
(float).type`.
from ._conv import register_converters as _register_converters
2019-01-24 23:38:05 INFO root - Rasa process starting
2019-01-24 23:38:06 INFO rasa_nlu.components - Added 'nlp_spacy' to component cache. Key 'nlp_spacy-en'.
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/rasa_core/run.py", line 246, in <module>
_endpoints.nlu)
File "/usr/local/lib/python2.7/dist-packages/rasa_core/interpreter.py", line 48, in create
return RasaNLUInterpreter(model_directory=obj)
File "/usr/local/lib/python2.7/dist-packages/rasa_core/interpreter.py", line 282, in __init__
self._load_interpreter()
File "/usr/local/lib/python2.7/dist-packages/rasa_core/interpreter.py", line 298, in _load_interpreter
self.interpreter = Interpreter.load(self.model_directory)
File "/usr/local/lib/python2.7/dist-packages/rasa_nlu/model.py", line 293, in load
skip_validation)
File "/usr/local/lib/python2.7/dist-packages/rasa_nlu/model.py", line 320, in create
model_metadata, **context)
File "/usr/local/lib/python2.7/dist-packages/rasa_nlu/components.py", line 419, in load_component
cached_component, **context)
File "/usr/local/lib/python2.7/dist-packages/rasa_nlu/registry.py", line 134, in load_component_by_name
return component_clz.load(model_dir, metadata, cached_component, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/rasa_nlu/extractors/entity_synonyms.py", line 78, in load
entity_synonyms_file = os.path.join(model_dir, file_name)
File "/usr/lib/python2.7/posixpath.py", line 68, in join
if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
Makefile:34: recipe for target 'cmdline' failed
make: *** [cmdline] Error 1
Regards, Malintha