Wednesday, January 18, 2017

Re: Edx LDAP Auth setting

Hi Yip,

Thanks for your Instruction.

While trying to update the database record like you explained on step 16. I got some error messages. 
Im not so familar with that django and python stuff.

Im going to give a description of my errors. I hope someone can help me. 

I am using the following Fullstack Version in a Vagrantbox:

Eucalyptus.1

2016-08-26
open-release/eucalyptus.1
f
After finishing all steps I try to update the database record with:  paver update_db --settings=aws

Then i got following message:

/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django_auth_ldap/backend.py", line 55, in <module>
    from django.db import *
AttributeError: 'module' object has no attribute 'backend'

I try to fix the issue with changing 
from django.db import *
to 
from django.db import models

I try it again and after that following error was printed:

  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/registry.py", line 131, in check_models_ready
    raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.

My question now is:

With which OpenEdX version was it working for you.
Have you set the THIRD_PARTY_AUTHENTICATION variable in the lms.env.json to true?

If you need more information just let me know.

Best regards
F.D.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ca9dc9e-0109-4ac1-9ac8-b8c85e73ee2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment