vagrant@precise64:~$ cd /edx/app/edxapp
vagrant@precise64:/edx/app/edxapp$ sudo -u edxapp git clone https://github.com/open-craft/problem-builder.git
vagrant@precise64:/edx/app/edxapp$ sudo -u edxapp /edx/bin/pip.edxapp install problem-builder/Processing ./problem-builder
Requirement already satisfied (use --upgrade to upgrade): XBlock in ./venvs/edxapp/src/xblock (from xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): xblock-utils in ./venvs/edxapp/src/xblock-utils (from xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): lxml in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): pytz in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): webob in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use --upgrade to upgrade): six in ./venvs/edxapp/lib/python2.7/site-packages (from python-dateutil->XBlock->xblock-problem-builder==2.0)
Installing collected packages: xblock-problem-builder
Running setup.py install for xblock-problem-builder
Successfully installed xblock-problem-builder-2.0vagrant@precise64:/edx/app/edxapp$ sudo /edx/bin/supervisorctl restart edxapp:*Settings -> Advanced Settings and set advanced_modules to[
"annotatable",
"videoalpha",
"openassessment",
"oppia",
"problem-builder",
"step-builder"
]Hi,I, earlier too had problem installing problem-builder xblock.Today I tried installing oppia and problem-builder xblock from this documentation in devstack and succeeded. Both problem-builder and oppia were showing in Advanced tab inside unit.However, when re-tried installing both oppia and problem-builder in fullstack using this documentation, only oppia was showing up in Advanced tab, problem-builder was again not showing up. (see attached screenshot)I cannot figure out what I'm still missing.We are struggling in installing it from a very long time and any help would be greatly appreciated.Thanks.-PrashantPS:FYKI, below are commands I executed:vagrant@precise64:~$ cd /edx/app/edxapp
vagrant@precise64:/edx/app/edxapp$ sudo -u edxapp git clone https://github.com/open-craft/problem-builder.git
vagrant@precise64:/edx/app/edxapp$ sudo -u edxapp /edx/bin/pip.edxapp install problem-builder/Output of above install command:
Processing./problem-builder
Requirement already satisfied (use--upgrade to upgrade):XBlockin./venvs/edxapp/src/xblock (from xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): xblock-utils in./venvs/edxapp/src/xblock-utils (from xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): lxml in./venvs/edxapp/lib/python2.7/site-packages (fromXBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): markupsafe in./venvs/edxapp/lib/python2.7/site-packages (fromXBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): python-dateutil in./venvs/edxapp/lib/python2.7/site-packages (fromXBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): pytz in./venvs/edxapp/lib/python2.7/site-packages (fromXBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): webob in./venvs/edxapp/lib/python2.7/site-packages (fromXBlock->xblock-problem-builder==2.0)
Requirement already satisfied (use--upgrade to upgrade): six in./venvs/edxapp/lib/python2.7/site-packages (from python-dateutil->XBlock->xblock-problem-builder==2.0)
Installing collected packages: xblock-problem-builder
Running setup.py install for xblock-problem-builder
Successfully installed xblock-problem-builder-2.0
Finally, rebooted using:vagrant@precise64:/edx/app/edxapp$ sudo /edx/bin/supervisorctl restart edxapp:*Then changedSettings -> Advanced Settingsand setadvanced_modulesto[
"annotatable",
"videoalpha",
"openassessment",
"oppia",
"problem-builder",
"step-builder"
]
--You received this message because you are subscribed to the Google Groups "Open edX operations" group.To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/fe5e63e3-5ffd-467c-845d-f21868efffa4%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.Email had 1 attachment:
Screenshot from 2015-12-16 16:50:33.png33k (image/png)
sudo su edxapp -s /bin/bash
cd ~
source edxapp_env
python /edx/app/edxapp/edx-platform/manage.py cms syncdb --migrate --settings=aws
Running migrations for problem_builder:
- Migrating forwards to 0003_auto__add_share__add_unique_share_shared_by_shared_with_block_id.
> problem_builder:0001_initial
> problem_builder:0002_copy_from_mentoring
- Migration 'problem_builder:0002_copy_from_mentoring' is marked for no-dry-run.
FATAL ERROR - The following SQL query failed: INSERT INTO problem_builder_answer (name, student_id, course_id, student_input, created_on, modified_on ) SELECT name, student_id, course_id, student_input, created_on, modified_on FROM mentoring_answer
The error was: (1146, "Table 'edxapp.mentoring_answer' doesn't exist")
- Seems like mentoring_answer does not exist. No data migration needed.
> problem_builder:0003_auto__add_share__add_unique_share_shared_by_shared_with_block_id
- Loading initial data for problem_builder.
Installed 0 object(s) from 0 fixture(s)Hi Xavier,Thank you for your reply.Yes, /edx/var/log/cms/edx.log is showing some errors related to problem-builder. I've attached snippet of that log file.Running migration using below commandssudo su edxapp -s /bin/bash
cd ~
source edxapp_env
python /edx/app/edxapp/edx-platform/manage.py cms syncdb --migrate --settings=awsgave following FATAL_ERROR related to problem_builder:
Running migrations for problem_builder:
-Migrating forwards to 0003_auto__add_share__add_unique_share_shared_by_shared_with_block_id.
> problem_builder:0001_initial
> problem_builder:0002_copy_from_mentoring
-Migration'problem_builder:0002_copy_from_mentoring'is marked forno-dry-run.
FATAL ERROR -The following SQL query failed: INSERT INTO problem_builder_answer (name, student_id, course_id, student_input, created_on, modified_on ) SELECT name, student_id, course_id, student_input, created_on, modified_on FROM mentoring_answer
The error was:(1146,"Table 'edxapp.mentoring_answer' doesn't exist")
-Seems like mentoring_answer does not exist.No data migration needed.
> problem_builder:0003_auto__add_share__add_unique_share_shared_by_shared_with_block_id
-Loading initial data for problem_builder.
Installed0object(s)from0 fixture(s)
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/ad2fcfff-562b-4168-95ef-357bf16e6a53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.Email had 1 attachment:
edx.log445k (application/octet-stream)
sudo /edx/bin/supervisorctl restart edxapp:
sudo /edx/bin/supervisorctl restart edxapp_worker:
sudo /edx/bin/supervisorctl restart edxapp:*...
entry_points={
'xblock.v1': [
'personalitytest = personalitytest.personalitytestblock:PersonalityTestXBlock',
]
entry_points={
'xblock.v1': [
'poll = poll:PollBlock',
'survey = poll:SurveyBlock',
]
entry_points={
'xblock.v1': [
'google-document = google_drive:GoogleDocumentBlock',
'google-calendar = google_drive:GoogleCalendarBlock'
]entry_points={
'xblock.v1': BLOCKS,
}
...
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/4ecf7ebe-7e45-4e4b-919f-303f1e1c60ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Email had 2 attachments:
Error - Long Answer.png216k (image/png)problem builder - other question types.png198k (image/png)
...
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/dde3a741-1049-4981-8117-5a6e8cdab07f%40googlegroups.com.
------------------------------------------------------------
/usr/local/bin/pip run on Thu Dec 31 08:34:35 2015
Cannot uninstall requirement xblock-utils, not installed
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip/commands/uninstall.py", line 59, in run
requirement_set.uninstall(auto_confirm=options.yes)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1035, in uninstall
req.uninstall(auto_confirm=auto_confirm)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 505, in uninstall
raise UninstallationError("Cannot uninstall requirement %s, not installed" % (self.name,))
UninstallationError: Cannot uninstall requirement xblock-utils, not installed...
...
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/9fcdf89e-32ff-4441-bcce-91682be7bdfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.Email had 1 attachment:
Problem-builder - Long Answer.png88k (image/png)
...
--You received this message because you are subscribed to the Google Groups "Open edX operations" group.To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/8493bb53-2a48-4184-b748-04f30c8ed816%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.Email had 1 attachment:
problem-builder screenshot - 2.png126k (image/png)
...
--You received this message because you are subscribed to the Google Groups "Open edX operations" group.To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/05ca6185-a567-4801-9ecd-a27c5d34dc44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.Email had 1 attachment:
problem-builder css error- screencast.mp42.8M (video/mp4)
...
--You received this message because you are subscribed to the Google Groups "Open edX operations" group.To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/42a67f8a-fa4e-440c-9bc8-0af6ad97fedb%40googlegroups.com.
...
...
--You received this message because you are subscribed to the Google Groups "Open edX operations" group.To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/6c02c99c-4ad5-43a4-9899-e27cb5c8aa17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Email had 2 attachments:
problem builder error 1.png116k (image/png)problem builder error 2.png101k (image/png)
//localhost/xblock/resource/pb-answer/public/css/answer.css /static/xblock/resources/problem_builder.answer/public/css/answer.csspython manage.py lms --settings=aws collectstatic --noinput
python manage.py cms --settings=aws collectstatic --noinput"SITE_NAME": "localhost:18000",
"SITE_NAME": "localhost:18010",
OperationalError: (1044, "Access denied for user 'edxapp001'@'localhost' to database 'edxapp_csmh'")Requirement<span style="color:rgb