IRC Chat : 2011-03-07 - OpenMRS

01:59:22 *** mayanks43 has joined #openmrs
03:07:31 *** r0bby is now known as robbyoconnor
03:21:12 *** upul` has joined #openmrs
03:21:12 *** ChanServ sets mode: +v upul`
03:25:50 *** mayanks43 has left #openmrs
03:57:01 *** r0bby has joined #openmrs
03:57:01 *** ChanServ sets mode: +v r0bby
03:58:53 *** robbyoconnor has quit IRC
04:48:10 *** r0bby has quit IRC
04:49:23 *** r0bby has joined #openmrs
04:49:23 *** ChanServ sets mode: +v r0bby
04:52:02 *** r0bby is now known as robbyoconnor
05:09:16 *** robbyoconnor has quit IRC
05:52:36 *** robbyoconnor has joined #openmrs
05:52:36 *** ChanServ sets mode: +v robbyoconnor
05:55:56 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: embedding a java applet in a jsp file <http://forum.openmrs.org/viewtopic.php?f=11&t=761#p2898>
05:58:57 *** surangak has joined #openmrs
06:31:29 *** goutham has joined #openmrs
06:50:09 *** goutham has quit IRC
06:53:03 *** pulasthi has joined #openmrs
06:55:00 *** Mkop has quit IRC
06:55:35 *** Mkop has joined #openmrs
06:55:35 *** ChanServ sets mode: +v Mkop
06:57:04 *** pascal` has joined #openmrs
07:51:44 *** r0bby has joined #openmrs
07:51:44 *** ChanServ sets mode: +v r0bby
07:54:23 *** robbyoconnor has quit IRC
08:14:36 *** mayanks43 has joined #openmrs
08:45:03 *** ankit_gangal has joined #openmrs
08:46:10 *** ankit_gangal has quit IRC
08:51:54 *** ankit_gangal has joined #openmrs
08:53:19 <ankit_gangal> need help with checking out openMRS trunk code
08:54:14 *** pascal` has quit IRC
09:11:56 *** Mkop has quit IRC
09:20:58 *** mayanks43 has left #openmrs
09:23:53 *** ankit_gangal has quit IRC
09:38:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Missing patient identifier in PID segment <http://forum.openmrs.org/viewtopic.php?f=10&t=750#p2899>
09:54:31 *** rafa has joined #openmrs
11:00:13 *** dkayiwa has joined #openmrs
11:10:59 *** pascal` has joined #openmrs
11:12:31 *** ashishmittal has joined #openmrs
11:15:08 *** pulasthi has left #openmrs
11:24:32 *** Hazamonzo has joined #openmrs
11:31:28 *** mayanks43 has joined #openmrs
11:47:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Service, DAO, Impl, moduleApplicationContext <http://forum.openmrs.org/viewtopic.php?f=8&t=762#p2900>
11:48:53 *** dkayiwa has quit IRC
11:48:54 *** upul` has quit IRC
12:19:24 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Database tables description <http://forum.openmrs.org/viewtopic.php?f=2&t=763#p2901>
12:22:42 *** ashishmittal has quit IRC
12:35:49 *** dkayiwa has joined #openmrs
12:48:57 *** ashishmittal has joined #openmrs
13:44:44 *** surangak has quit IRC
14:03:38 *** dkayiwa has quit IRC
14:05:23 *** rafa has quit IRC
14:05:58 *** rafa has joined #openmrs
14:17:31 *** rafa has quit IRC
14:21:29 *** dkayiwa has joined #openmrs
14:22:19 *** gbastien has joined #openmrs
14:30:04 *** dkayiwa has quit IRC
14:35:38 *** rafa has joined #openmrs
14:39:02 *** dkayiwa has joined #openmrs
14:42:30 *** dkayiwa has quit IRC
15:00:20 *** pascal` has quit IRC
15:00:52 *** goutham has joined #openmrs
15:13:29 *** goutham has quit IRC
15:13:38 *** r0bby has quit IRC
15:16:04 *** dkayiwa has joined #openmrs
15:22:07 *** dkayiwa has quit IRC
15:26:02 *** goutham has joined #openmrs
15:30:10 *** goutham has quit IRC
15:30:12 *** dkayiwa has joined #openmrs
15:30:34 *** bwolfe has joined #openmrs
15:30:34 *** ChanServ sets mode: +o bwolfe
15:30:36 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Reminder: #OpenMRS developer training in Eldoret, #Kenya, 3-17 May. Info: http://t.co/PL8shld #eHealth #ICT4D #HFOSS <http://twitter.com/OpenMRS/statuses/44771884738420736> || New Changeset: OpenMRS (concept_mappings): concept_mappings: Added concept reference term map table, java class and hibernate mappings <http://feedproxy.google.com/~r/OMRStrunk/~3/JFE4WpHpizs/OpenMRS>
15:32:51 *** ashishmittal has quit IRC
15:50:31 *** pascal` has joined #openmrs
16:04:06 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): fix for TRUNK-1654: getGroupMembers() returns voided obs... <http://feedproxy.google.com/~r/OMRStrunk/~3/bgtbJf6Sz1c/OpenMRS>
16:04:32 *** ashishmittal has joined #openmrs
16:05:45 <ashishmittal> Hi all
16:05:52 <ashishmittal> I am Ashish Mittal
16:06:23 <ashishmittal> I will be trying to be a part and develop for OpenMRS this GSoC
16:06:49 <ashishmittal> (I thought I should introduce myself here)
16:08:49 <rafa> hi ashishmittal
16:08:54 <rafa> nice to meet you
16:09:45 <ashishmittal> nice to meet you too
16:11:55 <dkayiwa> Hi Mittal. Welcome onboard!
16:12:48 <ashishmittal> Thanks dkayiwa :)
16:13:09 <dkayiwa> :D
16:58:17 <Echidna> where is openmrs_runtime.properties on linux servers?
16:59:01 *** rafa has quit IRC
17:26:25 *** ashishmittal has quit IRC
18:04:22 *** downeym has joined #openmrs
18:04:22 *** ChanServ sets mode: +o downeym
18:05:55 *** ChanServ sets mode: +v dkayiwa
18:06:00 *** ChanServ sets mode: +v pascal`
18:27:46 *** rafa has joined #openmrs
18:50:43 <bwolfe> Echidna: ~/.OpenMRS/openmrs-runtime.properties
18:51:43 <Echidna> bwolfe: yea thanks, found it already
18:51:49 <Echidna> wiki is your friend =)
18:51:51 <Echidna> going home
18:59:48 <downeym> Jeff_S: ping
19:03:47 *** rafa has quit IRC
19:13:17 *** gbastien has quit IRC
19:15:11 *** mm3838 has joined #openmrs
19:15:24 <downeym> Hi mm3838 and welcome to the #openmrs IRC channel.
19:15:34 <mm3838> thanks
19:16:08 <mm3838> I'm desperate for some help, can I ask you?
19:16:29 <downeym> Let's see if we can help. What's the problem?
19:16:53 <mm3838> I'm trying to set up the xform module, in particular the dataUpload
19:17:15 * downeym pokes dkayiwa
19:17:35 <mm3838> I'm using an old version of ODK collect, the authentication works perfectly (I can download the form list and forms), but I cannot upload
19:18:06 <downeym> mm3838: You're in luck - dkayiwa is our xforms expert and is around
19:18:25 <mm3838> great, thanks!
19:19:46 <mm3838> Ehy Daniel, can I ask you here on the IRC or you want me to contact via other ways?
19:20:36 <downeym> mm3838: I think he's stepped away for a moment, but should be back soon. :)
19:20:43 <mm3838> ok, I'll wait!
19:31:49 * downeym has sent word over to that side of the building
19:32:49 <mm3838> nice, what does sending word over to that side of the building mean?
19:33:21 <downeym> mm3838: The other side of the building from me, where he is sitting. :)
19:33:53 <bwolfe> or you can poke dkayiwa in here again by mentioning his username...
19:34:27 <downeym> bwolfe: That's if dkayiwa has working Internet :)
19:34:47 <bwolfe> he does. I can hear him on skype with his wife!
19:35:15 <mm3838> I can wait till he finishes to talk with his wife, don't need to bother
19:35:26 <downeym> aha :)
19:35:29 <dkayiwa> am done :D
19:35:41 <mm3838> Hi Daniel,
19:36:13 <mm3838> can I make a quick (hopefully) question about the xform module?
19:36:19 <dkayiwa> yes
19:36:49 <mm3838> I'm trying to set up the old odk-collect openmrs and so far I managed to download form list and forms, but I still cannot upload
19:37:30 <dkayiwa> do you get any error messages when you try upload data?
19:38:15 <mm3838> If I use xformDataUpload.form?, it gives me error 400, if I use xformDataUpload? error 500, if I use xformDataUpload?batchEntry=true (that I don't really know what it means, but I found some people using on internet), it returns 200 and not 201
19:41:49 <mm3838> sorry, it was error 404
19:45:00 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): additional tweak for TRUNK-1654; changed HastSet to LinkedHashSet in getGroupMembers method <http://feedproxy.google.com/~r/OMRStrunk/~3/hsbDtyAU2QA/OpenMRS>
19:45:25 <dkayiwa> mm3838: let me check to confirm
19:45:34 <mm3838> ok
19:48:24 *** mayanks43 has left #openmrs
19:49:53 <dkayiwa> mm3838: correct url should end with /moduleServlet/xforms/xformDataUpload?
19:50:23 <dkayiwa> no batchentry param
19:50:46 <mm3838> +dkayiwa: in that way I get error 500,
19:51:05 <dkayiwa> give me the whole url that you use
19:51:09 <dkayiwa> just paste it here
19:52:12 <mm3838> +dkayiwa: /openmrs/moduleServlet/xforms/xformDataUpload?&uname=user&pw=password
19:53:04 <dkayiwa> which version of the module are you using?
19:53:38 <mm3838> 3.9.9
19:54:47 <dkayiwa> are u using odk clinic?
19:55:11 <mm3838> no, collect. Clinic doesn't allow you to add patients, while I'd like to have this possibility
19:55:50 <dkayiwa> can you set a break point at the actual point when the full url is set?
19:55:59 <mm3838> sure
19:56:02 <dkayiwa> i want to look at it in its fullness
19:57:41 <mm3838> http://209.2.209.33:8080/openmrs/moduleServlet/xforms/xformDataUpload?&uname=user&pw=mypassword
20:01:18 <dkayiwa> are you replacing uname with the actual user name
20:01:27 <mm3838> sure
20:01:46 <mm3838> I can download forms, so I don't think it's a problem of authentication
20:02:32 <dkayiwa> can u check the error log?
20:02:42 <dkayiwa> most probably something went wrong on server
20:02:50 <dkayiwa> to return the 500 error code
20:03:01 <mm3838> you can check the data upload page by yourself at http://209.2.209.33:8080/openmrs/moduleServlet/xforms/xformDataUpload?&uname=daniel&pw=Openmrs1
20:03:09 <mm3838> I've created a user and pw for you
20:03:20 <dkayiwa> ok
20:04:03 <dkayiwa> are you uploading data as a multipart?
20:04:11 <dkayiwa> standard ODK style?
20:05:09 <mm3838> yes, using the same code, just changing server and authentication
20:05:21 <mm3838> I tried again, the response status is HTTP/1.1 500 Internal Server Error
20:06:53 <dkayiwa> can i look at your class doing the data upload?
20:07:08 <mm3838> where can I send it to you?
20:08:58 <mm3838> here it is http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/tasks/InstanceUploaderTask.java?repo=collect
20:09:01 <OpenMRSBot> <http://ln-s.net/8_q9> (at code.google.com)
20:10:42 <dkayiwa> can you debug and tell me if it branches into this line:
20:10:43 <dkayiwa> entity.addPart("xml_submission_file", fb);
20:10:50 <dkayiwa> line 91 i think
20:13:42 <Jeff_S> downeym: pong
20:14:42 <mm3838> it enters in the if statement, copies to fb, but cannot understand if it adds to entity
20:15:56 <mm3838> anyway, I have no problem in updating it to odk aggregate
20:16:27 <dkayiwa> meaning?
20:17:16 <mm3838> sorry, no update, upload. I mean, if I set a odk-aggregate server, it uploads the file
20:17:35 <mm3838> so I think it format the multipart entity correctly
20:22:17 <dkayiwa> can i see your entire tomcat log?
20:22:33 <mm3838> sure, where can I get it?
20:22:49 <dkayiwa> by the way, do you have any binary data?
20:22:57 <dkayiwa> like pictures, video
20:23:24 <mm3838> in this test, no, but I don't know in the future
20:23:38 <dkayiwa> ok
20:24:26 <mm3838> where can I find the tomcat log?
20:24:40 <dkayiwa> which os are you running?
20:24:45 <mm3838> ubuntu
20:26:16 <dkayiwa> look under tomcat/logs
20:27:18 <dkayiwa> and which form are you trying to upload?
20:31:37 <mm3838> I was trying to upload basic form 2
20:32:09 <mm3838> this is the beginning of my tomcat log
20:32:11 <mm3838> Mar 7, 2011 3:23:42 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet module_servlet threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:611) at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198) at org.openmrs.module.xforms.util.XformsUti
20:36:33 <dkayiwa> just sent data to your server now
20:36:52 <dkayiwa> for patient Mr John D Patient
20:37:00 <dkayiwa> using the Basic Form 2
20:37:05 <dkayiwa> using odk clinic
20:37:36 <mm3838> so it works?
20:37:49 <dkayiwa> you can check your server
20:37:52 <mm3838> why I cannot use mine? were you able to download and upload?
20:37:58 <mm3838> I've found your patient
20:38:04 <dkayiwa> i got the forms from your server
20:38:16 <dkayiwa> and uploaded to your server
20:38:44 <mm3838> what url did you use?
20:40:00 <dkayiwa> http://209.2.209.33:8080/openmrs/moduleServlet/xforms/xformDataUpload?
20:40:04 <OpenMRSBot> <http://ln-s.net/8_qm> (at 209.2.209.33:8080)
20:40:12 <dkayiwa> plus uname and pw
20:41:18 <mm3838> ok, so I'll check again... thanks anyway! BTW, what does ln-s.net/8_gm?
20:42:11 <dkayiwa> what?
20:43:00 <mm3838> @OpenMRSBot has written twice the address <http://ln-s.net/8_qm>
20:43:13 <mm3838> just wanted to know what it meant!
20:43:25 *** pascal` has quit IRC
20:43:27 <downeym> mm3838: Just a short version of the URL for bookmarking, etc.
20:44:00 <mm3838> @downeym: thanks for the explanation
20:44:16 <downeym> mm3838: No problem. :)
20:45:11 <dkayiwa> mm3838 you can set you global property named xforms.saveFormat to value javarosa
20:45:30 <dkayiwa> to support jr extensions
20:45:36 <dkayiwa> for your forms
20:45:49 <mm3838> in the global properties?
20:45:53 <dkayiwa> yes
20:45:59 <mm3838> thanks a lot!
20:46:40 <dkayiwa> i suspect your client code does not add the multipart entity
20:47:10 <dkayiwa> otherwise odk clinic works well with yo server
20:47:17 <mm3838> I didn't change the code from odk-clinic... what version did you use?
20:48:01 <dkayiwa> am using an old version
20:48:13 <dkayiwa> been long since i last updated
20:48:34 <dkayiwa> yu may check with james or yaw
20:48:47 <dkayiwa> it upload works with current version
20:48:49 <mm3838> thanks a lot
20:49:56 <dkayiwa> it = if
20:50:03 *** dkayiwa has left #openmrs
20:52:08 <mm3838> see you, thanks a lot everyone for the patience and the help!
20:52:41 *** mm3838 has quit IRC
21:08:08 *** dkayiwa has joined #openmrs
21:21:00 *** dkayiwa has quit IRC
21:25:19 *** dkayiwa has joined #openmrs
21:32:54 *** rafa has joined #openmrs