IRC Chat : 2012-10-16 - OpenMRS

00:56:52 *** bwolfe has joined #openmrs
00:56:52 *** ChanServ sets mode: +o bwolfe
01:03:34 *** suranga has quit IRC
01:19:43 *** madroach has quit IRC
01:21:03 *** madroach has joined #openmrs
02:31:05 *** gauravpaliwal has joined #openmrs
02:31:05 *** ChanServ sets mode: +v gauravpaliwal
02:33:00 *** djazayeri1 has joined #openmrs
02:33:00 *** djazayeri has quit IRC
02:42:00 *** bwolfe has quit IRC
04:01:59 *** kishoreyekkanti has joined #openmrs
04:09:11 *** kishoreyekkanti has quit IRC
04:26:53 *** kishoreyekkanti has joined #openmrs
04:27:32 *** kishoreyekkanti has joined #openmrs
05:21:20 *** pascal` has quit IRC
06:52:47 *** pascal` has joined #openmrs
06:52:47 *** ChanServ sets mode: +v pascal`
07:10:24 *** dkayiwa has joined #openmrs
07:50:08 *** eshan has joined #openmrs
08:35:54 *** rkorytkowski has joined #openmrs
08:35:54 *** ChanServ sets mode: +v rkorytkowski
08:36:24 *** rkorytkowski is now known as rafa
09:14:53 *** pulasthi7 has joined #openmrs
09:59:33 *** rafa has quit IRC
10:57:57 *** gauravpaliwal has left #openmrs
11:08:24 *** kishoreyekkanti has quit IRC
11:11:22 *** kishoreyekkanti has joined #openmrs
12:01:42 *** jkeiper has joined #openmrs
12:01:42 *** ChanServ sets mode: +v jkeiper
12:09:12 *** kishoreyekkanti has quit IRC
12:17:53 *** kishoreyekkanti has joined #openmrs
12:28:02 *** rafa has joined #openmrs
12:28:02 *** ChanServ sets mode: +v rafa
13:15:57 *** lh has joined #openmrs
13:15:57 *** lh has joined #openmrs
13:27:06 *** pulasthi7 has quit IRC
13:34:40 <dkayiwa> hi rafa
13:34:47 <rafa> dkayiwa: hi
13:35:24 <dkayiwa> rafa: could you be knowing why this pull request has multiple commits instead of just one https://github.com/openmrs/openmrs-core/pull/74
13:36:34 <rafa> dkayiwa: one is merge commit
13:37:19 <rafa> dkayiwa: did you commit Encounter autocomplete should filter results by patient - TRUNK-3231 by accident?
13:37:34 *** bwolfe has joined #openmrs
13:37:34 *** ChanServ sets mode: +o bwolfe
13:37:46 <dkayiwa> rafa: this is what i did git push origin TRUNK-3337
13:38:22 <dkayiwa> rafa: i had done those commits earlier and pushed
13:38:27 <rafa> dkayiwa: yes, but you must have committed TRUNK-3231 to your TRUNK-3337 branch
13:39:12 <rafa> dkayiwa: was TRUNK-3231 pulled to master?
13:39:56 <dkayiwa> rafa: i do not think anyone reviewed it
13:40:11 <dkayiwa> rafa: so i guess no
13:40:38 <rafa> dkayiwa: ok in what order did you work on this?
13:41:06 <rafa> dkayiwa: first TRUNK-3337?
13:41:07 <dkayiwa> rafa: TRUNK-3337 is what i have worked on last
13:41:15 <rafa> dkayiwa: ok
13:41:56 <rafa> dkayiwa: so you must have based the TRUNK-3337 branch on the TRUNK-3231 branch
13:42:08 <dkayiwa> rafa: how
13:42:41 <rafa> dkayiwa: you did git branch TRUNK-3337 when you had TRUNK-3231 checked out
13:42:54 <dkayiwa> rafa: ok
13:42:58 <rafa> dkayiwa: you should have first check out master and then do git branch TRUNK-3337
13:43:08 <dkayiwa> rafa: oh i seee
13:43:43 <dkayiwa> rafa: as in git checkout master
13:44:06 <rafa> dkayiwa: right
13:44:14 <dkayiwa> rafa: ok thanks
13:44:38 <rafa> dkayiwa: np
13:46:16 <rafa> dkayiwa: so for TRUNK-3337 you just set date changed each time saveConcept is called?
13:46:37 <dkayiwa> rafa: as you told me :)
13:47:58 <rafa> dkayiwa: please add a comment there explaining why you do this
13:48:13 <dkayiwa> rafa: ok
13:48:21 <rafa> dkayiwa: also you have commit rights so pease commit and close the pull request
13:48:37 <dkayiwa> rafa ok
13:49:25 <rafa> dkayiwa: generally you don't need to issue pull requests
13:49:49 <rafa> dkayiwa: just push commit to upstream
13:49:54 <dkayiwa> rafa: when am working on branch from a fork?
13:50:32 <rafa> dkayiwa: do the merge locally to your master and push to upstream
13:51:12 <rafa> dkayiwa: for such trivial changes you can commit directly to your master as well ;)
13:51:30 <dkayiwa> :)
13:52:21 <rafa> dkayiwa: see the Merge your work section at https://wiki.openmrs.org/display/docs/Merging
13:52:34 <dkayiwa> rafa: ok thanks
13:54:21 <bwolfe> rafa, dkayiwa, you can push directly from your branch too
13:54:31 <dkayiwa> bwolfe: ok
13:54:33 <bwolfe> just update from upstream master and then push to upstream master
13:54:47 <dkayiwa> bwolfe: ok
13:55:28 <rafa> bwolfe: it probably depends on some configuration swtich in git, because for me it always pushes master
13:55:37 <rafa> bwolfe: regardless which branch I'm on
13:56:05 <bwolfe> rafa, yes, the default is push to master
13:56:22 <bwolfe> but "git push upstream master" from a branch will push up
13:56:57 *** pulasthi7 has joined #openmrs
13:59:58 *** cpower has joined #openmrs
14:00:06 <rafa> bwolfe: from git's doc: git push origin master
14:00:06 <rafa> Find a ref that matches master in the source repository (most likely, it would find refs/heads/master), and update the same ref (e.g. refs/heads/master) in origin repository with it. If master did not exist remotely, it would be created.
14:00:52 <rafa> bwolfe: to achieve what you want I'd think you need to use: git push origin HEAD:master
14:00:52 <rafa> Push the current branch to the remote ref matching master in the origin repository. This form is convenient to push the current branch without thinking about its local name.
14:01:33 <bwolfe> rafa, perhaps I came into your conversation late, I'm not sure what you're referring me to. :-p
14:01:38 <cpower> Hello everyone, everyone get settled back into their normal routines?
14:01:44 <bwolfe> I was talking about pushing to upstream from a branch on your fork
14:02:09 <cpower> Let's do that thing we call Scrum
14:02:22 <cpower> !scrumon cpower
14:02:22 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster cpower- you may begin when ready.
14:03:07 <rafa> bwolfe: okay let's not confuse ourselves ;)
14:03:17 <cpower> Order: Wyclif, dkayiwa, djazayeri, rafa, bwolfe, Jkeiper (see where his 35% on this has been going)
14:03:22 *** andrea_ has joined #openmrs
14:03:35 <cpower> and wrap up with Andrea who's just joining
14:03:51 <cpower> Wyclif when you are ready
14:04:03 <wyclif> ok
14:04:12 <wyclif> Monday:
14:04:12 <wyclif> META-272 - MDS doesn't identify two ConceptSources as being the same
14:04:12 <wyclif> catch up with email back log
14:04:12 <wyclif> Tuesday:
14:04:12 <wyclif> TRUNK-1761 - Use mocks to test implementation id
14:04:13 <wyclif> TRUNK-3717 - Display the inherited roles when searching for users by role under User Management
14:04:15 <wyclif> Blockers: None
14:04:54 <dkayiwa> Committed: Changed by information not updated when concept names/synonyms are edited, added or removed - TRUNK-3337
14:04:55 <dkayiwa> Working on: Test if ConceptAnswers are overwitten correctly - META-291
14:04:55 <dkayiwa> No Blockers
14:05:57 <andrea_> am I up?
14:06:05 <bwolfe> andrea_, you're after jkeiper
14:06:19 <andrea_> ok
14:06:23 <bwolfe> djazayeri1, are you awake?
14:06:25 *** pascal`` has joined #openmrs
14:06:33 <djazayeri1> 10%
14:06:35 *** djazayeri1 is now known as djazayeri
14:06:56 <djazayeri> Currently:
14:07:07 <djazayeri> * https://tickets.openmrs.org/browse/UIFR-74 - Allow modules to add custom content to Page and Fragment models in a cross-cutting way
14:07:50 <djazayeri> * EMR module should support an EmrContext, as well as a spring-configurable list of tasks available to some patients
14:07:53 <djazayeri> no blockers
14:08:02 <rafa> Today:
14:08:03 <rafa> * Worked on META-258: Import concept dictionary
14:08:03 <rafa> https://tickets.openmrs.org/browse/META-258
14:08:03 <rafa> (still have some issues)
14:08:03 <rafa> * Expecting to complete the subscribing module by tomorrow
14:08:03 <rafa> No blockers.
14:08:16 <cpower> keeping it simple, I like it
14:08:19 *** pascal` has quit IRC
14:08:22 <bwolfe> rafa?
14:08:30 <bwolfe> oh, missed it, sorry
14:08:33 <cpower> rafa went, it's all you bwolfe
14:08:42 <bwolfe> even simpler:
14:08:44 <bwolfe> Monday
14:08:44 <bwolfe> email catchup
14:08:44 <bwolfe> reviewed TRUNK-3706
14:08:44 <bwolfe> reviewed TRUNK-2546
14:08:44 <bwolfe> reviewed TRUNK-238
14:08:45 <bwolfe> reviewed TRUNK-3701
14:08:47 <bwolfe> reviewed TRUNK-3504
14:08:49 <bwolfe> reviewed TRUNK-3725
14:08:51 <bwolfe>
14:08:53 <bwolfe> Tuesday
14:08:55 <bwolfe> emails
14:08:57 <bwolfe> review/merge more tickets
14:08:59 <bwolfe> (late start today, had to drop Suranga off with Downey)
14:09:01 <bwolfe> no blockers
14:09:37 <cpower> ask your questions now of bwolfe, his time is precious starting in 48hrs :-(
14:10:10 <cpower> jkeiper what has your 35% got us?
14:11:34 <cpower> the silence sums that up doesn't it?
14:11:45 <cpower> okay Andrea show us what you got
14:12:00 <andrea_> Monday
14:12:00 <andrea_> Merck presentation, project meeting
14:12:00 <andrea_> Pull Requests for TRUNK-3701, TRUNK-3321 (versions 1.8.x and 1.9.x)
14:12:00 <andrea_> Read wiki and watched OpenMRS University video on creating your first module
14:12:00 <andrea_> Documentatation for Patrick
14:12:01 <andrea_> Today
14:12:05 <andrea_> Continue with module
14:12:31 <andrea_> No Blockers but not sure what module should do
14:12:37 <bwolfe> cpower, perhaps jkeiper is celebrating his birthday early? :-)
14:12:41 <andrea_> would like to discuss
14:13:03 <cpower> fair enough!
14:13:31 <cpower> Blockers: none
14:13:50 <cpower> Discussion: Should Andrea do a "Welcome world" module or something else?
14:14:10 <bwolfe> andrea_, just go through that tutorial first. then we can discuss what to do.
14:14:11 <cpower> !powerup jkeiper
14:14:11 * OpenMRSBot slides jkeiper a Jack and Coke
14:14:18 <cpower> Happy Birthday
14:14:24 <andrea_> bwolfe, ok
14:14:33 <cpower> !scrumoff
14:14:33 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
14:14:40 <bwolfe> andrea_, you can create another module easily with the maven archetype linked to from that page. so not a big deal doing it twice
14:14:55 <bwolfe> I just want you to get comfortable with creating one, seeing where stuff is, etc
14:19:21 <bwolfe> andrea_, can you update https://github.com/openmrs/openmrs-core/pull/73 with an appropriate title and the correct url to the ticket? (you have too much in the url for hte ticket)
14:20:26 *** rafa has quit IRC
14:20:44 <bwolfe> andrea_, actually, you need to redo that pull request anyway. notice that there are manymanymany commits in there?
14:21:54 <bwolfe> andrea_, look at the top, see that you are requesting that we pull it into master?
14:23:02 <bwolfe> andrea_, also edit https://github.com/openmrs/openmrs-core/pull/72 to put the ticket title in the pull request title
14:23:32 *** yony258 has joined #openmrs
14:24:09 <andrea_> bwolfe, ok is this the squash?
14:25:09 <bwolfe> andrea_, no. just click the "edit" button in the pull request
14:25:26 <yony258> Hi, im a new dev working on ticket 2681. Can anyone direct me to help about how to run/debug OpenMRS, Im using eclipse JUNO with the plugins provided in the tutorial.
14:26:09 <bwolfe> !ticket TRUNK-2681
14:26:11 <OpenMRSBot> bwolfe: [#TRUNK-2681] When changing password , the verification of values of newPassword field and confirmPassword field fails . - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2681
14:28:06 <bwolfe> yony258, https://wiki.openmrs.org/display/docs/Developer+How-To+Use+Eclipse+Guide
14:28:53 <yony258> thank you Ben but I've just read it and yet I had some problems
14:28:55 <bwolfe> yony258, https://wiki.openmrs.org/display/docs/Maven
14:35:53 <yony258> The first problem I have is eclipse cannot locate the project under the Remote Java Application in "Debug Configurations"
14:41:42 <djazayeri> yony258: have you tried just doing "Debug As" -> (Maven) -> jetty:run ?
14:42:28 <yony258> No I haven't, can you explain to me how to do that please?
14:43:02 <bwolfe> yony258, right click on the project, the do debug as, choose maven, choose jetty:run
14:43:25 <bwolfe> andrea_, we need to work on your formatting. :-)
14:43:37 <bwolfe> https://github.com/openmrs/openmrs-core/pull/72. the ticket id does not have a "B" in it.
14:43:48 <bwolfe> and the pull request should not just be the ticket id anyway
14:44:25 <yony258> R Click->Debug As-> Than I have 6 Options
14:44:58 <yony258> Maven Build, Maven Build... , Maven Clean, Maven generate sources, Maven Install, Maven Test
14:59:38 <djazayeri> yony258: have you looked at https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+in+Eclipse
14:59:54 <djazayeri> yony258: specifically How to Run Web Application
15:00:07 <djazayeri> yony258: and to debug, you just do Debug As instead of Run As
15:02:22 *** cpower has quit IRC
15:24:30 *** andrea_ has quit IRC
15:25:54 <dkayiwa> hi wyclif
15:26:22 <dkayiwa> wyclif: do your metadatasharing unit tests run without failing?
15:26:26 <wyclif> hi dkayiwa
15:26:55 <wyclif> dkayiwa, yes they are failing
15:27:03 <dkayiwa> wyclif: ok
15:30:58 *** harshadura has joined #openmrs
15:35:05 *** kishoreyekkanti has quit IRC
15:40:24 *** pascal` has joined #openmrs
15:40:24 *** ChanServ sets mode: +v pascal`
15:41:31 *** pascal`` has quit IRC
15:42:11 *** pascal` has quit IRC
15:42:47 *** pascal` has joined #openmrs
15:42:48 *** ChanServ sets mode: +v pascal`
15:44:48 *** pascal` has quit IRC
15:45:10 *** pascal` has joined #openmrs
15:45:11 *** ChanServ sets mode: +v pascal`
15:49:23 *** yony258 has quit IRC
15:52:03 *** pascal`` has joined #openmrs
15:52:05 *** pascal` has quit IRC
16:04:43 *** pascal` has joined #openmrs
16:04:43 *** ChanServ sets mode: +v pascal`
16:04:47 *** pascal`` has quit IRC
16:39:14 *** wyclif has quit IRC
16:52:54 *** pascal` has quit IRC
17:01:46 *** kjoseph has joined #openmrs
17:02:24 <kjoseph> hi t o every one
17:02:32 <dkayiwa> hi kjoseph
17:02:40 <dkayiwa> kjoseph: how is it going?
17:02:56 <bwolfe> hi kjoseph
17:03:56 *** kishoreyekkanti has joined #openmrs
17:04:26 <kjoseph> dkayiwa:still pushing foward
17:04:48 <dkayiwa> kjoseph: did u compile
17:05:24 <kjoseph> @bwolfe: hi to please
17:07:17 <kjoseph> dkayiwa: i encountered an error of no main class when i try, how can i go about that,
17:07:51 <dkayiwa> kjoseph: paste error message here
17:13:04 <kjoseph> dkayiwa: the error is: Apache Maven 3.0.4 (r1232337; 2012-01-17 11:44:56+0300) Maven home: C:\joseph\Openmrs project\openmrs-openmrs-core-a403144\api\EMBEDDED Java version: 1.6.0_10, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_10\jre Default locale: en_CA, platform encoding: Cp1252 OS name: "windows vista", version: "6.1", arch: "x86", family: "windows" SLF4J: Failed to load class "org.slf4j.impl.StaticL
17:14:04 <dkayiwa> dkayiwa: when do you get that?
17:15:06 <kjoseph> dkayiwa: its long, when i compile
17:15:35 <dkayiwa> kjoseph: can you put the entire stack trace and pastebin.com?
17:15:54 <dkayiwa> kjoseph: out the entire error log at pastebin.com
17:16:02 <dkayiwa> kjoseph: and then give us the url
17:26:34 <kjoseph> dkayia: the url is http://pastebin.com/gQQSpGQJ
17:28:03 <dkayiwa> kjoseph: what command did you run to get this
17:28:04 <dkayiwa> ?
17:28:53 <kjoseph> dkayiwa: copiler
17:29:08 <dkayiwa> kjoseph: what is the exact command?
17:30:35 <kjoseph> dkayiwa: also when i run the whole project as maven build
17:30:53 <dkayiwa> kjoseph: what is the exact command you are running?
17:32:06 <kjoseph> dkayiwa: javac *.java
17:32:41 <dkayiwa> kjoseph: did you get that from the openemrs wiki?
17:33:45 <dkayiwa> kjoseph: did you read this? https://wiki.openmrs.org/display/docs/Maven
17:35:27 *** wyclif has joined #openmrs
17:57:51 *** lh has quit IRC
18:05:28 *** mseaton has joined #openmrs
18:05:28 *** ChanServ sets mode: +v mseaton
18:06:17 *** kjoseph has quit IRC
18:06:25 <mseaton> jkeiper: no clue about reporting module issue but happy to brainstorm more here as you work on it.
18:18:10 <jkeiper> mseaton, ah thanks
18:18:19 <jkeiper> mseaton, looking at a debug stacktrace now
18:18:34 <mseaton> jkeiper: ok, back soon
18:18:55 <jkeiper> mseaton, thx
18:27:47 *** Echidna has quit IRC
18:28:04 *** Echidna has joined #openmrs
18:28:04 *** ChanServ sets mode: +v Echidna
19:06:42 <jkeiper> anyone know why groovy module can't see classes from loaded modules?
19:07:58 <jkeiper> mseaton, i'm getting another error that might be related: Caused by: java.sql.BatchUpdateException: Column 'report_definition_uuid' cannot be null
19:10:12 <wyclif> djazayeri, do you know how i can run mds tests for a given version
19:10:25 <djazayeri> wyclif: offhand, no
19:10:27 <bwolfe> jkeiper, just loaded, or loaded+started?
19:10:40 <jkeiper> loaded+started ...
19:10:41 <bwolfe> wyclif, is there a readme? or a wiki page?
19:10:55 <bwolfe> jkeiper, then its because the groovy module doesn't depend on that other module
19:11:00 <jkeiper> bwolfe, trying to use Context.getService(ReportService.class)
19:11:13 <jkeiper> the line "import org.openmrs.module.reporting.report.service.ReportService" fails
19:11:18 <jkeiper> but importing Context works
19:11:32 <jkeiper> bwolfe, ah
19:13:40 *** dkayiwa has quit IRC
19:15:15 <wyclif> bwolfe, i see no wiki page
19:15:34 <bwolfe> wyclif, do you read a read me?
19:17:52 *** kishoreyekkanti has quit IRC
19:18:22 *** dkayiwa has joined #openmrs
19:19:14 <wyclif> bwolfe, the read me has this link https://wiki.openmrs.org/display/docs/Metadata+Sharing+Module a nd i was looking at the technical details section which doesnt seem to mention anything
19:19:15 <OpenMRSBot> <http://ln-s.net/8yuP> (at wiki.openmrs.org)
19:21:19 *** wluyima has joined #openmrs
19:21:28 *** wyclif has quit IRC
19:21:33 *** wluyima has quit IRC
19:22:00 *** wyclif has joined #openmrs
19:27:14 *** wyclif has quit IRC
20:01:47 *** djazayeri has quit IRC
20:16:04 *** wyclif has joined #openmrs
20:27:23 *** djazayeri has joined #openmrs
20:27:23 *** ChanServ sets mode: +o djazayeri
20:57:34 *** dkayiwa has quit IRC
21:18:06 *** mseaton has quit IRC
21:38:34 <djazayeri> bwolfe, or others developing on ubuntu
21:38:44 <djazayeri> do you use maven2 or maven3?
21:39:23 <bwolfe> 2
21:39:36 <bwolfe> $ mvn --version
21:39:36 <bwolfe> Apache Maven 2.2.1 (rdebian-6)
21:39:36 <bwolfe> Java version: 1.6.0_25
21:39:36 <bwolfe> Java home: /usr/lib/jvm/jdk1.6.0_25/jre
21:39:36 <bwolfe> Default locale: en_US, platform encoding: UTF-8
21:39:37 <bwolfe> OS name: "linux" version: "3.0.0-24-generic" arch: "amd64" Family: "unix"
21:40:14 <djazayeri> bwolfe: and mvn release:prepare works for you?
21:40:45 <bwolfe> it did the last time I used it
21:40:48 <bwolfe> been a while
22:01:08 *** wyclif has quit IRC
22:14:02 *** djazayeri has quit IRC
22:19:13 *** djazayeri has joined #openmrs
22:19:13 *** ChanServ sets mode: +o djazayeri
22:29:05 *** wyclif has joined #openmrs
23:29:40 *** djazayeri has quit IRC
23:37:23 *** sgithens has joined #openmrs