Developing the "OCL for OpenMRS" Application

Here I was trying to run the application by running the following command: python2 ocl_web/manage.py 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

@raff any help on this?

@muhozi, please follow https://github.com/OpenConceptLab/ocl_web#development

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

2 Likes

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

Hello,

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

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

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

Hello Community,

The OCL for OpenMRS Concept lab API seems to have issues. The login endpoint (https://api.qa.openconceptlab.org/users/login/) 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

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

This was at 19:04 (GMT +3)

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

1 Like

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.

@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.

1 Like

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.

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

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:

https://hangouts.google.com/hangouts/_/kzauublkp5hatn45on63vx4qtye

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

@raff it’s working now. Thanks.

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

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

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

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:

https://youtu.be/nCXasWQFndc

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