Ошибка при работе с NGM
Opened this issue · 3 comments
Возникает ошибка при загрузке файлов drug and drop через NGM .
"unknown exeption 'AtributeError'". (Код ошибки 500)
Ошибка 500 - это ошибка на сервере. Нужна часть лога с сервера. Выложите сюда.
Хранилище запущено через Pserve
Информация из диалогового окна системы:
AttributeError: You cannot set the charset when no content-type is defined
File "/home/ivan/ngw/nextgisweb/nextgisweb/resource/api.py", line 204, in reso urce_exception_tween
response = handler(request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid_tm/init .py", line 101, in tm_tween
reraise(*exc_info)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid_tm/init .py", line 83, in tm_tween
response = handler(request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/router.py", line 145, in handle_request
view_name
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/view.py", l ine 541, in _call_view
response = view_callable(context, request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/config/view s.py", line 602, in call
return view(context, request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/config/view s.py", line 328, in attr_view
return view(context, request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/config/view s.py", line 304, in predicate_wrapper
return view(context, request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/config/view s.py", line 385, in viewresult_to_response
result = view(context, request)
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/pyramid/config/view s.py", line 507, in _requestonly_view
response = view(request)
File "/home/ivan/ngw/nextgisweb/nextgisweb/resource/api.py", line 107, in chil d_post
(b"Location", bytes(location)), ])
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/webob/response.py", line 128, in init
self.charset = charset
File "/home/ivan/ngw/env/local/lib/python2.7/site-packages/webob/response.py", line 594, in _charset__set
raise AttributeError("You cannot set the charset when no "
самое интересное, что группы ресурсов через менеджер тоже не создаются...