IRC Chat : 2011-02-17 - OpenMRS

00:46:05 *** lh has quit IRC
01:31:04 *** lh has joined #openmrs
01:38:25 *** aja has joined #openmrs
01:39:52 *** aja has quit IRC
01:51:33 *** gbastien has joined #openmrs
01:51:49 *** gbastien_ has joined #openmrs
01:55:55 *** gbastien has quit IRC
02:05:30 *** lh has quit IRC
02:07:41 *** gbastien has joined #openmrs
03:04:10 *** gbastien_ has quit IRC
03:04:14 *** gbastien has quit IRC
04:26:38 *** suho has joined #openmrs
05:30:49 *** suho has quit IRC
05:36:55 *** pascal` has quit IRC
05:59:59 *** us has joined #openmrs
06:02:56 <us> I'm trying to build the openMRS project following the instructions of the develeper guide. But when I try to configure Maven I'm getting the error 'Unable to find resource 'org.openmrs.tools:openmrs-tools:jar:1.9.0-SNAPSHOT' in repository openmrs-repo'. Could somebody please help me with this?
06:03:04 <us> Thanks
06:27:19 *** dkayiwa has joined #openmrs
06:44:36 *** muthah has joined #openmrs
07:26:01 *** us has quit IRC
07:28:59 *** robota has joined #openmrs
07:43:13 *** pascal` has joined #openmrs
07:53:15 *** muthah_ has joined #openmrs
07:53:15 *** muthah has quit IRC
07:53:16 *** muthah_ is now known as muthah
07:53:26 *** pascal` has quit IRC
07:57:42 *** pascal` has joined #openmrs
08:37:54 *** robota has quit IRC
08:49:29 *** robota has joined #openmrs
08:59:32 *** robota has quit IRC
09:00:23 *** robota has joined #openmrs
09:07:08 *** dkayiwa_ has joined #openmrs
09:07:08 *** dkayiwa has quit IRC
09:07:09 *** dkayiwa_ is now known as dkayiwa
10:03:36 *** rafa has joined #openmrs
10:03:52 *** rafa has quit IRC
10:31:50 *** robota has quit IRC
10:40:57 *** pascal` has quit IRC
10:48:47 *** pascal` has joined #openmrs
10:54:32 *** rafa has joined #openmrs
11:23:29 *** dkayiwa has quit IRC
11:30:51 *** dkayiwa has joined #openmrs
12:13:09 *** gbastien has joined #openmrs
12:17:30 *** gbastien has quit IRC
12:24:52 *** dkayiwa has quit IRC
12:28:48 *** dkayiwa has joined #openmrs
12:30:18 *** gbastien has joined #openmrs
12:51:04 *** gbastien has quit IRC
13:03:54 *** gbastien has joined #openmrs
13:06:50 *** dkayiwa_ has joined #openmrs
13:06:50 *** dkayiwa has quit IRC
13:06:51 *** dkayiwa_ is now known as dkayiwa
13:12:38 *** gbastien has quit IRC
13:19:24 *** bwolfe has joined #openmrs
13:19:24 *** ChanServ sets mode: +o bwolfe
13:26:25 *** rafa has quit IRC
13:26:36 <dkayiwa> bwolfe: Ctrl + C properly shuts down mysql in the standalone app. Possibly you had used something else like Ctrl + D
13:27:15 *** gbastien has joined #openmrs
13:27:20 <bwolfe> dkayiwa: nope, I'm sure it was control-c
13:27:33 <dkayiwa> :D
13:28:30 *** muthah has joined #openmrs
13:30:20 <dkayiwa> am starting to suspect that some operating systems do not call the shutdownHook
13:30:33 <dkayiwa> only tested on mac os which properly calls it
13:30:39 <dkayiwa> let me test on windows
13:39:04 *** robota has joined #openmrs
13:39:18 <bwolfe> dkayiwa: I'm on ubuntu
13:39:25 *** gbastien has quit IRC
13:39:41 <dkayiwa> ok
13:51:03 <dkayiwa> you must be right. The shutdown hook is also not called on windows too.
13:51:29 *** gbastien has joined #openmrs
13:51:55 <dkayiwa> looks like i need to think of a smarter way of doing it instead of using the shutdownHook
13:52:27 <bwolfe> why does tomcat shut down automatically? Can you do it the same way?
13:53:34 <dkayiwa> it is the shutdownHook that stops tomcat. But since it never gets called on Ctrl + C, then it also never stops tomcat
13:53:58 <dkayiwa> So the only reason why tomcat stops is because it is in the same process
13:53:59 <bwolfe> dkayiwa: but tomcat is being stopped for me
13:54:03 <bwolfe> oh ok
13:54:12 <bwolfe> and you can't make mysql be in that same process?
13:54:37 <dkayiwa> the mxj connector am using runs it only in another process
13:55:43 *** gbastien has quit IRC
13:58:31 <bwolfe> boo mxj
13:58:42 <dkayiwa> :D
14:07:50 *** gbastien has joined #openmrs
14:09:01 *** surangak has joined #openmrs
14:09:59 <bwolfe> !devmtg in an hour
14:09:59 <OpenMRSBot> bwolfe: Error: "devmtg" is not a valid command.
14:10:11 <bwolfe> !devmtg
14:10:11 <OpenMRSBot> bwolfe: "devmtg" --- Reminder: Developer meeting Thursday at 10:00 AM Eastern - http://wiki.openmrs.org/display/docs/Weekly+Developer+Meeting
14:10:16 <bwolfe> (in an hour)
14:12:05 *** goutham has joined #openmrs
14:15:34 *** wyclif has joined #openmrs
14:15:54 *** wyclif has quit IRC
14:18:39 *** suho has joined #openmrs
14:18:58 *** gbastien has quit IRC
14:24:00 *** Pkirwa has joined #openmrs
14:31:07 *** gbastien has joined #openmrs
14:34:18 *** dkayiwa has left #openmrs
14:38:23 *** dkayiwa has joined #openmrs
14:46:49 *** pascal` has quit IRC
14:53:16 <dkayiwa> bwolf: looks like it was my problem. I had put the shutdown hook in the child process instead of the parent
14:55:59 *** goutham has quit IRC
14:56:18 <dkayiwa> commited the fix
14:58:09 <bwolfe> dkayiwa: why was it working in osx then? perhaps some other safety checks they've put in?
14:58:23 <dkayiwa> possibly
14:58:31 <bwolfe> dkayiwa: we need to set the application_data_dir to .OpenMRS in the runtime properties
14:58:46 <dkayiwa> ok
14:58:57 <bwolfe> this then allows it to all be self encompassing
14:59:02 <dkayiwa> ok
14:59:04 <bwolfe> so someone could rezip it and move it ot another server!
14:59:15 <dkayiwa> makes perfect sense
15:03:04 *** Pkirwa has quit IRC
15:24:59 *** mccallumg has joined #openmrs
15:31:54 *** goutham has joined #openmrs
15:35:45 *** muthah has left #openmrs
15:35:57 <mccallumg> bwolfe: people on the phone think that if they comment then it's like volunteering as release manager.
15:36:14 <bwolfe> mccallumg: haha, good point
15:36:20 <dkayiwa> :D
15:38:04 *** gbastien has quit IRC
15:51:35 *** gbastien has joined #openmrs
15:55:57 *** mccallumg has quit IRC
15:59:10 *** robota has quit IRC
16:04:42 *** surangak has quit IRC
16:07:14 *** goutham has quit IRC
16:10:00 *** wyclif has joined #openmrs
16:12:09 *** rafa has joined #openmrs
16:13:49 *** lh has joined #openmrs
16:19:26 *** rafa has quit IRC
16:29:28 *** lh has quit IRC
16:30:38 *** aja has joined #openmrs
16:43:31 *** gbastien has quit IRC
16:55:52 <dkayiwa> bwolfe: Looks like whoever creates the standalone distribution will be the one to add the application_data_directory key to the runtime properties file since the openmrs setup wizard does not add it
16:56:34 <bwolfe> yeah, not sure how we can add it otherwise
16:56:39 <bwolfe> unless you put it in there
16:56:48 <bwolfe> which might not be possible
16:56:56 *** gbastien has joined #openmrs
16:57:05 <bwolfe> right, not possible.
16:58:29 <dkayiwa> if i had a way of detecting when the setup wizard has finished, i could automatically add the key to the properties file
17:06:20 *** dkayiwa has quit IRC
17:06:30 *** dkayiwa has joined #openmrs
17:07:48 *** rafa has joined #openmrs
17:25:23 <aja> Hi all,
17:25:45 <dkayiwa> hi ajax
17:26:20 <aja> i am creating texthandler for complex obs
17:26:59 *** gbastien has quit IRC
17:27:58 <aja> are there any difference btw binary handler and text handler other than text handler handle char[]?
17:41:25 *** gbastien has joined #openmrs
17:41:29 *** Hazamonzo__ has joined #openmrs
17:41:48 *** Hazamonzo_ has quit IRC
17:42:56 *** suho has quit IRC
17:43:04 <dkayiwa> could you give me the number of the ticket you are working on
17:43:16 <dkayiwa> i just want to get some more background information about it
17:43:31 <dkayiwa> aja
17:44:29 *** Echidna_ has quit IRC
17:45:30 <aja> dkayiwa:this is the ticket
17:45:37 <aja> dkayiwa:http://tickets.openmrs.org/browse/TRUNK-2009
17:50:03 *** Echidna has joined #openmrs
17:50:03 *** ChanServ sets mode: +v Echidna
17:52:03 <dkayiwa> aja: From the information i have read about that ticket, i do not see any difference other than the fact that one deals with char[] and the other byte[]
17:53:46 <aja> dkayiwa:I could not understand why mark first created text handler and then renamed it to binary handler?
17:54:15 <dkayiwa> It is not Mark who created the text handler
17:54:16 <aja> are there any size restriction?
17:54:47 <dkayiwa> He just found it done and suggested a different name basing on what the class actually does
17:54:55 *** gbastien has quit IRC
17:55:17 <dkayiwa> You could say he simply refactored by renaming
17:55:45 <dkayiwa> renaming more appropriately
17:57:08 <aja> ok fine
17:58:59 <aja> can you give an example of complex obs which is going to use textHandler?(imageHandler=>Xray image,like that textHandler?))
18:01:08 <dkayiwa> Possibly a patient image in SVG format
18:03:42 <dkayiwa> So the TextHandler helps the developer by not requiring them to first convert the SVG character contents to a binary format. (though technically possible)
18:04:16 *** dkayiwa has left #openmrs
18:04:22 *** dkayiwa has joined #openmrs
18:07:43 *** gbastien has joined #openmrs
18:12:41 *** gbastien has quit IRC
18:26:36 *** gbastien has joined #openmrs
18:34:00 <bwolfe> aja: a texthandler would be a large block of text about a patient
18:34:15 <dkayiwa> yes
18:34:30 <dkayiwa> oh sorry i though it was aja asking :D
18:41:47 <aja> http://pastebin.com/pwfx3FYf see the getObs() method for TextHandler.Is it sutable?
18:52:34 <dkayiwa> aja: How about creating a patch and then submit to the ticket?
18:53:39 <aja> Ok,i Will attach patch and request code riew
18:55:29 <dkayiwa> perfect
18:55:43 *** downeym has joined #openmrs
18:55:43 *** ChanServ sets mode: +o downeym
19:06:22 <aja> can a complexData of the obs be a java.io.Reader?
19:06:44 *** gbastien has quit IRC
19:13:02 <dkayiwa> aja: I think Yes
19:13:34 <dkayiwa> as long as the TextHandler deals appropriately with the reader
19:15:00 <dkayiwa> let me also hope that what you mean is the second parameter of the ComplexData object being a java.io.Reader
19:15:37 <aja> yes
19:15:44 <dkayiwa> ok
19:16:01 <aja> thanks
19:16:51 *** aja has quit IRC
19:19:37 *** gbastien has joined #openmrs
19:28:57 *** jswalton has joined #openmrs
19:29:03 <downeym> Hi jswalton and welcome to the #openmrs IRC channel.
19:31:56 <jswalton> Anyone have trouble with Logic 0.5 in openMRS1.9? I get a "could not open/be found" error.
19:32:14 <jswalton> tried to re-upload and still fails
19:32:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: XForms 3.9.9 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=xforms&version=&3.9.9>
19:35:27 <bwolfe> jswalton: at startup?
19:35:36 <jswalton> yes
19:35:57 <bwolfe> are you sure you have a good logic module?
19:37:32 <jswalton> I'm not sure....I went and downloaded a new one but when i try to upload it i get "logic-0.5.omod is already associated with a loaded module"
19:37:41 <jswalton> should i revert to an earlier logic module version
19:44:39 *** gbastien has quit IRC
19:44:42 <bwolfe> jswalton: you have to use the "upload a new version" box
19:54:19 *** jswalton has quit IRC
19:57:20 *** gbastien has joined #openmrs
19:59:26 *** rafa has quit IRC
20:17:16 <bwolfe> dkayiwa: if I do a clean checkout of the standalone project, can I just do an mvn package to create that jar, or are there other steps I need to do first?
20:18:44 <dkayiwa> you will need to install the two mxj connector jars into your local maven repo since we do not yet have them in nexus
20:19:05 <dkayiwa> other than that, you should be able to do a mvn package
20:24:19 *** gbastien has quit IRC
20:30:28 *** lh has joined #openmrs
20:30:43 <downeym> Hi lh and welcome to the #openmrs IRC channel.
20:30:56 <lh> downeym: thank you. i am honored to lurk here.
20:31:08 <lh> downeym: i have a silly question - is carol smith coming out to visit y'all?
20:31:23 <downeym> lh: That'd be fantastic but I haven't heard of any such visit.
20:31:35 <bwolfe> I haven't heard of a visit either.
20:31:47 <bwolfe> (but would also love to meat up with her)
20:31:56 <bwolfe> do you know if she's going to be in the area?
20:32:05 <downeym> bwolfe: Be a good mentor this summer and you can go to mentor summit :-P
20:32:46 <bwolfe> I just need to be in the country this year at that time...which I won't be, AGAIN
20:32:59 <downeym> well we had someone come from south africa
20:33:04 <downeym> last year
20:33:10 <bwolfe> (wow, did I really put "meat" up there??)
20:33:17 <downeym> meat?
20:33:32 <downeym> ek, so you did
20:33:44 <downeym> bwolfe: bacon on the brain again
20:34:00 <lh> bwolfe, downeym: according to her facebook, she was going to indianapolis. with all due respect, all i could think was that the only thing for her there was openmrs
20:34:26 <lh> bwolfe: it's lunch time on the west coast, so you're entitled to a bit of meat
20:34:47 <downeym> The only other big open source thing here is Progeny Linux & Ian Murdock of debian/sun fame
20:35:20 <downeym> and progeny is more or less dead
20:36:25 <downeym> lh: It's interesting, the pin on the tripit link is right over our building.
20:36:43 <lh> downeym: who knows. i hope she does come to visit you folks. :)
20:36:45 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS 1.8.x #18286: [Jeremy Keiper] backporting TRUNK-2026 to branches/1.8.x - fixing ClassCastException on RequiredDataAdvice <http://feedproxy.google.com/~r/OMRStrunk/~3/8S9BanK1yTg/> || New Changeset: OpenMRS trunk #18285: [Jeremy Keiper] TRUNK-2026 - fixing ClassCastException on RequiredDataAdvice <http://feedproxy.google.com/~r/OMRStrunk/~3/vWE6-iJJnPg/>
20:36:56 <downeym> lh: she's certainly welcome any time
20:36:57 *** gbastien has joined #openmrs
20:37:40 <lh> downeym: i need to figure out a business case to come visit again. it would be nice to meet you in person and frankly i miss spending time with docpaul, bmamlin and bwolfe
20:37:56 <downeym> lh: We miss spending time with them too. :)
20:38:03 * downeym ducks
20:38:15 <lh> downeym: lol.
20:39:10 <downeym> lh: Hopefully docpaul will figure something out, I know he's on it
20:39:29 <lh> downeym: nifty. :)
20:47:08 <bwolfe> downeym: when is the trip?
20:47:22 <downeym> bwolfe: Which trip?
20:47:39 *** gbastien has quit IRC
20:47:55 <bwolfe> carol's trip to indy
20:48:20 <downeym> bwolfe: March, I guess...
20:57:16 *** rafa has joined #openmrs
20:57:23 <downeym> Hi rafa and welcome to the #openmrs IRC channel.
20:58:43 *** gbastien has joined #openmrs
21:01:50 *** downeym has quit IRC
21:06:22 *** dkayiwa has quit IRC
21:06:35 *** dkayiwa has joined #openmrs
21:17:34 *** gbastien has quit IRC
21:18:36 <bwolfe> dkayiwa: how can I get mysql to autocreate my user again?
21:19:04 <dkayiwa> you need to have no database
21:19:41 <dkayiwa> so remove the runtime properties file and let openmrs take you through the database setup wizard
21:20:33 <bwolfe> the problem: 1) I created the database using the wizard and used openmrs/test. 2) mysql created the user automatically for me 3) I stopped/started the server and the standalone app reset the pw from 'test' to a random string as it was supposed to. 3) Now I want to distribute the package with username test again...
21:20:52 <bwolfe> perhaps we're going about the password thing the wrong way
21:21:05 <dkayiwa> oh i forgot to mention that
21:21:32 <dkayiwa> when you are creating a distribution, do not run the standalone app a second time
21:21:44 <bwolfe> hehe, thanks for that...NOW! :-p
21:22:16 <bwolfe> possible solution: add a flag in runtime props that tells the standalone app to reset the given password. if the standalone app sees that it resets the pw, chagnes the runtime prop for connection.password, and removes the 'reset_connection_password' prop
21:22:43 <dkayiwa> What i do it after the first time, i copy the database somewhere, when it still has password of test
21:23:07 <dkayiwa> then i can later on mess up with the original copy
21:23:50 <bwolfe> right, but I think people might want to mess with things, etc
21:23:54 <bwolfe> (when setting up the database)
21:24:02 <dkayiwa> :D
21:24:38 <dkayiwa> Your suggestion looks more convenient and user friendly
21:24:45 <dkayiwa> I like it too :)
21:25:11 <dkayiwa> let me try it out
21:28:42 *** gbastien has joined #openmrs
21:29:09 *** rafa has quit IRC
21:30:37 <bwolfe> dkayiwa: ok, I just committed a shell script that creates the zip
21:30:53 <bwolfe> you'll need to edit one line in there with whatever runtime prop key you choose
21:31:09 <dkayiwa> oh that is super!!! Let me update
21:31:37 <bwolfe> I've gotta run. Andy is getting his 1 year old pics done in 30 mins.
21:31:53 <dkayiwa> :D
21:32:18 <bwolfe> dkayiwa: fyi: bring lots of pics of your new little one when you come over here!
21:32:43 <dkayiwa> oh sure, will bring a terabyte :)
21:33:00 <bwolfe> haha, that should be pleny
21:33:04 <bwolfe> *plenty
21:33:12 *** bwolfe has quit IRC
21:42:59 *** mmatuszak has joined #openmrs
21:48:41 *** mmatuszak has quit IRC
22:14:40 *** dkayiwa has quit IRC
23:19:43 *** gbastien has quit IRC
23:30:46 *** gbastien has joined #openmrs
23:39:38 *** wyclif has quit IRC