IRC Chat : 2009-01-23 - OpenMRS

00:00:17 *** jacobb has quit IRC
00:13:06 *** jacobb has joined #openmrs
00:15:40 *** bwolfe has quit IRC
01:00:32 *** jacobb has quit IRC
01:00:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1228 (task created): BIRT Report Engine cannot be started on Ubuntu running OpenMRS 1.2 <http://dev.openmrs.org/ticket/1228>
01:02:55 *** jacobb has joined #openmrs
01:14:25 *** jacobb has quit IRC
01:21:41 *** atomicturtle has joined #openmrs
01:21:48 *** atomicturtle has left #openmrs
02:19:19 *** nribeka has quit IRC
05:20:58 *** nribeka has joined #openmrs
07:40:41 *** Nzeyi has joined #openmrs
08:23:01 *** Nzeyi has quit IRC
08:57:25 *** r0bby has quit IRC
08:58:42 *** r0bby has joined #openmrs
08:58:42 *** irc.freenode.net sets mode: +v r0bby
10:38:04 *** [mharrison] has quit IRC
10:45:07 *** [mharrison] has joined #openmrs
12:08:09 *** james_regen has joined #openmrs
12:08:09 *** ChanServ sets mode: +v james_regen
12:57:23 *** bwolfe has joined #openmrs
12:57:23 *** ChanServ sets mode: +o bwolfe
14:15:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Create a New Patient Usability <http://forum.openmrs.org/viewtopic.php?f=22&t=348#p1460>
14:34:04 *** atomicturtle has joined #openmrs
14:48:00 <Echidna> hey bwolfe, i require help =/
14:48:08 <Echidna> consider the following workflow
14:48:19 *** atomicturtle has left #openmrs
14:48:39 <Echidna> one class calculates several Map<Date, Double> objects, and the calling controller then saves them to files
14:48:59 <Echidna> a jfreechart servlet opens those files, each instance called by a javascript one after another
14:49:14 <Echidna> and they are supposed to get displayed sequentially
14:49:22 <Echidna> now i get some weird misbehavior
14:49:27 <Echidna> sometimes the image says no data
14:49:53 <Echidna> other times a chart falsely plots the dataset from a different chart
14:50:02 <Echidna> the filenames passed to the servlets are correct
14:50:24 <Echidna> if i paste that url in a new window, the correct data gets plotted eventually
14:50:47 <Echidna> could there be a delay in writing the files, so the servlet attempts to open them too early=
14:50:48 <Echidna> ?
14:50:52 <Echidna> i have no other explanation
14:51:01 <Echidna> especially not for reading the wrong files
14:52:03 <bwolfe> are you printing the url via javascript/servlet/controller etc at each step so you know that its opening the right file ?
14:52:19 <Echidna> yea
14:52:39 <Echidna> if i right click the image and open its properties, the url states the correct filename too
14:52:43 <Echidna> well i dont think it's a delay issue
14:53:05 <Echidna> because the controller opens the same files afterwards and saves them into variables, for debugging purposes
14:53:09 <Echidna> and those values are correcgt
14:54:10 <bwolfe> cache problem ?
14:54:47 <bwolfe> is the file getting deleted somehow ?
14:56:26 <Echidna> no
14:56:30 <Echidna> it stays there
14:56:41 <Echidna> it gets deleted when launcing another run
14:56:46 <Echidna> or if the files are older than 30 min
14:57:13 <Echidna> the deletion before another run happens in formBackingObject
15:20:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6687]: -- chica * manual checkin web app changes <http://dev.openmrs.org/changeset/6687>
16:36:14 <Echidna> .
16:59:56 *** nribeka has quit IRC
17:26:47 *** nribeka has joined #openmrs
17:40:44 *** nribeka has quit IRC
17:59:14 *** nribeka has joined #openmrs
18:01:03 *** nribeka has quit IRC
18:08:39 *** nribeka has joined #openmrs
18:09:32 *** nribeka has quit IRC
18:10:40 *** nribeka has joined #openmrs
18:16:03 <nribeka> bwolfe, why am i still getting the illegal argument exception :(
18:16:28 <bwolfe> nribeka: when/where ?
18:16:41 <nribeka> when i run patient matching module
18:16:54 <nribeka> when i do criteria query to get the patient record
18:19:25 <bwolfe> nribeka: are you using junit or the web ?
18:21:12 <nribeka> web
18:25:24 <bwolfe> nribeka: and you're sure you're using the new jar ?
18:25:37 <nribeka> in the openmrs yes
18:25:44 <nribeka> in the patient matching no
18:25:55 <nribeka> do i have to use the same jar?
18:26:09 <nribeka> i don't think the hibernate jar is packed to the omod file
18:30:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: openMRS Mirth Messaging module <http://forum.openmrs.org/viewtopic.php?f=8&t=418#p1461>
18:36:53 <bwolfe> nribeka: correct, if the jar is in the "lib-common" folder, it is not packed with the omod. is the jar in "lib" or "lib-common" ?
18:42:05 <nribeka> lib common bwolfe
18:43:06 <bwolfe> nribeka: hmm
18:43:48 <bwolfe> nribeka: check and make sure that the calls are specific to the domain object. i.e. that user calls are .getUser() and patient calls are .getPatient() and are not .getUser()
18:43:57 <bwolfe> errr make that last .getUser() --> .getPerson()
18:46:18 * r0bby looks around
19:02:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1229 (defect created): Cannot uncheck privileges from a newly created role on subsequent saves <http://dev.openmrs.org/ticket/1229>
19:09:04 * bwolfe looks are r0bby looking around
19:11:07 <nribeka> bwolfe, can we remote debug module
19:17:30 <bwolfe> nribeka: you can debug it just like you can debug a webapp. not sure how it works over ip
19:18:03 <Echidna> heh
19:18:13 <Echidna> obama has been in office for a day and there are already stem cell therapies =)
19:31:39 <bwolfe> he works quickly
20:02:00 <r0bby> We finally don't have a moronic born again 'christian'
20:02:14 <r0bby> Bush was a raging moron.
20:06:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6688]: -- openmrs logic branch * fixed incorrect regular expression in … <http://dev.openmrs.org/changeset/6688>
20:20:29 <bwolfe> r0bby: I'm pretty sure obama professes to be a born again christian too
20:21:40 <bwolfe> nribeka: any luck yet ?
20:21:51 <bwolfe> nribeka: can you narrow it down to a junit test ?
20:38:34 <r0bby> sigh
20:53:28 *** james_regen has quit IRC
20:55:00 <Echidna> you have to at least pretend to be a zealot to be a US president =/
21:10:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6692]: eclipse tools: share project … <http://dev.openmrs.org/changeset/6692> || OpenMRS Changesets: Changeset [6691]: eclipse tools: share project … <http://dev.openmrs.org/changeset/6691> || OpenMRS Changesets: Changeset [6690]: -- sockethl7listener * changed Provider code that creates user not … <http://dev.openmrs.org/changeset/6690> || OpenMRS Changesets: Changeset [6689]: eclipse tools: update the version of the behavior test feature - #1230 <http://dev.openmrs.org/changeset/6689> || OpenMRS Tickets: Ticket #1230 (task created): Release the new version of the behavior test plugin on the update site. <http://dev.openmrs.org/ticket/1230> || OpenMRS Tickets: Ticket #379 (enhancement closed): Need way to filter form list: : concept_name_tag branch <http://dev.openmrs.org/ticket/379#comment:3>
21:41:48 <nribeka> bewolfe, to fix the 6.0.18 tomcat
21:41:50 <nribeka> http://www.jroller.com/javabean/entry/fixing_jsps_for_tomcat_6
21:41:53 <OpenMRSBot> <http://ln-s.net/2kh4> (at www.jroller.com)
21:47:27 *** nribeka1 has joined #openmrs
21:48:01 *** nribeka has quit IRC
21:48:14 <bwolfe> nribeka1: yeah, I think dthomas used that regex to find all the broken jsps
21:48:36 <bwolfe> nribeka1: and its not possible for us to control how people start their tomcat install...so that other little tidbit isn't as helpful :-/
21:54:27 <nribeka1> which one bwolfe?
21:54:30 <nribeka1> the unicode?
21:54:58 <bwolfe> nribeka1: I was referring to your link about 6.0.18 tomcat
21:55:16 <nribeka1> ooo ic ic :D
21:55:25 <nribeka1> the unicode, i attach a patch to it
21:56:14 <bwolfe> nribeka1: awesome
21:56:40 <nribeka1> thank you :D
21:57:07 <nribeka1> and it need to modify server.xml of tomcat :P
21:57:50 <bwolfe> nribeka1: the unicode one has to modify server.xml ??
21:58:46 <bwolfe> nribeka1: its great that the patch doesn't have to be too big
21:59:23 <bwolfe> nribeka1: can you add a comment to the ticket saying what some of the changes do ? (header change and web.xml change)
21:59:34 <nribeka1> ok ok bwolfe
21:59:52 <nribeka1> yes, we need to add one attribute to the tomcat server.xml
22:00:24 <nribeka1> header changes to tell the browser to render using utf-8
22:00:27 <bwolfe> nribeka1: hmm, thats not possible from the webapp's perspective though :-/
22:00:42 <bwolfe> nribeka1: is it something we can put in context.xml maybe ?
22:01:34 <nribeka1> yesterday i try to re-wrap the request and response in a custom filter, but failed
22:02:12 <nribeka1> i will look around and see if we can avoid modifying server.xml
22:03:39 <bwolfe> nribeka1: what did you add to server.xml ?
22:04:28 <nribeka1> add this to the connector element
22:04:45 <nribeka1> <connector port="8080" bla bla bla ... URIEncoding="UTF-8">
22:04:48 <nribeka1> URIEncoding="UTF-8"
22:05:26 <bwolfe> I see
22:05:49 <bwolfe> nribeka1: thats not something we can add to context.xml ?
22:06:05 <bwolfe> because we'd like to stay servlet container agnostic
22:06:19 <bwolfe> (aka don't require people to run tomcat...or a specific setup of tomcat)
22:07:09 *** nribeka1 has quit IRC
22:07:18 *** bwolfe has quit IRC
22:08:38 *** nribeka has joined #openmrs
22:11:10 *** nribeka has quit IRC
22:12:37 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6694]: eclipse tools: update the update site's site.xml for the new versions of … <http://dev.openmrs.org/changeset/6694> || OpenMRS Changesets: Changeset [6693]: eclipse tools: update the included plugins list of the behavior test … <http://dev.openmrs.org/changeset/6693>
22:13:00 *** mib_v8h05r has joined #openmrs
22:13:29 *** mib_v8h05r is now known as nribeka
23:09:38 *** jacobb has joined #openmrs
23:42:12 *** jacobb has quit IRC