IRC Chat : 2014-01-01 - OpenMRS

00:04:12 *** Mkop has quit IRC
01:17:29 *** dkithmal has joined #openmrs
01:21:18 *** wluyima has joined #openmrs
01:54:23 *** dkithmal has quit IRC
02:17:11 <OpenMRSBot> Recent updates in the world of openmrsci: SON-OPENMRSCOREMASTER-103 has FAILED (1 tests failed) : Scheduled build <https://ci-stg.openmrs.org/browse/SON-OPENMRSCOREMASTER-103>
02:44:57 *** robbyoconnor has quit IRC
02:45:23 *** robbyoconnor has joined #openmrs
02:45:24 *** ChanServ sets mode: +v robbyoconnor
03:30:57 *** Shangeetha has joined #openmrs
03:33:46 *** wluyima has quit IRC
03:34:20 <Shangeetha> @downey :Hi
03:34:48 <Shangeetha> @downey: We have to declare spring 2.5 framework to make it compatible for our module
03:34:52 <Shangeetha> DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.5//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.5.dtd
03:35:52 <Shangeetha> it says URI is not registered can anyone please help us to solve this?
04:03:13 *** Shangeetha has quit IRC
04:54:09 *** harshadura has joined #openmrs
04:54:10 *** ChanServ sets mode: +v harshadura
06:49:09 <downey> Happy new year, OpenMRS!
07:51:38 *** dkayiwa has joined #openmrs
08:07:33 *** Shangeetha has joined #openmrs
08:08:56 <Shangeetha> dkayiwa: Hi
08:09:03 <dkayiwa> Shangeetha: hi
08:09:40 <Shangeetha> dkayiwa: for radiology module we are using, we have to convert spring framework version from 3.0 to 2.5
08:09:53 <dkayiwa> Shangeetha: why?
08:10:07 <Shangeetha> dkayiwa: In coversion process, we are changing tags to 2.5
08:10:45 <Shangeetha> dkayiwa: Because hispindia core and modules are using spring 2.5
08:11:20 <Shangeetha> dkayiwa: While changing dtd tag of <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 2.5//EN" "http://hibernate.sourceforge.net/hibernate-configuration-2.5.dtd">
08:11:25 <dkayiwa> Shangeetha: ok
08:11:50 <Shangeetha> dkayiwa: It says URI is not configured
08:12:05 <Shangeetha> dkayiwa: What are we doing wrong here?
08:14:24 <dkayiwa> Shangeetha: is that module on github?
08:15:23 <Shangeetha> dkayiwa: Yeah
08:15:42 <Shangeetha> dkayiwa: But we have not updated github after changing tags
08:17:04 <Shangeetha> dkayiwa: https://github.com/Shangeetha12/radiology
08:18:57 <Shangeetha> dkayiwa: https://github.com/Shangeetha12/radiology/blob/master/omod/src/test/resources/test-hibernate.cfg.xml
08:19:21 <Shangeetha> dkayiwa: This xml does not allow changes in tags
08:19:57 <dkayiwa> Shangeetha: if i checked out the module, will i see the same error?
08:20:47 <Shangeetha> dkayiwa: No because we have not updated git repo, Just give me time, we will update now
08:37:09 <Shangeetha> dkayiwa: Updated https://github.com/Shangeetha12/radiology
08:40:04 <dkayiwa> Shangeetha: so what are the steps to reproduce?
08:42:44 <Shangeetha> dkayiwa: reproduce means? Sorry i cannot understand what you are asking
08:43:27 <dkayiwa> Shangeetha: how do i see the error?
08:44:12 <Shangeetha> dkayiwa: You can clone and load into IntelliJ IDE then it will show these in red
08:44:43 <dkayiwa> Shangeetha: oh i see.
08:44:53 <dkayiwa> Shangeetha: does mvn clean install succeed?
08:44:59 <Shangeetha> dkayiwa: https://github.com/Shangeetha12/radiology/blob/master/omod/src/main/resources/Radiology.hbm.xml
08:46:15 <Shangeetha> dkayiwa: omod/src/main/resources/Radiology.hbm.xml and omod/src/test/resources/test-hibernate.cfg.xml
08:46:44 <Shangeetha> dkayiwa: These two xml files show uri is not registered, or else i can paste screen shot of it
08:47:02 <dkayiwa> Shangeetha: does mvn clean install succeed?
08:47:11 <Shangeetha> dkayiwa: Yeah succeeded
08:47:25 <dkayiwa> Shangeetha: then you can ignore those errors for now
08:48:00 <Shangeetha> dkayiwa: Ok sure. Wont they cause future problems?
08:48:16 <dkayiwa> Shangeetha: i do not think so
08:49:23 <Shangeetha> dkayiwa:It is giving Unable to refresh the WebApplicationContext
08:49:32 <Shangeetha> dkayiwa: error when loading the omod to 1.8.4
08:50:14 <dkayiwa> Shangeetha: that is not the cause
08:51:43 <Shangeetha> dkayiwa: then what might be the cause? there is no error in catalina.out
08:52:55 <Shangeetha> dkayiwa: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formServiceTarget' while setting bean property 'target'; nested exception
08:53:16 <dkayiwa> Shangeetha: is the error only after your changes?
08:54:08 <Shangeetha> dkayiwa: Yeah
08:55:18 <Shangeetha> dkayiwa: sorry, there are many errors, after loading the module
08:55:40 <dkayiwa> Shangeetha: without your changes, does the module load?
08:56:26 <Shangeetha> dkayiwa: Yeah
08:56:39 <dkayiwa> Shangeetha: so what change did you make?
08:58:43 <Shangeetha> dkayiwa: Changing all spring framework tags to 2.5, previously it was 3.0
09:00:02 <dkayiwa> Shangeetha: why did you change them if it was working?
09:00:43 <Shangeetha> dkayiwa: Radiology module links get broken after loading hospital core module of hispindia
09:01:15 <Shangeetha> dkayiwa: So we thought that version mismatch in spring framework would be the reason and started changing tags
09:01:24 <dkayiwa> Shangeetha: did you confirm that this spring 3 is the cause of their breaking? or are you just guessing?
09:01:42 <Shangeetha> dkayiwa: it is a guess.
09:02:34 <dkayiwa> Shangeetha: i think it could be a wrong guess
09:03:04 <Shangeetha> dkayiwa: Ok then what might be reasons?
09:03:14 <dkayiwa> Shangeetha: for what?
09:03:53 <Shangeetha> dkayiwa: For radiology module stops working after loading hispindia core and registration module of them?
09:04:22 <dkayiwa> Shangeetha: stops with what error?
09:09:44 <Shangeetha> dkayiwa: could not open Hibernate session for transaction: nested exception is org.hibernate. exception.GenericJDBCException: Cannot open exception
09:10:09 <dkayiwa> Shangeetha: can you pastebin the entire log
09:11:18 <Shangeetha> dkayiwa: ok We will revert back those changes we did and take a fresh log now and pastebin you. Sorry for inconvenience :)
09:18:54 *** k-joseph has joined #openmrs
09:23:24 <Shangeetha> dkayiwa: Here you are http://pastebin.com/JSqzjcQC
09:24:03 <dkayiwa> Shangeetha: ok
09:24:59 <Shangeetha> dkayiwa: yeah
09:25:09 <dkayiwa> Shangeetha: are you using the official openmrs or a custom version
09:26:30 <Shangeetha> dkayiwa: Official one
09:26:51 <dkayiwa> Shangeetha: which version
09:27:01 <Shangeetha> dkayiwa: It seems hispindia hospital core does changes to openmrs core
09:27:05 <Shangeetha> dkayiwa: 1.8.4
09:27:25 <dkayiwa> Shangeetha: did you ask them why
09:27:52 <Shangeetha> dkayiwa: this is where we downloaded official war hivelocity.dl.sourceforge.net/project/openmrs/releases/OpenMRS_1.8.4/openmrs.war
09:28:18 <Shangeetha> dkayiwa: No it is our guess from what we see
09:28:36 <dkayiwa> Shangeetha: can u talk to them
09:29:45 <Shangeetha> dkayiwa: They are not replying to our mails.
09:29:55 <Shangeetha> dkayiwa: Do u have any known contacts?
09:30:02 <dkayiwa> Shangeetha: ok
09:31:09 <Shangeetha> dkayiwa: Is it solvable? Because our project is ending by end of january and we have our final year exams starting in february
09:31:31 <dkayiwa> Shangeetha: cant tell for now
09:31:31 <Shangeetha> dkayiwa: One of our project requirements is the radiology module.
09:31:43 <Shangeetha> dkayiwa: ok sure
09:44:18 <Shangeetha> dkayiwa: What shall we do for this exception? Is there any idea/solution?
09:51:14 <dkayiwa> Shangeetha: if i install the radiology module alone, does it give errors?
09:52:19 <Shangeetha> dkayiwa: No it will not give and the whole flow is working properly
09:52:29 <Shangeetha> dkayiwa: when we have only openmrs 1.8.4 and radiology module
09:52:51 <dkayiwa> Shangeetha: so which module brings trouble?
09:53:21 <Shangeetha> dkayiwa: hospital core
09:54:05 <Shangeetha> dkayiwa: https://github.com/hispindia/hospitalcore
09:54:40 <dkayiwa> Shangeetha: does this module produce errors if installed alone?
09:54:51 <Shangeetha> dkayiwa: No
09:56:02 <Shangeetha> dkayiwa: what we did is we loaded radiology module first and tested the whole process,then we loaded hospitalcore module
09:56:42 <Shangeetha> dkayiwa: after that it throws JDBC exception when we tried to save a radiology order
09:57:15 <dkayiwa> Shangeetha: does the radio order save without the other module?
09:57:45 <Shangeetha> dkayiwa: yeah it gets saved properly when radiology module alone is running
09:58:28 <dkayiwa> Shangeetha: can you just do without the offending module?
09:58:28 <Shangeetha> dkayiwa: http://localhost:8080/slhms/module/radiology/radiologyOrder.form?patientId=2 you can check this process
09:59:14 <Shangeetha> dkayiwa: No because when it comes to hospital, there should be all flows such as opd, ipd, radiology, pharmacy, inventory
10:02:12 <dkayiwa> Shangeetha: do you have a publicly accessible server to see the problem?
10:03:25 <Shangeetha> dkayiwa: yeah it is there, slhms.uom.lk:8080/slhms
10:03:41 <Shangeetha> dkayiwa: username - admin, password- Admin123
10:04:20 <Shangeetha> dkayiwa: in this server all the modules are loaded and when loading radiology module, it throws NPE
10:04:35 <Shangeetha> dkayiwa: I will load radiology over there
10:04:55 <dkayiwa> Shangeetha: url
10:05:19 <Shangeetha> dkayiwa: http://slhms.uom.lk:8080/slhms/index.htm
10:05:35 <Shangeetha> dkayiwa: username-admin, password-Admin123
10:06:09 <dkayiwa> Shangeetha: but this is not using the latest openmrs in the 1.8 series
10:07:07 <Shangeetha> dkayiwa: yeah it is 1.8.3
10:07:20 <dkayiwa> Shangeetha: why not 1.8.4
10:07:24 <Shangeetha> dkayiwa: we can redeploy again with the latest one?
10:07:54 <Shangeetha> dkayiwa: This was deployed last week and changed our local host to 1.8.4
10:08:12 <Shangeetha> dkayiwa: any version is okay for us. What would be recommended?
10:08:19 <Shangeetha> dkayiwa: is it 1.8.4?
10:08:23 <dkayiwa> Shangeetha: can u also change the public one to 1.8.4
10:08:45 <Shangeetha> dkayiwa: ok sure. What time u will be coming back online?
10:08:51 <dkayiwa> Shangeetha: infact if i may ask, what was the problem with 1.9?
10:09:11 <Shangeetha> dkayiwa: HISPIndia modules are compatible with 1.8.*
10:09:16 <dkayiwa> Shangeetha: ok
10:09:23 <dkayiwa> Shangeetha: then change to 1.8.4
10:09:54 <Shangeetha> dkayiwa: Thatsy we shifted to 1.8.*
10:10:14 <Shangeetha> dkayiwa: Ok sure we will change entire thing to 1.8.4 and get back to u
10:10:23 <dkayiwa> Shangeetha: ok
10:10:40 <Shangeetha> dkayiwa: May i know what time u will be coming back? Thank you for your great help :)
10:10:54 <dkayiwa> Shangeetha: how long will it take u?
10:11:25 <Shangeetha> dkayiwa: We have to discuss with our team members before changing version, because all of four are working on this
10:11:36 <dkayiwa> Shangeetha: ok
10:11:37 <Shangeetha> dkayiwa: Maximum of one hour
10:11:52 <dkayiwa> Shangeetha: i will still be on in the next hour
10:12:07 <Shangeetha> dkayiwa: ok we will get back to you once we done with it. Thank you :)
10:12:10 <Shangeetha> dkayiwa: Bye
10:14:12 *** robbyoconnor has quit IRC
10:14:35 *** robbyoconnor has joined #openmrs
10:14:36 *** ChanServ sets mode: +v robbyoconnor
10:27:01 *** Shangeetha has quit IRC
10:51:14 *** robbyoconnor has quit IRC
10:51:40 *** robbyoconnor has joined #openmrs
10:51:40 *** ChanServ sets mode: +v robbyoconnor
11:01:42 *** robbyoconnor has quit IRC
11:02:09 *** robbyoconnor has joined #openmrs
11:02:09 *** ChanServ sets mode: +v robbyoconnor
11:09:21 *** harshadura_ has joined #openmrs
11:19:51 <downey> dkayiwa: i hope you get some university credit for helping with their project :)
11:20:55 <dkayiwa> downey: hahahahah :)
11:34:47 *** robbyoconnor has quit IRC
11:35:10 *** robbyoconnor has joined #openmrs
11:35:10 *** ChanServ sets mode: +v robbyoconnor
12:06:03 <k-joseph> :
13:21:36 *** harshadura__ has joined #openmrs
13:23:22 *** harshadura_ has quit IRC
13:23:35 *** harshadura has quit IRC
13:24:31 *** harshadura has joined #openmrs
13:24:31 *** ChanServ sets mode: +v harshadura
14:08:14 *** Shangeetha has joined #openmrs
14:09:11 <Shangeetha> dkayiwa: Sorry now only we are going to redeploy to 1.8.4. We will get back you once we have fresh installation
14:12:40 *** Shangeetha_ has joined #openmrs
14:13:45 *** Shangeetha has quit IRC
14:24:06 <Shangeetha_> dkayiwa: Hi
14:25:52 *** dkayiwa_ has joined #openmrs
14:26:30 <Shangeetha_> dkayiwa_: Hi
14:26:42 <dkayiwa_> Shangeetha_: hi
14:27:07 <Shangeetha_> dkayiwa_: Now we have fresh deployment of 1.8.4 at server with only radiology module working
14:27:59 *** dkayiwa has quit IRC
14:28:00 *** dkayiwa_ is now known as dkayiwa
14:31:40 <Shangeetha_> dkayiwa: You can have a look of it at slhms.uom.lk:8080/slhms
14:31:58 <dkayiwa> Shangeetha_: will get back to u
14:32:42 <Shangeetha_> dkayiwa: Ok sure
14:33:06 *** Shangeetha_ is now known as Shangeetha
14:41:50 *** dkithmal has joined #openmrs
14:46:27 *** dkayiwa has quit IRC
14:49:14 *** Shangeetha has quit IRC
14:51:50 *** harshadura_ has joined #openmrs
14:52:02 *** harshadura__ has quit IRC
14:59:39 *** Shangeetha has joined #openmrs
15:15:18 *** Shangeetha has quit IRC
15:31:17 *** Shangeetha has joined #openmrs
15:51:17 *** Shangeetha has quit IRC
16:42:29 <k-joseph> :)
17:26:45 *** harshadura has quit IRC
18:01:45 *** k-joseph has quit IRC
18:02:31 *** sacheth has joined #openmrs
18:02:56 *** GitHub79 has joined #openmrs
18:02:56 <GitHub79> [openmrs-core] dkithmal opened pull request #500: TRUNK-3868: Combine PatientDAOTest and HibernatePatientDAOTest and remov... (master...TRUNK-3868) http://git.io/G8hpnA
18:02:56 *** GitHub79 has left #openmrs
18:09:59 *** sacheth has quit IRC
18:19:32 *** dkayiwa has joined #openmrs
18:31:24 *** dkayiwa_ has joined #openmrs
18:33:51 *** dkayiwa has quit IRC
18:33:51 *** dkayiwa_ is now known as dkayiwa
18:51:44 *** dkayiwa has quit IRC
19:03:01 *** howardf has joined #openmrs
19:04:30 *** dkayiwa has joined #openmrs
19:09:47 *** dkithmal has quit IRC
19:32:38 *** dkayiwa has quit IRC
19:33:25 *** dkayiwa has joined #openmrs
19:37:31 *** dkayiwa has quit IRC
19:44:57 *** dkayiwa has joined #openmrs
19:49:22 *** maninc_ has joined #openmrs
19:50:25 *** Guest86706 has joined #openmrs
19:50:59 *** burke_ has joined #openmrs
19:53:25 *** akwatuha____ has joined #openmrs
19:56:30 *** mseaton_ has joined #openmrs
19:58:18 *** maninc has quit IRC
19:58:18 *** burke has quit IRC
19:58:19 *** akwatuha___ has quit IRC
19:58:20 *** mseaton has quit IRC
19:58:20 *** rafa has quit IRC
19:58:25 *** Guest86706 is now known as rafa
19:58:57 *** mseaton_ is now known as mseaton
19:58:57 *** akwatuha____ is now known as akwatuha___
19:58:57 *** burke_ is now known as burke
19:59:00 *** rafa is now known as Guest4031
20:04:35 *** sgithens_ has joined #openmrs
20:09:04 *** sgithens has quit IRC
21:08:17 *** wluyima has joined #openmrs
21:41:42 *** dkayiwa has left #openmrs
22:28:42 *** howardf has quit IRC
22:35:35 *** wluyima has quit IRC
23:35:17 *** wluyima has joined #openmrs
23:46:57 *** wluyima has quit IRC
23:54:21 *** wluyima has joined #openmrs