Open wasimdf opened 6 years ago
I know it's been a while this has probably already been resolved, but I came across a same issue. the "prefer_xmodules" has been moved to "xmodule.modulestore".
So try : "from xmodule.modulestore import prefer_xmodules"
instead of: "from xmodule.x_module import prefer_xmodules"
Hi I downloaded the zip file and stored in lib folder after that i executed the below command $ sudo -u edxapp /edx/bin/pip.edxapp install /lib/voicerecxblock-master.zip
After that followed the below steps
1) Enable the block:
. In edx-platform/lms/envs/common.py, uncomment::
from xmodule.x_module import prefer_xmodules
XBLOCK_SELECT_FUNCTION = prefer_xmodules
2) #. In edx-platform/cms/envs/common.py, uncomment::
from xmodule.x_module import prefer_xmodules
XBLOCK_SELECT_FUNCTION = prefer_xmodules
3) #. In edx-platform/cms/envs/common.py, change::
'ALLOW_ALL_ADVANCED_COMPONENTS': False,
to::
'ALLOW_ALL_ADVANCED_COMPONENTS': True Add the block to your courses' advanced settings in Studio:
4) #. Log in to Studio, and open your course #. Settings -> Advanced Settings #. Change the value for the key "advanced_modules" to voicerecognizer
After following the above steps my lms is showing "Bad Request (400)"
But Studio is working for me please let me what i need to do to make the LMS also live...
Please its urgent