Traceback (most recent call last):


 "./manage.py", line 50, in <module>

execute_from_command_line(sys.argv)


 "/srv/zulip-venv-cache/3e8a51ec39dd017488bd50ab98c1a098b5fc62b4/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line

utility.execute()


 "/srv/zulip-venv-cache/3e8a51ec39dd017488bd50ab98c1a098b5fc62b4/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/srv/zulip-venv-cache/3e8a51ec39dd017488bd50ab98c1a098b5fc62b4/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv

self.execute(*args, **cmd_options)


 "/srv/zulip-venv-cache/3e8a51ec39dd017488bd50ab98c1a098b5fc62b4/zulip-py3-venv/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute

output = self.handle(*args, **options)


 "/home/zulip/deployments/2020-12-16-11-49-59/zerver/management/commands/change_user_role.py", line 46, in handle

old_role_name = UserProfile.ROLE_ID_TO_NAME_MAP[user.role]
AttributeError: type object 'UserProfile' has no attribute 'ROLE_ID_TO_NAME_MAP'

Traceback (most recent call last):


 "./tools/tf_convert_data.py", line 72, in <module>

tf.app.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "./tools/tf_convert_data.py", line 62, in main

shuffling=True)


 "/home/mm/MobileNet-master/tools/../datasets/pascalvoc_to_tfrecords.py", line 203, in run

'%s.txt'%split)


 "/usr/lib/python2.7/posixpath.py", line 70, in join

elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
