IRC Chat : 2008-02-12 - OpenMRS

01:32:01 *** Keelhaul has quit IRC
02:00:08 *** njero has joined #openmrs
02:00:37 *** ChanServ sets mode: +v njero
03:26:57 *** njero_ has joined #openmrs
03:47:13 *** njero has quit IRC
03:54:19 *** sioraiocht has quit IRC
05:11:12 *** sioraiocht has joined #openmrs
05:11:12 *** ChanServ sets mode: +v sioraiocht
05:14:02 *** sioraiocht has quit IRC
05:17:27 *** sioraiocht has joined #openmrs
05:17:27 *** ChanServ sets mode: +v sioraiocht
05:17:39 *** sioraiocht has quit IRC
06:13:10 *** sioraiocht has joined #openmrs
06:13:10 *** ChanServ sets mode: +v sioraiocht
06:14:31 *** njero has joined #openmrs
06:14:31 *** ChanServ sets mode: +v njero
06:29:32 *** njero__ has joined #openmrs
06:35:34 *** njero_ has quit IRC
06:49:06 *** njero has quit IRC
06:58:46 *** sioraiocht has quit IRC
07:08:22 *** njero has joined #openmrs
07:08:22 *** ChanServ sets mode: +v njero
07:10:30 *** bwolfe has joined #openmrs
07:10:30 *** ChanServ sets mode: +o bwolfe
07:19:20 *** njero_ has joined #openmrs
07:20:43 *** njero has quit IRC
07:20:49 *** njero_ is now known as njero
07:20:51 *** ChanServ sets mode: +v njero
07:22:47 *** njero__ has quit IRC
07:23:15 *** bmckown has joined #openmrs
07:23:15 *** ChanServ sets mode: +o bmckown
07:39:40 *** njero_ has joined #openmrs
07:40:53 <bwolfe> atomicturtle: seems apache crapped out last night and openmrs.org wasn't available until I restarted it manually this morning at 8
07:41:11 <bwolfe> atomicturtle: are there any tricks I can look into putting in so it'll restart itself correctly?
07:41:32 <bwolfe> /var/log/httpd/error.log shows these errors early this morning:
07:42:01 <bwolfe> [warn] child process 14017 still did not exit, sending a SIGTERM
07:54:15 *** atomicturtle has quit IRC
08:00:06 *** njero has quit IRC
08:08:02 *** winwinwin has joined #openmrs
08:10:42 *** njero_ has quit IRC
08:28:59 *** atomicturtle has joined #openmrs
08:46:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3354]: Data Synchronization Branch - changed to use multipart request when … <http://dev.openmrs.org/changeset/3354> || OpenMRS Changesets: Changeset [3353]: -- chica * fixed hard coded file paths <http://dev.openmrs.org/changeset/3353> || OpenMRS Changesets: Changeset [3352]: Cleaning up the formatting for the readme in the bitrock installer <http://dev.openmrs.org/changeset/3352> || OpenMRS Changesets: Changeset [3351]: Cleaning up the formatting for the readme in the bitrock installer <http://dev.openmrs.org/changeset/3351> || OpenMRS Changesets: Changeset [3350]: added readme for the source files in the bitrock installer <http://dev.openmrs.org/changeset/3350> || OpenMRS Changesets: Changeset [3349]: Removed extraneous src folder from the bitrock installer files <http://dev.openmrs.org/changeset/3349> || OpenMRS Changesets: Changeset [3348]: Removed extraneous bin folder from the bitrock installer files <http://dev.openmrs.org/changeset/3348> || OpenMRS Changesets: Changeset [3344]: Removed extraneous src folder from the bitrock installer files <http://dev.openmrs.org/changeset/3344> || OpenMRS Changesets: Changeset [3343]: Removed extraneous bin folder from the bitrock installer files <http://dev.openmrs.org/changeset/3343>
08:47:36 *** njero has joined #openmrs
08:47:36 *** ChanServ sets mode: +v njero
09:03:53 <bwolfe> atomicturtle: switching the dev.openmrs ip from shared to dedicated in plesk made http://dev.openmrs.org inaccessible
09:04:12 <bwolfe> atomicturtle: does the DNS service have to be on for plesk to handle that right ? (its off right now for some reason)
09:04:27 <bwolfe> atomicturtle: (restarting apache after the switch didn't help things)
09:07:06 *** winwinwin has quit IRC
09:07:23 *** atomicturtle has quit IRC
09:14:32 <bwolfe> I like how scott always quits right after I ask him a question :-p
09:17:07 <bmckown> bwolfe I have a question....
09:17:14 <bmckown> (see if he quits)
09:17:19 <bwolfe> thought about it
09:17:41 <bmckown> Just kidding anyway.
10:26:28 *** atomicturtle has joined #openmrs
10:49:33 *** njero has quit IRC
11:17:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #617 (task created): Review changes to HibernateLogicObsDAO in openmrs report_api_refactoring <http://dev.openmrs.org/ticket/617> || OpenMRS Modules: Form Import Export 1.4.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=formimportexport&version=&1.4.1>
12:16:51 *** atomicturtle has quit IRC
12:17:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3356]: in patientmatching module, updated output from EMAnalyzer to include … <http://dev.openmrs.org/changeset/3356> || OpenMRS Changesets: Changeset [3355]: Report-api-refactoring branch: New Update of PepfarReportFromMacrosTest <http://dev.openmrs.org/changeset/3355>
12:25:37 *** atomicturtle has joined #openmrs
13:02:05 *** r0bby has quit IRC
13:05:17 *** r0bby has joined #openmrs
13:05:43 *** r0bby has quit IRC
13:07:54 *** r0bby has joined #openmrs
13:47:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #604 (defect closed): Module loading error -- AOP from one module to another <http://dev.openmrs.org/ticket/604#comment:5> || OpenMRS Tickets: Ticket #537 (task closed): Can't AOP around a call to another module within a module <http://dev.openmrs.org/ticket/537#comment:21>
14:18:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #537 (task reopened): Can't AOP around a call to another module within a module <http://dev.openmrs.org/ticket/537#comment:22>
14:31:29 *** pombreda has left #openmrs
14:48:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3358]: report_api_refactoring: When translating from mlm to java use the global … <http://dev.openmrs.org/changeset/3358> || OpenMRS Changesets: Changeset [3357]: Removed unnecessary loadAdvice() call during module loading to allow … <http://dev.openmrs.org/changeset/3357>
15:48:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #549 (defect closed): Cannot update a User with a Blank System Id <http://dev.openmrs.org/ticket/549#comment:6> || OpenMRS Tickets: Ticket #610 (task closed): Module logging and log4j.xml <http://dev.openmrs.org/ticket/610#comment:1>
16:00:40 *** atomicturtle has quit IRC
16:11:57 *** bwolfe has quit IRC
16:32:30 *** bmckown has quit IRC
17:18:38 <OpenMRSBot> Recent updates in the world of openmrs: PIH-EMR Blog: PIH EMR plans in Malawi <http://pihemr.wordpress.com/2008/02/12/pih-emr-plans-in-malawi/>
17:49:57 *** Keelhaul has joined #openmrs
18:18:52 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3361]: Deleting the module_startup_refactoring branch as its been determined as … <http://dev.openmrs.org/changeset/3361> || OpenMRS Changesets: Changeset [3360]: Merging trunk to report-api-refactoring [3041]:[3359] <http://dev.openmrs.org/changeset/3360> || OpenMRS Changesets: Changeset [3359]: -- dss * fixed kilogram calculation <http://dev.openmrs.org/changeset/3359>
19:08:53 *** bwolfe has joined #openmrs
19:08:53 *** ChanServ sets mode: +o bwolfe
19:16:43 <Keelhaul> hi
20:32:22 <bwolfe> hey Keelhaul
20:32:35 <Keelhaul> working late? =o
20:35:36 <bwolfe> nah, just came back to the laptop
20:35:41 <bwolfe> watching some tv
20:35:51 <bwolfe> you're up late/early again?
20:35:55 <Keelhaul> heh always
20:35:59 <Keelhaul> no classes anymore
20:36:19 <Keelhaul> say, are the daily builds built from trunk?
20:36:23 <bwolfe> yeah
20:36:27 <Keelhaul> weird
20:36:33 <bwolfe> why no classes?
20:36:34 <bwolfe> why ?
20:36:37 <Keelhaul> oh
20:36:42 <Keelhaul> i finished my last class in january
20:36:48 <Keelhaul> and thats all the CP i need
20:36:52 <Keelhaul> only the masters thesis left to do
20:37:09 <bwolfe> ah, well congrats
20:37:10 <bwolfe> and good luck
20:37:13 <bwolfe> :-)
20:37:14 <Keelhaul> weird bcause i deployed today's build
20:37:41 <Keelhaul> and when i tried loading a module that extends PatientProgram, hibernate threw a missing discriminator exception
20:37:54 <Keelhaul> even though the discriminator is there, at least im my trunk copy
20:38:03 <Keelhaul> i built it form my local copy and the error was gone
20:38:15 <Keelhaul> so i thought the nightly builds are built form somewhere else
20:38:36 <bwolfe> I think only encounter has a discriminator, doesn't it?
20:38:38 <Keelhaul> and i never added the discriminator myself so it must have been put there a while ago
20:38:42 <Keelhaul> patientprogram does too
20:40:12 <bwolfe> I don't see one in patientprogram
20:40:21 <bwolfe> are you sure you didn't apply the patch that puts them on all of them?
20:40:42 <Keelhaul> yea
20:41:04 <Keelhaul> because others dont have one
20:42:39 <Keelhaul> maybe i did add it and dont remember...
20:43:18 <Keelhaul> i guess hbm files arent versioned =o
20:47:55 <bwolfe> they are versioned
20:48:13 <bwolfe> I don't know why they aren't showing as modified for you
20:48:26 <bwolfe> do you use tortoise or subclipse?
20:49:21 <Keelhaul> subclipse
21:08:21 <bwolfe> and subclipse isn't showing you little black stars on those files ?
21:09:23 <Keelhaul> nope
21:09:37 <Keelhaul> in fact, in the metadata dir, i cant go deeper than metadata/api
21:09:43 <Keelhaul> in eclipse that is
21:12:48 <bwolfe> ah, you're probably using hte "package explorer" view
21:13:04 <bwolfe> if you open the "navifator" view, it will show things in a filesystem format
21:13:14 <bwolfe> make that "navigator"
21:14:56 <Keelhaul> nope, no stars
21:15:37 <Keelhaul> btw
21:15:38 <Keelhaul> http://openmrs.org/wiki/Module_Application_Context_File
21:15:39 <OpenMRSBot> <http://ln-s.net/1XO_> (at openmrs.org)
21:15:53 <Keelhaul> it would be nice if the example would also show how to add multiple services in there
21:17:03 <Keelhaul> so far, <list><value></value><bean></bean><value></value><bean></bean>...</list> seems to not throw errors
21:18:45 <Keelhaul> yarr
21:18:51 <Keelhaul> first time my module loaded w/o errors
21:18:53 <Keelhaul> lol
21:19:14 <Keelhaul> of course, only the api classes are there atm
21:19:15 <Keelhaul> no web
21:25:41 <bwolfe> its a start at least :-)
21:26:15 <bwolfe> multiple services??
21:27:13 <Keelhaul> for case, encounter, patientprogram and CaseEncounter
21:27:15 <Keelhaul> heh
21:27:51 <bwolfe> nah, put them all in your one module service
21:28:13 <Keelhaul> hm
21:28:29 <Keelhaul> that would be a long service
21:28:30 <bwolfe> http://dev.openmrs.org/browser/openmrs-modules/chica/metadata/moduleApplicationContext.xml
21:28:31 <OpenMRSBot> <http://ln-s.net/1XOp> (at dev.openmrs.org)
21:28:41 <bwolfe> tammy figured it out
21:28:50 <Keelhaul> is tammy a he or a she =o
21:29:03 <bwolfe> and apparently the solution is to just call it twice
21:29:07 <bwolfe> tammy is a female
21:29:27 <bwolfe> one of only a few working on openmrs (that I know of)
21:29:49 <Keelhaul> heh
21:29:59 <Keelhaul> others on the mailing lists seem to be implementers
21:30:30 <bwolfe> yeah, there are a few female implementers too
21:30:43 <Keelhaul> hm
21:30:49 <Keelhaul> i see two services in the xml
21:31:34 <bwolfe> right
21:31:43 <bwolfe> isn't that like what you want to do ?
21:31:47 <Keelhaul> yea
21:31:53 <Keelhaul> i have 4
21:32:13 <Keelhaul> but i tried having multiple bean elements, it gave me an error
21:32:26 <Keelhaul> http://rafb.net/p/j3vv9i90.html
21:32:29 <Keelhaul> thats what mine looks like atm
21:32:34 <Keelhaul> but it doesnt look right to me
21:32:39 <Keelhaul> at least it doesnt complain for now..
21:32:49 <Keelhaul> err 3 not 4
21:34:13 <bwolfe> no, you need multiple http://dev.openmrs.org/browser/openmrs-modules/chica/metadata/moduleApplicationContext.xml
21:34:13 <OpenMRSBot> <http://ln-s.net/1XOp> (at dev.openmrs.org)
21:34:18 <bwolfe> err
21:34:22 <bwolfe> <bean parent="serviceContext">
21:34:22 <bwolfe> <property name="moduleService">
21:34:28 <bwolfe> like tammy has it
21:34:42 <Keelhaul> ok
21:34:52 <bwolfe> what you're doing is passing a list of 6 items to the setModuleService method in serviceContext
21:35:09 <bwolfe> the serviceContext isn't complaining because its getting a list
21:35:42 <bwolfe> the serviceContext only pulls the first two things out of that list (that first value and first bean) and then moves on
21:35:49 <Keelhaul> it's also getting 3 elements of the same type each
21:36:03 <Keelhaul> unless it somehow takes care of the order, it shouldnt even work i think
21:36:07 <bwolfe> its kind of a hacky way to do it, but when I was writing it up I couldn't figure out a better way :-/
21:36:48 <bwolfe> its getting a [string, object, string, object, string, object] list
21:37:02 <Keelhaul> ok so it will ignore the rest then
21:37:03 <bwolfe> (it does take care of the order)
21:37:07 <bwolfe> right
21:37:11 <Keelhaul> what does it use for parsing xml
21:38:52 <bwolfe> spring takes care of htat
21:38:54 <bwolfe> that
21:39:06 <bwolfe> springframework.org
21:39:17 <bwolfe> they have a lot of documentation on how to set up the application context files
21:39:36 <bwolfe> http://static.springframework.org/spring/docs/2.0.x/reference/index.html
21:39:37 <OpenMRSBot> <http://ln-s.net/1XP0> (at static.springframework.org)
21:43:43 <Keelhaul> org.xml.sax
21:43:44 <Keelhaul> heh
21:45:57 <Keelhaul> good, i fixed the service xml and it still loads =)
22:01:26 <Keelhaul> ok, enough for tonight =)
22:01:29 <Keelhaul> thanks for the help
22:01:50 <bwolfe> anytime
22:01:57 <bwolfe> g'night Keelhaul
22:02:05 <Keelhaul> heh not going to sleep yet
22:02:23 <Keelhaul> still gotta proofread some of a pal's diploma thesis
22:02:31 <Keelhaul> though i cant only help with grammar since he's a math major
22:02:41 <Keelhaul> then watch last night's episode of prison break..
22:02:44 <Keelhaul> THEN sleep =)
22:02:59 <Keelhaul> can*
22:04:14 <Keelhaul> well maybe you are going, good night then
22:15:27 <bwolfe> I thought you were heading to bed
22:15:32 <bwolfe> but I am now
22:15:52 <bwolfe> my wife and I watched yesterday's prison break tonight
22:15:57 <bwolfe> very good episode
22:16:05 <bwolfe> very "each of my seat"
22:16:32 <Keelhaul> heh
22:16:41 <Keelhaul> i have to download torrents since i dont get american tv
22:16:51 <Keelhaul> but they're usually up a few hours after earing
22:16:56 <Keelhaul> gnite =)
22:17:10 <bwolfe> yeah, I love torrents
22:17:31 <bwolfe> if you ever have trouble finding a show, let me know
22:17:58 <Keelhaul> ah heh
22:18:05 <Keelhaul> i have an account with this private tracker
22:18:08 <Keelhaul> all hdtv rips
22:18:13 <Keelhaul> 720p and 1080p
22:18:18 <bwolfe> very nice
22:19:49 <bwolfe> I'm off. cya
22:19:58 *** bwolfe has quit IRC