edx---'HiddenDescriptorWithMixins'问题

'HiddenDescriptorWithMixins' object has no attribute 'weight'

分析:没有添加高级组件

解决:

edxapp@precise64:~/edx-platform$ source ../venvs/edxapp/bin/activate
(edxapp)edxapp@precise64:~/edx-platform$ cd components/xblock-subjective/
(edxapp)edxapp@precise64:~/edx-platform/components/xblock-subjective$ python setup.py install


查询   ALLOW_ALL_ADVANCED_COMPONENTS找到所有相关组件


edxapp@precise64:~/edx-platform/components/xblock-subjective/static$

sudo cp -f -r ../static /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock_subjective-0.1-py2.7.egg/



你可能感兴趣的:(edx---'HiddenDescriptorWithMixins'问题)