Traceback (most recent call last):


 "run.py", line 24, in <module>

from tensorforce import Agent, Environment, Runner


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/__init__.py", line 31, in <module>

from tensorforce.environments import Environment


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/environments/__init__.py", line 29, in <module>

from tensorforce.environments.carla_environment import CARLAEnvironment


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/environments/carla_environment.py", line 7, in <module>

from tensorforce.agents import Agent


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/agents/__init__.py", line 18, in <module>

from tensorforce.agents.constant import ConstantAgent


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/agents/constant.py", line 19, in <module>

from tensorforce.core.models import ConstantModel


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/core/__init__.py", line 23, in <module>

from tensorforce.core.optimizers import optimizer_modules


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/core/optimizers/__init__.py", line 32, in <module>

from tensorforce.core.optimizers.tf_optimizer import TFOptimizer, tensorflow_optimizers


 "/home/jrlab/Desktop/Git/tensorforce/tensorforce/core/optimizers/tf_optimizer.py", line 30, in <module>

ftrl=tf.keras.optimizers.Ftrl,
AttributeError: module 'tensorflow._api.v1.keras.optimizers' has no attribute 'Ftrl'

Traceback (most recent call last):


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/error_handling.py", line 39, in __call__

return self.app(environ, start_response)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/logging.py", line 69, in __call__

retval = self.app(environ, custom_start_response)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/cors.py", line 75, in __call__

return self.app(environ, custom_start_response)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 429, in as_wsgi

resp = self(req)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 402, in __call__

resp = func(**kw)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/triggers.py", line 59, in get_one

return super(TriggerTypeController, self).get_one(triggertype_ref_or_id, **kwargs)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/resource.py", line 360, in get_one

return self._get_one(ref_or_id, from_model_kwargs=from_model_kwargs)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/resource.py", line 379, in _get_one

permission_type=permission_type)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/utils.py", line 119, in assert_user_has_resource_db_permission

permission_type=permission_type)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/utils.py", line 300, in user_has_resource_db_permission

resolver = resolvers.get_resolver_for_permission_type(permission_type=permission_type)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/resolvers.py", line 867, in get_resolver_for_permission_type

resource_type = PermissionType.get_resource_type(permission_type=permission_type)


 "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/types.py", line 139, in get_resource_type

split = permission_type.split('_')
AttributeError: 'NoneType' object has no attribute 'split' (_exception_data={},_exception_class='AttributeError',_exception_message="'NoneType' object has no attribute 'split'")
