Developing the "OCL for OpenMRS" Application

(Muhozi Emery) #364

Here I was trying to run the application by running the following command: python2 ocl_web/ runserver

After finding that raven package was missing, I installed it and the application is running but whenever I try to perform an action like signup, I get the following error:

CC: @dkayiwa @michy @ianduncan @sheriff @abulojoshua1 @ball @rotimi @daramola98 @tittoh @desmond @raff

(Muhozi Emery) #365

@raff any help on this?

(Rafal Korytkowski) #366

@muhozi, please follow

Of course you can develop without docker-compose, but we cannot provide guidance.

(Ian Duncan Abidha) #367

Hello Community,

We are about to finish 11th sprint of OCL for OpenMRS, and we are looking to demonstrate what has been during this sprint.

We’ll appreciate your availability and hear from you about what has been done. So, we’re requesting you to vote for the demo day. Please vote the demo here

For what we have been working during this sprint, check the following resources:

11th Sprint of OCL for OpenMRS Announcement

11th Sprint of OCL for OpenMRS Wiki Page

CC: @darius @akanter @dkayiwa @muhozi @sheriff @abulojoshua1 @collinewait @stonecoder @desmond @tittoh

(Titus Kipkemboi) #368


I am having a blocker on a ticket I am working on. I am unable to remove/retire a concept mapping because of CORS policy. Here are the screenshots

@dkayiwa @darius @muhozi @akanter @sheriff @abulojoshua1 @collinewait @stonecoder @ianduncan @desmond @raff

(John Joshua Abulo) #369

Hey @Tittoh, as I had explained in an old issue, when I was working on deleting a concept, I realized the HTTP delete method is not working on the application irrespective of route. When I looked at the config file used, all looks good, I was thinking of them redeploying on AWS but the process was long, @muhozi, seems to have managed to run the backend, you can reach out to him and you guys work on the CORS issue

(Ian Duncan Abidha) #370

Hello Community,

Thanks to everyone who voted for the demo day. The time voted for the Demo of eleventh Sprint is Tuesday, 27th November from 5:00 PM to 6:00 PM EAT. The calendar event has been created.

CC: @darius @akanter @dkayiwa @muhozi @sheriff @abulojoshua1 @collinewait @stonecoder @desmond @tittoh @c.antwi

(Muhozi Emery) #371

Hello Community,

The OCL for OpenMRS Concept lab API seems to have issues. The login endpoint ( is returning 404(Page not found error). And access to the other endpoints returns 401(Unauthorized access)

This is blocking the front end team to keep working.

@dkayiwa @ianduncan sheriff @abulojoshua1 @collinewait @stonecoder @desmond @tittoh @cintiadr @raff

(Titus Kipkemboi) #372

I believe this is the cause. News from ci: OCL-OUT-135 has FAILED : Manual run by Daniel Kayiwa

This was at 19:04 (GMT +3)

(Rafal Korytkowski) #373

@muhozi thanks for reporting. I’m on that.

(Ellen Ball) #374

Unfortunately I cannot join tomorrow’s demo, but would appreciate notes or a recording.

Hopefully there will be a session to discuss OCL next week in Nairobi.

(Rafal Korytkowski) #375

@muhozi, it should be fixed now. We’ve started resetting the DB on each redeploy on QA. It means all user accounts are deleted periodically. If you do not want to recreate a user account, you can always use admin:Admin123.

(Cintia Del Rio) #376

Searching by ‘CORS’ in talk, one of the first hits is this one.

This is the answer of how I implemented it:

I made it available for PUT, GET and POST, as requested.

I can add to DELETE too, while I’m not sure if the backend is prepared to receive it.

(Muhozi Emery) #377

@raff The issue is still the same. The login endpoint is returning 404

(Ian Duncan Abidha) #378

Hello Community,

I would like to remind you that the eleventh sprint demo will start in next 15min, you can join the demo using the following Google hangout link:

CC: @darius @akanter @dkayiwa @ianduncan @sheriff @abulojoshua1 @muhozi @desmond @tittoh

(Muhozi Emery) #379

@raff it’s working now. Thanks.

(Rafal Korytkowski) #380

Yes, please go ahead! We should be already accepting it on the backend side.

(Andrew Kanter) #381

Please post a link to the recording when you can :slight_smile:

(Titus Kipkemboi) #382

The DELETE method is still returning a CORS error. Is anyone looking into it? @raff

(Ian Duncan Abidha) #383

Thanks for everyone who attended the eleventh sprint demo. For those who were not able to attend the demo call here is the video record:

CC: @darius @akanter @dkayiwa @muhozi @sheriff @abulojoshua1 @collinewait @stonecoder @desmond @tittoh @c.antwi