By: Patrik Pilisi user 03 Aug 2018 at 12:02 p.m. CDT

9 Responses
Patrik Pilisi gravatar
Hi, I have a problem to execute migrations. I have configured gluru server according to https://github.com/GluuFederation/gluru . When I run command 'python manage.py makemigrations' then get error "ImportError: No module named gluu_oxd". I don`t find this module with "pip search gluu_oxd" I installed module oxdpython but I get the same error. We have a dedicated VM, where we are installing gluru and connecting it with other dependencies (DB, Gluu server, ...) over network where each component runs in a dedicated VM. We have made sure that we have installed the same version of dependecies as in the documentation (python 2.7.6, mysql 5.6, redis 2.1, pip 18.0) best regards, Patrik

By Usman Ashraf staff 08 Aug 2018 at 12:52 p.m. CDT

Usman Ashraf gravatar
Hey Patrik, Just confirming that I have seen your query. I will investigate it and get back to you with my findings. Regards, Usman

By Usman Ashraf staff 13 Aug 2018 at 8:33 a.m. CDT

Usman Ashraf gravatar
Hey, I have updated the Gluru repository with the latest changes so ideally now you might not face these issues. Let me know incase of any issues. Regards, Usman

By Patrik Pilisi user 14 Aug 2018 at 6:11 a.m. CDT

Patrik Pilisi gravatar
Hi Usman, I have problem to create venv, when I run command “virtualenv venv” then get error: ImportError: /usr/lib64/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString I run this command with python path “virtualenv -p /usr/local/bin/python2.7 venv” then get same error. Which version of python you use? Best regards, Patrik

By Usman Ashraf staff 15 Aug 2018 at 5:25 a.m. CDT

Usman Ashraf gravatar
Hey Patrik, I have reviewed your comments, will get back to you shortly. Regards, Usman

By Usman Ashraf staff 15 Aug 2018 at 7:49 a.m. CDT

Usman Ashraf gravatar
Hey Patrik, I am using 2.7 version of python. According to your error message it seems like you have two different versions of python installed. Can you please provide me some more details on error message so that I can further investigate this issue? Regards, Usman

By Patrik Pilisi user 21 Aug 2018 at 6 a.m. CDT

Patrik Pilisi gravatar
Hi Usman, I fixed this error, but then I have this error: ImportError: No module named fields. Which module I must install for fixing this error, because I install this modules: pip install captcha pip install fields pip install django-fields pip install django-tagging pip install python-fields and I get same error.

By Usman Ashraf staff 27 Aug 2018 at 2:15 a.m. CDT

Usman Ashraf gravatar
Hey Patrik, Let me review this and I will get back to you. Regards, Usman

By Usman Ashraf staff 28 Aug 2018 at 8:02 a.m. CDT

Usman Ashraf gravatar
Hey Patrik, Please download the attached file requirements.txt and run this command "pip install -r requirements.txt". Hopefully your issue will be resolved now. Regards, Usman

By Patrik Pilisi user 18 Sep 2018 at 7:50 a.m. CDT

Patrik Pilisi gravatar
Hi Usman, I downloaded requirements.txt and I run "pip install -r requirements.txt" When I run "python manage.py makemigrations" then get error: ImportError: No module named celery. My requirements are in attached file myRequirements.txt I search celery and get more celery packages. Which celery package must it installed? Best regards, Patrik myRequirements.txt: https://drive.google.com/open?id=1ZjV2Z_PvRQrsbLmmWSlrmlZeLDB_HmHh