Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

IRC Logs

Child pages
  • 2009-02-12 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:11:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6848]: patientsummary module - adding a NPE check <http://dev.openmrs.org/changeset/6848> || OpenMRS Tickets: Ticket #1260 (task closed): Duplicate values in lab results table in graphs portlet on patient dashboard <http://dev.openmrs.org/ticket/1260#comment:1> || OpenMRS Changesets: Changeset [6847]: 1.4.x branch - fixing #1260 - Duplicate values in lab results table in … <http://dev.openmrs.org/changeset/6847> || OpenMRS Changesets: Changeset [6846]: Fixing #1260 - Duplicate values in lab results table in graphs portlet on … <http://dev.openmrs.org/changeset/6846> || OpenMRS Tickets: Ticket #1260 (task created): Duplicate values in lab results table in graphs portlet on patient dashboard <http://dev.openmrs.org/ticket/1260>
00:32:45 *** r0bby has quit IRC
00:34:52 *** r0bby has joined #openmrs
00:34:52 *** ChanServ sets mode: +v r0bby
00:43:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6849]: sync branch - fixing #1260 - Duplicate values in lab results table in … <http://dev.openmrs.org/changeset/6849>
01:23:07 *** [mharrison] has joined #openmrs
03:54:32 *** [mharrison] has quit IRC
04:22:41 *** [mharrison] has joined #openmrs
04:32:40 *** nribeka has left #openmrs
04:48:18 *** [mharrison] has quit IRC
04:48:25 *** [mharrison] has joined #openmrs
06:27:21 *** nribeka has joined #openmrs
06:50:03 *** nribeka has quit IRC
06:51:57 *** nribeka has joined #openmrs
08:46:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6851]: htmlformentry module - take 2 initial checkin <http://dev.openmrs.org/changeset/6851> || OpenMRS Changesets: Changeset [6850]: htmlformentry module: deleting what's there so I can check in a rewrite. <http://dev.openmrs.org/changeset/6850>
09:12:56 *** Manan has joined #openmrs
09:13:15 <Manan> hello all
09:17:19 *** Manan has quit IRC
09:17:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6852]: htmlformentry module - take 2, initial import <http://dev.openmrs.org/changeset/6852>
12:28:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1261 (task created): Find similar patient names needs to handle names with more than 3 components <http://dev.openmrs.org/ticket/1261>
12:53:20 *** james_regen has joined #openmrs
12:53:20 *** ChanServ sets mode: +v james_regen
13:33:11 *** bwolfe has joined #openmrs
13:33:11 *** ChanServ sets mode: +o bwolfe
14:41:33 *** Echidna_ has joined #openmrs
14:41:46 *** Echidna has quit IRC
15:08:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6853]: -- chica * updated installer with latest omods <http://dev.openmrs.org/changeset/6853>
15:19:00 *** nribeka has quit IRC
15:21:08 *** Keelhaul has joined #openmrs
15:21:08 *** ChanServ sets mode: +v Keelhaul
15:21:35 <Keelhaul> hi
15:32:55 <bwolfe> heya Keelhaul
15:32:58 <bwolfe> how've you been ?
15:33:15 <Keelhaul> w/o internet most of the time =/
15:33:29 <Keelhaul> once a month i lose my stable connection for a bunch of days
15:33:34 <Keelhaul> 8 days this time
15:33:49 <Keelhaul> today some guy game and lowered the transmission power of my modem
15:33:56 <Keelhaul> hopefully that fixed it
15:34:02 <Keelhaul> how was rwanda?
15:38:49 <Keelhaul> bwolfe: http://rafb.net/p/j50xfL34.html
15:39:07 <Keelhaul> i'd be nicer if patientservice would return null if the patient is not found rather than throwing an exception
15:39:51 <bwolfe> rwanda was good. we accomplished a lot. (...I prefer Kenya and our site in Eldoret to the smaller village installation that PIH has in rwanda...)
15:40:45 <Keelhaul> heh
15:40:57 <bwolfe> Keelhaul: are you running the latest? I think it does return null...
15:41:08 <bwolfe> at one point it wasn't, which was wrong as you said :-)
15:41:24 <Keelhaul> mine's from jan 27
15:43:46 <bwolfe> Keelhaul: is it a problem with some merging? the latest trunk has no such throwing of trunk
15:43:53 <bwolfe> errr no such throwing of error
15:44:07 <Keelhaul> dunno, my trunk doesnt show any errors
15:44:54 <bwolfe> then who is throwing that error...? hibernate is supposed to return null
15:45:04 <bwolfe> is your line 78 using "get" or "load" ?
15:46:00 <Keelhaul> return (Patient) sessionFactory.getCurrentSession().get(Patient.class, patientId);
15:46:21 <Keelhaul> and the last change was from dec 30
15:47:17 <bwolfe> hmm
15:47:26 <Keelhaul> well i updated trunk and it no longer throws it
15:47:33 <Keelhaul> even though that class hasnt changed
15:48:28 <bwolfe> heh
15:48:34 <bwolfe> perhaps it was up at the service layer ?
15:48:40 <bwolfe> what updated when you did it ?
15:49:15 <Keelhaul> PatientServiceImpl is from jan 26
15:50:34 <Keelhaul> bwolfe: got any ideas what would make a module not start automatically when tomcat is started?
15:50:41 <Keelhaul> no errors in the logs
15:50:48 <Keelhaul> and no complaints when i start it manually afterwards
15:50:51 <bwolfe> if module.started is set to false
15:51:04 <bwolfe> err MODULEID.started is set to false
15:51:55 <Keelhaul> yea
15:51:57 <Keelhaul> it was false
15:52:30 <Keelhaul> oh wait
15:52:34 <Keelhaul> the exception is still there
15:52:43 <Keelhaul> it didnt complain because the module wasnt loaded lol..
15:53:22 <bwolfe> ah, too bad
15:53:45 <Keelhaul> and you dont get that exception?
15:54:31 <bwolfe> I haven't tried
15:54:40 <Keelhaul> hm
15:55:04 <Keelhaul> the patient dashboard controller somehow catches non existing ids before the service i think
15:55:12 <Keelhaul> err nm
15:55:21 <Keelhaul> by "catches" i mean throws an own exception
16:01:44 <bwolfe> Keelhaul: yeah, this unit test passes: Assert.assertNull(Context.getPatientService().getPatient(1234512093));
16:01:54 <Keelhaul> hmm
16:01:56 <Keelhaul> why oh why then
16:02:57 <Keelhaul> p = Context.getPatientService().getPatient(Integer.valueOf(patientId));
16:03:11 <Keelhaul> thats the call my controller makes
16:04:25 <bwolfe> do you have an older api jar in your lib folder in your module per chance ?
16:04:29 <bwolfe> (instead of lib-common)
16:05:05 <Keelhaul> openmrs-api-1.5.0.6659-dev.jar in lib-common
16:05:07 <Keelhaul> nothing in lib
16:05:36 <bwolfe> very odd
16:05:47 <bwolfe> what about in your tomcathome/webapps/openmrs/web-inf/lib ?
16:06:25 <Keelhaul> openmrs-api-1.5.0.6846-dev.jar
16:08:37 <bwolfe> grr
16:09:08 <bwolfe> Keelhaul: any other modules loaded that accidentally have the api jar incorrectly in lib ?
16:09:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1262 (task created): Start on startup for Schedulable Tasks not always works and 30 secs delay before startup <http://dev.openmrs.org/ticket/1262>
16:10:58 <Keelhaul> bwolfe: the only loaded module that has a /lib is reporttemplate, and it has no openmrs jars
16:11:23 <bwolfe> *sigh(
16:11:57 <bwolfe> any random weird hibernate property settings Keelhaul ?
16:12:29 <Keelhaul> not in my modules =)
16:12:53 <bwolfe> how about on your openmrs ?
16:12:58 <bwolfe> (in your runtime properties)
16:14:22 <Keelhaul> http://rafb.net/p/84kqkn73.html
16:14:28 <Keelhaul> i dont see anything
16:15:44 <bwolfe> sweet, now I know your password is *** !
16:15:47 <Keelhaul> =)
16:15:54 <Keelhaul> go ahead and try to hack me
16:17:27 <Keelhaul> bwolfe: btw, how can i deliberately change the system language
16:17:32 <Keelhaul> it's always en_UK
16:17:54 <Keelhaul> and i added german text to my modules for fun, and i couldnt make them english while the german message file was loaded
16:18:05 <Keelhaul> it seems to go by the browser locale or smt
16:19:00 <bwolfe> Keelhaul: you can change it by user I think
16:19:08 <bwolfe> Keelhaul: in the "optoins" page
16:19:50 <Keelhaul> nope
16:20:01 <Keelhaul> theres a setting on the "my profile" page
16:20:06 <Keelhaul> but it only contains english uk
16:24:50 <Keelhaul> http://keelhaul.homeip.net/misc/openmrs_language.png
16:24:53 <OpenMRSBot> <http://ln-s.net/2qae> (at keelhaul.homeip.net)
16:40:27 <bwolfe> Keelhaul: ah yes, you have to add some languages to a global property I think
16:40:33 <Keelhaul> o
16:41:26 <Keelhaul> bwolfe: another problem
16:41:47 <Keelhaul> i need to add a bunch of numerical properties to a concept
16:42:04 <Keelhaul> is it possible w/o creating new tableS?
16:42:24 <Keelhaul> right now i added a new table for the properties, the records of which point to the concept id
16:42:32 <bwolfe> what kind of properties Keelhaul ?
16:42:40 <Keelhaul> three doubles per concept
16:42:44 <bwolfe> ConceptNumeric already has hi/low properties
16:43:02 <Keelhaul> but the concepts in question are drugs, they dont have answers
16:43:24 <bwolfe> what are the properties ?
16:43:36 <Keelhaul> some absorbtion parameters
16:44:12 <Keelhaul> with the names S, A and B lol
16:44:17 <bwolfe> hmm
16:47:54 *** nribeka has joined #openmrs
16:48:55 <nribeka> hi bwolfe
16:48:57 <nribeka> hi james_regen
16:50:29 <bwolfe> hey nribeka
16:50:54 <nribeka> back in indy already bwolfe?
16:51:35 <bwolfe> nope, in nairobi
16:53:42 <nribeka> ups :)
16:57:49 <Keelhaul> is anyone good at math?
16:58:14 <bwolfe> I'm sure there are a lot of people good at math :-p
16:58:40 <Keelhaul> in here..
16:59:52 <bwolfe> you can always ask
16:59:57 <bwolfe> :-)
17:00:56 <Keelhaul> well
17:01:12 <Keelhaul> if it says something like [a + b]²
17:01:20 <Keelhaul> is it the same as (a + b)² ?
17:01:33 <Keelhaul> or is something like this meant: http://en.wikipedia.org/wiki/Nearest_integer_function
17:01:36 <OpenMRSBot> <http://ln-s.net/2qbh> (at en.wikipedia.org)
17:08:54 <nribeka> tough question ;)
17:09:09 * r0bby sighs
17:23:21 <nribeka> Keelhaul, if its array then it is element #(a + b)
17:23:33 <Keelhaul> not an array
17:23:40 <Keelhaul> just an equation
17:23:49 <nribeka> well i think it depends on the context
17:25:20 <nribeka> is that all the equation?
17:27:14 <Keelhaul> nribeka: http://keelhaul.homeip.net/misc/image3.gif
17:29:30 *** [mharrison] has quit IRC
17:29:56 <nribeka> i would say it's the same with ( Keelhaul
17:30:02 <Keelhaul> yea me too
17:30:15 <Keelhaul> if i use the nearest integer function on that, the curve just gets jaggy in some places
17:37:05 *** Echidna has joined #openmrs
17:41:49 *** Echidna_ has quit IRC
18:24:35 *** Keelhaul has quit IRC
18:24:40 *** Keelhaul has joined #openmrs
18:24:40 *** ChanServ sets mode: +v Keelhaul
18:45:12 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6855]: formimportexport module. Upgraded version number to 1.5.7 and activated … <http://dev.openmrs.org/changeset/6855> || OpenMRS Changesets: Changeset [6854]: Added PatientService getPatient test for null <http://dev.openmrs.org/changeset/6854>
19:28:49 *** bwolfe has quit IRC
19:49:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6856]: --chica * Provide default printers as stations in the drop-down for manual … <http://dev.openmrs.org/changeset/6856>
20:12:46 *** Keelhaul has quit IRC
21:22:02 *** [mharrison] has joined #openmrs
21:23:27 *** james_regen has quit IRC
23:22:06 *** Echidna_ has joined #openmrs
23:22:06 *** Echidna has quit IRC
23:31:50 *** openmrs_1018 has joined #openmrs
23:34:32 *** openmrs_1018 has quit IRC
23:47:55 *** Knoll_Frank has joined #openmrs
23:51:03 <Knoll_Frank> (user basic)
23:51:25 *** nribeka has quit IRC
23:51:46 <Knoll_Frank> /msg OpenMRSBot !user Knoll_Frank
23:52:40 <Knoll_Frank> /msg OpenMRSBot !list
23:53:30 *** openmrs_5066 has joined #openmrs
23:54:19 <openmrs_5066> bla
23:54:45 <openmrs_5066> blub
23:55:46 <openmrs_5066> /msg OpenMRSBot !list
23:59:36 *** openmrs_5066 has quit IRC
  • No labels