IEMLdev/ieml

Error when creating a new paradigm

ogrergo opened this issue · 0 comments

Traceback (most recent call last):
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/rest_framework/views.py", line 489, in dispatch
response = self.handle_exception(exc)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/rest_framework/views.py", line 449, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/ubuntu/envs/dictionary/lib/python3.5/site-packages/rest_framework/views.py", line 486, in dispatch
response = handler(request, *args, **kwargs)
File "./dictionary/views.py", line 451, in post
new_version = create_dictionary_version(DictionaryVersion.from_file_name(version), add=to_add)
AttributeError: type object 'DictionaryVersion' has no attribute 'from_file_name'