Hello,
I have the problem of " The studio server encountered an error " in copying “Student Grade Assignment” unit and get studio saving error. I use Ironwood version.
How can I solve it?
Please help me.
CMS Error Log is
Jul 7 12:23:10 Edx-VM [service_variant=cms][django.request][env:sandbox] ERROR [Edx-VM 5542] [exception.py:135] - Internal Server Error: /xblock/
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 40, in inner
return func(request, *args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/json_request.py", line 53, in parse_json_into_request
return view_function(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 225, in xblock_handler
request.json.get('display_name'),
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 913, in _duplicate_item
return dest_module.location
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 1016, in bulk_operations
yield
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/__init__.py", line 195, in bulk_operations
self._end_bulk_operation(course_id, emit_signals, ignore_case)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/__init__.py", line 289, in _end_bulk_operation
dirty = self._end_outermost_bulk_operation(bulk_ops_record, structure_key)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py", line 254, in _end_outermost_bulk_operation
self.db_connection.insert_structure(bulk_write_record.structures[_id], bulk_write_record.course_key)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/mongo_connection.py", line 414, in insert_structure
self.structures.insert(structure_to_mongo(structure, course_context))
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mongodb_proxy.py", line 115, in __call__
return self.proxied_object(*args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pymongo/collection.py", line 540, in insert
gen(), check_keys, self.uuid_subtype, client)
InvalidDocument: Cannot encode object: u'Staff Graded Assignment'