IRC Chat : 2013-09-18 - OpenMRS

00:12:12 *** NameFILIP has joined #openmrs
00:12:12 *** ChanServ sets mode: +v NameFILIP
00:17:03 *** NameFILIP has quit IRC
01:12:42 *** NameFILIP has joined #openmrs
01:12:42 *** ChanServ sets mode: +v NameFILIP
01:13:40 *** cospih has quit IRC
01:17:07 *** NameFILIP has quit IRC
01:27:00 *** bhashitha has joined #openmrs
02:13:13 *** NameFILIP has joined #openmrs
02:13:13 *** ChanServ sets mode: +v NameFILIP
02:17:38 *** NameFILIP has quit IRC
02:53:41 *** bhashitha has quit IRC
03:11:20 *** novocain has joined #openmrs
03:13:43 *** NameFILIP has joined #openmrs
03:13:43 *** ChanServ sets mode: +v NameFILIP
03:13:54 *** DraggonZ has quit IRC
03:13:54 *** gtownfunk has quit IRC
03:18:42 *** NameFILIP has quit IRC
03:25:03 *** maninc has joined #openmrs
03:56:30 *** djazayeri has quit IRC
04:14:13 *** NameFILIP has joined #openmrs
04:14:13 *** ChanServ sets mode: +v NameFILIP
04:18:50 *** NameFILIP has quit IRC
04:31:07 *** djazayeri has joined #openmrs
04:31:07 *** ChanServ sets mode: +o djazayeri
04:36:43 *** geekgugi has joined #openmrs
04:37:38 *** maninc has quit IRC
05:07:47 *** geekgugi has quit IRC
05:10:32 *** maninc has joined #openmrs
05:14:45 *** NameFILIP has joined #openmrs
05:14:45 *** ChanServ sets mode: +v NameFILIP
05:18:42 *** DraggonZ has joined #openmrs
05:18:42 *** ChanServ sets mode: +v DraggonZ
05:19:42 *** NameFILIP has quit IRC
05:36:48 *** harshadura has quit IRC
06:05:24 *** djazayeri has quit IRC
06:20:38 <OpenMRSBot> Recent updates in the world of openmrsci: EMRAPI-EMRAPI-129 has FAILED (21 tests failed) : Updated by Wyclif Luyima <https://ci-stg.openmrs.org/browse/EMRAPI-EMRAPI-129>
06:32:42 <OpenMRSBot> Recent updates in the world of openmrsci: EMRAPI-EMRAPI-130 has FAILED (21 tests failed) : Updated by Wyclif Luyima <https://ci-stg.openmrs.org/browse/EMRAPI-EMRAPI-130>
06:34:41 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-243 has FAILED : Updated by Wyclif Luyima <https://ci-stg.openmrs.org/browse/CA-CA-243>
06:34:47 *** davidpardz has joined #openmrs
06:34:47 *** ChanServ sets mode: +v davidpardz
06:41:00 *** wyclif has quit IRC
06:44:55 *** dmulindwa has joined #openmrs
06:44:56 *** NameFILIP has joined #openmrs
06:44:56 *** ChanServ sets mode: +v NameFILIP
06:45:10 *** rcrichton has joined #openmrs
06:49:31 *** NameFILIP has quit IRC
06:58:40 *** maninc has quit IRC
07:45:45 *** NameFILIP has joined #openmrs
07:45:45 *** ChanServ sets mode: +v NameFILIP
07:50:30 *** NameFILIP has quit IRC
08:02:54 *** rcrichton has quit IRC
08:05:52 *** rcrichton has joined #openmrs
08:28:52 *** dkayiwa has joined #openmrs
08:35:35 <dkayiwa> rafa: hi
08:46:26 *** sgithens_ has quit IRC
08:46:31 *** maninc has joined #openmrs
08:48:57 *** maninc has quit IRC
08:54:57 *** NameFILIP has joined #openmrs
08:54:57 *** ChanServ sets mode: +v NameFILIP
08:58:09 *** dmulindwa_ has joined #openmrs
08:59:24 *** dmulindwa has quit IRC
09:01:40 *** sgithens_ has joined #openmrs
09:04:55 *** maninc has joined #openmrs
09:09:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: KenyaUI 1.12.4 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=kenyaui&ampversion=&amp1.12.4>
09:15:48 *** davidpardz has quit IRC
09:46:13 *** NameFILIP has quit IRC
10:04:54 *** NameFILIP has joined #openmrs
10:04:54 *** ChanServ sets mode: +v NameFILIP
10:06:09 *** NameFILIP has quit IRC
10:57:17 <dkayiwa> rafa: hi
10:57:33 <rafa> dkayiwa: hi
10:58:00 <dkayiwa> rafa: am trying to delete the "latest" tag but its only deleting from my fork. Do you know how to solve this? :)
10:59:06 <rafa> dkayiwa: do: git -d latest
10:59:34 <rafa> dkayiwa: git push upstream :latest
11:00:09 <dkayiwa> rafa: ok
11:00:50 <rafa> dkayiwa: sorry git tag -d latest
11:00:56 <dkayiwa> rafa: ok
11:01:54 *** GitHub118 has joined #openmrs
11:01:54 <GitHub118> [openmrs-core] dkayiwa deleted latest at 89cc058: http://git.io/yL6bDA
11:01:54 *** GitHub118 has left #openmrs
11:03:13 <dkayiwa> rafa: thanks. you have saved lots of my time :)
11:03:25 <rafa> dkayiwa: np
11:05:36 *** GitHub151 has joined #openmrs
11:05:36 <GitHub151> [openmrs-core] dkayiwa tagged latest at 2ee34db: http://git.io/dIYYog
11:05:36 *** GitHub151 has left #openmrs
11:18:03 *** dmulindwa_ has quit IRC
11:23:53 <dkayiwa> rafa: hi
11:24:05 <rafa> dkayiwa: hi
11:25:19 <dkayiwa> rafa: mvp-data.sql in standalone is 49.4 MB, the file i have got from Andy is like 90.7MB named openmrs_concepts_1.9.4_20130906.sql Is that possible?
11:25:40 <dkayiwa> rafa: could i be referring to a wrong file? (for its kind of too big)
11:26:57 <rafa> dkayiwa: apparently it got bigger...
11:27:11 <dkayiwa> rafa: ohhhhh :)
11:27:33 <rafa> dkayiwa: actually mvp-data.sql may be for 1.6.x
11:27:51 <dkayiwa> rafa: oh i see
11:27:52 <rafa> dkayiwa: and it's get upgraded by the standalone build
11:28:13 <rafa> dkayiwa: if you open up mvp-data.sql it should say from which file it was created
11:28:32 <rafa> dkayiwa: there should be a comment at the top
11:28:54 <dkayiwa> rafa: so should i overwrite mvp-data.sql with the one i have got from Andy (openmrs_concepts_1.9.4_20130906.sql) ?
11:29:21 *** dmulindwa has joined #openmrs
11:29:24 <rafa> dkayiwa: you should use openmrs_concepts_1.6.x then
11:29:57 <dkayiwa> rafa: what do you mean by that
11:30:20 <rafa> dkayiwa: Andy produces MVP dictionaries in different versions
11:30:36 <rafa> dkayiwa: you should use version 1.6.x
11:31:00 <dkayiwa> rafa: and use it to overwrite mvp-data.sql in the standalone?
11:31:06 <rafa> dkayiwa: yes
11:33:48 <dkayiwa> rafa: he published it as this name: openmrs_concepts_1.6.5_20130914.sql.zip so i simply copy it over to the standalone folder, delete the existing mvp-data.sql, and rename Andy's file to mvp-data.sql. Correct?
11:34:04 <rafa> dkayiwa: correct
11:34:15 <dkayiwa> rafa: thanks
11:40:07 *** maninc has quit IRC
11:55:56 <OpenMRSBot> Recent updates in the world of openmrsci: EMRAPI-EMRAPI-131 has FAILED (21 tests failed) : Updated by Rafal Korytkowski <https://ci-stg.openmrs.org/browse/EMRAPI-EMRAPI-131>
12:40:23 *** cospih has joined #openmrs
12:56:30 *** sgithens_ has quit IRC
13:09:42 *** wyclif has joined #openmrs
13:09:48 *** djazayeri has joined #openmrs
13:09:48 *** ChanServ sets mode: +o djazayeri
13:09:57 *** sgithens_ has joined #openmrs
13:11:33 <wyclif> hi djazayeri
13:17:06 <djazayeri> hi wyclif
13:22:27 <wyclif> djazayeri: apparently the API doesn't allow a user to update another user if they don't have all the privileges the other user has, so if am in an event listener there is no authenticated user so updating a user property fails
13:22:48 <djazayeri> wyclif: event listeners should be run as daemon
13:23:33 <djazayeri> wyclif: can you use the new daemonToken functionality + Daemon.runAsDaemon() ?
13:23:34 <wyclif> djazayeri: right but i Daemon.runInDaemonThread seems to fail because we are not starting the thread from a daemon thread
13:24:00 <wyclif> djazayeri: there is a restriction on who can start a daemon thread
13:25:07 <djazayeri> wyclif: in OpenMRS core 1.9.4 we've added an ability to get a "daemon token" in the activator
13:26:01 <wyclif> will getting a daemon token solve the fact that am starting the daemon thread from a none daemon thread
13:26:51 <djazayeri> wyclif: see this ticket
13:26:56 <djazayeri> !ticket TRUNK-3781
13:26:57 <OpenMRSBot> djazayeri: [#TRUNK-3781] Support a mechanism for modules to execute code in Daemon thread - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3781
13:45:01 *** ChanServ sets mode: +o ryates
13:45:28 <wyclif> djazayeri: ok will try that
13:46:02 <wyclif> djazayeri: my problem i guess is that the api will still check and see that daemon has no required privilege
13:46:20 <djazayeri> wyclif: daemon has all privileges...
13:46:47 <wyclif> djazayeri: but the logic in the api doesn't make the correct check to see of it is daemon
13:47:05 <djazayeri> wyclif: that surprises me
13:47:27 <wyclif> djazayeri: see HibernateUserDAO.checkPrivileges
13:48:50 *** cospih has quit IRC
13:50:13 *** cospih has joined #openmrs
14:08:54 <h3llborn> morning rafa :), well afternoon for you xD
14:13:28 *** LeeBreisacher1 has joined #openmrs
14:20:16 <cpower> Hello! Time to scrum?
14:24:44 <rafa> h3llborn: morning
14:25:01 <h3llborn> rafa: I emailed you haha, but how are you?
14:25:03 <rafa> cpower: we have retro in 5 minutes
14:25:12 <cpower> ok, so we will skip
14:26:07 <rafa> h3llborn: ok
14:26:14 <rafa> h3llborn: thanks for the update
14:26:27 <h3llborn> rafa: not a problem :) how's ur week going?
14:26:52 <rafa> h3llborn: good, busy
14:27:32 <h3llborn> rafa: I can imagine, with school picking up, same goes for me!
14:27:41 *** mario_ has joined #openmrs
14:31:29 <LeeBreisacher1> djazayeri: hangout url?
14:38:33 <OpenMRSBot> Recent updates in the world of openmrsci: EMRAPI-EMRAPI-132 has FAILED (21 tests failed) : Updated by Rafal Korytkowski <https://ci-stg.openmrs.org/browse/EMRAPI-EMRAPI-132> || CA-CA-244 has FAILED : Updated by Rafal Korytkowski <https://ci-stg.openmrs.org/browse/CA-CA-244>
14:39:02 <djazayeri> LeeBreisacher1: https://plus.google.com/hangouts/_/ac27700a1ddf4fe8d49c415477f35530fef40835?authuser=0&hl=en
14:39:05 <OpenMRSBot> <http://ln-s.net/-zrN> (at plus.google.com)
14:39:30 <djazayeri> wyclif: ^^
14:46:17 *** NameFILIP has joined #openmrs
14:46:17 *** ChanServ sets mode: +v NameFILIP
14:49:18 *** harsz89 has joined #openmrs
14:49:18 *** ChanServ sets mode: +v harsz89
14:51:09 <cpower> h3llborn: You there?
14:57:51 <cpower> Do we have a way to reach Thomas Mwogi? Email address?
14:58:53 *** sgithens_ has quit IRC
15:03:38 *** cospih_ has joined #openmrs
15:04:27 *** cospih has quit IRC
15:08:03 *** rcrichton has quit IRC
15:13:22 *** dkayiwa has quit IRC
15:15:05 *** dkayiwa has joined #openmrs
15:21:35 *** isaac__ has joined #openmrs
15:34:11 <lstanisic> cpower: thomas works here at regenstrief, as an informatics fellow
15:34:37 *** isaac__ has quit IRC
15:34:50 <lstanisic> cpower: i just sent you an email with some contact info
15:35:07 <cpower> lstanisic: right under my own nose....thanks lstanisic
15:35:14 <lstanisic> cpower: you're welcome
15:36:30 <djazayeri> dkayiwa: what would you say if we needed to make one more quick fix in core before the 1.9.4 release?
15:37:21 <dkayiwa> djazayeri: i would need to tag again and reupload the standalone and war
15:38:07 <dkayiwa> djazayeri: but that makes me also think that aren't we releasing 1.9.4 a little too soon? :)
15:38:25 <djazayeri> dkayiwa: well, wyclif may have found one blocker bug. give us 5 minutes. :-)
15:38:57 <dkayiwa> djazayeri: cant we release 1.9.4 like a day or two before the refapp release? :)
15:39:44 <dkayiwa> djazayeri: for next week the same could happen :)
15:42:04 <djazayeri> dkayiwa: well, we could _always_ find one :-)
15:42:14 *** harsz89 has quit IRC
15:42:33 <djazayeri> dkayiwa: in this case there's a particular bug wyclif did find. :-)
15:42:39 <djazayeri> dkayiwa: with a one-line fix
15:43:28 <djazayeri> dkayiwa: it's possible to do a workaround, which involves adding a new service and DAO to emrapi so we can bypass the core UserService, but since you haven't actually released yet, I'd prefer if we re-tag.
15:43:49 <dkayiwa> djazayeri: may be i just need to understand the need to release 1.9.4 weeks before the ref app, instead of just a couple of days :)
15:44:14 <djazayeri> dkayiwa: Oh, I see what you're asking
15:44:52 <dkayiwa> djazayeri: i only hadnt sent out an email. but already uploaded to sourceforge :)
15:44:52 <djazayeri> dkayiwa: I was hoping we'd be able to release it a bit early, and not be stuck trying to do it along with everything else at the last minute
15:45:20 <djazayeri> dkayiwa: well…okay, go ahead and release 1.9.4, and we may have to do a 1.9.5 release right after
15:45:27 <djazayeri> dkayiwa: with just one additional fix
15:45:29 <dkayiwa> djazayeri: ok
15:58:39 *** bhashitha has joined #openmrs
16:00:59 *** sgithens_ has joined #openmrs
16:17:35 *** mario_ has quit IRC
16:26:10 <bhashitha> dkayiwa : hi
16:45:32 *** bhashitha_ has joined #openmrs
16:46:07 *** bhashitha has quit IRC
16:49:03 *** isaac__ has joined #openmrs
16:55:08 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-245 has FAILED : Updated by Rafal Korytkowski <https://ci-stg.openmrs.org/browse/CA-CA-245>
17:02:10 *** sgithens_ has quit IRC
17:05:10 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-246 has FAILED : Updated by Glauber Ramos <https://ci-stg.openmrs.org/browse/CA-CA-246>
17:09:43 *** dkayiwa has quit IRC
17:14:00 *** dkayiwa has joined #openmrs
17:14:34 *** NameFILIP has quit IRC
17:18:11 *** bhashitha_ has quit IRC
17:20:19 *** bhashitha has joined #openmrs
17:20:38 *** LeeBreisacher1 has quit IRC
17:21:34 *** LeeBreisacher has joined #openmrs
17:27:39 *** harshadura has joined #openmrs
17:27:39 *** ChanServ sets mode: +v harshadura
17:28:35 *** isaac__ has quit IRC
17:40:17 *** bhashitha has quit IRC
17:41:19 <OpenMRSBot> Recent updates in the world of openmrsci: EMRAPI-EMRAPI-133 has FAILED (21 tests failed) : Updated by Wyclif Luyima <https://ci-stg.openmrs.org/browse/EMRAPI-EMRAPI-133>
17:43:19 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-247 has FAILED : Updated by Wyclif Luyima <https://ci-stg.openmrs.org/browse/CA-CA-247>
17:54:20 *** k-joseph has joined #openmrs
18:01:37 *** sgithens_ has joined #openmrs
18:11:07 *** cospih_ has quit IRC
18:16:13 *** NameFILIP has joined #openmrs
18:16:13 *** ChanServ sets mode: +v NameFILIP
18:17:43 *** cospih has joined #openmrs
18:20:26 *** NameFILIP has quit IRC
18:33:25 <suranga> aloha, anyone know when we moved from hapi 0.5 to higher in the omrs core ? :-)
18:41:28 *** shruthdipali has joined #openmrs
18:43:44 <shruthdipali> djazayeri: one quick question - do you think its feasible to add HttpServletResponse as an additional parameter to Retrievable.retrieve method in webservices-rest module?
18:44:11 *** harshadura_ has joined #openmrs
18:44:54 <djazayeri> shruthdipali: is that already available via the RequestContext parameter
18:45:34 <shruthdipali> djazayeri: httpServletResponse?
18:46:38 <shruthdipali> djazayeri: I think it has only the request object
18:47:31 *** harshadura has quit IRC
18:47:50 <shruthdipali> djazayeri: this is required when we model the PersonImage as a rest resource. We'll need to set the content-type on the response.
18:48:32 <djazayeri> shruthdipali: We can't change the Retreivable interface, but I think its fine to add the response to RequestContext (so the method signatures don't change)
18:48:59 <shruthdipali> djazayeri: great! I'll go ahead and make that change?
18:49:49 <djazayeri> shruthdipali: 5 minutes please, on a call
18:50:03 <shruthdipali> djazayeri: sure
19:01:16 <djazayeri> shruthdipali: yes, we agree that it's a good idea to add the HttpServletResponse to RequestContext, so you can set things there.
19:02:01 <djazayeri> shruthdipali: Just finished our Wednesday design call, so it was easy to get a quick opinion. :-)
19:02:34 <djazayeri> shruthdipali: I just saw your email from 45 minutes ago. Where would we need to add BufferedImageHttpMessageConverter to make things work? In OpenMRS core? In the webservices.rest module?
19:02:35 <shruthdipali> djazayeri: great! :) thanks so much. this will make things easy for us.
19:03:33 <shruthdipali> djazayeri: BufferedImageHttpMessageConverter in openmrs-core. We'll need to add the message converter in openmrs-servlet.xml.
19:03:52 <djazayeri> shruthdipali: ah, you already said that, I didn't read closely.
19:04:01 *** cospih_ has joined #openmrs
19:04:12 <shruthdipali> djazayeri: is that alright?
19:04:27 <djazayeri> shruthdipali: We can add this now, and release it in OpenMRS core (as 1.9.5) in a week or so
19:04:36 <djazayeri> shruthdipali: is that okay for your deployment scenario?
19:04:41 *** cospih has quit IRC
19:04:48 <shruthdipali> djazayeri: that should be fine.
19:05:23 <djazayeri> shruthdipali: great! please create a ticket for this, do a pull request (a one-liner, I guess) and include it's url on the ticket. We can fast-track this.
19:05:43 <shruthdipali> djazayeri: will get to that asap.
19:06:35 <shruthdipali> djazayeri: with these two changes its possible to us to model PersonImage as a rest Resource. W'ell make the changes and let you know.
19:06:47 <djazayeri> shruthdipali: cool!
19:07:02 <shruthdipali> djazayeri: great! thanks again! :)
19:07:26 <djazayeri> shruthdipali: happy to help
19:08:29 *** prp-e has joined #openmrs
19:08:33 <djazayeri> wyclif: anything I can do to help get the build back to green?
19:08:42 *** prp-e has left #openmrs
19:08:45 <djazayeri> wyclif: or is it easier for you to just do it?
19:09:24 <wyclif> djazayeri: couldn't figure out why including the event test jar broke it but i got a workaround that doesn't require the jar file
19:09:36 <wyclif> should commit it in the next 3min
19:16:44 *** NameFILIP has joined #openmrs
19:16:44 *** ChanServ sets mode: +v NameFILIP
19:17:15 *** harsz89 has joined #openmrs
19:17:15 *** ChanServ sets mode: +v harsz89
19:20:51 *** NameFILIP has quit IRC
19:21:22 *** shruthdipali has quit IRC
19:22:17 *** k-joseph has quit IRC
19:23:22 *** shruthdipali has joined #openmrs
19:27:44 <OpenMRSBot> Recent updates in the world of openmrsci: CA-CA-248 has FAILED (4 tests failed) : Manual build by Darius Jazayeri <https://ci-stg.openmrs.org/browse/CA-CA-248>
19:51:08 <wyclif> hi djazayeri
19:51:30 <djazayeri> wyclif: hi
19:53:34 <wyclif> djazayeri: wouldn't it be better to just add a label on page load that the patients being shown are recently viewed instead of the lozenge and also why not just have the text for those rows be of a different color for recently viewed for recently viewed patients that show up in search results instead of adding a lozenge?
19:54:22 <djazayeri> wyclif: the idea is to do a first pass at this, and we can iterate on the specific UI later
19:54:50 <djazayeri> wyclif: is the current status visible on devtest02?
19:58:58 <wyclif> djazayeri: yeah, check on devtest01 or devtest02 when the builds are done, should see it in action when you load a patient from the DEPD or CFPD
20:03:13 *** breeze has joined #openmrs
20:04:43 *** harshadura_ has quit IRC
20:08:10 *** shruthdipali has quit IRC
20:08:10 *** k-joseph has joined #openmrs
20:16:17 *** ron___ has joined #openmrs
20:17:17 *** NameFILIP has joined #openmrs
20:17:17 *** ChanServ sets mode: +v NameFILIP
20:19:14 <ron___> how do i chat with someone directly, i am not that techi
20:20:03 *** ron___ has quit IRC
20:21:40 *** NameFILIP has quit IRC
20:41:44 <LeeBreisacher> djazayeri: I would like to chat some time about ui test database stuff...
20:44:31 *** sgithens_ has quit IRC
20:46:46 <suranga> rafa: howdy, I was wondering if you're around ? :)
20:50:04 <djazayeri> LeeBreisacher: I can chat
20:50:23 <LeeBreisacher> djazayeri: should we just do it here?
20:50:50 <LeeBreisacher> djazayeri: or we can do a hangout..might be more efficient
20:52:18 <djazayeri> LeeBreisacher: call me on hangout
20:52:56 *** k-joseph has quit IRC
20:53:37 *** k-joseph_ has joined #openmrs
20:54:04 *** GitHub171 has joined #openmrs
20:54:04 <GitHub171> [openmrs-core] k-joseph opened pull request #404: TRUNK-4095 (master...TRUNK-4095) http://git.io/UBPGDA
20:54:04 *** GitHub171 has left #openmrs
20:56:12 *** cospih_ has quit IRC
20:59:24 <LeeBreisacher> djazayeri: sorry, I've never actually started a hangout before...took me a minute to figure it out...
21:00:20 *** k-joseph_ has quit IRC
21:02:48 *** cospih has joined #openmrs
21:04:34 <djazayeri> LeeBreisacher: I don't think I've gotten the invite
21:05:03 <LeeBreisacher> djazayeri: maybe I did it wrong. I just found your name on g+ and did "start hangout"
21:17:45 *** NameFILIP has joined #openmrs
21:17:45 *** ChanServ sets mode: +v NameFILIP
21:22:13 *** NameFILIP has quit IRC
21:26:19 *** mogoodrich has joined #openmrs
21:29:45 *** NameFILIP has joined #openmrs
21:29:45 *** ChanServ sets mode: +v NameFILIP
21:31:18 *** mogoodrich has quit IRC
21:50:40 *** breeze has quit IRC
22:01:33 *** mogoodrich has joined #openmrs
22:06:16 *** mogoodrich has quit IRC
22:09:28 *** mogoodrich has joined #openmrs
22:09:39 <suranga> dkayiwa: hii :-)
22:10:11 *** wyclif has quit IRC
22:10:55 <dkayiwa> suranga: hi
22:15:34 *** mogoodrich has quit IRC
22:21:24 *** sgithens_ has joined #openmrs
22:22:36 *** mogoodrich has joined #openmrs
22:24:49 *** dkayiwa has quit IRC
22:30:08 *** robbyoconnor has joined #openmrs
22:30:08 *** ChanServ sets mode: +v robbyoconnor
22:33:01 *** dkayiwa has joined #openmrs
22:33:18 <dkayiwa> suranga: am back
22:40:51 <suranga> dkayiwa: so sorry, the guys were leaving the wedge, and I had to go along since I dont have a pass card yet :(
22:41:00 <suranga> dkayiwa: im going to delete it from the core, and re-try :)
22:41:43 <dkayiwa> suranga: ok
22:42:16 *** LeeBreisacher1 has joined #openmrs
22:44:15 *** LeeBreisacher has quit IRC
22:44:57 *** NameFILIP has quit IRC
22:51:07 *** mogoodrich has quit IRC
22:53:42 <suranga> dkayiwa: um.. i think that file is automatically generated. I deleted it, but it popped back in after I did a clean install :(
22:54:08 <dkayiwa> suranga: where did you delete it from
22:54:45 <suranga> dkayiwa: from under web-inf folder
22:55:48 *** robbyoconnor has quit IRC
22:56:12 <suranga> dkayiwa: it doesnt get re-created if i just do a jetty:run, but in that case, it still gives the same error, im afraid :(
22:58:03 <dkayiwa> suranga: http://listarchives.openmrs.org/CSRF-error-when-entering-text-in-patient-search-box-td5782689.html
22:58:40 <suranga> dkayiwa: um... is this whats causing it ?
22:59:00 <dkayiwa> suranga: do what ben says :)
23:01:26 <suranga> dkayiwa: um.. you mean to 1) stop tomcat
23:01:26 <suranga> 2) Replace the dwr-modules.xml content:
23:01:26 <suranga> Make the dwr-modules.xml file look exactly like this simple file:
23:01:26 <suranga> http://source.openmrs.org/browse/OpenMRS/branches/1.6.x/web/WEB-INF/dwr-modules.xml?hb=true
23:01:26 <suranga> You can find the file in tomcathome/webapps/openmrs/WEB-INF
23:01:26 <suranga> 3) start tomcat
23:02:08 <dkayiwa> suranga: for your case jetty
23:02:35 <dkayiwa> suranga: and your project web-inf
23:04:17 *** mogoodrich has joined #openmrs
23:10:51 <suranga> dkayiwa: um.. i just re-tried it, but the results are the same :(
23:11:16 <suranga> dkayiwa: was this in accordance to what you had in mind ? I do get a stacktrace, maybe it might be helpful :(
23:11:58 <dkayiwa> suranga: you need to first deal with the dwr error
23:12:44 <dkayiwa> suranga: can you google with Error parsing dwr-modules.xml file
23:13:04 <dkayiwa> suranga: or how many modules do you have
23:13:58 <dkayiwa> suranga: you may try first starting with no module but logic
23:14:26 <suranga> dkayiwa: deleting the module i wrote to update hapi fixed it !
23:14:35 <suranga> dkayiwa: :-) now omrs is up :)
23:14:35 *** mogoodrich has quit IRC
23:15:14 *** NameFILIP has joined #openmrs
23:15:14 *** ChanServ sets mode: +v NameFILIP
23:15:47 *** NameFILI_ has joined #openmrs
23:15:47 *** NameFILIP has quit IRC
23:15:48 *** sgithens_ has quit IRC
23:16:09 <dkayiwa> suranga: so that module may have faulty dwr
23:16:20 <dkayiwa> suranga: so can you reproduce the other error?
23:16:32 <suranga> dkayiwa: um.. that module has no reference to any DWR
23:16:56 <dkayiwa> suranga: even in its config.xml
23:16:58 <suranga> dkayiwa: that error is also caused because of the casting exception
23:18:35 <suranga> dkayiwa: my understanding was that trying to update to hapi 2.0, and thereby removing some exclusions put in place by hapi 0.5, i was causing a cnflict between xerxces and javax.xml......
23:19:01 <dkayiwa> suranga: the dwr error is something else
23:19:37 <dkayiwa> suranga: all i need is you reproduce the error on 1.10
23:21:11 <suranga> dkayiwa: oh, im terribly sorry, there was some misscommunication there. i was able to reproduce the problem i menioned on the email in my instance now :(
23:21:27 <suranga> dkayiwa: the same error -- >
23:21:28 <suranga> org.openmrs.module.ModuleException: Error parsing diff sqldiff.xml file Module: Regenstrief Hl7 Adapter Module
23:21:29 <suranga> at org.openmrs.module.SqlDiffFileParser.getSqlDiffs(SqlDiffFileParser.java:103)
23:21:29 <suranga> at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:606)
23:21:29 <suranga> at org.openmrs.api.context.Daemon$1.run(Daemon.java:72)
23:21:29 <suranga> Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
23:21:29 <suranga> at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)
23:21:29 <suranga> at org.openmrs.module.SqlDiffFileParser.getSqlDiffs(SqlDiffFileParser.java:90)
23:22:03 <dkayiwa> suranga: is that on 1.10?
23:22:12 <suranga> dkayiwa: im afraid so :(
23:22:43 <dkayiwa> suranga: when did you last update your 1.10
23:23:07 <suranga> dkayiwa: um... 5-6 hours back. was this something really recent ?
23:23:14 <dkayiwa> suranga: no
23:23:58 <dkayiwa> suranga: can you send me that module
23:24:11 *** NameFILI_ has quit IRC
23:26:02 <suranga> dkayiwa: my pleasure :)
23:27:08 *** wyclif has joined #openmrs
23:29:34 *** sgithens_ has joined #openmrs
23:30:09 <suranga> dkayiwa: hi, just emailed it over
23:30:16 <dkayiwa> suranga: ok
23:30:26 <suranga> dkayiwa: i guess the pom files should be the actual problem case :(
23:34:20 *** dkayiwa_ has joined #openmrs
23:34:29 *** harsz89 has quit IRC
23:37:06 *** dkayiwa has quit IRC
23:37:07 *** dkayiwa_ is now known as dkayiwa
23:51:15 <suranga> dkayiwa: um... do you think its the xercesImpl in the core ?
23:51:28 <suranga> dkayiwa: i tried to exculde that, but it doesnt seem to help :(
23:51:49 <dkayiwa> suranga: google returns many possibilities :0
23:52:33 <suranga> dkayiwa: exactly, too many options. I dont seem to have any luck so far. I was wondering, does this match the scenario that you had in mind ? :)
23:52:48 <dkayiwa> suranga: no :)
23:52:55 <suranga> dkayiwa: you said that you were suspecting something in your email ?
23:53:01 <suranga> dkayiwa: ooops, I see :(
23:54:24 <dkayiwa> suranga: create a ticket for it and add me as a watcher
23:55:21 <suranga> dkayiwa: um... a ticket saying that attempting to upgrade to hapi 2.0 via a module causes this class cast exception ? sure thing :)
23:55:37 <dkayiwa> suranga: yes