IRC Chat : 2008-05-25 - OpenMRS

00:25:33 *** nribeka has quit IRC
01:09:34 *** cancerb0y has quit IRC
01:15:52 *** Keelhaul has quit IRC
01:29:07 *** cancerb0y has joined #openmrs
01:35:39 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4361]: patientsummary: resizing layout <http://dev.openmrs.org/changeset/4361> || OpenMRS Changesets: Changeset [4360]: Fixes for Java 5 compatibility. Added log warning in Listener.java for … <http://dev.openmrs.org/changeset/4360> || OpenMRS Changesets: Changeset [4359]: Cleaning up and applying fixes for junit tests <http://dev.openmrs.org/changeset/4359> || OpenMRS Changesets: Changeset [4358]: Merging api-refactoring to trunk [3595]:[4355] <http://dev.openmrs.org/changeset/4358> || OpenMRS Changesets: Changeset [4357]: logicws: Added latest API jars from logic api refactoring branch. Fixed … <http://dev.openmrs.org/changeset/4357> || OpenMRS Changesets: Changeset [4356]: sync: fixing #776 - Cannot edit users. (Patch submitted so trunk should be … <http://dev.openmrs.org/changeset/4356> || OpenMRS Changesets: Changeset [4355]: api-refactoring: moving fieldType methods from Administration to Form … <http://dev.openmrs.org/changeset/4355> || OpenMRS Changesets: Changeset [4354]: Fixing #775 - Reports button on Cohort Builder should be populated from … <http://dev.openmrs.org/changeset/4354> || OpenMRS Changesets: Changeset [4353]: Merging trunk to api-refactoring [4312]:[4352] <http://dev.openmrs.org/changeset/4353> || OpenMRS Changesets: Changeset [4352]: api-refactoring: cleaning up FormService <http://dev.openmrs.org/changeset/4352> || OpenMRS Changesets: Changeset [4351]: Fixing #773 <http://dev.openmrs.org/changeset/4351> || OpenMRS Changesets: Changeset [4350]: removing duplicate MEMORY_APPENDER from log4j.xml that's causing a warning … <http://dev.openmrs.org/changeset/4350> || OpenMRS Changesets: Changeset [4349]: RwandaTracReportModule upgrading to OpenMRS 1.3 api. <http://dev.openmrs.org/changeset/4349>
02:11:41 *** njero has joined #openmrs
02:11:44 *** ChanServ sets mode: +v njero
02:12:50 *** cancerb0y has left #openmrs
04:05:29 *** njero has quit IRC
05:01:05 *** cancerb0y has joined #openmrs
05:19:20 *** sunbiz has joined #openmrs
05:19:57 <sunbiz> hi all !!
05:20:59 <sunbiz> hey cancerb0y... u on gsoc-india ??
05:40:29 *** cancerb01 has joined #openmrs
05:40:49 <cancerb01> sunbiz: hi ... so hows ur project goin??
05:42:52 <sunbiz> going on... started on it... finished the plan
05:43:37 <cancerb01> i havent :(... still some odifications needed in my plan
05:43:44 <cancerb01> *modification
05:44:13 <sunbiz> hmmm... saw ur proj wiki though... looks good !!
05:44:49 <cancerb01> hey thats a primitive one... actually copied the template from ur wiki:P
05:45:07 <sunbiz> ok :)
05:45:08 <cancerb01> i have modified a lot after that but still i have not updated it...
05:45:29 <cancerb01> sso which colege ru from?? ru goin for the delhi meetup??
05:45:55 <sunbiz> no...
05:46:06 <cancerb01> which college??
05:46:13 <sunbiz> I will b attending the meet after GSoC ends or probably after I've finish most of my proj
05:46:33 <sunbiz> Patkar college, Mumbai
05:46:41 <sunbiz> give an intro to the gsoc-india community
05:47:10 <sunbiz> Bangalore meet I think should b the good one at Google office
05:48:28 <cancerb01> yeah.. but i think i wont be attending... because once i start coding i cant make any commitments
05:48:51 <r0bby> hai
05:49:08 <cancerb01> r0bby: hi
05:49:10 * r0bby organized the google ny meet :)
05:49:24 <cancerb01> r0bby: so hows ur project going?
05:49:29 <r0bby> havent started
05:49:37 <sunbiz> yes.. r0bby is the leader who started the meet dialog on the list
05:49:37 <r0bby> i'm gonna do my project plan later.
05:49:47 <sunbiz> hail r0bby
05:49:49 <sunbiz> :D
05:50:21 <cancerb01> yeah he's the one who starts so many activities in the soc wiki
05:50:30 <r0bby> I started the meetups list
05:50:34 <cancerb01> wat project plan later??
05:50:42 <r0bby> cancerb01: I have to type a plan up
05:50:52 <cancerb01> r0bby: so??
05:50:59 <r0bby> so :P
05:51:03 <r0bby> i havent started mty project :)
05:51:05 <cancerb01> r0bby: today is the deadline..
05:51:19 <r0bby> cancerb01: I'll do it :)
05:51:28 <r0bby> Ive been busy :)
05:52:08 <cancerb01> so ur doing ur masters right?? whcih college? @ r0bby
05:52:28 <sunbiz> I guess r0bby's done his ASc
05:52:48 <r0bby> cancerb01: no
05:52:55 <r0bby> I havent finished *ANY* degree
05:53:01 <r0bby> and cancerb01: i've been away
05:53:06 <sunbiz> r0bby: I like ur User Page...
05:53:08 <r0bby> in atlantic city (gambling)
05:53:12 <r0bby> sunbiz: thanks :)
05:53:17 <sunbiz> nice pic
05:53:24 <r0bby> ..
05:53:28 <r0bby> oh =)
05:55:38 <cancerb01> so when's the ny meetup??
05:56:01 <cancerb01> r0bby: wat abt accomodation?? does google provide that??
05:59:05 *** cancerb0y has quit IRC
06:02:48 <r0bby> cancerb01: I'm HOPING lh will host us -- but nothing is written in stone
06:03:06 <r0bby> she has said she would -- but i can't assume anything
06:03:40 <sunbiz> r0bby: have u got ur value card shipment moving ??
06:03:53 <sunbiz> mine hasnt moved in the last 2 days
06:04:31 <r0bby> yes.
06:05:15 <sunbiz> cancerb01: what about urs ??
06:05:45 * r0bby zzz
06:05:47 <r0bby> bye
06:06:36 <sunbiz> cya... good morning
06:08:24 <cancerb01> sunbiz: even mine :(
06:20:44 <sunbiz> ok...cya guys
06:20:46 <sunbiz> bye
06:20:54 *** sunbiz has quit IRC
07:08:13 *** sioraiocht_ has joined #openmrs
07:18:05 *** sioraiocht has quit IRC
07:21:33 *** r0bby has quit IRC
07:23:21 *** r0bby has joined #openmrs
08:44:22 *** bwolfe has joined #openmrs
08:44:22 *** ChanServ sets mode: +o bwolfe
08:50:11 *** nribeka has joined #openmrs
08:54:04 *** upul has joined #openmrs
08:55:25 *** cancerb01 has quit IRC
09:00:20 <nribeka> morning all
09:03:02 <upul> morning nribeka
09:03:29 <nribeka> morning upul
09:03:35 <nribeka> done with the proposal?
09:04:17 <upul> not really, i am not sure how to split it in to pieces
09:08:26 <nribeka> ah ic
09:08:35 <nribeka> you're with bwolfe right?
09:08:45 <upul> yes
09:09:49 <upul> i have this funny problem in openmrs, it shows Can't find bundle for base name messages, locale en_US for when loading jsps
09:10:03 <upul> but all the labels are loaded nicely
09:11:16 <upul> only problem is it is showing that WARN message. i don't think it was there before when i tried in different machines
09:11:32 <nribeka> the warn is in tomcat logs?
09:12:34 <upul> yes. i checked with clean tomcats 5, 6 in jdk 5, 6. no difference
09:42:30 <nribeka> checked the logs
09:42:36 <nribeka> got no warning like that
09:42:43 <nribeka> but got lots of error :P
09:42:48 <nribeka> javax.el.PropertyNotFoundException: Property 'voided' not found on type org.openmrs.Drug
09:45:06 <upul> checked out release runs without any problems, except for this funny log
09:45:28 <nribeka> you got it from the trunks?
09:45:51 <upul> yes, trunk
09:46:08 <nribeka> so it's just me then ...
09:46:08 <nribeka> :(
09:46:52 <nribeka> you're runing build 4359?
09:46:57 <upul> ah but i updated about a few days ago
09:47:13 <nribeka> mine is updated yesterday
09:49:49 <upul> i'll update and try to get those errors then :-)
09:50:02 <nribeka> hehe ...
09:50:03 <nribeka> :D
09:59:43 *** sioraiocht_ has quit IRC
10:07:58 <nribeka> upul lemme know if you got the same error :P
10:24:50 *** cancerb0y has joined #openmrs
10:24:50 <cancerb0y> bwolfe: hi any comments on my project page??
10:24:51 <cancerb0y> bwolfe: i have updated it today
10:26:48 <cancerb0y> bwolfe: hi Ben any comments on my project page??
10:27:01 <cancerb0y> bwolfe: i have updated it today..
10:27:15 <cancerb0y> bwolfe: http://openmrs.org/wiki/Address_hierarchy_support_module
10:27:16 <OpenMRSBot> <http://ln-s.net/1t7H> (at openmrs.org)
10:30:05 <upul> nribeka: starting up and logging in are okay. but it got error org.openmrs.api.APIException: listing is an invalid value for 'displayType' attribute in loading patient search
10:30:53 <nribeka> wow ... we got a diff error :P
10:31:32 <upul> may be database need to be updated too
10:32:21 <nribeka> yeah, it need to be 1.3.0.09
10:33:08 <upul> cancerb0y: i think bwolfe is not at the machine right now
10:39:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #776 (defect closed): Cannot edit users <http://dev.openmrs.org/ticket/776#comment:2> || OpenMRS Changesets: Changeset [4362]: Fixing #776 - Cannot edit users <http://dev.openmrs.org/changeset/4362>
11:01:54 *** njero has joined #openmrs
11:01:54 *** ChanServ sets mode: +v njero
11:13:53 <cancerb0y> bwolfe: r u there
11:19:57 <upul> anybody know, after putting the module in the modules directory is there anything to activate it? i can see it in the manage modules as [not started]
11:24:10 <cancerb0y> upul: no just restart the tomcat server
11:24:23 <cancerb0y> upul: u ll see the module in the administration page
11:24:47 <upul> yes but it is in [not started] state
11:25:01 <cancerb0y> u mean server??
11:25:16 <upul> no the module
11:25:31 <cancerb0y> i dont get u.
11:26:06 <cancerb0y> u placed the module in the module repository i.e. c:/application data/openmrs/module/
11:26:11 <cancerb0y> right??
11:26:43 <cancerb0y> and u retarted the server... now it should work... u can see the module in the admin page..
11:26:48 <upul> yes it comes up in the 'manage modules' page
11:27:08 <upul> but it says [not started]
11:27:16 <upul> for the module
11:27:28 <upul> there is a label in front of it
11:28:58 <cancerb0y> have u coded the <modulename>ModuleActivator.java completely without error??
11:30:22 <upul> now, it works alright, may it doesn't like new modules
11:30:46 <cancerb0y> :)
11:32:59 *** cancerb0y has quit IRC
11:36:29 *** r0bby has quit IRC
11:47:31 <bwolfe> upul, look at the modules properties page in the admin section
11:47:43 <bwolfe> it will tell you if you have web management of modules turned on
11:47:52 <bwolfe> if it is off, turn it on via your openmrs runtime properties
11:47:57 <bwolfe> and restart openmrs
11:48:07 <bwolfe> then you can start/stop and load/unload modules from the webapp
11:49:27 <upul> bwolfe: i got it working using non-web thing, i'll try web management
11:50:11 <bwolfe> this is called help-and-run. I'm off again. :-)
11:50:51 <nribeka> bwolfe: hehehe ...
11:50:52 <nribeka> :D
11:54:43 *** maveriick has joined #openmrs
12:17:06 *** upul has quit IRC
12:28:27 *** maveriick has quit IRC
12:40:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4363]: synchronization_bidirectional_branch: merge from [4322] to [4357]. <http://dev.openmrs.org/changeset/4363>
12:53:52 *** njero has quit IRC
12:57:09 *** nribeka has quit IRC
12:58:54 *** nribeka has joined #openmrs
14:10:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4364]: pih hacks module: checking in a bunch of code, including Rwanda indicator … <http://dev.openmrs.org/changeset/4364>
14:55:32 *** sioraiocht has joined #openmrs
14:55:32 *** ChanServ sets mode: +v sioraiocht
17:10:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #778 (defect created): Audit Patient Identifiers function should be more flexible and ask for confirmation <http://dev.openmrs.org/ticket/778>
17:37:21 *** r0bby has joined #openmrs
17:37:21 *** ChanServ sets mode: +v r0bby
18:05:18 *** sioraiocht has quit IRC
18:06:10 *** Ngref has quit IRC
18:17:28 *** Keelhaul has joined #openmrs
18:17:28 *** ChanServ sets mode: +v Keelhaul
18:21:06 <Keelhaul> hi
18:39:34 * r0bby is so fucking hot
18:39:43 * r0bby wants to work
18:39:52 <r0bby> buyt is being forced to help clean his fucking garage
18:41:52 <Keelhaul> jeez
18:42:00 <Keelhaul> what did they do with the data model
18:42:06 <Keelhaul> all the test xmls are broken lol
18:48:50 <Keelhaul> why is program.description a mandatory field =/
19:12:26 <r0bby> I blame canada
19:12:29 <r0bby> and maybe paul
19:30:20 <r0bby> ugh
19:30:21 <r0bby> I suck
20:09:14 <bwolfe> Keelhaul: did you update?
20:09:26 <bwolfe> Keelhaul: oh, in your module you mean?
20:09:35 <bwolfe> we added a lot of 'retired' bits to the datamodel
20:13:20 <Keelhaul> bwolfe: yea, almost everything works with the new api
20:13:36 <Keelhaul> well as in the way it worked before
20:13:40 <Keelhaul> not completely heh
20:15:52 <Keelhaul> are there price search engines for stuff?
20:16:08 <Keelhaul> oops wrong channe
20:16:09 <Keelhaul> l
20:20:21 <bwolfe> Keelhaul: google has one. :_)
20:20:39 <bwolfe> froogle.com I think
20:21:02 <Keelhaul> bwolfe: am i supposed to assign controllers for portlets in moduleapplicationcontext.xml as well?
20:21:16 <Keelhaul> the admin page stuff is pretty straightforward now
20:21:18 <bwolfe> Keelhaul: yeah, you can do it there if you need to
20:21:23 <Keelhaul> but the dashboar stuff is wacky
20:21:31 <Keelhaul> one false character breaks the entire page
20:21:34 <Keelhaul> and its empty heh
20:21:44 <bwolfe> if you don't assign a controller, your portlet will just use the defaultportletcontroller from trunk
20:22:08 <bwolfe> Keelhaul: yeah, thats a jsp thing, I'm not sure how to make it not stop processing the page when an error occurs
20:22:09 <Keelhaul> ic
20:22:27 <Keelhaul> and if it uses defaultportletcontroller, i prolly cannot access my own object types?
20:22:28 <bwolfe> you can see the error printed out in jsp now though
20:22:56 <bwolfe> Keelhaul: the defaultportletcont just assigns some basic things like patient encounters/obs if there is a patientId paramter, etc
20:23:33 <bwolfe> Keelhaul: the portlet can still access them, but if you need some preprocessing in a java controller, you'll need a controller for your portlet
20:23:55 <Keelhaul> ok
20:24:00 <Keelhaul> not sure yet whether i do
20:24:10 <Keelhaul> most likely though
20:24:37 <Keelhaul> the portlet controller seems to work differently from form/list controllers
20:24:55 <bwolfe> a little differently, not too much
20:25:07 <bwolfe> the main difference is you don't have a formBackingObject I think
20:25:24 <Keelhaul> yea
20:25:41 <Keelhaul> does "model" replace it?
20:27:11 <Keelhaul> btw, i noticed how service still call it "deleteX" instead of "purgeX"
20:27:19 <Keelhaul> was that word dropped?
20:28:16 <bwolfe> Keelhaul: yeah, deleteX should be deprecated and removed eventually. it was replaced by purgeX
20:29:57 <Keelhaul> do you know the absolute path to a portlet? 'module/@MODULE_ID@/portlet' ?
20:33:18 <bwolfe> not off the top of my head
20:33:23 <bwolfe> looks like that might work
20:51:32 <r0bby> what are portlets?
20:51:57 <r0bby> bwolfe: i added you and burke as collaborators on the project plan im writing
20:52:06 <r0bby> i createds a nbew doc
20:52:09 <r0bby> :|
20:52:25 <bwolfe> r0bby: yep, saw it
20:52:29 <r0bby> so what i figure is this; I'll keep 1-2 weeks for each task and scale back or forwards if need be
20:52:43 <bwolfe> r0bby: http://openmrs.org/wiki/Module_Portlets
20:54:41 <r0bby> XML parsing + writing all the tests will take approx 1-2 weeks ((maybe a few days(?))
20:55:09 <r0bby> then I'll write the model processing -- after that I figure i'll write the controller generation and such
20:55:22 <r0bby> then its onto the boring shit (the front-end stuff)
20:55:52 <r0bby> which, with my lack of ..."love" for ui design should take a bit
20:55:59 <r0bby> that should take me to midterm
21:04:25 *** nribeka has quit IRC
21:04:27 <Keelhaul> bwolfe: i still havent figure out how to load box contents for a box extension
21:04:37 <Keelhaul> all i got is a getContent() method
21:04:41 <Keelhaul> in the extension
21:04:52 <Keelhaul> i need to get it to load the portlet jsp somehow
21:05:00 <Keelhaul> @Override
21:05:00 <Keelhaul> public String getContent() {
21:05:00 <Keelhaul> return "<openmrs:portleturl=\"patientCurrentCasesBox\"id=\"patientCurrentCasesBox\"patientId=\"${patient.patientId}\"parameters=\"allowEdits=true\"/>";
21:05:00 <Keelhaul> }
21:05:05 <Keelhaul> that doesnt work heh
21:08:12 <r0bby> this is getting annoying
21:16:42 * r0bby sighs
21:30:15 *** nribeka has joined #openmrs
21:33:52 <r0bby> http://docs.google.com/Doc?id=df8w66j7_8gwbhcvhk
21:33:53 <OpenMRSBot> <http://ln-s.net/1t$S> (at docs.google.com)
21:33:58 <r0bby> project plan
21:34:04 <r0bby> rough time line
21:34:08 <r0bby> 2 week blocks
22:02:14 *** upul has joined #openmrs
22:02:26 *** upul has quit IRC
22:08:40 *** upul has joined #openmrs
22:29:45 *** upul has quit IRC
22:35:50 <bwolfe> Keelhaul: I don' tknow if you can do portlets or not like htat
22:35:55 <bwolfe> I don't know the order of processing
22:36:48 <r0bby> bwolfe: opinion on the plan?
22:37:03 <Keelhaul> bwolfe: well the box extension should be good for something
22:37:29 <Keelhaul> i can add boxes but not content for em
22:37:36 <bwolfe> Keelhaul: and its public String getOverrideContent(String bodyContent) {
22:38:27 <Keelhaul> hm
22:38:34 <Keelhaul> the boxextension has a getContent though
22:38:42 <Keelhaul> maybe i should try with override
22:39:59 <bwolfe> ok, haven't looked at boxextension
22:40:36 <bwolfe> ah, the getcontent probably just prints it to the screen
22:40:42 <r0bby> bwolfe: it's short and too the point?
22:40:54 <bwolfe> Keelhaul: we could change it so that the boxext has an optional portlet param/method you could fill in
22:40:58 <Keelhaul> bwolfe: as a matter of fact, it does print the tag to the screen
22:41:01 <bwolfe> r0bby: it looks fine to me
22:41:10 <Keelhaul> but the box is still empty hmm
22:41:20 <Keelhaul> maybe the url is wrong
22:41:21 <bwolfe> I'm not sure how large those chunks are though, so I don't feel qualified...you'll have to get the "ok" from burke
22:41:58 <r0bby> bwolfe: Like i said -- there's a lot of lee-way in there to move
22:42:13 <r0bby> I could scale things back and I couls scale them forwards
22:42:16 <bwolfe> Keelhaul: yeah, it'll print the tag, because that method is expected to just return html that is printed...not a jsp taglib that is parsed and generated
22:42:24 <r0bby> you dont like it?
22:42:27 <bwolfe> r0bby: yeah, and I'm saying I don't know... :-p
22:42:33 <r0bby> what's your opinion
22:43:01 <bwolfe> looks fine to me
22:43:08 <bwolfe> as long as you have checkpoints
22:43:20 <r0bby> I do
22:43:26 <Keelhaul> bwolfe: can i make it parse it somehow?
22:43:29 <bwolfe> I need to run
22:43:33 <r0bby> All the things burke outlined in the ingredients will be my checkpoints
22:43:37 <bwolfe> Keelhaul: yeah, you'll need to modify core though
22:43:41 <Keelhaul> oh
22:43:45 <Keelhaul> then perhaps i need to make a ticket
22:43:49 <bwolfe> and put the portlet call in the jsp
22:44:09 <bwolfe> make it an optional...make it only do the portlet tag if the getPortletUrl() method on boxExt returns a non-null
22:44:12 * r0bby breaks Keelhaul's legs
22:44:16 <r0bby> I've feeling violent
22:44:16 <bwolfe> if you make a patch I can throw it in
22:44:25 <Keelhaul> i'm not sure i could make a patch =/
22:44:41 <Keelhaul> i dont know how or where it parses jsps
22:45:06 <bwolfe> change the portlet that is calling boxExt now
22:45:10 <bwolfe> the overview portlet
22:45:17 <bwolfe> add a <c:if tag
22:45:40 <bwolfe> and a <portlet url="${boxExtLoopVariable.portletUrl}" ....>
22:45:42 <bwolfe> </c:if>
22:45:47 <bwolfe> and change boxExt
22:45:50 <bwolfe> thats all
22:45:53 <bwolfe> very easy. ;-)
22:45:55 <Keelhaul> ook
22:46:07 <bwolfe> now I really need to go
22:46:09 <bwolfe> cya guys
22:46:10 <Keelhaul> ok
22:46:10 *** bwolfe has quit IRC
22:46:12 <Keelhaul> gnite
22:46:30 * Keelhaul steals r0bby's glasses
22:49:09 * r0bby can actually see fine w/o em
23:49:25 *** upul has joined #openmrs