Skip to content

Instantly share code, notes, and snippets.

Result before applying fix:
Student ID Email Username Final Grade Type 36 1: Subsection 2.2 - Multiple Choice (Earned) Type 36 1: Subsection 2.2 - Multiple Choice (Possible) Type ZZ 1: Subsection 1.2 - Multiple Choice (Earned) Type ZZ 1: Subsection 1.2 - Multiple Choice (Possible) Type A 1: Subsection 2.1 - Multiple Choice (Earned) Type A 1: Subsection 2.1 - Multiple Choice (Possible) Type 1 1: Subsection 1.1 - Multiple Choice (Earned) Type 1 1: Subsection 1.1 - Multiple Choice (Possible)
5 [email protected] staff 1 1 1 1 1 1 1 1 1
Result before applying fix:
Student ID Email Username Final Grade Type 36 1: Subsection 2.2 - Multiple Choice (Earned) Type 36 1: Subsection 2.2 - Multiple Choice (Possible) Type ZZ 1: Subsection 1.2 - Multiple Choice (Earned) Type ZZ 1: Subsection 1.2 - Multiple Choice (Possible) Type A 1: Subsection 2.1 - Multiple Choice (Earned) Type A 1: Subsection 2.1 - Multiple Choice (Possible) Type 1 1: Subsection 1.1 - Multiple Choice (Earned) Type 1 1: Subsection 1.1 - Multiple Choice (Possible)
5 [email protected] staff 1 1 1 1 1 1 1 1 1
Result after appyling fix:
Student ID Email Username Final Grade Type 1 1: Subsection 1.1 - Multiple Choice (Earned) Type 1 1: Subsection 1.1 - Multiple Choice (Possible) Type ZZ 1: Subsection 1.2 - Multiple Choice (Earned) Type ZZ 1: Subsection 1.2 - Multiple Choice (Possible) Type A 1: Subsection 2.1 - Multiple Choice (Earned) Type A 1: Subsection 2.1 - Multiple Choice (Possible) Type 36 1: Subsection 2.2 - Multiple Choice (Earned) Type 36 1: Subsection 2.2 - Multiple Choice (Po
edxapp@precise64:~/edx-platform$ rm common/test/db_cache/bok_choy_*
edxapp@precise64:~/edx-platform$ . scripts/reset-test-db.sh
Issuing a reset_db command to the default bok_choy MySQL database.
System check identified some issues:
WARNINGS:
wiki.ArticleRevision.ip_address: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
2016-05-06 15:30:28,297 INFO 32621 [root] reset_db.py:123 - Executing... "DROP DATABASE IF EXISTS `edxtest`"
2016-05-06 15:30:30,704 INFO 32621 [root] reset_db.py:125 - Executing... "CREATE DATABASE `edxtest` CHARACTER SET utf8"
edxapp@precise64:~/edx-platform$ paver test_bokchoy --testsonly
---> pavelib.bok_choy.test_bokchoy
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
Python uninstalls unchanged, skipping...
Python prereqs unchanged, skipping...
Running tests using split modulestore.
==> default:
==> default: TASK: [browsers | install browser debian packages] ****************************
==> default: changed: [localhost] => (item={'url': 'https://s3.amazonaws.com/vagrant.testeng.edx.org/google-chrome-stable_30.0.1599.114-1_amd64.deb', 'name': 'google-chrome-stable_30.0.1599.114-1_amd64.deb'})
==> default: failed: [localhost] => (item={'url': 'https://s3.amazonaws.com/vagrant.testeng.edx.org/firefox-mozilla-build_42.0-0ubuntu1_amd64.deb', 'name': 'firefox-mozilla-build_42.0-0ubuntu1_amd64.deb'}) => {"changed": true, "cmd": "gdebi -nq /tmp/firefox-mozilla-build_42.0-0ubuntu1_amd64.deb", "delta": "0:00:00.738957", "end": "2016-05-16 13:12:38.359037", "item": {"name": "firefox-mozilla-build_42.0-0ubuntu1_amd64.deb", "url": "https://s3.amazonaws.com/vagrant.testeng.edx.org/firefox-mozilla-build_42.0-0ubuntu1_amd64.deb"}, "rc": 1, "start": "2016-05-16 13:12:37.620080", "warnings": []}
==> default: stderr: This package is uninstallable
==> default: Breaks existing package 'firefox' that confli
edxapp@precise64:~/edx-platform$ ./manage.py lms --settings=devstack migrate bulk_email 0005
DEBUG:django.db.backends:(0.000) SET SQL_AUTO_IS_NULL = 0; args=None
System check identified some issues:
WARNINGS:
wiki.ArticleRevision.ip_address: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
DEBUG:django.db.backends:(0.000) SET SQL_AUTO_IS_NULL = 0; args=None
DEBUG:django.db.backends:(0.001)
SELECT column_name
edxapp@precise64:~/edx-platform$ paver test_system -t openedx/core/djangoapps/content/block_structure/tests/test_signals.py --disable-migrations
---> pavelib.tests.test_system
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
Python uninstalls unchanged, skipping...
Python prereqs unchanged, skipping...
---> pavelib.utils.test.utils.clean_reports_dir
==> default: TASK: [programs | install node dependencies] **********************************
==> default: failed: [localhost] => {"cmd": "/edx/app/programs/nodeenvs/programs/bin/npm install --production", "failed": true, "rc": 1}
==> default: stderr: npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
==> default: npm WARN deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead!
==> default: npm WARN prefer global [email protected] should be installed with -g
==> default: Cannot download "https://github.com/sass/node-sass/releases/download/v3.4.2/linux-x64-48_binding.node":
==> default:
==> default: HTTP error 404 Not Found
==> default:
======================================================================
ERROR: test_student_view_data_param (lms.djangoapps.course_api.blocks.tests.test_views.TestBlocksInCourseView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/lms/djangoapps/course_api/blocks/tests/test_views.py", line 207, in test_student_view_data_param
'student_view_data': self.BLOCK_TYPES_WITH_STUDENT_VIEW_DATA + ['chapter']
File "/edx/app/edxapp/edx-platform/lms/djangoapps/course_api/blocks/tests/test_views.py", line 72, in verify_response
response = self.client.get(url or self.url, self.query_params)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/test/client.py", line 500, in get
**extra)
edxapp@precise64:~/edx-platform$ ./manage.py lms --settings=devstack makemigrations grades
> /edx/app/edxapp/edx-platform/lms/djangoapps/grades/models.py(12)<module>()
-> class VisibleBlocksModel(models.Model):
(Pdb) w
/edx/app/edxapp/edx-platform/manage.py(112)<module>()
-> startup.run()
/edx/app/edxapp/edx-platform/lms/startup.py(54)run()
-> django.setup()
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/__init__.py(18)setup()
-> apps.populate(settings.INSTALLED_APPS)