Trouble in hawthorn.1
cequn opened this issue · 4 comments
after i choose the zip file, and try to save, i get an studio error,
check the log file:
Sep 2 16:16:43 edx [service_variant=cms][django.request][env:sandbox] ERROR [edx 26085] [exception.py:135] - Internal Server Error: /xblock/block-v1:codingcity+cs101+2018+type@scormxblock+block@099f01824b5e43a180e3a71faea11e33/handler/studio_submit 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/contrib/auth/decorators.py", line 23, in _wrapped_view return view_func(request, *args, **kwargs) File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/component.py", line 460, in component_handler resp = descriptor.handle(handler, req, suffix) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/mixins.py", line 89, in handle return self.runtime.handle(self, handler_name, request, suffix) File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1347, in handle return super(MetricsMixin, self).handle(block, handler_name, request, suffix=suffix) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/runtime.py", line 1037, in handle results = handler(request, suffix) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/scormxblock/scormxblock.py", line 163, in studio_submit temporary_zip = open(temporary_path, 'wb') IOError: [Errno 2] No such file or directory: u'/edx/var/edxapp/media/scorm/ContentPackagingSingleSCO_SCORM12.zip'
and there is one/edx/var/edxapp/media/<my-site>/cs101/scormxblock/099f01824b5e43a180e3a71faea11e33/85b01c8b6bbb976afa0d0d5a379398a13baaf3a8.zip
,
anyone can help me?
I was able to fix this by doing the following steps:
- create a scorm directory inside the media directory.
- unzip the zip file you listed above
- move the zip file to the scorm directory you created.
Same error on my side, but the workaround proposed is not a sustainable solution.
Any news on this issue?
Closed because of the age, if the issue is still bothering you please reopen.