Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/rasa_core/channels/facebook.py", line 85, in _handle_user_message

self.on_new_message(user_msg)


 "/usr/local/lib/python2.7/dist-packages/rasa_core/agent.py", line 317, in handle_message

return processor.handle_message(message)


 "/usr/local/lib/python2.7/dist-packages/rasa_core/processor.py", line 86, in handle_message

self._predict_and_execute_next_action(message, tracker)


 "/usr/local/lib/python2.7/dist-packages/rasa_core/processor.py", line 305, in _predict_and_execute_next_action

action, policy, confidence = self.predict_next_action(tracker)


 "/usr/local/lib/python2.7/dist-packages/rasa_core/processor.py", line 168, in predict_next_action

probabilities, policy = self._get_next_action_probabilities(tracker)


 "/usr/local/lib/python2.7/dist-packages/rasa_core/processor.py", line 478, in _get_next_action_probabilities

tracker, self.domain)


 "/usr/local/lib/python2.7/dist-packages/rasa_core/policies/ensemble.py", line 291, in probabilities_using_best_policy

if (result.index(max_confidence) ==
AttributeError: 'NoneType' object has no attribute 'index'

Traceback (most recent call last):


 "/home/moritz/.local/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/cli.py", line 602, in run

core.do_run(command=command, args=args, three=three, python=python)


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/core.py", line 2200, in do_run

command = ' '.join(project.scripts[command])


 "/home/moritz/.local/lib/python3.6/site-packages/pipenv/project.py", line 374, in scripts

scripts[k] = shlex.split(v, posix=True)


 "/usr/lib/python3.6/shlex.py", line 305, in split

return list(lex)


 "/usr/lib/python3.6/shlex.py", line 295, in __next__

token = self.get_token()


 "/usr/lib/python3.6/shlex.py", line 105, in get_token

raw = self.read_token()


 "/usr/lib/python3.6/shlex.py", line 136, in read_token

nextchar = self.instream.read(1)
AttributeError: 'ArrayElement' object has no attribute 'read'
