``Traceback (most recent call last):


 "manage.py", line 22, in <module>

execute_from_command_line(sys.argv)


 "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line

utility.execute()


 "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute

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


 "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv

self.execute(*args, **cmd_options)


 "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 327, in execute

self.check()


 "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check

include_deployment_checks=include_deployment_checks,


 "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks

return checks.run_checks(**kwargs)


 "/usr/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks

new_errors = check(app_configs=app_configs)


 "/usr/lib/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config

return check_resolver(resolver)


 "/usr/lib/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver

return check_method()


 "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 254, in check

for pattern in self.url_patterns:


 "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns

patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)


 "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/usr/lib/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module

return import_module(self.urlconf_name)


 "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/opt/webterminal/webterminal/urls.py", line 63, in <module>

url(r'^permission/',include('permission.urls')),


 "/usr/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 50, in include

urlconf_module = import_module(urlconf_module)


 "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module

__import__(name)


 "/opt/webterminal/permission/urls.py", line 3, in <module>

from permission.views import UserRegister,UserUpdate,UserList,UserDelete


 "/opt/webterminal/permission/views.py", line 6, in <module>

from permission.forms import RegisterForm,PermissionForm


 "/opt/webterminal/permission/forms.py", line 76, in <module>

class PermissionForm(forms.ModelForm):


 "/opt/webterminal/permission/forms.py", line 88, in PermissionForm

class Meta:


 "/opt/webterminal/permission/forms.py", line 92, in Meta

'permissions': forms.SelectMultiple(choices=[(app.id,app.model) for app in ContentType.objects.filter(app_label='webterminal')]),


 "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 250, in __iter__

self._fetch_all()


 "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 1118, in _fetch_all

self._result_cache = list(self._iterable_class(self))


 "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 53, in __iter__

results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)


 "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 894, in execute_sql

raise original_exception
django.db.utils.OperationalError: no such table: django_content_type

Traceback (most recent call last):


 "train.py", line 122, in <module>

train_abs(args, device_id)


 "/home/user1/PreSumm/src/train_abstractive.py", line 273, in train_abs

train_abs_single(args, device_id)


 "/home/user1/PreSumm/src/train_abstractive.py", line 334, in train_abs_single

trainer.train(train_iter_fct, args.train_steps)


 "/home/user1/PreSumm/src/models/trainer.py", line 158, in train

report_stats)


 "/home/user1/PreSumm/src/models/trainer.py", line 223, in _gradient_accumulation

outputs, scores = self.model(src, tgt,segs, clss, mask_src, mask_tgt, mask_cls)


 "/home/user1/anaconda3/envs/user1conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/user1/PreSumm/src/models/model_builder.py", line 241, in forward

top_vec = self.bert(src, segs, mask_src)


 "/home/user1/anaconda3/envs/user1conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/user1/PreSumm/src/models/model_builder.py", line 127, in forward

top_vec, _ = self.model(x, segs, attention_mask=mask)


 "/home/user1/anaconda3/envs/user1conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)
TypeError: forward() got multiple values for argument 'attention_mask'
