officedev / xblock-officemix Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello all,
I tried installed officemix xblock to OpenEdX following the guide. The installation says it completed successfully. But I don't see officemix option in Advanced menu even after adding it to the advanced modules list.
Here is the log which may be useful -
ubuntu@garuda:/edx/app/edxapp$ sudo su edxapp -s /bin/bash
edxapp@garuda:~$ cd /edx/app/edxapp/
edxapp@garuda:~$ git clone https://github.com/beacloudgenius/xblock-officemix.git
Cloning into 'xblock-officemix'...
remote: Counting objects: 57, done.
remote: Total 57 (delta 0), reused 0 (delta 0), pack-reused 57
Unpacking objects: 100% (57/57), done.
Checking connectivity... done.
edxapp@garuda:~$ cd xblock-officemix/
edxapp@garuda:~/xblock-officemix$ exit
exit
ubuntu@garuda:/edx/app/edxapp$ cd xblock-officemix/
ubuntu@garuda:/edx/app/edxapp/xblock-officemix$ sudo pip install -r requirements.txt
Obtaining file:///edx/app/edxapp/xblock-officemix (from -r requirements.txt (line 3))
Running setup.py (path:/edx/app/edxapp/xblock-officemix/setup.py) egg_info for package from file:///edx/app/edxapp/xblock-officemix
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): XBlock in /usr/local/lib/python2.7/dist-packages (from xblock-officemix==0.1->-r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/local/lib/python2.7/dist-packages (from XBlock->xblock-officemix==0.1->-r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): webob in /usr/local/lib/python2.7/dist-packages (from XBlock->xblock-officemix==0.1->-r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): pytz in /usr/local/lib/python2.7/dist-packages (from XBlock->xblock-officemix==0.1->-r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python2.7/dist-packages (from XBlock->xblock-officemix==0.1->-r requirements.txt (line 3))
Installing collected packages: xblock-officemix
Running setup.py develop for xblock-officemix
Creating /usr/local/lib/python2.7/dist-packages/xblock-officemix.egg-link (link to .)
Removing xblock-officemix 0.1 from easy-install.pth file
Adding xblock-officemix 0.1 to easy-install.pth file
Installed /edx/app/edxapp/xblock-officemix
Successfully installed xblock-officemix
Cleaning up...
ubuntu@garuda:/edx/app/edxapp/xblock-officemix$ cd /edx/app/edxapp
ubuntu@garuda:/edx/app/edxapp$ sudo -u edxapp /edx/bin/pip.edxapp install xblock-officemix/
The directory '/home/ubuntu/.cache/pip/log' or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
You are using pip version 6.0.8, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
Processing ./xblock-officemix
Requirement already satisfied (use --upgrade to upgrade): XBlock in ./venvs/edxapp/src/xblock (from xblock-officemix==0.1)
Requirement already satisfied (use --upgrade to upgrade): lxml in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-officemix==0.1)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-officemix==0.1)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-officemix==0.1)
Requirement already satisfied (use --upgrade to upgrade): pytz in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-officemix==0.1)
Requirement already satisfied (use --upgrade to upgrade): webob in ./venvs/edxapp/lib/python2.7/site-packages (from XBlock->xblock-officemix==0.1)
Requirement already satisfied (use --upgrade to upgrade): six in ./venvs/edxapp/lib/python2.7/site-packages (from python-dateutil->XBlock->xblock-officemix==0.1)
Installing collected packages: xblock-officemix
Running setup.py install for xblock-officemix
Successfully installed xblock-officemix-0.1
Any help is appreciated.
Thanks,
Y
I setup edX in vagrant virtualbox using production setup instructions from edX git repo then I cloned this repo
vagrant ssh
cd ~
git clone https://github.com/OfficeDev/xblock-officemix.git
cd xblock-officemix
pip install -r requirements.txt
failed so I tried
sudo pip install -r requirements.txt
Then I enabled in studio as described at
https://github.com/OfficeDev/xblock-officemix/blob/master/README.md#enabling-in-studio
However, I do not see OfficeMix when I select advanced as described https://github.com/OfficeDev/xblock-officemix/blob/master/README.md#usage
Q1. What am I missing?
Q2. Is ~/
the correct location to clone?
Q3. Is the master correct brand to pull from? I do not see any release or stable marking or others tags in the git repo yet.
Q4. Is virtualenv
usage expected? This vagrantbox with edx gets deployed with virtualenv
already but your documentation is silent so I was not sure. If so, how do I set up so that officemix can be deployed correctly in the edX?
This repository has had no activity for more than 2 years. Long periods of inactivity present security and code hygiene risks. Archiving will not prevent users from viewing or forking the code. A banner will appear on the repository alerting users that the repository is archived.
Please see https://aka.ms/sunsetting-faq to learn more about this process.
✍️
❗**If this repository is still actively maintained, please simply close this issue. Closing an issue on a repository is considered activity and the repository will not be archived.🔒
If you take no action, this repository is still inactive 30 days from today it will be automatically archived..
I reviewed this XBlock in my devstack and noticed that there is no title
attribute on the <iframe />
element. The title
attribute serves as the accessible label for an <iframe />
which gets presented to screen reader users when they navigate to the embed or when they list embedded elements or other navigable blocks/region on a page. I think it would be sufficient to use the "Component Display Name" as the value of the title
attribute for this XBlock. It would also be helpful to reference this in the help text for "Component Display Name" i.e.
"The name students see. This name appears in the course ribbon, as the accessible label, and as a header for the video."
More info:
Important: Office Mix was retired on May 1, 2018. For more help, please read the article below.
Is this xblock Deprecated ? Getting this error message: "This mix is not available to watch here. Please try on Office Mix website."
We have found several instances in Open Edx when the xblock failed to play the video and crashed instead. Can you suggest what might be the reason? It is working fine on the same browser in other machines but crashed on others' machines. This is happened atleast 5-6 times in the past few weeks. Thanks. Please find the screenshot attached.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.