Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cannot install on dogwood #3

Open
vijay85 opened this issue May 6, 2016 · 6 comments
Open

I cannot install on dogwood #3

vijay85 opened this issue May 6, 2016 · 6 comments

Comments

@vijay85
Copy link

vijay85 commented May 6, 2016

I get following error while trying to run pip install

pip install .

Could not find any downloads that satisfy the requirement xblock-utils (from edx-gea==0.1)
No distributions at all found for xblock-utils (from edx-gea==0.1)

I have cloned at /edx/app/edxapp, is there something i didnt follow correct?

@rmoch
Copy link
Contributor

rmoch commented May 6, 2016

Hi
You can manually install xblock-utils from this edX repository: https://github.com/edx/xblock-utils
but it should be a default dependancy in edxapp's virtual env
Therefore we did not test xblock-gea on dogwood because we are still using Cypress for a few month, let us know if it works.

@vijay85
Copy link
Author

vijay85 commented May 6, 2016

Hello,

Thanks for the quick reply.

After installeding xblock-utils, i could install gea xblock. I enabled in cms/envs/common.py and lms/envs/common.py and advanced module of the course, it doesnt show up in studio when I am trying to add a component in advanced. Should it be throwing logs somewhere?

Also, I installed at the base path /edx/app/edxapp/
I couldnt install either of xblock utils or gea inside of edxapp venv.

Did i miss something?

@rmoch
Copy link
Contributor

rmoch commented May 6, 2016

You also have to add 'edx_gea' to INSTALLED_APPS in lms and cms settings

@vijay85
Copy link
Author

vijay85 commented May 6, 2016

I added in INSTALLED_APPS, now my lms and cms refuse to start. logs say:
ImportError: No module named edx_gea

i installed cloned git at following location:
/edx/app/edxapp/edx-gea

is edx looking for edx-gea somewhere else?

@vijay85
Copy link
Author

vijay85 commented May 7, 2016

Hello,

I reverted yesterday's changes, thanks to vm image and tried installing in edxapp env. i didnt have to install xblock thing, u were right in earlier post. but after installing gea successfully, lms and cms are throwing bunch of errors:

2016-05-07 00:11:07,174 WARNING 17447 [py.warnings] base.py:116 - /edx/app/edxapp/edx-platform/openedx/core/djangoapps/content/course_overviews/models.py:488: RemovedInDjango19Warning: Model class openedx.core.djangoapps.content.course_overviews.models.CourseOverviewTab doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
class CourseOverviewTab(models.Model):

and 10s of other model class(es) and it ends at:

"The translation infrastructure cannot be initialized before the "

django.core.exceptions.AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready. Check that you don't make non-lazy gettext calls at import time.

@rmoch
Copy link
Contributor

rmoch commented May 7, 2016

Warnings logs are not real errors, just ignore theme.

The second issue is pretty clear, but you'll have to understand how internalization works in Django
I'll say, probably a dependancy is not using required gettext_lazy in its initialization code...
After a quick look, this is done right in gea.
Sorry I can help further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants