IRC Chat : 2009-02-26 - OpenMRS

00:10:50 <nribeka> bwolfe
00:10:55 <nribeka> are you there?
00:14:00 <nribeka> i think there's a problem in savePatient bwolfe
00:14:47 <nribeka> the insertPatientStub only fill three out of four required field in the patient table
00:15:55 <bwolfe> nribeka: yeah, I found that today
00:15:58 <bwolfe> nribeka: :-)
00:16:13 <nribeka> ups :P
00:16:15 <bwolfe> I have a fix for the "creating a patient that was a user already" that I need to commit
00:16:33 <nribeka> haha cool :)
00:29:25 *** Keelhaul has joined #openmrs
00:29:25 *** ChanServ sets mode: +v Keelhaul
00:41:26 *** nribeka has quit IRC
00:51:42 <Keelhaul> bwolfe: i need a suggestion for tagging "normal" location
00:51:53 <Keelhaul> as in hospital, clinic, facility, organization or smt
01:03:42 <bwolfe> Keelhaul: why tag them at all ?
01:04:15 <Keelhaul> so my module knows what type of location it is
01:04:47 <Keelhaul> otherwise i'd have to check whether it contains all other types of tags
01:05:01 <Keelhaul> any of the other*
01:05:56 <Keelhaul> bwolfe: i came up with a somewhat elegant solution for my room capacity problem
01:06:10 <Keelhaul> if i add a set of child locations tagged "bed" to a room, i have a number =)
01:06:52 <bwolfe> nice
01:06:58 <bwolfe> so no extra attribute necessary ?
01:07:43 <Keelhaul> prolly not
01:07:57 <Keelhaul> the floor field will still be missing though
01:08:00 <Keelhaul> i guess i can live w/o
01:08:47 <bwolfe> Keelhaul: you could make each floor a location too
01:09:15 <Keelhaul> then each floor number will have to be defined as tags
01:09:29 <bwolfe> thats possible too
01:09:33 <Keelhaul> well not necessarily
01:09:36 <Keelhaul> maybe a name will do
01:09:57 <bwolfe> but I was thinking of making a location named Floor 2 and each room is a child of that floor
01:10:44 <Keelhaul> heh
01:10:45 <Keelhaul> yea
01:10:59 <Keelhaul> oh
01:11:01 <Keelhaul> in that order
01:11:08 <Keelhaul> no, that'd require too much restructuring =/
01:11:34 <Keelhaul> considering each layer has its own set of controllers and pages
01:12:10 <Keelhaul> also, the position of "floor" in the hierarchy isnt that clear
01:12:21 <Keelhaul> a department could stretch over several floors
01:12:31 <Keelhaul> or a floor could have several departments
01:12:37 <Keelhaul> depending on the building
02:18:09 *** upul has quit IRC
02:25:24 *** nribeka has joined #openmrs
02:30:30 <Keelhaul> http://i10.photobucket.com/albums/a122/shafty2dope/100_0016.jpg =o
02:30:32 <OpenMRSBot> <http://ln-s.net/2vCg> (at i10.photobucket.com)
02:42:08 *** atomicturtle has joined #openmrs
02:43:29 *** atomicturtle has left #openmrs
02:47:06 *** upul has joined #openmrs
03:17:21 *** isurundt has joined #openmrs
03:26:08 <Keelhaul> bwolfe: i remember now why i like having big jars in trunk instead of modules
03:26:24 <Keelhaul> reloading modules many times causes tomcat to run out of memory faster
03:27:55 <r0bby> bwolfe: $5 says we have a leak somewhere
03:28:09 <r0bby> Keelhaul: happened w/ me
03:28:16 <r0bby> Probably within one of the classloaders
03:28:29 <r0bby> !oom
03:28:29 <OpenMRSBot> r0bby: "oom" --- Tomcat's memory management sucks. Increase your memory available to tomcat. See http://openmrs.org/wiki/Out_Of_Memory_Errors
03:28:37 <r0bby> Keelhaul: ^^
03:28:52 <Keelhaul> yea
03:28:58 <Keelhaul> that only postpones the inevitable
03:29:21 <Keelhaul> and i wasnt able to add all of those tweaks in linux
03:32:38 <r0bby> I suspect one of our classloaders is leaking like a mofo
03:32:51 <r0bby> I got to learn about tomcat's classloader structure
03:33:12 <r0bby> When I needed to get a hold of the classloader for openmrs it was amusing
04:00:33 <basic`> bwolfe: you know, i could disable restrict_owner to speed up the modify section of trac again, if you're willing to live w/o it
04:00:51 <basic`> err, roadmap (not modify)
04:01:29 <bwolfe> basic`: restrict_owner changes the ticket stuff too though. It takes away that drop down box
04:01:45 <basic`> i know :/
04:02:21 <basic`> probably *not* worth it then?
04:02:32 <bwolfe> basic`: how much does it speed it up ?
04:02:58 <basic`> it'd be as fast as it was before
04:03:41 <basic`> the query that restrict owner uses is what i had cached before
04:05:51 <bwolfe> basic`: hmm
04:06:00 <bwolfe> ok, well, if its only going to be a week or so...
04:06:48 <basic`> actually, let me make sure you have permissions to change that file
04:06:55 <basic`> in case it's problematic not having the drop down
04:08:13 <basic`> okay, it's disabled. you have write access to /var/lib/trac/openmrs/conf/trac.ini if you need to change it back and i'm not around
04:10:23 *** nribeka has quit IRC
04:11:13 <basic`> bwolfe: ^^
04:13:50 <bwolfe> basic`: seems faster
04:14:00 <bwolfe> but we'll see tomorrow :-)
04:14:09 <bwolfe> thanks!
04:21:23 *** isurundt has quit IRC
04:21:23 <basic`> you're welcome! let me know
04:21:35 <basic`> gonna do some homework
04:26:21 <Keelhaul> bwolfe: could you maybe add a method Location.hasTag(String)? =(
04:27:41 <bwolfe> Keelhaul: probably
04:27:48 <bwolfe> Keelhaul: do you feel like you need it ?
04:27:53 <Keelhaul> yes
04:28:03 <bwolfe> create a ticket and patch
04:28:19 <bwolfe> and if you add a unit test in LocationTest.java for it I'll fast track it ;-)
04:28:42 <Keelhaul> bwolfe: lol nm
04:28:46 <Keelhaul> the method is there already
04:28:52 <bwolfe> nice
04:28:59 <bwolfe> see how fast I do things ? :-D
04:29:06 <Keelhaul> lol
04:29:30 <bwolfe> I'm out. cya
04:30:03 *** nribeka has joined #openmrs
04:30:05 <Keelhaul> cya
04:31:48 *** Keelhaul has quit IRC
04:33:10 *** bwolfe has quit IRC
04:46:40 *** [mharrison] has joined #openmrs
04:58:55 *** nribeka has quit IRC
05:16:40 *** nribeka has joined #openmrs
05:28:01 *** upul has quit IRC
05:41:07 <r0bby> http://pastie.org/400676
05:51:24 <r0bby> strike that
06:17:33 *** isurundt has joined #openmrs
07:32:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6995]: installer-nbi: OpenMRS Panel gets MySQL Config from temp properties file <http://dev.openmrs.org/changeset/6995> || OpenMRS Changesets: Changeset [6994]: installer-nbi: MySQL Configuration with header and code comments <http://dev.openmrs.org/changeset/6994>
12:04:50 *** isurundt has quit IRC
12:40:49 *** james_regen has joined #openmrs
12:40:49 *** ChanServ sets mode: +v james_regen
12:45:57 *** r0bby has quit IRC
12:45:58 *** r0bby_ has joined #openmrs
12:45:58 *** ChanServ sets mode: +v r0bby_
13:09:15 *** bwolfe has joined #openmrs
13:09:15 *** ChanServ sets mode: +o bwolfe
13:56:23 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1293 (defect created): Monthly Report generation : NullPointerException in Birt Module <http://dev.openmrs.org/ticket/1293> || OpenMRS Tickets: Ticket #1292 (defect created): NullPointerException when clicking WHO Module Patient Rollback Facility <http://dev.openmrs.org/ticket/1292>
14:07:02 *** [mharrison] has quit IRC
14:23:52 *** r0bby_ has quit IRC
14:23:59 *** r0bby has joined #openmrs
14:23:59 *** ChanServ sets mode: +v r0bby
14:24:57 <bwolfe> nribeka: good news! I figured out why that stupid addRelationships unit test error was happening with the patched hibernate
14:25:46 <bwolfe> nribeka: it was a caching issue, but one that has happened other places and for some reason only appeared with your change to the hibernate jar. Try your patch with the latest in trunk. it seems to be working for me
14:31:40 <nribeka> so which one is tha patch bwolfe?
14:31:47 <nribeka> the really old one?
14:32:07 <bwolfe> nribeka: I'm using one that just changes rootEntityName to entityName
14:32:16 <bwolfe> in both the hashcode and .equals methods
14:32:21 <nribeka> ooo ok ok
14:32:25 <bwolfe> err generateHashcode, not hashcode
14:32:27 <nribeka> lemme check
15:00:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6996]: Fixed creation of new patient from existing user object - #1242 <http://dev.openmrs.org/changeset/6996>
15:17:20 *** bwolfe has quit IRC
15:20:07 *** bwolfe has joined #openmrs
15:20:07 *** ChanServ sets mode: +o bwolfe
15:28:12 <nribeka> bwolfe, i'm getting 2 errors on the web test
15:28:25 <bwolfe> nribeka: hmm
15:28:27 <bwolfe> with your patch ?
15:28:27 <nribeka> and 3 errors and 2 fail test on api
15:28:46 <nribeka> with just changing the rootEntity to entity
15:29:27 <nribeka> brb bwolfe
15:32:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Proposal for Changes to Reference Table mappings in OpenMRS <http://forum.openmrs.org/viewtopic.php?f=2&t=326#p1475>
15:58:26 *** Glen_ has joined #openmrs
16:02:16 *** [mharrison] has joined #openmrs
16:23:19 *** Glen_ has quit IRC
16:47:40 *** atomicturtle has joined #openmrs
16:48:50 *** atomicturtle has left #openmrs
17:08:35 *** bwolfe_ has joined #openmrs
17:08:35 *** ChanServ sets mode: +o bwolfe_
17:08:37 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6997]: chica: changed installer to 1.8 - fixes to chica setup.sql for bit to … <http://dev.openmrs.org/changeset/6997>
17:10:46 *** bwolfe has quit IRC
17:10:46 *** nribeka has quit IRC
17:16:21 <r0bby> bwolfe_: the openmrs wizard was giving me trouble w/ my database
17:16:22 <r0bby> :/
17:18:45 <r0bby> the initial setup would not work the database kept rejecting it
17:34:25 *** Echidna_ has joined #openmrs
17:39:16 *** Echidna has quit IRC
18:10:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Proposal for Changes to Reference Table mappings in OpenMRS <http://forum.openmrs.org/viewtopic.php?f=2&t=326#p1476>
18:25:10 *** atomicturtle has joined #openmrs
18:25:43 *** atomicturtle has left #openmrs
18:29:11 *** flyankur has joined #openmrs
18:36:08 *** nribeka has joined #openmrs
18:37:52 *** openmrs_2888 has joined #openmrs
18:38:31 <openmrs_2888> anybody there?
18:38:33 <bwolfe_> r0bby: are you using the latest trunk?
18:38:42 <bwolfe_> openmrs_2888: a few of us :-)
18:38:49 <nribeka> everyone is here openmrs :)
18:39:00 <openmrs_2888> no, just learning about openmrs.
18:40:12 <r0bby> latest trunk s
18:40:18 <r0bby> I almost typed latest drunk
18:40:26 <r0bby> That woulda sounded wrong
18:41:37 <r0bby> I'
18:41:38 <r0bby> m out
18:41:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1294 (task created): Need to create a developer wiki page to demo/document all portlets, widgets and modules <http://dev.openmrs.org/ticket/1294>
18:42:27 <openmrs_2888> since i am here i would like to ask a question: what is the most complex implementation of openmrs and what features does it implement?
18:43:09 *** puchuu has joined #openmrs
18:43:30 <bwolfe_> openmrs_2888: there are quite a few "complex" implementations :-)
18:43:34 *** bwolfe_ is now known as bwolfe
18:43:48 <bwolfe> you can see a list of some that have put their sizes and goals on a wiki page:
18:44:38 <r0bby> the main webapp is complex
18:44:46 <bwolfe> http://openmrs.org/wiki/Special:Search?search=implementation&go=Search
18:44:49 <OpenMRSBot> <http://ln-s.net/2vRv> (at openmrs.org)
18:44:51 <r0bby> there is a cold fusion implementation and a rails implementation
18:44:57 <bwolfe> that #7 is a good summary
18:45:00 <openmrs_2888> i have seen the list here http://openmrs.org/wiki/Summary_of_OpenMRS_Implementation_Sites but they all seem pretty basic with just few forms...
18:45:01 <OpenMRSBot> <http://ln-s.net/27Dd> (at openmrs.org)
18:45:13 <bwolfe> there are a lot more implementations obviously that have not put anythign up there
18:45:25 <r0bby> openmrs_2888: currently i'm working on a data entry solution that's gonna be amazing
18:45:35 *** puchuu has quit IRC
18:45:38 <r0bby> ...after i do this research paper :<
18:45:44 <bwolfe> openmrs_2888: depends what you mean by "a few" :-)
18:46:00 <r0bby> I'd much rather code.
18:46:04 <r0bby> OpenMRS coding > *
18:46:10 <bwolfe> openmrs_2888: the installation in kenya actively treats 80,000 patients and has about 50 or so forms
18:48:11 <openmrs_2888> this IRC page is really nice... but sorry, i got to go. thank you.
18:48:15 <r0bby> bwolfe : is there a bug in trunk wrt the set up wizard?
18:48:23 <r0bby> openmrs_2888: use mirc
18:48:28 *** openmrs_2888 has quit IRC
18:48:30 <r0bby> irc.freenode.org #openmrs
18:48:31 <r0bby> ...
18:48:39 <r0bby> too slow i guess
18:49:52 <bwolfe> r0bby: heh. the mibbit page is great for new users though
18:50:03 <bwolfe> r0bby: no need to download anything
18:50:15 <bwolfe> r0bby: and you're wrong, by the way, xchat is better than mirc ;-)
18:50:25 <r0bby> yeh it is
18:50:30 <r0bby> ps: i use irssi :)
18:50:34 <r0bby> irssi > *
18:50:46 <r0bby> b i t e m e .
18:50:53 <r0bby> <3 :)
18:52:04 <r0bby> I'll re-try the initial set up
18:52:12 <r0bby> I need to get it running so i can test my shit :)
18:52:21 <r0bby> </3 unit tests
18:52:29 <r0bby> but they shall be written
18:55:40 *** ankur has joined #openmrs
18:58:56 <bwolfe> welcome back ankur
18:59:26 <bwolfe> ankur: although it looks like your other personality never left! (flyankur) :-)
19:02:33 *** flyankur has quit IRC
19:12:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6999]: in patientmatching module, fixed forming pairs when deduplicating on a … <http://dev.openmrs.org/changeset/6999> || OpenMRS Tickets: Ticket #1297 (enhancement created): Implement a dataset builder module <http://dev.openmrs.org/ticket/1297> || OpenMRS Changesets: Changeset [6998]: datasetbuilder module: Adding a generic dataset builder <http://dev.openmrs.org/changeset/6998> || OpenMRS Tickets: Ticket #1296 (task created): Need a generic paging mechanism for administrative user interfaces <http://dev.openmrs.org/ticket/1296> || OpenMRS Forum: Re: Proposal for Changes to Reference Table mappings in OpenMRS <http://forum.openmrs.org/viewtopic.php?f=2&t=326#p1477> || OpenMRS Tickets: Ticket #1295 ( created): On generating dataset, handle permission denied issue <http://dev.openmrs.org/ticket/1295>
19:13:49 <nribeka> bwolfe, did you build your own hibernate jar to test it and it works?
19:14:09 <bwolfe> nribeka: yeah, just changed the rootEntityName to entityName
19:14:11 <bwolfe> in both
19:14:23 <bwolfe> nribeka: its not working for you ?
19:15:44 <nribeka> i replace my trunks with the one from repos (using subclipse) and it not working
19:15:45 <nribeka> :(
19:15:46 *** nribeka has left #openmrs
19:21:50 *** ankur has quit IRC
19:44:51 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7000]: datasetbuilder: Initial commit of the code and libraries. No … <http://dev.openmrs.org/changeset/7000>
20:16:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7001]: Added familyName2 to the person/patient/user searches in the API - #1291 <http://dev.openmrs.org/changeset/7001>
20:18:13 *** nribeka has joined #openmrs
20:18:28 <nribeka> did i miss anything here?
20:21:47 <bwolfe> nribeka: no
20:22:44 <bwolfe> nribeka: the hibernate lib in svn is still the old one
20:23:07 <bwolfe> nribeka: using a patched one in my latest trunk all tests pass (including addRelationships now) and the new ones
20:25:24 <nribeka> hmm
20:26:00 <nribeka> hang on bwolfe. a student just came in to ask some stuff :)
20:49:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1298 (defect created): Unable to add new Encounter Type <http://dev.openmrs.org/ticket/1298>
21:03:44 <nribeka> bwolfe, still error :(
21:03:45 <nribeka> huhu
21:03:47 <nribeka> why just me
21:04:21 <bwolfe> nribeka: check your hibernate lib and make sure its the recompiled one
21:04:26 <bwolfe> and do an ant clean
21:06:57 <bwolfe> nribeka: heh, well, its working for me
21:07:02 <bwolfe> and I'm ready to commit it. :-)
21:07:08 <nribeka> hahaha
21:07:11 <nribeka> ok bwolfe :D
21:07:19 <nribeka> commit it and i will update
21:14:18 <bwolfe> nribeka: commited.
21:14:34 <bwolfe> nribeka: need to send a note to the dev list blaming it on you ;-)
21:14:45 <bwolfe> Echidna_: are you still overriding the encounter object in your module ?
21:14:52 <nribeka> hahaha ... lol
21:15:02 <nribeka> updating :)
21:24:03 <nribeka> the test is all green in CI bwolfe :)
21:24:21 <bwolfe> thats good :-)
21:26:47 *** james_regen has quit IRC
21:34:46 <nribeka> this is so strange bwolfe
21:34:58 <nribeka> i don't know what kind of magic spell you put there
21:35:04 <nribeka> the test is all green now
21:35:06 <nribeka> lol
21:35:47 <bwolfe> nribeka: ha
21:35:53 <bwolfe> black magic
21:36:07 <nribeka> haha :)
21:36:25 <nribeka> witchcraft lol
21:52:00 <nribeka> o?
21:52:05 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1299 (task created): Backport Hibernate Jar File fix to 1.4.x <http://dev.openmrs.org/ticket/1299> || OpenMRS Tickets: Ticket #725 (defect closed): PatientService unit test fails <http://dev.openmrs.org/ticket/725#comment:29> || OpenMRS Changesets: Changeset [7002]: Patched the hibernate jar so that Patients that are Users can be displayed … <http://dev.openmrs.org/changeset/7002>
21:52:11 <nribeka> ups ... wrong one :)
21:52:36 <bwolfe> nribeka: huh ?
21:53:11 <nribeka> sorry bwolfe :P the window change to irc. it supposed to go to my assignment lol
22:23:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1300 ( created): Add trac plugin to convert emails to Trac tickets and comments <http://dev.openmrs.org/ticket/1300>
22:29:38 *** sgrannis has joined #openmrs
22:29:43 *** ChanServ sets mode: +v sgrannis
22:29:57 <nribeka> hi sgrannis :)
22:30:10 <sgrannis> hi win
22:30:14 <sgrannis> how are you?
22:30:22 <nribeka> good good :D
22:30:28 <nribeka> how's everything sgrannis?
22:31:33 <sgrannis> good - layover in geneva before heading back to US tomorrow
22:31:54 <nribeka> where are you right now sgrannis?
22:32:04 <nribeka> geneva, eu?
22:32:07 <nribeka> wow ...
22:32:45 <sgrannis> yep ... has jim arbaugh siuccessfully run the dedpue module?
22:33:10 <nribeka> yes sgrannis. it's done and he gave us the feedback
22:33:30 <nribeka> i'm done with putting the header and working on the first page last page thing sgrannis
22:33:31 <bwolfe> did he need an updated hibernate jar from you nribeka ?
22:33:41 <nribeka> no bwolfe
22:33:56 <nribeka> i truncate the patient data
22:34:10 <nribeka> remove the creator, modified by and voided by
22:34:31 <nribeka> using regex all those field are not included during fetching process
22:34:34 <sgrannis> did he evefr say how many dupes he found?
22:36:04 <nribeka> no he didn't say ...
22:37:24 *** bwolfe has quit IRC
22:39:02 *** jmiranda_ has joined #openmrs
22:52:33 *** jmiranda_ is now known as jmiranda62
22:53:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1301 (defect closed): 1.4 Synonym Migration Fails <http://dev.openmrs.org/ticket/1301#comment:1> || OpenMRS Changesets: Changeset [7003]: 1.4.x: Fixing concept name migration to include a blank description field … <http://dev.openmrs.org/changeset/7003> || OpenMRS Tickets: Ticket #1301 (defect created): 1.4 Synonym Migration Fails <http://dev.openmrs.org/ticket/1301>
22:53:17 *** jmiranda62 is now known as jcm62
23:10:32 <nribeka> i'm off ;)
23:25:33 *** jcm62 has quit IRC
23:40:49 *** sgrannis has quit IRC
23:54:24 *** [mharrison] has quit IRC