IRC Chat : 2011-09-06 - OpenMRS

01:07:28 *** gbastien has joined #openmrs
01:12:38 *** gbastien has quit IRC
01:23:54 *** gbastien has joined #openmrs
02:24:20 *** gbastien has quit IRC
03:12:08 *** gauravpaliwal has joined #openmrs
03:12:08 *** ChanServ sets mode: +v gauravpaliwal
03:16:59 *** upul` has joined #openmrs
03:16:59 *** ChanServ sets mode: +v upul`
03:19:29 *** gauravpaliwal has quit IRC
03:35:40 *** deadpool has joined #openmrs
03:48:39 *** deadpool has quit IRC
04:01:14 *** surangak has joined #openmrs
04:03:17 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Re-implement adding and removing Encounters to a Visit on the Manage Visits page to remove the confirm dialog - TRUNK-26... <http://feedproxy.google.com/~r/OMRStrunk/~3/8kNtbVmanXA/OpenMRS>
05:29:21 *** deadpool has joined #openmrs
05:52:52 *** bwolfe has joined #openmrs
05:52:52 *** ChanServ sets mode: +o bwolfe
06:02:51 <surangak> good morning bwolfe !
06:02:56 <surangak> had a nice holiday ?
06:03:21 <bwolfe> hi surangak
06:03:25 <bwolfe> yeah, nice enough :-)
06:03:43 <surangak> bwolfe, in sri lanka we have at least one public holiday per month
06:03:53 <surangak> bwolfe, we're very big on holidays :P
06:05:27 <bwolfe> its approx that in the US
06:05:50 <deadpool> bwolfe: i have a question it seems ever three to four times i update a module openmrs times out and i have to restart that this is in the stable release is this a known problem?
06:06:21 <bwolfe> yeah, up your memory allowed for tomcat deadpool. the default settings are pretty low
06:06:21 <deadpool> or it is just me
06:06:40 <deadpool> how do i do that?
06:07:02 <bwolfe> !OOM
06:07:03 <OpenMRSBot> bwolfe: "OOM" --- (#1) Tomcat's memory management sucks. Increase your memory available to tomcat. See http://openmrs.org/wiki/Out_Of_Memory_Errors, or (#2) moo backwards
06:07:58 <bwolfe> hmm, looks like i need to update that link
06:08:22 <bwolfe> !forget oom
06:08:22 <OpenMRSBot> bwolfe: Error: 2 factoids have that key. Please specify which one to remove, or use * to designate all of them.
06:08:26 <bwolfe> !forget oom 1
06:08:26 <OpenMRSBot> bwolfe: The operation succeeded.
06:08:35 <bwolfe> !learn oom as https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors
06:08:35 <OpenMRSBot> bwolfe: The operation succeeded.
06:08:42 <bwolfe> !refer deadpool [OOM]
06:08:43 * OpenMRSBot refers deadpool to "OOM" --- (#1) moo backwards, or (#2) https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors
06:10:01 *** rafa has joined #openmrs
06:10:01 *** ChanServ sets mode: +v rafa
06:12:22 *** dkayiwa has joined #openmrs
06:24:10 <deadpool> bwolfe can't find catalina_opts in tomcat6.sh
06:42:41 <dkayiwa> hahahah. no failures were new :)
06:43:56 <bwolfe> yeah, I still haven't fixed those tests
06:44:03 <bwolfe> if I fix one, others fail. :-/
06:44:12 <dkayiwa> oh :|
06:44:16 <bwolfe> dkayiwa, what are you working on now?
06:44:41 <dkayiwa> bwolfe: Provide privileges for sync management tools - SYNC-167
06:44:57 <bwolfe> ok
06:45:02 <dkayiwa> bwolfe: no dashboard yet :)
06:45:14 <bwolfe> what do you mean?
06:45:31 <dkayiwa> See this sprint's JIRA dashboard: (TODO)
06:45:45 <bwolfe> oh, its there, guess I just didn't link to it
06:45:55 <dkayiwa> oh i see!!!
06:46:03 <bwolfe> you should always look in jira for it. click on Find Dashboards and search for sync
06:46:18 <dkayiwa> oh!!! Thanks for the tip :)
06:50:07 <deadpool> bwolfe: found the catalina_opts should but it doesn't look like what is in the wiki?
06:50:27 <deadpool> should i just put the end solution to catalina opts?
06:50:36 <bwolfe> you can always try. :-)
06:50:39 *** Echidna_ has quit IRC
06:50:52 <bwolfe> check the manager/html --> advanced page to see if it says tomcat is using more memory
06:51:53 *** Echidna has joined #openmrs
06:51:53 *** ChanServ sets mode: +v Echidna
06:52:13 <deadpool> so tomcat is using this Free memory: 0.42 MB Total memory: 125.93 MB Max memory: 125.93 MB
06:52:27 <deadpool> i tried the implementers solution but that didn't work either
06:52:43 <bwolfe> dkayiwa, FYI: I "unstuck" the ci server this morning, so it will be running through all of yesterdays commits and emailing out failures. :-)
06:52:59 <dkayiwa> lollllllllllllll
06:53:03 <bwolfe> deadpool, any suggestions on how to change it on google?
06:53:19 <deadpool> yeah looking at those right now
06:57:46 <deadpool> so is there a way to fix the heap problem?
06:57:58 <deadpool> other than increasing ram
06:58:04 <deadpool> like fixing the memory leak?
07:00:16 <bwolfe> deadpool, there are other suggestions on that tomcat page
07:00:21 <bwolfe> (on our wiki)
07:00:34 <bwolfe> but its a prob between tomcat/hibernate/us that we cna't figure out
07:00:40 <bwolfe> I tend to think it is tomcat's fault
07:00:44 <deadpool> ah fair enough
07:00:56 <bwolfe> I think sunbiz said that you can use glassfish instead of tomcat and it doesn't fail like that
07:02:37 <deadpool> well i know that i don't have this problem when i was using jetty with the trunk
07:03:20 <deadpool> so your assumption that tomcat might be the problem is probably right
07:23:43 <deadpool> bwolfe: why don't implementers use jetty like developers?
07:23:57 <bwolfe> tomcat has more features
07:24:10 <surangak> it will be fun to see them use it though :P
07:24:13 <bwolfe> jetty is used by devs because its easy and built in
07:41:42 <dkayiwa> hi bwolfe
07:41:46 <dkayiwa> Caused by: org.hibernate.QueryException: could not resolve property: uuid of: org.openmrs.module.xforms.Xform
07:41:58 <dkayiwa> when trying to sync it fails because of that
07:42:19 <dkayiwa> should i just fix the xforms module or even make sync report that to the user?
07:42:21 <bwolfe> is xform.getUuid/setUuid there?
07:42:41 <dkayiwa> bwolfe: subclasses BaseOpenmrsObject
07:42:45 <bwolfe> is it failing and continuing? or is it failing and stopping and the admin has to fix it?
07:43:19 <dkayiwa> bwolfe: this is the error message
07:43:20 <dkayiwa> There was at least one failed record during synchronization. See below for details.
07:44:07 <bwolfe> ok, then what are you suggesting as far as "make sync report that to user". isn't it doing that already?
07:44:33 <dkayiwa> bwolfe: ok, just wanted to make sure it is the desired behavior :)
07:44:48 <dkayiwa> bwolfe: ok let me fix the xform
07:44:52 <dkayiwa> and sync again
07:46:30 <bwolfe> you know how to fix xforms for it?
07:46:38 <dkayiwa> yes
07:46:50 <dkayiwa> bwolfe: it does not have the uuid field in the databse
07:47:32 <bwolfe> ah
07:48:00 <dkayiwa> it just have the setUuid and getUuid methods as inherited from BaseOpenmrsObject
07:48:59 <bwolfe> that'll do it!
07:49:05 <dkayiwa> ok
08:12:25 *** dkayiwa has quit IRC
08:22:49 *** dkayiwa has joined #openmrs
08:43:52 *** deadpool has quit IRC
09:00:01 <dkayiwa> bwolfe: do you know what could be causing this
09:00:03 <dkayiwa> ERROR - SyncIngestServiceImpl.processOpenmrsObject(537) |2011-09-06 12:26:26,195| Error when trying to set formId, which is a org.openmrs.module.xforms.Xform
09:00:03 <dkayiwa> java.lang.NullPointerException
09:00:03 <dkayiwa> at java.lang.Class.isAssignableFrom(Native Method)
09:00:04 <dkayiwa> at org.openmrs.module.sync.SyncUtil.valForField(SyncUtil.java:348)
09:00:33 <dkayiwa> An error occurred while executing this method. Error message: Unable to read in the property: formId for type: org.openmrs.module.xforms.Xform on ingest - null
09:00:33 <dkayiwa> org.openmrs.module.sync.ingest.SyncIngestException: Unable to read in the property: formId for type: org.openmrs.module.xforms.Xform on ingest - null
09:03:38 <bwolfe> dkayiwa, change line SyncUtil:343 to a log.error and see what classType is trying to become
09:06:54 <dkayiwa> ok
09:08:45 *** dkayiwa has quit IRC
09:55:42 <rafa> bwolfe: Did you setup the sync 1 dashboard? It's misbehaving. Issue Statistics in the top left shows claimed ticktes as well.
09:56:17 * bwolfe looks
10:02:02 <bwolfe> rafa, fixed. thanks!
10:02:14 <rafa> bwolfe: thank you!
10:03:49 <surangak> bwolfe, hi
10:03:55 <surangak> bwolfe, im looking at https://tickets.openmrs.org/browse/SYNC-183
10:03:56 *** dkayiwa has joined #openmrs
10:04:13 <surangak> bwolfe, im thinking this needs a drop down list, with maybe three values ?
10:04:18 <surangak> 10,50 and 100 ?
10:04:32 <bwolfe> sure, that'd be fine. what does it default to now?
10:04:57 <surangak> right now it displayes 10 rows by default
10:05:03 <surangak> theres no drop down yet
10:05:42 <surangak> bwolfe, plus, for pagination, do u prefer plain old <- newer
10:05:57 <surangak> or 1|2|3|4|5 etc . etc. links
10:05:58 <bwolfe> whats my other option?
10:06:04 <bwolfe> oh, just newer/older is fine
10:06:52 <surangak> bwolfe, righto, will do...
10:15:46 <dkayiwa> bwolfe: is classType null
10:16:05 <bwolfe> yes, dkayiwa, its null, but why?
10:16:23 <bwolfe> there are a few attempts at setting it right above that. what is it trying to set it from?
10:16:25 <dkayiwa> bwolfe: let me debug more
10:16:30 <bwolfe> there shoudl be a string there
10:16:34 <dkayiwa> ok
10:38:18 <surangak> general question to all intrestesd parties : what is the best linux distribution that there is ?
10:38:36 <bwolfe> I use ubuntu
10:39:11 <surangak> :-) is that the best that there is ? im thiunking of moving to linux
10:39:26 <surangak> im fed up of beeing a noob :-(
10:39:37 <bwolfe> heh
10:39:43 <bwolfe> they're all about the same
10:39:55 <bwolfe> ubuntu is nice because there are a lot of people using it so you can find answers easily
10:40:18 <bwolfe> ...and "apt-get" is a lot better than redhat/centos's "yum"
10:41:37 <surangak> ah, yaa.. i guess its always best to use the more commonly used one :P
10:41:54 <surangak> i may (try) to move to ubuntu soon :P
10:42:45 <bwolfe> its painless to try it out. just put in a "live cd" and it will walk you through making a separate partition
10:42:53 <bwolfe> you don't have to delete your windows install yet
10:44:24 <surangak> bwolfe, im going to try downloading it office :-)
10:44:32 <surangak> hope no one notices the bandwidth :D
10:44:51 <surangak> err* downloding it at office*
10:52:39 *** bwolfe has quit IRC
11:03:40 *** surangak has quit IRC
11:17:51 *** bwolfe has joined #openmrs
11:17:51 *** ChanServ sets mode: +o bwolfe
11:18:13 <dkayiwa> bwolfe thanks for the tip
11:18:21 <dkayiwa> bwolfe: the class name was int
11:18:23 <bwolfe> dkayiwa, what was the issue?
11:18:27 <bwolfe> ah
11:18:30 <bwolfe> so did you fix it in sync?
11:18:50 <dkayiwa> bwolfe: no. i thought problem is with xforms module :)
11:18:59 <dkayiwa> bwolfe: so i changed to Interger in xforms module
11:19:04 <bwolfe> another object in some other module might use int as well
11:19:09 <bwolfe> so you should put something into sync for it
11:19:12 <dkayiwa> oh i see
11:19:42 <dkayiwa> bwolfe: ok let me revert the xforms module changes and fix sync
11:20:01 <dkayiwa> bwolfe: should i create a sync ticket first?
11:20:12 <bwolfe> yep
11:20:16 <dkayiwa> ok
11:28:29 *** upul` has quit IRC
11:38:29 *** sunbiz has joined #openmrs
11:38:29 *** ChanServ sets mode: +v sunbiz
12:11:29 *** robbyoconnor has quit IRC
12:32:38 *** deadpool has joined #openmrs
12:51:24 *** gbastien has joined #openmrs
13:07:53 *** deadpool_ has joined #openmrs
13:09:54 <deadpool_> sunbiz: what do you think of glassfish compared to tomcat
13:10:16 *** deadpool has quit IRC
13:10:29 <deadpool_> bwolfe told me that you didnt get java heap errors with glassfish
13:10:57 <sunbiz> deadpool_: yes glassfish worked better and was more scalable
13:11:55 <deadpool_> so do you think as a deployment we should go towards glassfish instead of tomcat?
13:12:15 <sunbiz> but this was before Tomcat 7
13:12:20 <sunbiz> and NIO
13:13:12 <sunbiz> deadpool_: it depends on what u want to acheive with glassfish?? is it only about heap errors??
13:14:03 <sunbiz> I dont think there will change much because the errors to PermSize today are mostly due to underlying JVM...
13:14:12 <sunbiz> I havent looked at glassfish and OpenMRS lately
13:15:23 <sunbiz> but because of better monitoring tools in glassfish addons, you might be able to predict better when u can have a heap error and restart the server before the error happens..
13:17:14 <rafa> bwolfe: dkayiwa: We need to do something with failing tests in sync :D
13:17:25 <dkayiwa> :)
13:18:01 *** upul` has joined #openmrs
13:18:01 *** ChanServ sets mode: +v upul`
13:18:02 <rafa> Shall I create tickets for the two and add them as blockers to this sprint?
13:18:58 <dkayiwa> i vote for that :)
13:19:29 <dkayiwa> rafa: are your unit tests in the sync or sync-api project?
13:19:35 <rafa> I wanted to quickly fix them, but they are not trivial :/
13:19:54 <rafa> dkayiwa: I don't think there are any tests in sync-api
13:19:58 <dkayiwa> Ben tried and fixing one broke another :)
13:20:28 <dkayiwa> rafa: is your sync project recognised as a java project?
13:20:54 <rafa> dkayiwa: yes
13:20:57 <bwolfe> rafa, I have been looking at the unit tests today
13:21:17 <bwolfe> but yes, as I fix one I break others...hibernate is a tricky beast
13:21:54 <rafa> bwolfe: okay, good to know
13:22:28 <rafa> bwolfe: if you don't figure out anything soon or get bored, let me know
13:22:35 <rafa> bwolfe: we can switch :)
13:23:17 <rafa> bwolfe: but it's better if you mark them ignore until you fix them
13:24:27 <rafa> bwolfe: I started to ignore CI and I may overlook it if I break a test.
13:25:57 <bwolfe> rafa, just look for "no failures are new" and move on. :-)
13:26:23 <rafa> bwolfe: good point
13:29:10 *** chopin has joined #openmrs
13:29:20 <chopin> hi
13:29:25 * chopin is late to the sync party
13:29:36 <bwolfe> sync misses you
13:30:24 * chopin thinks all of the AMPATH devs are late
13:30:47 *** deadpool_ has quit IRC
13:30:53 <bwolfe> yes
13:30:57 <bwolfe> very late
13:31:39 *** deadpool_ has joined #openmrs
13:32:30 * chopin disappears for another few minutes
13:56:21 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Redo Visit tab on patient dashboard to show grouped encounters - TRUNK-2605 <http://feedproxy.google.com/~r/OMRStrunk/~3/4O_-futmi7o/OpenMRS>
13:56:48 *** chopin has quit IRC
13:59:32 <bwolfe> dkayiwa, rafa, wluyima, scrum time?
13:59:43 <wluyima> hi
13:59:57 <rafa> I'm ready
14:01:01 <dkayiwa> hi
14:01:06 <bwolfe> rafa, go ahead
14:01:12 <bwolfe> give yesterday's too, since we missed that
14:01:16 <rafa> *** Rafal ***
14:01:16 <rafa> Yesterday:
14:01:16 <rafa> * Read about sync and set up parent and child servers for testing.
14:01:16 <rafa> * Tried to fix failing tests in sync, but with no success.
14:01:16 <rafa> Today:
14:01:16 <rafa> * Committed
14:01:16 <rafa> - SYNC-30: Add Jump to First Error link on Sync History page
14:01:17 <rafa> https://tickets.openmrs.org/browse/SYNC-30
14:01:17 <rafa> - SYNC-202: Failure to fail if message service not set up
14:01:18 <rafa> https://tickets.openmrs.org/browse/SYNC-202
14:01:18 <rafa> * Investigated on (awaiting for Dave to reply) SYNC-190: there should be UI functionality to reset state and retry_count on child servers when max retry count is reached
14:01:19 <rafa> https://tickets.openmrs.org/browse/SYNC-190
14:01:19 <rafa> Tomorrow:
14:01:20 <rafa> * Start with SYNC-191: there should be an indication of last ingest success/failure on parent server for each sync_server
14:01:20 <rafa> https://tickets.openmrs.org/browse/SYNC-191
14:01:21 <rafa> No blockers.
14:02:41 <bwolfe> !ticket SYNC-190
14:02:43 <OpenMRSBot> bwolfe: [#SYNC-190] there should be UI functionality to reset state and retry_count on child servers when max retry count is reached - OpenMRS JIRA - https://tickets.openmrs.org/browse/SYNC-190
14:03:04 <bwolfe> ok.
14:03:15 <bwolfe> or "sawa sawa" as my kenyan side would say
14:03:31 <dkayiwa> not pole pole ? :)
14:03:34 <bwolfe> dkayiwa, are you ready?
14:03:39 <dkayiwa> typing
14:03:39 <bwolfe> "pole pole" means "slowly"
14:03:47 <dkayiwa> oh :D
14:03:49 <bwolfe> "pole" means "sorry" (very strange, I know)
14:03:57 <bwolfe> pronounced "polay"
14:05:24 <rafa> haha I heard "sawa sawa" somewhere :D
14:05:31 *** deadpool_ has quit IRC
14:05:54 *** djazayeri has joined #openmrs
14:05:54 *** ChanServ sets mode: +o djazayeri
14:06:14 <djazayeri> hi
14:06:34 <dkayiwa> Fixed JSP error on the maintenance page - SYNC-206
14:06:34 <dkayiwa> Fixed NPE when Child's UUID does not match with the one one registered for it on the Server - SYNC-207
14:06:34 <dkayiwa> Been working on: Provide privileges for sync management tools - SYNC-167 and paused it to fix this other ticket below
14:06:34 <dkayiwa> Sync should not throw NPE when synchronizing fields of type int - SYNC-208
14:07:27 <dkayiwa> fixed one area of the code, but ended up having another also fail. so am finishing up a unit test for it
14:07:41 <dkayiwa> No Blockers
14:10:09 <djazayeri> I'll go quickly
14:10:24 <djazayeri> Friday
14:10:24 <djazayeri> * Vacation
14:10:24 <djazayeri> Today
14:10:24 <djazayeri> * Try again to record last week's OpenMRS University screencast
14:10:24 <djazayeri> * Leftover code reviews from last week's sprint
14:10:24 <djazayeri> * Sync sprint ticket(s)
14:10:25 <djazayeri> * TW Code Jam
14:10:25 <djazayeri> No blockers
14:12:31 <djazayeri> Also for today: review Mike's work on row-per-xyz reporting
14:12:49 *** chopin has joined #openmrs
14:13:53 <bwolfe> !ticket SYNC-208
14:13:54 <OpenMRSBot> bwolfe: [#SYNC-208] Sync should not throw NPE when synchronizing fields of type int - OpenMRS JIRA - https://tickets.openmrs.org/browse/SYNC-208
14:15:06 <bwolfe> ok, looks good
14:15:10 <bwolfe> wluyima?
14:16:05 <wluyima> friday:
14:16:05 <wluyima> - completed concept mappings,merged it into trunk and created a review
14:16:05 <wluyima> - investigated about TRUNK-2458, i had reopened it but i think i will close it since the issues it had was minor
14:16:05 <wluyima> - worked on TRUNK-2603 and created TRUNK-2635
14:16:05 <wluyima> - worked on TRUNK-2605
14:16:07 <wluyima> today:
14:16:11 <wluyima> sprint tickets
14:16:13 <wluyima> blockers:
14:16:15 <wluyima> none
14:16:30 <djazayeri> !ticket TRUNK-2458
14:16:32 <OpenMRSBot> djazayeri: [#TRUNK-2458] Stop multiple users from running the installation wizard - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2458
14:16:40 <djazayeri> !ticket TRUNK-2603
14:16:41 <OpenMRSBot> djazayeri: [#TRUNK-2603] Re-implement adding and removing Encounters to a Visit on the Manage Visits page to remove the confirm dialog - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2603
14:16:49 <djazayeri> !ticket trunk-2605
14:16:50 <OpenMRSBot> djazayeri: [#TRUNK-2605] Redo Visit tab on patient dashboard to show grouped encounters - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2605
14:16:58 <djazayeri> !ticket trunk-2635
14:16:59 <OpenMRSBot> djazayeri: [#TRUNK-2635] Adding/removing of encounters should happen when the form is submitted - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-2635
14:19:26 <bwolfe> ok
14:19:36 <bwolfe> chopin, you're picking a sync ticket today?
14:19:41 <chopin> yesh
14:19:56 <bwolfe> cool, so you can join the scrum tomorrow :-)
14:19:57 <chopin> !ticket sync-198
14:19:58 <OpenMRSBot> chopin: [#SYNC-198] Make username and password optional during configuration - OpenMRS JIRA - https://tickets.openmrs.org/browse/sync-198
14:20:06 <chopin> (just because it's ampath-related)
14:20:09 <bwolfe> good as any
14:20:16 <chopin> also looked at sync-195
14:20:18 <bwolfe> although they're set up now, so its done :-p
14:20:21 <bwolfe> my update:
14:20:22 <chopin> o
14:20:22 <bwolfe> today:
14:20:23 <bwolfe> code review for 3 sync tickets
14:20:23 <bwolfe> code review for 2 trunk tickets from last week
14:20:23 <bwolfe> sync bug tracking for drug order
14:20:23 <chopin> heheh
14:20:23 <bwolfe> sync bug tracking for deleting patients
14:20:25 <bwolfe> tomorrow:
14:20:27 <bwolfe> more of the same
14:20:34 <bwolfe> !ticket SYNC-195
14:20:35 <OpenMRSBot> bwolfe: [#SYNC-195] Configure *current* server--Items NOT to Synchronize does (almost) nothing - OpenMRS JIRA - https://tickets.openmrs.org/browse/SYNC-195
14:20:57 * chopin is also trying to figure out how to speed up HL7 processing w/ sync installed
14:21:24 <chopin> btw i added an ehcache-based cache for concepts in the PCS Lab orur01 handler
14:21:24 <bwolfe> chopin, thats an easy one...and should be tackled in this sprint as well
14:21:51 <chopin> and the time stayed the same for processing 1000 HL7s ... except now you can reference full-blown concepts
14:21:52 <bwolfe> chopin, its more about doing ONE db call instead of a bunch of htem. so the cache will probably not help
14:22:29 <chopin> i thought you said we needed that so you could reference UUIDs on concepts instead of looking them up from sync module
14:24:51 <bwolfe> yes, sync only looks at the uuid property
14:28:28 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @agnesbinagwaho: @NateOsit #NCDChat All 430 health centers in #Rwanda have started to implement @OpenMRS. It's free & will help us qu ... <http://twitter.com/OpenMRS/statuses/111072059139956736>
14:34:38 *** dkayiwa has quit IRC
14:34:45 *** bwolfe has quit IRC
14:58:13 *** upul` has left #openmrs
15:17:11 *** rafa has quit IRC
15:36:32 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): applying auto formatting <http://feedproxy.google.com/~r/OMRStrunk/~3/bMM74JdGfNs/OpenMRS> || New Changeset: OpenMRS (trunk): Fixing redirect URL when purging a visit fails <http://feedproxy.google.com/~r/OMRStrunk/~3/XVsf3k5Kzuk/OpenMRS> || OpenMRS Modules: Visit Scheduler For OpenMRS 1.7.x 0.5.2 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=visitscheduler&ampversion=&amp0.5.2>
15:40:45 *** chopin has quit IRC
15:49:34 *** Mark___ has joined #openmrs
15:49:49 *** Mark___ is now known as MarkG
16:20:54 *** robbyoconnor has joined #openmrs
16:20:54 *** ChanServ sets mode: +v robbyoconnor
16:21:01 *** robbyoconnor has quit IRC
16:21:51 *** robbyoconnor has joined #openmrs
16:21:52 *** ChanServ sets mode: +v robbyoconnor
16:22:26 *** robbyoconnor has quit IRC
16:23:23 *** robbyoconnor has joined #openmrs
16:23:23 *** ChanServ sets mode: +v robbyoconnor
16:23:30 *** robbyoconnor has quit IRC
16:24:00 *** robbyoconnor has joined #openmrs
16:24:00 *** ChanServ sets mode: +v robbyoconnor
16:26:05 *** robbyoconnor has quit IRC
16:26:30 *** robbyoconnor has joined #openmrs
16:26:30 *** ChanServ sets mode: +v robbyoconnor
16:26:41 *** robbyoconnor has quit IRC
16:27:14 *** robbyoconnor has joined #openmrs
16:27:14 *** ChanServ sets mode: +v robbyoconnor
16:27:27 *** robbyoconnor has quit IRC
16:28:27 *** robbyoconnor has joined #openmrs
16:28:27 *** ChanServ sets mode: +v robbyoconnor
16:30:42 *** deadpool_ has joined #openmrs
16:32:05 <robbyoconnor> sorry about the wonky connection
16:32:48 *** robbyoconnor has quit IRC
16:33:20 *** robbyoconnor has joined #openmrs
16:33:20 *** ChanServ sets mode: +v robbyoconnor
16:33:45 *** robbyoconnor has quit IRC
16:45:27 <sunbiz> djazayeri: so does a "/openmrs-modules/formentry/branches/1.6-compatible-maven" sound like a good name ??
16:45:33 <sunbiz> sorry
16:45:48 <sunbiz> djazayeri: so does a "/openmrs-modules/logic/branches/1.6-compatible-maven" sound like a good name ??
16:46:59 <djazayeri> sunbiz: since we branched something (0.5.x I think) right before mavenizing, I think it's sufficient for us to just use that
16:47:42 <sunbiz> which one??
16:47:47 <sunbiz> this one is maven now
16:47:52 <djazayeri> trunk is maven now
16:47:55 <djazayeri> 0.5.x is not
16:47:58 <sunbiz> yes
16:48:06 *** muthah has joined #openmrs
16:48:12 <sunbiz> so... just make the changes in trunk??
16:48:14 <djazayeri> Basically OpenMRS 1.6 won't get logic higher than 0.5.x, and we'll release the next logic as 0.6 with maven + liquibase + 1.7+
16:48:20 <djazayeri> logic/trunk
16:48:20 <djazayeri> yes
16:48:24 <sunbiz> ok...
16:48:31 <sunbiz> I'll make the commits
16:49:08 <sunbiz> and then add the omod to openmrs/trunk/webapp/src/main/webapp/WEB-INF/bundledModules/logic-0.5-SNAPSHOT.omod?
16:49:19 <sunbiz> or wait for the 0.6 release and then put the omod??
16:57:35 <djazayeri> sunbiz: don't add the omod to trunk
16:57:36 *** robbyoconnor has joined #openmrs
16:57:36 *** ChanServ sets mode: +v robbyoconnor
16:57:45 <djazayeri> not until we actually work on logic and release 0.6 with some level of QC
16:58:22 *** robbyoconnor has quit IRC
16:59:45 <sunbiz> djazayeri: :(
17:00:27 <sunbiz> ok... another one: Why dont we have formatter for XML... I asked this to Ben and he said Eclipse formatted and caused trouble for Spring to understand the XMLs
17:00:33 <sunbiz> http://www.codinghorror.com/blog/2009/04/death-to-the-space-infidels.html
17:00:40 <OpenMRSBot> <http://ln-s.net/9$Au> (at www.codinghorror.com)
17:00:43 <sunbiz> get the popcorn along!!
17:03:28 *** gbastien has quit IRC
17:04:27 <djazayeri> sunbiz: I have no idea why we aren't formatting xml. I've never been aware of it nor looked into it.
17:04:49 <sunbiz> I've looked at a lot of XML lately :)
17:04:57 <sunbiz> and they are formatted differently
17:05:19 <sunbiz> and we use <tabs> in our Java code formatting :P
17:06:32 *** robbyoconnor has joined #openmrs
17:06:32 *** ChanServ sets mode: +v robbyoconnor
17:06:54 *** robbyoconnor has quit IRC
17:19:15 <deadpool_> djazayeri: quick question if i design a html form for a hospital remotely how do i push it on to their server so they don't have to go through the whole setup of creating a form and copying and pasting code?
17:19:33 <djazayeri> do they have the same concept dictionary?
17:19:51 <djazayeri> as the one you're developing on?
17:23:11 <djazayeri> deadpool_: ^^
17:23:58 *** chughgaurav has joined #openmrs
17:25:41 <deadpool_> djazayeri: yes
17:26:21 <djazayeri> You can share using the metadata sharing module. But that's not necessarily easier than just asking them to copy-and-paste.
17:26:45 <djazayeri> Is the idea that you're doing regular modifications to the form, and you want them to be pushed to the server periodically?
17:26:51 <deadpool_> yeah
17:27:24 *** lh has joined #openmrs
17:27:55 <djazayeri> In that case, the very latest version of the Metadata Sharing module support this publish/subscribe behavior
17:27:55 <deadpool_> basically i am deploying what i have done right now but later on i won't be there on site to help and was wondering if there was a way that is i have their same database and concept dictionary then i could do it from my house and then just send them a file and they could load it basically like loading a module
17:28:23 <djazayeri> It works with zip files or by checking a URL every X days.
17:28:51 <djazayeri> try it out to see if the workflow is easy enough for them.
17:29:15 *** vlad____ has joined #openmrs
17:29:21 <djazayeri> Currently we haven't yet implemented a non-interactive mode.
17:30:22 <vlad____> Hi, is this a good place for a specific development question?
17:30:32 <djazayeri> vlad____: yes
17:31:52 <vlad____> I have gone through the administrative back and forth to come up with a design/implementation solution for a new admin interface, now I'm looking at the code....and I need some docs or assistance as to where I can change the js,css, and html of the admin page
17:32:34 <vlad____> Could someone point me in the right direction?
17:34:33 <djazayeri> vlad____: currently it's just webapp/src/main/webapp/WEB-INF/view/admin/index.jsp
17:34:59 <djazayeri> though I don't remember the design of the new interface being settled
17:35:05 <djazayeri> Did I miss a last mockup?
17:35:40 <djazayeri> I remember you sent something, and Burke replied saying to please apply that pattern to more of the items in the lists, to see where they should go, or something like that.
17:35:52 <vlad____> Well, I've been sending emails to the implementers email.
17:35:57 <vlad____> Oh ok
17:35:58 <vlad____> yes
17:37:05 <vlad____> So, while I'm doing this I would like to start implementing as well. I will do it in a manner that will be easily configurable with respect to specific categories.
17:43:00 <vlad____> (thank you for providing the location of the index)... I've been immersed in a very simple nodejs environment for a while and have re-familiarize myself with the j2EE environment.
17:44:43 *** wluyima has quit IRC
17:46:45 *** Suranga has joined #openmrs
17:56:48 *** chughgaurav has quit IRC
18:06:19 <Suranga> djazayeri, helooo
18:06:50 <djazayeri> hi Suranga
18:07:14 <Suranga> djazayeri, could u take a look at my latest screenshot, and see if it looks good ?
18:07:30 <Suranga> https://tickets.openmrs.org/browse/TRUNK-1763
18:08:50 <djazayeri> Suranga: I'd make the deletion shading even darker
18:09:14 <djazayeri> For the changes to be saved I would:
18:09:20 <djazayeri> * make the border less strong
18:09:30 <djazayeri> * make the yellow highlighting stronger
18:09:56 <djazayeri> change the text to: "You have made changes. <br/> Save changed, Revert"
18:10:09 <djazayeri> (sorry, Save, Revert
18:10:59 <Suranga> djazayeri, when u say "make the border less strong" are u agreeing with Bens last comment that that last column dosnt need to be coloured or have a border ?
18:11:15 <djazayeri> Suranga: on a call now
18:11:34 <Suranga> djazayeri, oh, verry sorry, no problem
18:11:46 <Suranga> djazayeri, I had no idea :-(
18:13:08 *** deadpool_ has quit IRC
18:13:11 <djazayeri> I don't like the "tagged for deletion" column
18:13:22 <djazayeri> deleting a GP is very rare, so adding a column for it is odd
18:13:30 <djazayeri> Definitely don't have a border there
18:14:33 <djazayeri> If ben is saying leave that column white, and only shade it when something is tagged for deletion, yes, I agree
18:15:11 <djazayeri> Though I think getting rid of the border and setting the padding so that that column looks just like the rest is better.
18:15:13 <Suranga> djazayeri, sure thing, I'll get rid of the new column too
18:17:43 <Suranga> djazayeri, when u refer to * make the border less strong
18:17:44 <Suranga> <djazayeri> * make the yellow highlighting stronger u mean the fixed position div right ?
18:17:54 <Suranga> or the edited text ?
18:17:54 <djazayeri> yes
18:18:08 <Suranga> djazayeri, sure thing, will do
18:18:09 <djazayeri> the fixed position div
18:20:28 *** chughgaurav has joined #openmrs
18:20:57 <chughgaurav> sunbiz : hello
18:21:42 *** test has joined #openmrs
18:22:26 <test> can u help me ?
18:22:41 <chughgaurav> test : sure
18:22:48 *** test has quit IRC
18:23:45 *** vlad____ has quit IRC
18:28:24 *** bryq1 has joined #openmrs
18:37:24 *** Suranga has quit IRC
18:43:03 <sunbiz> hi chughgaurav
18:43:13 <sunbiz> sorry... was lost between the windows
18:43:16 <sunbiz> :)
18:43:31 <chughgaurav> sunbiz : i does happen with me too :P
18:43:46 <chughgaurav> sunbiz : can you help me with the installation ?
18:43:48 <sunbiz> does it work now??
18:43:50 <sunbiz> yes...
18:43:59 <sunbiz> Im just trying to do a clean install now...
18:44:13 <djazayeri> did you see my email? trunk may be broken for clean installsnow
18:44:14 <sunbiz> I've done it 100 times... if not more
18:44:18 <sunbiz> in the last week
18:44:23 <djazayeri> ah ok
18:44:30 <sunbiz> djazayeri: I dont think its broken
18:44:34 <chughgaurav> sunbiz : I cannot find the openmrs-runtime.properties file
18:44:44 <sunbiz> for the installation on postgres, sqlserver and oracle
18:44:57 <sunbiz> I've done clean installs over 100 times if not more
18:45:06 <sunbiz> chughgaurav: thats surprising
18:45:37 <sunbiz> have u tried "%APPDATA%/OpenMRS"
18:45:49 <chughgaurav> Don't know why but , I have tried it a number of times , but I get the same error each time :(
18:46:07 <sunbiz> how are u running tomcat??
18:46:08 <chughgaurav> I cannot find the openmrs-runtime.properties file in this location
18:46:22 <sunbiz> is it through service or startup.bat?
18:46:24 <chughgaurav> I run the openmrs-webapp from Netbeans
18:46:47 <sunbiz> using the run command... ok!!
18:46:54 <chughgaurav> sunbiz:yes
18:47:17 <sunbiz> I dont know what it uses... but if its using the bundled one... then might be a permissions thing
18:47:30 <sunbiz> can u clear all the logs... and make a new one
18:47:39 <sunbiz> its a little hard to find from the logs that u sent
18:47:41 <chughgaurav> ok
18:48:04 <chughgaurav> attempting once again
18:49:16 <sunbiz> gr8
18:49:23 <sunbiz> good luck...
18:49:36 <sunbiz> I've also just started on tomcat instead of jetty...
18:49:42 <sunbiz> lets see how far it goes
18:50:04 *** vlad_____ has joined #openmrs
18:50:11 <djazayeri> sunbiz: looking at his stdout there's something about a precondition failing
18:50:18 <sunbiz> that reminds me that... we should also put tomcat:run for those devs who want to test jetty:run
18:51:23 <sunbiz> djazayeri: but interestingly it also could never find the openmrs-runtime properties...
18:52:08 <sunbiz> it didnt say Using... runtime.properties... Just says Unable to Find.... can u figure that??
18:53:42 <sunbiz> chughgaurav , djazayeri : I can verify... its failed for me as well
18:53:45 <sunbiz> that same changeset
18:53:59 <sunbiz> :'(
18:55:05 <djazayeri> wyclif already commented on the ticket
18:55:11 <djazayeri> we should upgrade it to blocker
18:55:43 <djazayeri> and fix it
18:55:47 <djazayeri> probably that's easy to fix
18:55:52 <sunbiz> djazayeri: hmmm... but I've done clean installs for over 100 times atleast... thats odd
18:57:49 <chughgaurav> I just started the tomcat service , I had not run OpenMRS -webapp , still the logs say http://pastebin.com/ZLC8vde6
18:59:05 <chughgaurav> why is it searching for the runtime property file , before I run it from Netbeans
18:59:07 <sunbiz> this log says u need to run setup
18:59:34 <sunbiz> because openmrs.war or the extracted dir is in the webapps for tomcat
19:00:32 <chughgaurav> ok
19:02:38 *** Suranga has joined #openmrs
19:03:27 <chughgaurav> it again started updating database
19:10:20 <chughgaurav> the installation has failed again , the tomcat log are http://pastebin.com/4kkni4y9
19:14:38 *** Suranga has quit IRC
19:15:40 <chughgaurav> sunbiz : tomcat7-stderr.2011-09-07.log file , http://pastebin.com/MqUAVyrC
19:17:59 *** robbyoconnor has joined #openmrs
19:17:59 *** ChanServ sets mode: +v robbyoconnor
19:27:44 *** wyclif has joined #openmrs
19:32:37 <sunbiz> thanks
19:34:50 <sunbiz> djazayeri chughgaurav extremely interesting... jetty:run didnt stop and it worked ahead
19:35:33 <chughgaurav> sunbiz : then why did the error appear
19:36:25 <chughgaurav> sunbiz : I just downloaded the OpenMRS 1.8.2 Enterprise WAR Package & deployed it , the installation worked
19:37:16 <sunbiz> chughgaurav: yes the error happend to me when I did tomcat:run ... but didnt fail with jetty:run
19:37:20 <sunbiz> so... its a little odd
19:37:28 <sunbiz> djazayeri: explain??
19:37:35 <chughgaurav> sunbiz : hmm
19:37:53 <djazayeri> no idea
19:38:43 <sunbiz> the preconditions fail... but its MARK_RAN
19:38:50 <sunbiz> and hence installation moves forward
19:41:39 <chughgaurav> I just tried the OpenMRS 1.8.2 Enterprise WAR Package , it worked fine . Why doesn't it run from Netbeans ?
19:41:48 <chughgaurav> I just installed the OpenMRS 1.8.2 Enterprise WAR Package , but why do I see the source code ? http://imagebin.org/171298
19:42:47 <sunbiz> wow... u see source code??
19:42:53 <sunbiz> :D
19:43:04 <chughgaurav> sunbiz : :P
19:43:23 <sunbiz> lol... cant figure
19:44:54 <chughgaurav> sunbiz : wondering , why do I get so many of the error :P
19:48:42 <sunbiz> :)
19:59:06 <chughgaurav> sunbiz : what should I do for the installation from Tomcat & Netbeans ?
19:59:53 *** vlad_____ has left #openmrs
20:01:49 <sunbiz> is there a specific reason that u want to use Tomcat??
20:01:57 <sunbiz> and use the Run command from Netbeans??
20:02:39 <sunbiz> because if u wanted to deploy or test run... you can always use "jetty:run"
20:02:52 <sunbiz> and that will start jetty and deploy openmrs
20:04:52 <chughgaurav> sunbiz : ok, I'll go with Jetty :)
20:05:11 *** djazayeri has quit IRC
20:10:25 <sunbiz> BTW... if u've got time and once you've finished... can you update the screen shots on the Netbeans page to 7.0.1
20:10:29 <sunbiz> or 7.1 ??
20:10:53 <sunbiz> 7.1 not yet released... but those are old screen shots and now we have more OpenMRS projects in maven
20:13:24 *** djazayeri has joined #openmrs
20:13:24 *** ChanServ sets mode: +o djazayeri
20:13:27 <chughgaurav> sunbiz : I can do that
20:16:18 <sunbiz> chughgaurav: thanks
20:16:48 <chughgaurav> sunbiz : :)
20:34:21 <chughgaurav> sunbiz : when I try using jetty:run , it's taking too long for the task "build" , http://pastebin.com/VwujU04W
20:39:05 *** dkayiwa has joined #openmrs
20:40:12 <sunbiz> from the logs
20:40:18 <sunbiz> I see that its started fine
20:41:25 <chughgaurav> sunbiz: yes , the installation just started , but it took longer
20:45:40 <chughgaurav> sunbiz: installtion with jetty failed , at about the same point , where tomcat did , http://pastebin.com/SkahgMEH
20:46:31 *** bryq1 has quit IRC
20:48:58 *** rafa has joined #openmrs
20:48:58 *** ChanServ sets mode: +v rafa
20:58:27 <sunbiz> chughgaurav: dont know... was working fine for me
20:58:50 <sunbiz> but I've many uncommitted changes... in the database generator code
20:59:05 <sunbiz> I guess we have to make that ticket to blocker
20:59:42 <chughgaurav> sunbiz : ok
21:13:37 *** dkayiwa has quit IRC
21:16:16 *** rafa has quit IRC
21:45:43 <chughgaurav> djazayeri : I have deployed openmrs.war with tomcat (without running from Netbeans) , it installed successfully . But , the source code for the index page is displayed instead of normal text , http://imagebin.org/171298 . I have tried it twice , what shall I do ?
21:46:39 <djazayeri> You're using Tomcat 7+?
21:47:12 <djazayeri> I've heard that there were problems running on tomcat 7+, but I'm not sure what exactly. I haven't seen this one before.
21:47:27 <djazayeri> chughgaurav: Where did you get the war? Why are you calling it enterprise WAR?
21:48:28 <chughgaurav> I got it from this page http://openmrs.org/download/ , the download url is http://sourceforge.net/projects/openmrs/files/releases/OpenMRS_1.8.2/openmrs.war/download
21:49:12 <djazayeri> okay, so I don't have any useful advice besides running on tomcat 6 instead of tomcat 7
21:49:19 <djazayeri> and create a ticket documenting this error!
21:50:10 <chughgaurav> ok
21:56:58 *** gbastien has joined #openmrs
21:57:01 <chughgaurav> djazayeri : when creating the ticket for this issue , what shall I choose in the project selector box ?
21:57:07 <djazayeri> TRUNK
21:57:10 <djazayeri> or OpenMRS Trunk
21:57:20 *** MarkG has quit IRC
21:57:25 <djazayeri> (those are the same, one is the short name, one is the long)
21:57:37 <chughgaurav> ok , thanks
22:19:07 <wyclif> hi djazayeri
22:19:13 <djazayeri> hi wyclif
22:19:47 <wyclif> did you manage to get the maven dependencies on the classpath in eclipse
22:20:04 <wyclif> the maven build scripts have no problem but eclipse can't
22:20:16 <djazayeri> for what?
22:20:34 <wyclif> sync
22:20:50 <djazayeri> I haven't checked out mavenized sync yet.
22:21:31 <wyclif> hmm
22:40:10 *** chughgaurav has quit IRC
22:43:15 *** wyclif has quit IRC
23:13:29 *** sunbiz has left #openmrs
23:48:10 *** burke has joined #openmrs
23:48:10 *** ChanServ sets mode: +o burke
23:49:59 *** wyclif has joined #openmrs