Closed ayernitin closed 6 years ago
Hi @ayernitin, thanks for reaching out.
I don't think we've noticed this issue on our end (CC: @caesar2164),
though we do install the XBlock differently.
We install by referencing the package in one of our requirements.txt
files [1].
That said, you don't mention any errors during installation, so that doesn't seem likely to be issue.
I'm assuming you added invideoquiz
to your Advanced Components
list in Studio?
Beyond that, there is additional setup needed to configure when/which problems should be loaded. I notice that this isn't well documented in the github repo (CC: @caesar2164, we should do this). However, we do have additional documentation available in our publicly accessible demo course [2].
Take a look and see if that helps!
[1] https://github.com/Stanford-Online/edx-platform/blob/master/requirements/edx/stanford.txt#L12 [2] https://lagunita.stanford.edu/courses/StanfordOnline/OpenEdX/Demo/courseware/Videos/90c25286036641efb04d140a3a563aea/
Hi @ayernitin,
I concur with @stvstnfrd about looking at our demo course to see if you've set up the in-video quizzes correctly.
I have tested it with Gingko2. The problem is that installing xblock-in-video-quiz by cloning the repo and running "pip install -r requirements.txt" (as it is suggested in installation section) breaks the system. In addition, below is the Apache error log:
[Thu Jan 25 23:14:57.489855 2018] [:error] [pid 7987] [remote xx.xx.xx.xxx:0] mod_wsgi (pid=7987): Target WSGI script '/opt/bitnami/apps/edx/edx-platform/lms/bitnami_wsgi.py' cannot be loaded as Python module.
[Thu Jan 25 23:14:57.489889 2018] [:error] [pid 7987] [remote xx.xx.xx.xxx:0] mod_wsgi (pid=7987): Exception occurred processing WSGI script '/opt/bitnami/apps/edx/edx-platform/lms/bitnami_wsgi.py'.
[Thu Jan 25 23:14:57.489918 2018] [:error] [pid 7987] [remote xx.xx.xx.xxx:0] Traceback (most recent call last):
[Thu Jan 25 23:14:57.489942 2018] [:error] [pid 7987] [remote xx.xx.xx.xxx:0] File "/opt/bitnami/apps/edx/edx-platform/lms/bitnami_wsgi.py", line 30, in
@ayernitin We're currently running the ficus
release, so it's possible there are version mismatches.
We'll be upgrading to ginkgo
shortly, so we'll keep you posted if we run into this issue.
In the interim, I'm going to close this for right now.
Thanks for the feedback!
Hi @stvstnfrd I have also tried to install this XBlock in Ficus.4 and I get the same error that @llasha . I clone the repo in /edx/app/edxapp/xblocks and with edxapp user and my venv activated, I execute pip install -r requirements.txt and I've got this error:
==> /edx/var/log/supervisor/lms_default_1-stderr.log <==
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/manage.py", line 111, in
@AlexLegon @stvstnfrd After installing xblock in my ironwood setup, lms and cms failed to start. could you please help to resolve this.
Hi @sumeshiit @AlexLegon @ayernitin @llasha Sadly, the Stanford Lagunita project has been shutdown.
Luckily, this XBlock has been picked up provisionally by edx; you may have better luck with this version:
Hi, When i ran the command : sudo pip install -r /home/edx/edx-xblock-in-video-quiz/requirements.txt
Than i ran this command:
sudo -u edxapp /edx/bin/pip.edxapp install /home/edx/edx-xblock-in-video-quiz/
Which I use to install other XBlocks such as UBCPI, it installed the XBlock I can see the Xblock appear in Advance components in CMS.
The issue is after configuring the XBlock when I play the video in LMS the quiz doesn't load.
I am running the FIcus.4
Am I doing anything wrong or am I missing something?
Thanks.