IRC Chat : 2011-03-08 - OpenMRS

00:12:37 *** OpenMRSBot has joined #openmrs
00:12:37 *** ChanServ sets mode: +o OpenMRSBot
00:12:47 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (concept_mappings): concept_mappings: Added ability to add/remove concept mappings, added manage concept map types and updated the concept v... <http://feedproxy.google.com/~r/OMRStrunk/~3/tDFTtAdNZ0M/OpenMRS> || OpenMRS Forum: Re: Database tables description <http://forum.openmrs.org/viewtopic.php?f=2&t=763#p2902>
01:16:19 *** Hazamonzo has quit IRC
01:16:29 *** Hazamonzo has joined #openmrs
01:36:24 <deadpool> bwolfe: can i ask you a hibernate question? i am having a problem when trying to save something to the database
01:37:54 <bwolfe> sure
01:42:43 <deadpool> bwolfe: this is the error i am getting http://pastebin.com/YRFAPW67 this is my sqldiff.xml http://pastebin.com/gSQ7BdYQ and this is my hbm.xml http://pastebin.com/CEN4AVCr
02:20:02 <deadpool> bwolfe: any ideas?
02:22:50 <bwolfe> deadpool: any other errors around that?
02:23:04 <bwolfe> that error doesn't mean the mapping or table is wrong necessarily
02:23:09 <bwolfe> what call are you making to save it?
02:23:19 <bwolfe> does your __Service has an @Transactional annoation on it?
02:23:28 <deadpool> it does
02:24:41 <deadpool> so i am saving it using the service which uses the saveorupdate
02:29:50 <deadpool> bwolfe: would you like to see the service.java?
02:32:48 <bwolfe> hmm
02:38:10 <bwolfe> deadpool: I dunno. look for other errors before that one in the log file
02:38:30 <bwolfe> perhaps something is failing when doing the actual insert
02:38:34 <deadpool> that is the first one actually
02:42:28 <deadpool> bwolfe: this is the error log i get http://pastebin.com/NYKw1b3n
02:45:59 <bwolfe> theres gotta be something else
02:47:56 <bwolfe> bbl
02:53:12 <deadpool> bwolfe: thanks i will talk to you later
03:42:23 *** upul` has joined #openmrs
03:42:23 *** ChanServ sets mode: +v upul`
04:02:03 *** bwolfe has quit IRC
04:24:18 *** surangak has joined #openmrs
04:58:01 *** pascal` has joined #openmrs
04:59:36 *** mm3838 has joined #openmrs
05:00:00 <mm3838> hi everyone
05:00:24 <mm3838> dkayiwa: can I make you just one more question?
05:01:56 <mm3838> I cannot upload, I still have the error 500... could you send me the class you used for uploading earlier today? You can also send it to my email address mm3838@columbia.edu
05:04:03 <mm3838> @dkayiwa: I also changed the xforms.saveFormat to javarosa, but then I wasn't able to use odk anymore, it couldn't recognize the xform. I changed it back to purcform
05:04:17 <mm3838> thank you and sorry for all the questions
06:10:54 *** mayanks43 has joined #openmrs
06:22:43 *** muthah has joined #openmrs
06:23:27 *** mm3838 has quit IRC
07:18:56 *** pascal` has quit IRC
07:24:48 *** komal_ has joined #openmrs
07:31:25 *** pascal` has joined #openmrs
07:36:00 *** komal_ has quit IRC
08:08:49 *** mayanks43 has left #openmrs
08:48:21 *** mariolone has joined #openmrs
08:48:21 *** mariolone has left #openmrs
08:59:30 *** rafa has joined #openmrs
09:44:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: DWR error on tomcat console <http://forum.openmrs.org/viewtopic.php?f=11&t=764#p2903>
10:05:03 *** muthah has quit IRC
11:02:51 *** mayanks43 has joined #openmrs
11:16:13 *** upul` has quit IRC
11:17:38 *** mayanks43 has quit IRC
11:41:39 *** goutham has joined #openmrs
11:43:18 *** komal_ has joined #openmrs
11:46:46 *** muthah has joined #openmrs
11:51:12 *** dkayiwa has quit IRC
11:56:49 *** komal_ has quit IRC
12:17:01 *** rafa has quit IRC
12:22:15 *** surangak has quit IRC
12:22:39 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Document viewer module <http://forum.openmrs.org/viewtopic.php?f=8&t=765#p2904>
12:25:35 *** rafa has joined #openmrs
13:01:57 *** bwolfe has joined #openmrs
13:01:57 *** ChanServ sets mode: +o bwolfe
13:17:24 *** r0bby has quit IRC
13:25:44 *** muthah has quit IRC
13:26:47 *** ashishmittal has joined #openmrs
13:40:11 *** deadpool has quit IRC
13:46:19 *** rafa has quit IRC
13:48:15 *** pascal` has quit IRC
13:49:13 *** pascal` has joined #openmrs
14:12:44 *** rafa has joined #openmrs
14:17:32 *** bwolfe has quit IRC
14:24:53 *** pascal` has quit IRC
14:29:30 *** bwolfe has joined #openmrs
14:29:30 *** ChanServ sets mode: +o bwolfe
14:29:45 *** bwolfe has quit IRC
15:00:45 *** ashishmittal has quit IRC
15:01:05 *** ashishmittal has joined #openmrs
15:01:31 *** mm3838 has joined #openmrs
15:13:48 *** ashishmittal has quit IRC
15:14:40 <mm3838> hi everyone, I'd like to ask a question to Daniel Kayiwa, yesterday he was online
15:15:10 *** downeym has joined #openmrs
15:15:10 *** ChanServ sets mode: +o downeym
15:15:17 <mm3838> could you give me his email address or, since I think he doesn't want to give it around, write him one for me?
15:15:47 <mm3838> I really need him just to send me a file, a class, he has a old working version and I don't know where to find it
15:18:02 *** bwolfe has joined #openmrs
15:18:02 *** ChanServ sets mode: +o bwolfe
15:20:20 *** mm3838 has quit IRC
15:27:58 *** goutham_ has joined #openmrs
15:28:06 <downeym> Hi goutham_ and welcome to the #openmrs IRC channel.
15:28:48 <goutham_> :)
15:51:49 *** goutham_ has quit IRC
15:52:01 *** ankit_gangal has joined #openmrs
15:52:08 <downeym> Hi ankit_gangal and welcome to the #openmrs IRC channel.
16:00:40 *** dkayiwa has joined #openmrs
16:04:59 *** pascal` has joined #openmrs
16:05:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Providing Privileges for different users..? <http://forum.openmrs.org/viewtopic.php?f=8&t=766#p2905>
16:05:05 *** ChanServ sets mode: +v pascal`
16:05:17 <pascal`> bwolfe, around?
16:05:26 <bwolfe> no
16:05:31 <bwolfe> oh wait, yes
16:17:39 *** ankit_gangal has quit IRC
16:28:46 *** eddin has joined #openmrs
16:28:47 <eddin> Hello
16:29:00 <downeym> Hi eddin and welcome to the #openmrs IRC channel.
16:31:12 *** eddin has quit IRC
16:37:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: How to use new form? <http://forum.openmrs.org/viewtopic.php?f=3&t=756#p2906> || New Changeset: OpenMRS (trunk): TRUNK-1919 - added character encoding to Security util methods... <http://feedproxy.google.com/~r/OMRStrunk/~3/vUqJgwM9epw/OpenMRS> || New Changeset: OpenMRS (concept_mappings): concept_mappings: Added forms and controller for adding/editing and retiring concept map types to the admin section <http://feedproxy.google.com/~r/OMRStrunk/~3/IjWMRahddu4/OpenMRS>
16:48:46 *** downeym has quit IRC
16:51:31 *** rafa has quit IRC
16:59:38 *** rafa has joined #openmrs
17:01:48 *** rafa has quit IRC
17:02:13 <Echidna> nice, i can commit to tags
17:11:36 *** ashishmittal has joined #openmrs
17:13:18 *** ashishmittal has quit IRC
17:33:48 <bwolfe> Echidna: its bad form, but yes, you can
17:38:47 *** r0bby has joined #openmrs
17:38:47 *** ChanServ sets mode: +v r0bby
17:38:57 *** r0bby is now known as robbyoconnor
17:55:48 *** robbyoconnor has quit IRC
18:05:00 *** chughgaurav has joined #openmrs
18:06:11 <chughgaurav> I want to work for Openmrs , can someone please help me quickstart ?
18:17:24 *** deadpool has joined #openmrs
18:20:40 <bwolfe> chughgaurav: are you referring to gsoc, or just some general volunteering?
18:20:49 <bwolfe> !gsoc
18:20:49 <OpenMRSBot> bwolfe: Get more information about OpenMRS and Summer of Code 2011 with answers to all your questions at http://go.openmrs.org/soc2011
18:20:54 <bwolfe> !introtickets
18:20:54 <OpenMRSBot> bwolfe: "introtickets" --- http://tickets.openmrs.org/secure/IssueNavigator.jspa?mode=hide&requestId=10068
18:51:29 *** robbyoconnor has joined #openmrs
18:51:29 *** ChanServ sets mode: +v robbyoconnor
19:31:41 <chughgaurav> bwolfe: Yes , I want to join Openmrs in gsoc . So , can you please guide me through it ?
19:32:24 <bwolfe> chughgaurav: did you see the link I sent before for hte soc2011 wiki page? have you seen that?
19:32:33 <bwolfe> that page walks you through a lot of stuff
19:34:19 <chughgaurav> bwolfe : yes , I have gone through it .
19:34:43 <bwolfe> ok, so introtickets are you next step. :-)
19:34:49 <bwolfe> !refer chughgaurav [introtickets]
19:34:49 * OpenMRSBot refers chughgaurav to "introtickets" --- http://tickets.openmrs.org/secure/IssueNavigator.jspa?mode=hide&requestId=10068
19:39:17 <chughgaurav> bwolfe: before I start fixing the bugs , can you please tell me what all I need to learn , as I am a intermediate Java programmer . I have some experience developing projects using Swing and JDBC (MY SQL) , for my college .
19:40:20 <chughgaurav> bwolfe: do I need to learn Hibernate , Spring before I start ?
19:40:28 <bwolfe> depends on the ticket
19:40:34 <bwolfe> we use 0 swing
19:40:41 <bwolfe> and zero jdbc
19:43:01 <chughgaurav> bewolfe: I have started working on J2EE , what else is atleast required , to start ?
19:50:13 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Adding an exception message to module startup procedure <http://feedproxy.google.com/~r/OMRStrunk/~3/Lns_H4M-W-c/OpenMRS>
19:57:13 *** Echidna has quit IRC
19:59:33 <bwolfe> chughgaurav: some jsp, html, java, xml
19:59:37 <bwolfe> those are the very basics
19:59:53 <bwolfe> then maybe some knowledge of spring mvc, spring annotations, and spring aop if you're feeling brave
19:59:54 <bwolfe> :-)
20:00:10 <bwolfe> hibernate comes into play in some tickets, but not too many
20:00:58 <chughgaurav> bwolfe : will I need Hibernate & Spring , in the starting ?
20:01:25 <bwolfe> spring, maybe, hibernate, no
20:02:20 <chughgaurav> bwolfe: Thank you , meet you in 2 days , after I get comfortable with jsp .
20:02:36 <bwolfe> ok, will be here. :-)
20:04:28 *** Echidna has joined #openmrs
20:04:28 *** ChanServ sets mode: +v Echidna
20:23:54 *** goutham has quit IRC
20:53:40 *** deadpool has quit IRC
20:53:43 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (concept_mappings): concept_mappings: Added CRUD methods for managing concept map types to the API <http://feedproxy.google.com/~r/OMRStrunk/~3/hjFghJgjjo0/OpenMRS> || New Changeset: OpenMRS (trunk): Fix issues with StartModule and context refresh ... <http://feedproxy.google.com/~r/OMRStrunk/~3/L8WKO1fEqZs/OpenMRS>
20:54:46 *** pascal` has quit IRC
21:45:59 *** chughgaurav has quit IRC
22:17:29 *** deadpool has joined #openmrs
22:43:57 *** mm3838 has joined #openmrs
22:44:23 <mm3838> dkayiwa: hi, are you there?
22:44:30 <dkayiwa> am cool
22:44:31 <dkayiwa> u
22:44:38 <mm3838> good thanks
22:44:42 <dkayiwa> sorry about yesterday
22:44:49 <mm3838> don't worry
22:44:52 <dkayiwa> i slept off and left my laptop on
22:45:07 <dkayiwa> i though i would wake up only to do so in the morning :D
22:45:21 <mm3838> I figured, even because I don't really know where you are, I figured in Uganda, right?
22:45:54 <dkayiwa> I leave in Uganda but for this month am in the US
22:46:34 <mm3838> oh, I see! In fact it was late in the US, but much later in Uganda
22:46:43 <dkayiwa> yes
22:46:54 <mm3838> are you in DC?
22:47:08 <dkayiwa> Indiana
22:47:55 <mm3838> ah, never been there... anyway same time zone than here (NY), so I won't bother you too much, because I figure you wanna leave
22:48:00 <dkayiwa> So now about your problem, were you able to locate the tomcat log fole
22:48:08 <dkayiwa> no do not worry
22:48:22 <dkayiwa> everytime you see me online, just talk :D
22:48:27 <mm3838> yes, I sent you yesterday, didn't I?
22:48:28 <mm3838> thanks
22:48:50 <dkayiwa> can u send again
22:49:35 <dkayiwa> even if you just send me the xforms xml instance that you are trying to upload, it would be enough
22:50:03 *** robbyoconnor has quit IRC
22:50:39 <mm3838> how can I send you that? I tried to look into the android emulator, but I cannot find the data... it looks like it creates a folder for each form, but there are no files in it!
22:51:09 <dkayiwa> any would work
22:51:24 <dkayiwa> whichever is easier for u
22:51:55 <mm3838> i'll send you the log... just let me try to upload something, so that you can see it in the log (i think)
22:52:05 <dkayiwa> ok
22:52:34 <dkayiwa> and i suspect that you may just be simply missing a patientId
22:54:47 <mm3838> this is the end of today's catalina log
22:54:49 <mm3838> INFO: Deploying configuration descriptor manager.xml Mar 8, 2011 5:12:12 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml Mar 8, 2011 5:12:12 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive mine.war Mar 8, 2011 5:12:12 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT M
22:55:33 <dkayiwa> can you send me the actual file
22:55:46 <mm3838> can I post files here?
22:55:57 <dkayiwa> too long for everyone
22:56:03 <dkayiwa> maybe pastebin
22:56:11 <dkayiwa> and then you put the link here
22:56:25 <dkayiwa> whats the file name?
22:57:23 <mm3838> here it is http://pastebin.com/gjbNgLaV
22:57:38 <mm3838> localhost.2011-03-08.log
22:57:48 <mm3838> the one I sent you before I think was a wrong log
22:59:53 <dkayiwa> the one in pastebin?
23:00:40 <mm3838> no, the one I posted here earlier, the one in pastebin should be what you are looking for
23:01:46 <dkayiwa> whats the url to your server?
23:01:49 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (1.8.x): Backporting fix for date comparison in ShortPatientFormValidator test - TRUNK-2063 <http://feedproxy.google.com/~r/OMRStrunk/~3/R5hzLjwkFGE/OpenMRS> || New Changeset: OpenMRS (trunk): Fix for date comparison in ShortPatientFormValidator test - TRUNK-2063 <http://feedproxy.google.com/~r/OMRStrunk/~3/vkLlEBosVcM/OpenMRS>
23:02:17 <mm3838> today it's 209.2.221.252:8080
23:02:56 <dkayiwa> can i upload a modified module there? i have just added some more error output
23:03:05 <dkayiwa> to help me figure out what happening
23:03:18 <mm3838> sure
23:03:28 <mm3838> we're just testing right now, no real data in it
23:03:34 <dkayiwa> ok
23:04:00 <mm3838> you still have the same user: daniel Openmrs1
23:04:06 <dkayiwa> yup
23:06:31 <dkayiwa> can you now try again to upload
23:06:45 <dkayiwa> and then send me a pastebin link for the current log
23:08:51 <mm3838> http://pastebin.com/ACYLjHyT
23:09:02 <dkayiwa> ok
23:15:44 <dkayiwa> can you try upload again
23:15:57 <dkayiwa> and then end me another pastebin link?
23:15:57 <mm3838> sure
23:16:54 <mm3838> I still get the same exception http://pastebin.com/FE7rPq3K
23:20:26 <dkayiwa> the log does not look like it has changed. can you try again now to upload
23:20:29 <dkayiwa> and then send me
23:22:02 <mm3838> I'll try
23:23:35 <mm3838> this is http://pastebin.com/1mw9JNnP
23:33:52 <mm3838> sometimes when I upload the log doesn't change, do you know why this happens? Does it mean the server is not working properly?
23:34:37 <dkayiwa> when you get a problem, there should be something in the log, else there is another problem somewhere on the server
23:35:06 <dkayiwa> can you try again now
23:35:12 <dkayiwa> to upload data and send me the log
23:37:06 <mm3838> so, this has been added to the log Mar 8, 2011 6:33:44 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'openmrs' Mar 8, 2011 6:34:58 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'openmrs'
23:37:16 <mm3838> then I tried to upload a couple of times and nothing changed
23:37:27 <mm3838> in the log, I mean . Nothing has been added
23:37:33 <dkayiwa> oh
23:37:51 <dkayiwa> let me cross check
23:39:03 <dkayiwa> thats strange
23:39:52 <mm3838> you want to see the catalina log? That has been updated
23:40:07 <dkayiwa> yes
23:41:08 <mm3838> http://pastebin.com/XC6BmZ0M
23:42:36 <dkayiwa> ok
23:44:21 <mm3838> can I ask you to try again to upload a patient, as you did yesterday?
23:45:35 <dkayiwa> am assuming you are not adding the batch entry parameter?
23:45:53 <mm3838> exactly
23:46:32 <mm3838> /openmrs/moduleServlet/xforms/xformDataUpload?&uname=uname&pw=password
23:46:40 <dkayiwa> ok
23:47:54 <dkayiwa> can you try again now to upload data?
23:48:00 <dkayiwa> and send me the log
23:50:16 <mm3838> http://pastebin.com/EhLLH9Vw
23:50:25 <mm3838> nothing changes when I try to upload
23:50:47 <dkayiwa> very strange
23:50:54 <dkayiwa> any way lets get to the basics
23:51:04 <dkayiwa> do you have the patient id supplied?
23:51:50 <mm3838> I'll fill another basic form 2, with all the data, and then try to upload that, ok?
23:52:03 <dkayiwa> yes
23:52:10 <dkayiwa> do u fill the patientid?
23:52:27 <dkayiwa> which paitientid had you used before?
23:53:35 <dkayiwa> can i also look at the catalina.out?
23:54:02 <mm3838> yes, I'll send you the catalina log
23:54:33 <mm3838> http://pastebin.com/GLUJFjaK
23:55:32 <dkayiwa> which patient id had you used at first?
23:56:12 <mm3838> it doesn't allow me anymore the first xml I wanted to upload
23:56:21 <mm3838> I can give you the new one I've done
23:56:55 <dkayiwa> what do you exactly mean?
23:56:58 <mm3838> 1234568 the new one
23:57:11 <dkayiwa> new what?
23:57:53 <mm3838> If I tried to upload the old form I've done in the previous days, it says it has no root (I wipe all the data when I start the emulator)
23:58:12 <dkayiwa> ok
23:58:22 <mm3838> I've filled a new form and the patient id is 1234568
23:58:52 <dkayiwa> does that patient exist on the server>
23:58:53 <dkayiwa> ?
23:59:13 <dkayiwa> you cant fill an encounter form with a patientId which does not exist on the server
23:59:18 <mm3838> no
23:59:23 <mm3838> it doesn't exist
23:59:54 <dkayiwa> so then such data is of no value to the server