OfficeDev / xblock-officemix

MIT License
10 stars 9 forks source link

Installation successful but no Officemix in Advanced Menu #10

Open yugandhar91 opened 8 years ago

yugandhar91 commented 8 years ago

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

kurtb commented 8 years ago

The above looks good. Did you restart the edx services after doing the install?

yugandhar91 commented 8 years ago

Hello kurtb,

Yes, I restarted all edx services, nginx and also tried the whole server reboot. It still didn't show up.

Thanks for helping out.

Y

jbird6018 commented 7 years ago

Any resolution to this issue? I am having the same problem

yugandhar91 commented 7 years ago

@jbird6018 - Sorry, I couldn't solve this issue. I'm no longer working on Open edX. May be @kurtb can assist you.

jbird6018 commented 7 years ago

Thanks. Hopefully @kurtb has a solution

jbird6018 commented 7 years ago

@kurtb It would be nice if the Installation instructions were step by step from start to finish for us newbies to Linux and open edx.

I did get it to work thanks in part to your screen printout above. I was missing the second command sudo -u edxapp /edx/bin/pip.edxapp install xblock-officemix/

I also pulled from IONISx fork. Not sure that made a difference.

trainingcity commented 7 years ago

Running into the same problem with all XBlocks. Complete newbie. Is there any instruction sheet out there for installing XBlocks in Open Edx production?