This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/common/lib/xmodule/xmodule/html_module.py b/common/lib/xmodule/xmodule/html_module.py | |
| index d00effc..5f1606f 100644 | |
| --- a/common/lib/xmodule/xmodule/html_module.py | |
| +++ b/common/lib/xmodule/xmodule/html_module.py | |
| @@ -220,6 +220,12 @@ class HtmlDescriptor(HtmlFields, XmlDescriptor, EditingDescriptor): | |
| non_editable_fields.append(HtmlDescriptor.use_latex_compiler) | |
| return non_editable_fields | |
| + def fallback_view(self, *args, **kwargs): | |
| + """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2014-02-15 22:27:46,611 ERROR 16581 [django.request] base.py:215 - Internal Server Error: /courses/HarvardX/GSE1x/2014_1/courseware/Week_1/Test/ | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
| response = callback(request, *callback_args, **callback_kwargs) | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view | |
| return view_func(request, *args, **kwargs) | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
| response = view_func(request, *args, **kwargs) | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 75, in _cache_controlled | |
| response = viewfunc(request, *args, **kw) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2014-02-15 18:45:41,682 WARNING 18864 [edx.courseware] html_module.py:205 - html/mentoring_tutorial_-_introduction_to_the_change_diary.html | |
| 2014-02-15 18:45:41,690 WARNING 18864 [edx.courseware] html_module.py:205 - html/html_07b15e1b7ef6.html | |
| 2014-02-15 18:45:41,691 ERROR 18864 [root] import_export.py:358 - There was an error exporting course i4x://Test/CHG-3/course/2014_3. 'NoneType' object has no attribute 'makedir' | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 325, in export_handler | |
| export_to_xml(modulestore('direct'), contentstore(), old_location, root_dir, name, modulestore()) | |
| File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py", line 64, in export_to_xml | |
| course.add_xml_to_node(root) | |
| File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 694, in add_xml_to_node | |
| xml_string = self.export_to_xml(self.runtime.export_fs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <vertical> | |
| <mentoring url_name="tst_mentoring_first2" followed_by="mentoring_tutorial_-_answering_a_question_about_your_work"> | |
| <answer name="tst_test-drive-1" /> | |
| <answer name="tst_test-drive-2" read_only="true" /> | |
| <quizz name="tst_test-quizz-1" variant="choices"> | |
| <question>Do you like what you have written? "Yes," "Maybe not," and "I don't understand"</question> | |
| <choice value="yes">Yes</choice> | |
| <choice value="maybenot">Maybe not</choice> | |
| <choice value="understand">I don't understand</choice> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <vertical> | |
| <mentoring url_name="mentoring"> | |
| <answer url_name="tst_test-drive-1"/> | |
| <answer url_name="tst_test-drive-2"/> | |
| <quizz url_name="tst_test-quizz-1"> | |
| <choice url_name="choice_fa99e732dc53"/> | |
| <choice url_name="choice_1f8ed002d929"/> | |
| <choice url_name="choice_0fe63fa340b0"/> | |
| <tip url_name="tip_1a59eea48fa5"/> | |
| <tip url_name="tip_350778a09df9"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| edxapp@edx:~/edx-platform$ pip install fs==0.4.0 | |
| Downloading/unpacking fs==0.4.0 | |
| You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files. | |
| Downloading fs-0.4.0.tar.gz (191kB): 191kB downloaded | |
| Running setup.py egg_info for package fs | |
| Installing collected packages: fs | |
| Running setup.py install for fs | |
| changing mode of build/scripts-2.7/fscat from 664 to 775 | |
| changing mode of build/scripts-2.7/fscp from 664 to 775 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2014-02-19 18:37:04,000 ERROR 20637 [django.request] base.py:215 - Internal Server Error: /import/TST.TST101.now/branch/draft/block/now | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
| response = callback(request, *callback_args, **callback_kwargs) | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view | |
| return view_func(request, *args, **kwargs) | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
| response = view_func(request, *args, **kwargs) | |
| File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner | |
| return func(request, *args, **kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [1]: from django.contrib.auth.models import User | |
| In [2]: u=User.objects.get(email='xavier@antoviaque.org') | |
| In [3]: u.__dict__ | |
| Out[3]: | |
| {'_state': <django.db.models.base.ModelState at 0x608e3d0>, | |
| 'date_joined': datetime.datetime(2013, 12, 27, 16, 51, 45, tzinfo=<UTC>), | |
| 'email': u'xavier@antoviaque.org', | |
| 'first_name': u'', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/cms/envs/common.py b/cms/envs/common.py | |
| index 9bba1f9..b914239 100644 | |
| --- a/cms/envs/common.py | |
| +++ b/cms/envs/common.py | |
| @@ -34,8 +34,7 @@ from path import path | |
| from lms.lib.xblock.mixin import LmsBlockMixin | |
| from cms.lib.xblock.mixin import CmsBlockMixin | |
| from xmodule.modulestore.inheritance import InheritanceMixin | |
| -from xmodule.modulestore import only_xmodules | |
| -from xmodule.x_module import XModuleMixin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mrq name="mrq_1_1" type="choices"> | |
| <question>Select the companies in the list which will be market leaders in 20 years:</question> | |
| <choice value="mckinsey">McKinsey</choice> | |
| <choice value="edx">edX</choice> | |
| <choice value="coursera">Coursera</choice> | |
| <choice value="boston">Boston Consulting Group</choice> | |
| <tip reject="coursera">edX will have taken most of the market share with its open source approach</tip> | |
| <tip reject="boston">Most of its clients will have fled to McKinsey</tip> |
OlderNewer