IRC Chat : 2012-09-20 - OpenMRS

00:04:30 *** Andrea has joined #openmrs
00:04:54 *** Andrea is now known as Guest7241
00:05:27 <Guest7241> djazayeri, need to ask a git question, u around?
00:05:46 <djazayeri> I am on a call, but can try to answer
00:06:31 <djazayeri> Guest7241: ^^ (Andrea?)
00:07:43 <Guest7241> I can commit but not push something to git
00:07:52 <djazayeri> what error?
00:08:23 <Guest7241> authentication fails - I can get to github with password I'm using
00:08:51 <djazayeri> you sure the email/account is the same?
00:09:00 <Guest7241> authentication failed
00:09:02 <djazayeri> alternatly, are you trying to push to openmrs-core, or to your own fork?
00:10:59 <Guest7241> duid git push -f re instructions
00:12:01 <djazayeri> Did you clone openmrs-core directly to your machine from openmrs? Or did you fork first, and then clone that fork?
00:12:54 <Guest7241> git commit -m "TRUNK-3701: fix odd void reason message" On branch TRUNK-3701
00:13:03 <Guest7241> that was commit
00:14:23 <Guest7241> email is same as github email
00:14:38 <djazayeri> Guest7241: did you clone from github.com/openmrs to your machine? Or did you fork to your own github repo first, and clone that?
00:15:53 <Guest7241> cloned from github.com/openmrs to my machine
00:18:17 <Guest7241> those were instructions
00:33:21 <djazayeri> Guest7241: where did you see those instructions?
00:33:28 <djazayeri> Guest7241: sorry for the delay, was on the phone
00:33:52 <djazayeri> basically, you don't have privileges to commit directly to the openmrs repository.
00:34:11 *** downey has quit IRC
00:34:35 <djazayeri> only a small number of people do, and the primary way of submitting code is to commit the code (and push) to your own fork, then issue a pull request that a core developer will merge
00:34:57 <djazayeri> (if we still have documentation somewhere describing another way of doing things, we need to clean that up)
00:36:03 <djazayeri> Guest7241: see the Using Git page at https://wiki.openmrs.org/x/KQQdAg starting from the part about Get the code (with the intention of submitting changes)
00:37:03 <Guest7241> ok thanks - have been looking at it
00:45:25 *** Guest7241 has quit IRC
00:55:34 *** sgithens has joined #openmrs
01:18:48 *** madroach has quit IRC
01:20:22 *** madroach has joined #openmrs
02:42:30 *** basic` has quit IRC
02:48:31 *** basic` has joined #openmrs
02:55:46 *** suranga has joined #openmrs
02:55:46 *** ChanServ sets mode: +v suranga
03:07:18 *** sgithens has quit IRC
03:16:37 *** upul` has joined #openmrs
03:16:37 *** ChanServ sets mode: +v upul`
03:57:56 *** lh has quit IRC
04:22:46 *** kishoreyekkanti has joined #openmrs
04:23:24 *** kishoreyekkanti has quit IRC
04:23:42 *** kishoreyekkanti has joined #openmrs
04:46:38 *** walkandfish has quit IRC
05:05:36 *** nathanleiby has joined #openmrs
05:24:19 *** kishoreyekkanti_ has joined #openmrs
05:24:56 *** kishoreyekkanti_ has quit IRC
05:25:05 *** kishoreyekkanti has quit IRC
05:25:16 *** kishoreyekkanti has joined #openmrs
06:33:42 *** nathanleiby has quit IRC
06:37:34 *** kavuri has joined #openmrs
07:12:30 *** upul` has quit IRC
08:15:43 *** rafa has joined #openmrs
08:15:43 *** ChanServ sets mode: +v rafa
08:18:10 *** kishoreyekkanti has quit IRC
08:21:56 *** dkayiwa has joined #openmrs
08:29:43 *** kavuri has quit IRC
08:43:02 *** kavuri has joined #openmrs
08:43:37 *** munna has joined #openmrs
08:46:59 <munna> I am pretty new in developing openmrs
08:47:20 <munna> expecting some guidline from experienced developer
08:47:30 <munna> is there anybody to help?
08:49:09 <dkayiwa> munna: here you just ask and any one can always answer :)
09:03:50 <munna> please guide me about how can i develop a module?
09:17:23 <kavuri> dkayiwa: I am trying to create a concept using webservice REST API. I am able to create one without setMembers. But when I try to create with setMembers, I get an error
09:17:50 <kavuri> "Unable to convert object into response content","code":"org.hibernate.engine.Nullability:100","detail":"org.hibernate.PropertyValueException: not-null property references a null or transient value: org.openmrs.ConceptSet.concept\n\tat org.hibernate.engine.Nullability.checkNullability(Nullability.java:100)\
09:18:16 <dkayiwa> munna: did you look at the wiki page for getting started as a developer?
09:19:00 <kavuri> dkayiwa: any help in this aspect?
09:19:38 <dkayiwa> kavuri: can you show me the payload you sent
09:20:00 <kavuri> echo '
09:20:00 <kavuri> {
09:20:00 <kavuri> "names":[{"name":"Myname","locale":"en", "conceptNameType":"FULLY_SPECIFIED"}],
09:20:00 <kavuri> "datatype":"8d4a48b6-c2cc-11de-8d13-0010c6dffd0f",
09:20:00 <kavuri> "conceptClass":"8d491a9a-c2cc-11de-8d13-0010c6dffd0f",
09:20:01 <kavuri> "set":true,
09:20:03 <kavuri> "setMembers":[{"508a135c-44b3-4aa0-906e-cc93095f8372"}]
09:20:05 <kavuri> }
09:20:07 <kavuri> '
09:20:23 <kavuri> dkayiwa: ^^
09:23:49 <dkayiwa> kavuri: what is the name of the concept with this uuid? 508a135c-44b3-4aa0-906e-cc93095f8372
09:23:54 <munna> yes i did partially and i think i should spent more time in there, thanks for you suggestion :)
09:25:15 <kavuri> dkayiwa: Deglutition
09:25:53 <dkayiwa> kavuri: can i look at the tomcat log
09:26:32 <dkayiwa> munna: have you ever used IRC before
09:28:17 <munna> no its my first time
09:28:22 <munna> in here
09:31:01 <kavuri> dkayiwa: http://pastebin.com/RbG1SJx1
09:32:04 <dkayiwa> munna: when you type, you can include a person's name such that the IRC client alerts them :)
09:32:11 <dkayiwa> kavuri: ok looking...
09:32:50 <dkayiwa> kavuri: are you using the default demo data?
09:33:05 <kavuri> dkayiwa: no, I have created this data myself
09:35:46 <dkayiwa> kavuri: what the conceptId for uuid 508a135c-44b3-4aa0-906e-cc93095f8372
09:37:18 <kavuri> dkayiwa: 5
09:37:24 <munna> dkayiwa:: ok i will try to follow that and many thanks, hope to see you again soon :)
09:37:38 <dkayiwa> munna: oh sue
09:37:47 <dkayiwa> munna: where are you :)
09:38:17 <munna> dkaiwa: are you attending the hakathon in 7-8th oct
09:38:18 <munna> ?
09:38:34 <dkayiwa> munna: no
09:38:34 <munna> dkaiwa i am in bangladesh now
09:38:45 <munna> dkaiwa and you?
09:38:47 <dkayiwa> munna: because it is not funded
09:38:57 <dkayiwa> munna: am in uganda
09:39:19 <munna> dkaiwa: oh
09:39:42 <dkayiwa> kavuri: which version of module are u using
09:40:17 <kavuri> dkayiwa: webservices.rest-1.1-SNAPSHOT.29250.omod
09:40:59 <dkayiwa> kavuri: and which version of openmrs
09:41:15 <kavuri> dkayiwa: 1.10.0 SNAPSHOT Build 29087
09:42:38 <dkayiwa> kavuri: does it work well without set members?
09:42:46 <kavuri> dkayiwa: yes
09:43:11 <dkayiwa> kavuri: can you pastbin for me that which works and that which does not?
09:43:15 <munna> dkaiwa: can i have your email address?
09:43:47 <kavuri> dkayiwa: it is very small, I can paste it here
09:43:49 <kavuri> echo '
09:43:50 <kavuri> {
09:43:50 <kavuri> "names":[{"name":"My name","locale":"en", "conceptNameType":"FULLY_SPECIFIED"}],
09:43:50 <kavuri> "datatype":"8d4a48b6-c2cc-11de-8d13-0010c6dffd0f",
09:43:50 <kavuri> "conceptClass":"8d491a9a-c2cc-11de-8d13-0010c6dffd0f"
09:43:50 <kavuri> }
09:43:51 <dkayiwa> munna: is that for asking questions?
09:43:52 <kavuri> '
09:43:55 <kavuri> this one works
09:43:59 <dkayiwa> kavuri: i want to try it here
09:44:00 <kavuri> echo '
09:44:00 <kavuri> {
09:44:01 <kavuri> "names":[{"name":"Myname","locale":"en", "conceptNameType":"FULLY_SPECIFIED"}],
09:44:03 <kavuri> "datatype":"8d4a48b6-c2cc-11de-8d13-0010c6dffd0f",
09:44:05 <dkayiwa> irc adds extra stuff
09:44:05 <kavuri> "conceptClass":"8d491a9a-c2cc-11de-8d13-0010c6dffd0f",
09:44:07 <kavuri> "set":true,
09:44:09 <kavuri> "setMembers":[{"uuid":"2f098028-153a-4f30-bcef-bd62fa01255b"}]
09:44:13 <kavuri> }
09:44:15 <kavuri> '
09:44:18 <kavuri> this does not
09:44:20 <kavuri> dkayiwa: ok
09:45:06 <kavuri> dkayiwa: http://pastebin.com/rwAcQV85
09:45:14 <dkayiwa> kavuri: ok
09:49:32 <dkayiwa> kavuri: trying it out .......
09:49:39 <kavuri> dkayiwa: ok
09:56:23 <kavuri> dkayiwa: a more unrelated question. Are observation groups automatically created when the concepts are synonyms?
09:58:02 <munna> dkayiwa: not exactly :) just for networking
09:58:47 <dkayiwa> munna: oh i see. dkayiwa at openmrs.org :)
09:58:53 <dkayiwa> kavuri: i do not think so
09:59:11 <kavuri> dkayiwa: how can I create an observation group?
09:59:46 <kavuri> dkayiwa: using REST? There is a field called groupMembers in Obs resource. What values should I set there?
10:00:10 <dkayiwa> kavuri: let me first finish the other one :)
10:00:15 <kavuri> dkayiwa: sure :)
10:14:35 <kavuri> dkayiwa: any luck?
10:15:01 <dkayiwa> kavuri: just updated my version of the web services module to ensure that am using the latest fixes
10:15:06 <dkayiwa> kavuri: so debugging now
10:15:12 <kavuri> dkayiwa: ok...
10:15:47 *** piyushmadan has joined #openmrs
10:30:51 *** piyushmadan has quit IRC
10:56:12 *** Sateesh has joined #openmrs
10:56:20 *** kavuri has quit IRC
10:56:42 *** suranga_ has joined #openmrs
10:57:33 *** judygichoya has joined #openmrs
10:57:43 <judygichoya> hey suranga_
10:58:11 <judygichoya> hey suranga
11:02:30 <judygichoya> hey dkayiwa
11:02:48 <dkayiwa> judygichoya: hey
11:02:59 <judygichoya> just moving to main chat
11:05:37 <dkayiwa> ok
11:13:50 *** james_regen has joined #openmrs
11:13:50 *** ChanServ sets mode: +v james_regen
11:14:12 <Sateesh> dkayiwa: sorry to bother. Wondering if you had any luck?
11:14:26 <dkayiwa> Sateesh: who are you? :)
11:14:41 <Sateesh> dkayiwa: sorry! got logged out of my earlier id: kavuri
11:14:48 <Sateesh> :)
11:15:18 <dkayiwa> Sateesh: oh i see. when you logged out, i gave up on trying it out thinking that maybe you had cancelled it :)
11:15:31 <Sateesh> dkayiwa: oh! :)
11:15:44 <dkayiwa> Sateesh: should i try it out again? :)
11:15:45 <Sateesh> dkayiwa: no, I am still looking for some help
11:16:07 <dkayiwa> Sateesh: ok let me try it again :)
11:16:21 <Sateesh> dkayiwa: yes, that would be great...also I do not have any luck in adding any observation
11:16:58 <Sateesh> dkayiwa: do you have any links that help in adding observations using json rest?
11:17:22 <dkayiwa> Sateesh: non off my head
11:17:30 <Sateesh> dkayiwa: ok
11:24:43 *** walkandfish has joined #openmrs
11:35:39 *** judygichoya_ has joined #openmrs
11:35:40 *** judygichoya has quit IRC
11:35:41 *** judygichoya_ is now known as judygichoya
11:43:29 <dkayiwa> Sateesh: just stepped in the code and realized its a bug
11:43:41 <Sateesh> dkayiwa: hmm..
11:43:59 <Sateesh> dkayiwa: I can raise a bug in the issue tracker. Can you add your comments there?
11:44:47 <dkayiwa> Sateesh: yes do. make sure you add Ben, Darius & Roger to be part of the watchers
11:44:56 <Sateesh> dkayiwa: ok
11:45:41 <dkayiwa> judygichoya: i lost your question when i closed the private chat
11:45:58 <dkayiwa> judygichoya: thats another reason why ........ :)
11:47:07 <dkayiwa> Sateesh: remember to add me too as a watcher :)
11:47:22 <Sateesh> dkayiwa: sure :)
11:47:55 *** munna has quit IRC
11:48:20 <dkayiwa> Sateesh: are those the queries you had?
11:48:48 <Sateesh> dkayiwa: I am trying to add an observation, but I get an error
11:49:13 <Sateesh> dkayiwa: from my end, looks like the data packet is correct
11:49:22 <Sateesh> dkayiwa:
11:49:23 <Sateesh> echo '
11:49:23 <Sateesh> {
11:49:23 <Sateesh> "person":{"uuid":"707ed494-22fe-43cd-9751-0c39242b741b"},
11:49:23 <Sateesh> "obsDatetime":"2012-09-19T00:00:00.000+0530",
11:49:23 <Sateesh> "concept":{"uuid":"2f098028-153a-4f30-bcef-bd62fa01255b"},
11:49:25 <Sateesh> "location":{"uuid":"8d6c993e-c2cc-11de-8d13-0010c6dffd0f"},
11:49:27 <Sateesh> "encounter":{"uuid":"e585bd32-3e43-4391-81b7-9ff575225671"},
11:49:29 <Sateesh> "value":"no problem"
11:49:31 <Sateesh> }
11:49:33 <Sateesh> '
11:49:36 <dkayiwa> Sateesh: can u pastebin it?
11:50:00 <Sateesh> dkayiwa: http://pastebin.com/hzz00eEb
11:50:19 <dkayiwa> Sateesh: ok
11:50:54 <dkayiwa> Sateesh: and the error?
11:57:47 <Sateesh> dkayiwa: the top level error:
11:57:48 <Sateesh> {"error":{"message":"Unable to convert object into response content","code":"org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource:685","detail":"org.openmrs.module.webservices.rest.web.response.ConversionException: concept on class org.openmrs.Obs\n\tat org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource.setProperty(BaseDelegatingResource.java:685)\n\tat org.openmrs.module.webservices.rest.web.resource.imp
11:57:49 <Sateesh> l.BaseDelegatingResource.setConvertedProperties(BaseDelegatingResource.java:543)\
11:58:15 <Sateesh> dkayiwa: created the issue and added you and others as watchers
11:58:27 <dkayiwa> Sateesh: ok
12:03:03 <Sateesh> dkayiwa: any hints on what the problem could be with adding an observation?
12:03:14 *** dkayiwa has quit IRC
12:04:14 *** dkayiwa has joined #openmrs
12:11:49 <dkayiwa> Sateesh: did you look at this https://groups.google.com/a/openmrs.org/forum/?fromgroups=#!topic/dev/eUAhOLNLu1Q
12:11:53 <OpenMRSBot> <http://ln-s.net/$qZk> (at groups.google.com)
12:12:33 <Sateesh> dkayiwa: yes, saw this link
12:12:50 <Sateesh> dkayiwa: but it does not show way to create an observation
12:13:12 <dkayiwa> Sateesh: through encounter
12:13:18 <Sateesh> dkayiwa: btw. I am able to create an obs through an encounter
12:13:35 <Sateesh> dkayiwa: but I am using the /obs resource directly when I am getting an error
12:13:42 <dkayiwa> Sateesh: oh i see
12:14:11 <dkayiwa> Sateesh: let me debug it too
12:22:09 *** wyclif has quit IRC
12:30:07 *** bwolfe has joined #openmrs
12:30:07 *** ChanServ sets mode: +o bwolfe
12:37:02 <dkayiwa> Sateesh: do you have an encounter with this uuid e585bd32-3e43-4391-81b7-9ff575225671
12:37:54 <Sateesh> dkayiwa: yes, I do
12:38:08 <Sateesh> dkayiwa: output of that: {"uuid":"e585bd32-3e43-4391-81b7-9ff575225671","display":"Inpatient 19/09/2012","encounterDatetime":"2012-09-19T00:00:00.000+0530","patient":{"uuid":"707ed494-22fe-43cd-9751-0c39242b741b","display":"Test patient","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/person/707ed494-22fe-43cd-9751-0c39242b741b","rel":"self"}]},"location":{"uuid":"8d6c993e-c2cc-11de-8d13-0010c6dffd0f","display":"Unknown Location - ","links":[{"uri":"NEED-T
12:38:09 <Sateesh> O-CONFIGURE/ws/rest/v1/location/8d6c993e-c2cc-11de-8d13-0010c6dffd0f","rel":"self"}]},"form":null,"encounterType":{"uuid":"99555b93-d060-42b0-9a95-0c267426b7da","display":"Inpatient - In patient encounter type","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/encountertype/99555b93-d060-42b0-9a95-0c267426b7da","rel":"self"}]},"provider":{"uuid":"dd1dc81a-144d-460b-97f0-1edf6c917e42","display":"Doctor No","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/person/
12:38:09 <Sateesh> dd1dc81a-144d-460b-97f0-1edf6c917e42","rel":"self"}]},"obs":[{"uuid":"47597507-a52a-4d9d-853b-5fd9a05bde89","display":"testconcept = 45.0","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/obs/47597507-a52a-4d9d-853b-5fd9a05bde89","rel":"self"}]},{"uuid":"4f2cd246-042e-40e7-8f98-2eb6b86b9784","display":"Hip pain = yes","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/obs/4f2cd246-042e-40e7-8f98-2eb6b86b9784","rel":"self"}]}],"orders":[],"voided":false,"links":[
12:38:15 <Sateesh> {"uri":"NEED-TO-CONFIGURE/ws/rest/v1/encounter/e585bd32-3e43-4391-81b7-9ff575225671","rel":"self"},{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/encounter/e585bd32-3e43-4391-81b7-9ff575225671?v=full","rel":"full"}],"resourceVersion":"1.8"}
12:40:04 <dkayiwa> Sateesh: this looks like a bug too
12:40:22 <Sateesh> dkayiwa: hmm...this is supposed to be a basic op..
12:40:31 <Sateesh> dkayiwa: wondering if I am not doign anything wrong
12:40:46 <dkayiwa> Sateesh: can you ask bwolfe to confirm?
12:41:16 <Sateesh> bwolfe: I am trying to create an observation using Webservice REST API to the /obs resource and I am getting an error.
12:41:39 <Sateesh> bwolfe: my POST looks like this
12:41:40 <Sateesh> echo '
12:41:41 <Sateesh> {
12:41:41 <Sateesh> "person":{"uuid":"707ed494-22fe-43cd-9751-0c39242b741b"},
12:41:41 <Sateesh> "obsDatetime":"2012-09-19T00:00:00.000+0530",
12:41:41 <Sateesh> "concept":{"uuid":"2f098028-153a-4f30-bcef-bd62fa01255b"},
12:41:42 <Sateesh> "location":{"uuid":"8d6c993e-c2cc-11de-8d13-0010c6dffd0f"},
12:41:44 <Sateesh> "encounter":{"uuid":"e585bd32-3e43-4391-81b7-9ff575225671"},
12:41:46 <Sateesh> "value":"no problem"
12:41:48 <Sateesh> }
12:41:50 <Sateesh> '
12:42:09 <bwolfe> whats the error message?
12:43:16 <Sateesh> bwolfe: here it is: http://pastebin.com/1unwVJUJ
12:45:31 *** bwolfe has quit IRC
12:49:51 *** bwolfe has joined #openmrs
12:49:51 *** ChanServ sets mode: +o bwolfe
12:50:09 <bwolfe> Sateesh, got kicked, can you repaste the link?
12:50:18 <Sateesh> bwolfe: here it is: http://pastebin.com/1unwVJUJ
12:50:21 <bwolfe> (or xchat crashed, I can't figure out which)
12:50:50 <bwolfe> Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
12:50:57 <bwolfe> ObsResource.java:253
12:51:16 * bwolfe boots up eclipse
12:52:22 <dkayiwa> bwolfe: yes i got exactly that too :)
12:52:45 <bwolfe> and you havent' found/solved/ticketed/pushed it yet?
12:52:46 <bwolfe> :-)
12:53:16 <dkayiwa> wanted to confirm it was not me submitting a wrongly formatted POST :)
12:53:57 <dkayiwa> Sateesh: can you create a ticket for it ?
12:54:34 <Sateesh> dkayiwa: ok, will do
12:57:59 <dkayiwa> Sateesh: remember to add me as a watcher such that i can add some debug findings
12:59:32 <Sateesh> dkayiwa: created the issue: https://tickets.openmrs.org/browse/RESTWS-299
12:59:39 <Sateesh> dkayiwa: added you as the watcher
12:59:46 <dkayiwa> Sateesh: ok
13:02:45 <bwolfe> Sateesh, it might be user error after all. :-) but thats ok, more ticketing is better than less ticketing
13:03:16 <bwolfe> Sateesh, just setting the value to be 123123 instead of {'uuid':123123} for the concept
13:03:18 <Sateesh> bwolfe: yeah, my guess too, since it is such a basic operation
13:03:20 *** judygichoya has quit IRC
13:03:57 <Sateesh> bwolfe: but the concept is a mandatory attribute in an obs POST
13:04:06 *** judygichoya has joined #openmrs
13:05:46 <bwolfe> yes
13:05:46 <bwolfe> still pass it in
13:05:46 <bwolfe> just pass in the uuid string though, not a map
13:09:00 *** wyclif has joined #openmrs
13:09:03 <Sateesh> bwolfe: should I pass uuid for all other fields (person, location, encounter) also?
13:09:20 <bwolfe> those seem to be working
13:09:32 <bwolfe> if this works, then it is a different issue. something isn't getting converted
13:09:36 <bwolfe> (so it is only half user-error)
13:09:37 <bwolfe> :-)
13:10:20 <Sateesh> bwolfe: I get a different kind of error:
13:10:21 <Sateesh> {"message":"Unable to convert object into response content","code":"org.openmrs.validator.ValidateUtil:83","detail":"org.openmrs.api.APIException: 'obs id is null' failed to validate with reason: person: Cannot be empty or null\n\tat org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:83)\n\tat org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:136)\n\tat org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.inv
13:10:21 <Sateesh> oke(MethodBeforeAdviceInterceptor.java:49)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
13:10:23 <Sateesh> dkDynamicAopProxy.java:202
13:10:41 <Sateesh> bwolfe: the person object exists
13:11:06 <Sateesh> {"uuid":"707ed494-22fe-43cd-9751-0c39242b741b","display":"Test patient","gender":"F","age":46,"birthdate":"1966-01-01T00:00:00.000+0530","birthdateEstimated":true,"dead":false,"deathDate":null,"causeOfDeath":null,"preferredName":{"uuid":"c5e111fe-13b6-4a57-acb2-11bf2d7b02ae","display":"Test patient","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/person/707ed494-22fe-43cd-9751-0c39242b741b/name/c5e111fe-13b6-4a57-acb2-11bf2d7b02ae","rel":"self"}]},"preferr
13:11:07 <Sateesh> edAddress":{"uuid":"32f07fbe-22bb-48f7-b45b-5d213736d594","display":"addr","links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/person/707ed494-22fe-43cd-9751-0c39242b741b/address/32f07fbe-22bb-48f7-b45b-5d213736d594","rel":"self"}]},"attributes":[],"voided":false,"links":[{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/person/707ed494-22fe-43cd-9751-0c39242b741b","rel":"self"},{"uri":"NEED-TO-CONFIGURE/ws/rest/v1/person/707ed494-22fe-43cd-9751-0c39242b741b?v=full","rel":
13:11:07 <Sateesh> "full"}],"resourceVersion":"1.8"}
13:11:26 <bwolfe> Sateesh, what if you pass just hte uuid strnig to the others?
13:11:48 <bwolfe> keep hacking at it, theres got to be a pattern to this bug. (or it was meant to be this way and we're just missing something)
13:13:20 <Sateesh> bwolfe: yes, without the map, adding obs works
13:13:24 <Sateesh> :p
13:14:55 <Sateesh> bwolfe: closing as a non-issue
13:16:05 <bwolfe> Sateesh, cool, be sure to put the solution on there for all future ws users
13:16:13 <Sateesh> bwolfe: will do
13:17:40 <Sateesh> bwolfe: can you take a look at REST-298. Maybe it is a similar issue. But dkayiwa debugged it and found a bug
13:18:13 <dkayiwa> Sateesh: i suspect it could be similar :)
13:18:31 <Sateesh> dkayiwa, bwolfe: what might be the correct format?
13:18:33 <bwolfe> !ticket RESTWS-298
13:18:35 <OpenMRSBot> bwolfe: [#RESTWS-298] Error in POST of Concept with setMembers - OpenMRS JIRA - https://tickets.openmrs.org/browse/RESTWS-298
13:19:21 <bwolfe> Sateesh, yes, might be the same, just try passing in a list of uuids instead of a list of hashmaps
13:20:24 *** downey has joined #openmrs
13:20:24 *** ChanServ sets mode: +o downey
13:20:51 <Sateesh> bwolfe: what is the format to pass a list of uuid's?
13:21:02 <Sateesh> bwolfe: right now it is like: "setMembers":[{"uuid":"2f098028-153a-4f30-bcef-bd62fa01255b"}]
13:21:03 <bwolfe> ["asdfasdfasdf", "asdfasdfasdfasdds", "asdfsdfsadfasf"]
13:21:12 <bwolfe> curly brace == hash map
13:21:17 <bwolfe> list = square brackets
13:21:24 <bwolfe> so you are setting a list of one hashmap
13:21:29 <bwolfe> but instead you just need a list of strings
13:23:51 <dkayiwa> bwolfe: Sateesh worketh too :D
13:25:04 <Sateesh> dkayiwa: yep!
13:27:39 <Sateesh> bwolfe, dkayiwa: added these examples to https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources?focusedCommentId=36670229&#comment-36670229
13:27:53 <dkayiwa> Sateesh: excellent!!!
13:28:09 <bwolfe> Sateesh++
13:29:13 *** mseaton has joined #openmrs
13:29:13 *** ChanServ sets mode: +v mseaton
13:29:36 <Sateesh> bwolfe: cancelled the issue 298
13:36:04 *** sgithens has joined #openmrs
13:42:45 <bwolfe> Sateesh, why is there a pipe
13:42:46 <bwolfe> )
13:45:22 *** kishoreyekkanti has joined #openmrs
13:52:02 <dkayiwa> suranga: Mark != Michael :D
13:52:20 <suranga> dkayiwa, ooooooooooooooops :-(
13:52:38 <suranga> dkayiwa, i was in a rush :(
13:52:54 <dkayiwa> :)
13:53:43 <Sateesh> bwolfe: somehow the copy/paste from my script file to confluence created those
13:53:52 <Sateesh> escape chars
13:54:09 <Sateesh> bwolfe: the pipe is required for the echo output to curl input
13:54:14 <bwolfe> Sateesh, you should always use the "text only" editing view when copying and pasting
13:55:00 <bwolfe> Sateesh, but this should have a comma instead of a pipe, right?
13:55:01 <bwolfe> "setMembers":["2f098028-153a-4f30-bcef-bd62fa01255b"|"2f098028-153a-4f30-bcef-bd62fa01255b"]
13:55:56 <Sateesh> bwolfe: yes, it should be comma
13:56:03 <Sateesh> bwolfe: not sure why that came up
13:56:15 <bwolfe> strangeness
13:56:15 <Sateesh> bwolfe: fixing it now
13:56:21 <bwolfe> its the wiki gods
13:56:28 <bwolfe> you made them angry in a past life
13:57:52 <Sateesh> bwolfe: pacified now :)
14:02:02 *** cpower has joined #openmrs
14:02:31 *** Sateesh has quit IRC
14:02:38 <cpower> Hello and welcome to apple's big OS upgrade day....oh wait that's another channel..
14:02:48 <cpower> Let's scrum.
14:03:02 <cpower> !scrumon cpower
14:03:02 * 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:35 <cpower> Order: bwolfe, djazayeri, mseaton, rafa, suranga, dkayiwa, and wyclif
14:03:42 <dkayiwa> cpower: loll
14:03:53 <cpower> With andreapat I'm sure to follow...
14:03:58 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @askanter: In Ethiopia working with Ministry of Health and local partners to design & implement national mHealth info system! #op ... <http://twitter.com/OpenMRS/statuses/248776487816273920>
14:04:01 *** bwolfe_ has joined #openmrs
14:04:01 *** ChanServ sets mode: +o bwolfe_
14:04:03 *** bwolfe has quit IRC
14:04:03 <djazayeri> I thought today we had the dev call...
14:04:05 <dkayiwa> cpower: laer in the night :)
14:04:06 <cpower> oh wait it's thursday we do this later.
14:04:06 <djazayeri> cpower: ^^
14:04:09 <cpower> bah.
14:04:18 <cpower> !scrumoff
14:04:18 * 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:04:29 <dkayiwa> cpower: what a fast scrum ending :)
14:04:34 *** wyclif has quit IRC
14:04:50 <cpower> fastest scrum in the midwest is what they call me
14:04:53 <cpower> ;-)
14:05:06 <dkayiwa> :D
14:06:27 *** bwolfe_ has quit IRC
14:08:23 <suranga> hi james_regen . sorry, me again :)
14:08:46 <suranga> james_regen, i tried connecting to link.regenstrief.org, but unfortunately it did not resolve
14:08:55 <suranga> would you know the new ID i could use ?
14:08:58 <suranga> :)
14:13:11 <james_regen> suranga, so it didn't even find the host name? does "ping link.regenstrief.org" do anything?
14:14:01 <suranga> james_regen, hi !... im afraid it times out :(
14:14:07 *** lh has joined #openmrs
14:14:07 *** lh has joined #openmrs
14:15:19 <james_regen> suranga, to fix that i'll need to get the network people here to look at it. they can change the firewall to allow access
14:15:44 <suranga> james_regen, that would be cool, if you are not too busy :-)
14:19:46 *** wyclif has joined #openmrs
14:26:32 *** mikehappy has joined #openmrs
14:26:45 <downey> Hi mikehappy and welcome to the #openmrs IRC channel.
14:27:35 <mikehappy> hi
14:28:18 *** walkandfish has quit IRC
14:29:57 *** mikehappy has quit IRC
14:31:46 *** lhawthor_ has joined #openmrs
14:32:16 *** lhawthor_ has quit IRC
14:32:43 *** downey has quit IRC
14:32:53 *** downey has joined #openmrs
14:32:53 *** ChanServ sets mode: +o downey
14:44:56 *** judygichoya has quit IRC
14:45:46 *** judygichoya has joined #openmrs
14:48:09 *** harshadura has joined #openmrs
14:50:56 <judygichoya> hey djazayeri
14:51:10 <judygichoya> i am using html widgets module in my module...
14:51:21 <judygichoya> and the concept search seems to have a bug
14:51:58 <judygichoya> it displays the concepts well, but when i select one and retrieve the id and concept name …it displays for a different concept
14:56:31 <mseaton> judygichoya, how are you retrieving the id/conceptName ?
14:57:34 *** suranga_ has quit IRC
14:57:37 *** suranga has quit IRC
15:00:17 <judygichoya> context.getcontextservice
15:00:21 <judygichoya> mseaton
15:00:33 <judygichoya> some concepts return the correct number
15:00:37 <judygichoya> and name
15:00:40 *** kishoreyekkanti has quit IRC
15:00:40 <judygichoya> and not others...
15:05:44 <judygichoya> mseaton can you limit a wider to show by role?
15:05:46 <judygichoya> <wgt:widgetid="providerSearch"name="provider"type="org.openmrs.Person"/>
15:05:57 <judygichoya> i want to get only those people that are providers?
15:09:46 *** rafa has quit IRC
15:10:06 <mseaton> judygichoya, there is nothing there that uses 1.9 providers. i think you can limit users by roles however
15:10:31 <judygichoya> how would i write that ?
15:11:58 <mseaton> you can write your own handler in your module. see the handlers that the reporting module adds to htmlwidgets for example.
15:12:41 <judygichoya> any idea of solving the error on retrieving the concept id ?
15:13:08 <mseaton> not without more details. where is your code? what concepts are causing problems and when?
15:13:17 <judygichoya> ok...
15:13:24 <judygichoya> let me push to git hub...
15:13:28 <judygichoya> and i am picking tsts ..
15:13:33 <judygichoya> Chest X-ray seems to work fine
15:13:44 <judygichoya> but any other X-ray returns drugs
15:13:46 <mseaton> are you able to run the debugger in eclipse on the code?
15:13:50 <judygichoya> also any Ct selection
15:15:39 <mseaton> judygichoya, do they work correctly in the htmlwidgets demo/test page?
15:17:54 *** bwolfe_ has joined #openmrs
15:17:55 *** ChanServ sets mode: +o bwolfe_
15:17:57 *** cpower has quit IRC
15:18:11 <mseaton> judygichoya: http://localhost:8080/openmrs/module/htmlwidgets/demonstration.htm
15:30:29 *** wyclif has quit IRC
15:32:53 <judygichoya> mseaton
15:32:57 <judygichoya> caught my mistake
15:32:59 <judygichoya> thanks
15:33:02 <judygichoya> ...
15:33:18 <judygichoya> i just need the provider to work…for another day though
15:33:20 *** judygichoya has left #openmrs
15:35:27 *** sgithens has quit IRC
15:36:02 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: @mccallumg No worries! Watch the #OpenMRS developers forum re-play here: http://t.co/xFCOkngd <http://twitter.com/OpenMRS/statuses/248799496664907778>
15:40:01 *** harshadura_ has joined #openmrs
15:56:59 *** bwolfe_ has quit IRC
16:11:25 *** harshadura has quit IRC
16:11:46 *** harshadura has joined #openmrs
16:29:52 *** cpower has joined #openmrs
16:31:14 <cpower> anyone out there have a good website that shows how to jail break a iphone 4 well...like a great newbie site.
16:49:54 *** downey has quit IRC
16:50:11 *** harshadura has quit IRC
16:51:58 *** downey has joined #openmrs
16:51:58 *** ChanServ sets mode: +o downey
16:52:19 *** bwolfe_ has joined #openmrs
16:52:19 *** ChanServ sets mode: +o bwolfe_
16:54:50 *** kishoreyekkanti has joined #openmrs
16:56:34 *** wyclif has joined #openmrs
17:02:37 <djazayeri> wyclif: was my comment on the ticket about transactional annotations clear?
17:03:11 <djazayeri> wyclif: I never meant for #1 to be an intended case. I want transactions to work properly, i.e. if anything fails inside the transaction, the whole thing is rolled back
17:03:12 <wyclif> djazayeri, it was
17:03:18 <djazayeri> okay, cool.
17:03:53 <wyclif> djazayeri, i think i seemed like you wanted the puter transaction not to get rolled back
17:04:09 <wyclif> djazayeri, i think it seemed like you wanted the outer transaction not to get rolled back
17:05:09 <wyclif> djazayeri, i dont know if am mis-interpreting it
17:05:25 <djazayeri> wyclif: I DO want the outer transaction to get rolled back
17:05:56 <wyclif> djazayeri, ok but your step 1 quotes "of this ticket is to write a unit test that shows that if two service methods are called (one from inside the other) the first one will not be rolled back if there is an error during the second one"
17:06:29 <djazayeri> wyclif: "write a unit test that shows that" is supposed to mean writing a unit test to demonstrate the currently-broken behavior.
17:06:52 <djazayeri> i.e. use TDD and show the error, before fixing it.
17:07:24 <wyclif> djazayeri, ok
17:07:48 <wyclif> djazayeri, i have read your last comment
17:08:21 <wyclif> djazayeri, your last comment is much clearer
17:08:31 <djazayeri> okay, cool.
17:19:13 *** dkayiwa_ has joined #openmrs
17:22:14 *** dkayiwa has quit IRC
17:22:16 *** dkayiwa_ is now known as dkayiwa
17:36:56 <wyclif> hi mseaton
17:43:12 *** downey has quit IRC
17:43:18 *** rafa has joined #openmrs
17:43:18 *** ChanServ sets mode: +v rafa
17:51:00 *** downey has joined #openmrs
17:51:01 *** ChanServ sets mode: +o downey
18:02:05 <mseaton> hi wyclif
18:02:46 <wyclif> mseaton, did you read my comment on PS-9
18:02:55 <wyclif> mseaton, there is stuff that is unclear
18:03:09 <wyclif> i will send a pull request for PS-9 so that you correct me
18:03:24 *** bwolfe_ has quit IRC
18:03:34 <mseaton> wyclif - been away for a few minutes. catching up now
18:05:26 *** jblaya has joined #openmrs
18:05:50 <jblaya> dkayiwa, hi, I've run the other instances of the openmrs standalone and get the same error
18:05:56 <jblaya> dkayiwa, do you have time to look at it now?
18:09:38 <dkayiwa> jblaya: ok
18:10:12 <jblaya> dkayiwa, ok,
18:10:28 <jblaya> dkayiwa, there was one additional error when using the standalone 1.8.1, [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
18:11:21 <jblaya> dkayiwa, I'm using ubuntu 12.04 LTS and java 1.7.0_07 like rafa mentioned in the ticket
18:11:28 <jblaya> dkayiwa, but it still gives me the same error
18:13:14 <wyclif> mseaton, can please change https://tickets.openmrs.org/secure/RapidBoard.jspa?rapidView=14 to needs review , i set it to an incorrect status by mistake
18:14:18 <rafa> jblaya: hi, just joined, what error you have?
18:14:40 <jblaya> rafa, the same one in https://tickets.openmrs.org/browse/STAND-62
18:15:01 <jblaya> rafa, that roger reported, on standalone 1.9.1, 1.9.0, 1.8.4
18:15:33 <rafa> jblaya: can you please pastebin the full log?
18:15:35 <dkayiwa> jblaya: do you have the complete tomcat log?
18:15:42 <jblaya> rafa, on 1.8.1 it gives me the error above [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
18:16:04 <rafa> jblaya: hmmm
18:16:10 <jblaya> dkayiwa, rafa, give me a sec to run it again, and I will paste it here
18:16:14 <mseaton> wyclif, which ticket number?
18:16:23 <rafa> jblaya: thanks
18:17:22 <jblaya> rafa, dkayiwa, actually, should I use some other application to put the entire log here, 'cause it'll take up a lot of space, pastebin?
18:17:42 <rafa> jblaya: yes, pastebin
18:18:11 <dkayiwa> jblaya: pastebin
18:18:31 <wyclif> mseaton, PS-1
18:18:37 *** bwolfe_ has joined #openmrs
18:18:38 *** ChanServ sets mode: +o bwolfe_
18:22:22 <jblaya> rafa, dkayiwa, standalone is still working, just another minute :)
18:24:20 <rafa> jblaya: can you also please try to 'chmod -R 777 standalone-folder'?
18:24:41 <jblaya> rafa, dkayiwa, ok, here's the log http://pastebin.com/jVQEJ8BX
18:24:56 <jblaya> rafa, dkayiwa, I stopped it at the first attempt, though it would try 3 times
18:25:38 <rafa> jblaya: maybe mysql don't have rights to create that pid file
18:25:47 <rafa> jblaya: please try the chmod command
18:26:13 <wyclif> mseaton, tickets like PS-4 that say demonstrate require no coding, right?
18:26:44 <jblaya> rafa, ok, just did chmod and now running standalone again, will send you the output
18:27:10 <mseaton> wyclif. yes, in theory. maybe add a unit test that demonstrates each?
18:27:37 *** bwolfe_ is now known as bwolfe
18:29:01 <wyclif> ok
18:29:05 <dkayiwa> jblaya: can you add your stack trace to the ticket
18:29:14 <jblaya> dkayiwa, sure
18:29:53 <wyclif> mseaton, can you review PS-1 and PS-9 because i need to have that code merged since it i need to use that code
18:30:09 <mseaton> working on it now...
18:30:10 <dkayiwa> jblaya: do you have any existing mysql installation on that box?
18:30:40 <mseaton> wyclif - i may just accept the pull requests in, and then make some changes myself, rather than comment on the pull requests. thoughts?
18:30:53 <jblaya> dkayiwa, just added the stack trace, I shouldn't
18:31:08 <jblaya> dkayiwa, and if I do, I can erase them because I don't need them
18:31:29 <dkayiwa> jblaya: uninstall them
18:31:50 <rafa> jblaya: no success with chmod?
18:32:06 <jblaya> rafa, still working....
18:32:16 *** james_regen has quit IRC
18:32:18 <jblaya> rafa, here's what I did, just to make sure it's right http://pastebin.com/wWbLcfGD
18:32:28 <wyclif> mseaton, sounds fine to me
18:32:43 <jblaya> rafa, dkayiwa, I'm also more than happy to give you guys control of my pc, it that would be easier
18:32:43 <wyclif> so am working on PS-13 because the code i need is already in master
18:32:49 <mseaton> wyclif- the module is small enough, and new enough, that i don't want to get in the way
18:33:04 <wyclif> mseaton, makes sense
18:33:22 <mseaton> ok, both merged in.
18:33:37 <jblaya> dkayiwa, just to make sure, you want me to uninstall mysql and mysqld from my ubuntu?
18:33:51 <dkayiwa> jblaya: yes unistall and restart
18:34:12 <wyclif> mseaton, i know i get things wrong in reporting for reason, after a couple of sprints am still like 50% unfamiliar with the project
18:34:15 <jblaya> dkayiwa, ok, rafa, same error
18:34:30 <dkayiwa> jblaya: after uninstall?
18:34:56 <jblaya> dkayiwa, rafa, no, same error, after doign the chmod, I'm uninstalling, and rebooting now
18:35:01 <rafa> jblaya: have you ever tried 'sudo ./run-on-linux.sh'?
18:35:38 <jblaya> rafa, no, I always do sudo su, then java -jar openmrs-standalone.jar, let me try that now
18:39:07 <wyclif> actuall PS-1 depends on PS-9 too, i will do PS-10 now that you have pulled the code into master
18:39:17 <wyclif> mseaton, actually PS-13 depends on PS-9 too, i will do PS-10 now that you have pulled the code into master
18:42:54 <rafa> jblaya: ohh you always run as root?
18:43:09 <wyclif> mseaton, did pull code for PS-9?
18:43:22 <jblaya> rafa, I have a user, but I do sudo su to run this
18:43:29 <mseaton> wyclif, yes, looking at it now
18:43:33 <wyclif> mseaton, ok
18:43:49 <rafa> jblaya: maybe you should not then
18:44:17 <rafa> jblaya: I've never tested it as root
18:45:19 <jblaya> ok, let me try doing sudo
18:45:37 <jblaya> rafa, using su and ./run-on-linux.sh gave the same error
18:45:44 <mseaton> wyclif, specific question?
18:46:04 <rafa> jblaya: well actually I've just tested
18:46:18 <rafa> jblaya: it hangs for me when I run it with sudo
18:46:32 <rafa> jblaya: works fine when just running with user rights
18:47:35 <jblaya> rafa, just trying running with user rights, and got this http://pastebin.com/GNjCCmAD
18:48:16 <wyclif> mseaton, for PS-1, you should have noticed that i check if is a report design has a simple html renderer to display it otherwise it is a download, should that be changes to check if it a PatientSummaryRender instead?
18:48:22 *** lh has quit IRC
18:49:27 <rafa> jblaya: ok, that may solve our problem, can you please delete the standalone dir. Then unzip with user rights and run it with user rights?
18:49:34 <wyclif> mseaton, for PS-1, you should have noticed that i check if a report design has a simple html renderer i display it otherwise i return a downloadable version, should that be changes to check if it a PatientSummaryRender instead?
18:50:04 <mseaton> wyclif, will have a look.
18:50:51 *** RaymondS has joined #openmrs
18:50:57 <downey> Hi RaymondS and welcome to the #openmrs IRC channel.
18:51:29 <RaymondS> hi
18:52:00 <RaymondS> Are you logged on to this channel, /dkayiwa?
18:52:17 <dkayiwa> RaymondS: almost :)
18:52:21 <RaymondS> I'm still having problems installing the 1.9.1 version
18:52:25 <jblaya> RaymondS, hey, good to see you on the list, dkayiwa and rafa are just debugging the standalone problem
18:53:28 <RaymondS> Since the 1.8.2 has been running smoothly, I tried to do something with the 1.9.1
18:53:51 <RaymondS> but unzipping it just gave me the same "mysqld pid file not found" error
18:54:01 <RaymondS> same error seen I believe in 1.8.4
18:54:13 <RaymondS> hi Joaquin (/jblaya)!
18:54:22 <dkayiwa> RaymondS: so 1.8.2 cannot run anymore?
18:54:51 <RaymondS> it still runs
18:54:57 <RaymondS> I'm running the latest java, tomcat and mysql versions in Ubuntu 12.04
18:55:35 <dkayiwa> RaymondS: so 1.8.2 standalone runs well but other versions give the pid file not found error?
18:55:54 <RaymondS> yes
18:56:18 <dkayiwa> RaymondS: did you try out 1.8.3?
18:56:46 <RaymondS> 1.8.4 gives the same error
18:57:35 <dkayiwa> RaymondS: can you copy the standalone jar file from the unzipped 1.8.2 and paste it into 1.8.4
18:57:57 <dkayiwa> RaymondS: making sure you change its name to match with the one which is in 1.8.4
18:58:08 <dkayiwa> RaymondS: then you try again and tell us
18:58:19 <RaymondS> ok i'll do that, thanks Daniel
18:58:25 *** RaymondS has quit IRC
18:59:41 <rafa> jblaya: confirmed it gives me the pid error when run with root rights, but works fine with user rights...
19:00:03 <dkayiwa> rafa: hahahaha good catch
19:00:07 <dkayiwa> :)
19:00:26 <rafa> dkayiwa: :)
19:00:30 *** andreapat has joined #openmrs
19:00:34 <jblaya> rafa, I'm still waiting on the outcome of running it on user privileges, man this takes a while
19:00:34 <rafa> jblaya: can you confirm?
19:01:14 <rafa> jblaya: ok, strange it runs instantly with user rights for me, but hangs for a while with root rights
19:01:24 <jblaya> rafa, sorry, same error :(
19:01:31 <andreapat> are we scrumming yet?
19:01:40 <rafa> andreapat: not yet
19:01:42 <bwolfe> andreapat, not quite yet
19:02:58 <rafa> jblaya: maybe after system restart?
19:04:02 <cpower> I'm late by 3 mins and they are already looking for me...Sorry I was playing with Google Calendars
19:04:23 *** downey has quit IRC
19:04:39 <cpower> Are we ready to Scrum, I've got some fried pickels waiting for me :-)
19:04:59 <cpower> !scrumon cpower
19:04:59 * 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.
19:05:46 <andreapat> fried pickels?
19:05:59 <cpower> I feel like I've already done this once today..oh wait I have... Your order: bwolfe, djazayeri, mseaton, rafa, suranga, dkayiwa, and wyclif
19:06:26 <bwolfe> Wednesday
19:06:26 <bwolfe> triage a number of tickets
19:06:26 <bwolfe> curate a few tickets
19:06:26 <bwolfe> Univ call
19:06:27 <bwolfe> update docs on ui framework
19:06:29 <bwolfe> try out UIFR-44
19:06:31 <andreapat> cpower, how about me?
19:06:31 <bwolfe> dev interview
19:06:33 <bwolfe> design call
19:06:35 <bwolfe> pm call
19:06:37 <bwolfe> Thursday
19:06:39 <bwolfe> emails
19:06:41 <bwolfe> triaged 3 tickets
19:06:43 <bwolfe> dev call
19:06:45 <bwolfe> pm call
19:06:47 <bwolfe> bp meeting
19:06:49 <bwolfe> blocker: getting controller picked up by uiframework (cc djazayeri)
19:07:36 <rafa> what is bp?
19:07:41 <jblaya> dkayiwa, rafa going to restart now
19:07:44 *** jblaya has quit IRC
19:07:58 <cpower> djazyeri you are up
19:07:58 <djazayeri> Yesterday: all-day calls
19:07:58 <djazayeri> Today: Mirebalais
19:07:58 <djazayeri> * Create order -> Event -> Send message to PACS
19:07:58 <djazayeri> * Integrate idgen's remote batches of IDs
19:08:02 <djazayeri> No blockers.
19:08:25 <cpower> Mr Seaton you can share if you like
19:08:39 <cpower> otherwise rafa you are up
19:09:25 <rafa> ok, time out for mseaton ;)
19:09:29 <rafa> Today:
19:09:29 <rafa> * Committed META-245: Should allow classes in different packages to have the same simple name
19:09:29 <rafa> https://tickets.openmrs.org/browse/META-245
19:09:29 <rafa> * Investigated META-264: Trying to import a MDS package with nested roles fails
19:09:29 <rafa> https://tickets.openmrs.org/browse/META-264
19:09:30 <rafa> * Committed META-275: Prepare bug report
19:09:30 <rafa> https://tickets.openmrs.org/browse/META-275 (not yet well tested)
19:09:31 <rafa> No blockers.
19:09:51 <cpower> Suranga you can share if you like, or dkayiwa you are up...
19:10:10 <dkayiwa> Committed: Add utility functions to the TextTemplateRenderer scripting Context - REPORT-441
19:10:10 <dkayiwa> Committed: Support localization within a TextTemplateRenderer output - REPORT-443
19:10:10 <dkayiwa> Dev Call
19:10:11 <dkayiwa> Now working on: Add PersonDataDefinition to calculate an Obs-based Problem List - REPORT-440
19:10:11 <dkayiwa> No Blockers
19:10:15 <wyclif> Wednesday:
19:10:15 <wyclif> design call
19:10:15 <wyclif> PS-9 - Create a custom ReportDefinition subclass to represent a PatientSummaryReportDefinition
19:10:15 <wyclif> Thursday:
19:10:15 <wyclif> dev call
19:10:16 <wyclif> PS-10 - Patient Summary UI: Create/edit a PatientSummaryReportDefinition
19:10:18 <wyclif> Review TODOs for PS-1 to use PatientSummaryService- Add Patient Dashboard Tab Extension for displaying one or more patient summaries
19:10:21 <wyclif> Blockers: None
19:10:47 <cpower> and that's how we play our home game...tell them what they've won!
19:10:58 <andreapat> cpower, what about me?
19:11:07 <mseaton> sorry, missed my turn
19:11:18 <cpower> oh..fine Andrea your turn
19:11:22 <cpower> ;-)
19:11:46 <andreapat> wednesday design call
19:12:12 <andreapat> Watched OpenMRS University Git tutorial video (twice) in preparation for submitting changes to githubthrough s
19:12:15 <andreapat> Followed Wiki instructions: Get code with intention of submitting changes through Work on Your Task step 4
19:12:39 <andreapat> Step 3: Commit looks good
19:12:41 <andreapat> Blocker Step 4: push -f (backup code by committing changes and pushing to my fork) got fatal: Authentication failed
19:12:59 <andreapat> Today Dev forum call (bummer couldn't hear due to echo and cutting out)
19:13:16 <andreapat> documenting unclear wiki doc and question re openmrs system for Indiana
19:13:32 <bwolfe> mseaton?
19:14:02 <cpower> Discussion: What is BP?
19:14:04 <mseaton> getting buried under daniel and wyclif's pull reqeusts. trying to dig out
19:14:06 *** dkayiwa_ has joined #openmrs
19:14:15 <mseaton> no blockers
19:14:25 <cpower> <andreapat> Blocker Step 4: push -f (backup code by committing changes and pushing to my fork) got fatal: Authentication failed
19:14:25 <cpower> [15:12] <andreapat> Today Dev forum call (bummer couldn't hear due to echo and cutting out)
19:14:25 <cpower> [15:13] <andreapat> documenting unclear wiki doc and question re openmrs system for Indian
19:14:56 <andreapat> cpower?
19:15:10 <cpower> Blockers: @bwolfe> blocker: getting controller picked up by uiframework (cc djazayeri)
19:15:22 <cpower> Discussion points: What is BP?
19:15:34 *** dkayiwa has quit IRC
19:15:34 *** dkayiwa_ is now known as dkayiwa
19:15:42 <bwolfe> rafa, BP = BurkePaul
19:15:51 <bwolfe> also, British Petroleum
19:16:07 <djazayeri> which were you meeting with?
19:16:20 <rafa> bwolfe: yeah I thought the latter :D
19:16:33 <cpower> British Petroleum...he's going corporate on us
19:16:35 *** RaymondS has joined #openmrs
19:16:45 <RaymondS> hi /dkayiwa
19:16:49 <cpower> he sold out
19:16:53 <RaymondS> did it, and still has same error
19:17:13 *** jblaya has joined #openmrs
19:17:17 <RaymondS> oh..
19:17:21 <rafa> RaymondS: are you running with root or user rights?
19:17:27 <RaymondS> root
19:17:40 <rafa> RaymondS: can you please try with user rights?
19:17:42 <cpower> he met them at the Stacked Pickle while eating fried pickles..
19:17:57 <djazayeri> andreapat: what do you get when you do "git remove -v" at the command line from your openmrs-core folder?
19:18:05 <djazayeri> bwolfe: what's the issue with finding the controller?
19:18:13 <RaymondS> ok /rafa, i'll try that
19:18:35 <andreapat> djazayeri, let me try it
19:19:00 <andreapat> djazayeri, what will remove do?
19:19:01 *** kishoreyekkanti has quit IRC
19:19:14 <cpower> !scrumoff
19:19:14 * 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.
19:19:15 <djazayeri> sorry, typo: git remote -v
19:20:10 <andreapat> $ git remote -v
19:20:10 <andreapat> origin https://github.com/openmrs/openmrs-core.git (fetch)
19:20:10 <andreapat> origin https://github.com/openmrs/openmrs-core.git (push)
19:20:10 <andreapat> upstream https://github.com/openmrs/openmrs-core.git (fetch)
19:20:10 <andreapat> upstream https://github.com/openmrs/openmrs-core.git (push)
19:20:15 <bwolfe> djazayeri, I created a new module. put RedController in the right folder. put red.gsp in the pages controller. I put ${myproperty} in red.gsp. when I open red.page I get No such property: myproperty for class: SimpleTemplateScript19
19:20:30 <bwolfe> andreapat, you have to clone your fork, not the openmrs-core
19:20:46 <bwolfe> the "origin" needs to be your fork. and "upstream" the openmrs org one
19:20:54 <andreapat> bwolfe, thought that's what I was doing -
19:21:06 <bwolfe> andreapat, see the "getting code with intention of submitting" section of Using Git wiki page
19:21:35 <andreapat> bwolfe, those are the instructions I've been following
19:21:58 <djazayeri> andreapat: I think you followed the section above.
19:22:04 <djazayeri> andreapat: you need the "with intention of submitting"
19:22:30 *** RaymondS has quit IRC
19:22:40 <andreapat> you mean get code without intention of submitting
19:22:43 <djazayeri> bwolfe: in RedController, are you doing model.addAttribute("myProperty", ...)
19:22:50 <djazayeri> andreapat: *with*
19:22:56 *** RaymondS has joined #openmrs
19:23:06 <djazayeri> andreapat: I mean, you should be following the *with* instructions
19:23:07 <bwolfe> djazayeri, yes
19:23:16 <bwolfe> djazayeri, and logging in the controller. no log printed
19:23:29 <djazayeri> bwolfe: is it in github?
19:23:31 <RaymondS> +rafa: same thing, same error
19:23:31 <rafa> jblaya: any luck?
19:23:38 <bwolfe> djazayeri, no, but it can be
19:23:39 <jblaya> rafa, dkayiwa, sorry , no luck, ran with user privieleges after uninstalling mysql and rebooting
19:23:42 <djazayeri> bwolfe: make it so
19:23:49 <jblaya> rafa, dkayiwa, and still get the same error
19:24:23 <rafa> jblaya: and by no chance you're logged as root?
19:24:43 <jblaya> rafa, nope, I'm logged in as a user with sudo privileges
19:24:46 <andreapat> understand, have a branch now
19:25:14 <jblaya> rafa, well, is there a way to check to make sure this user doesn't have root privileges? because that could be the problem
19:25:25 <andreapat> git branch TRUNK-3701
19:25:25 <andreapat> git checkout TRUNK-3701
19:25:30 <djazayeri> andreapat: offhand I think your best approach is to do the fork, do a new clone of that, and then try to move your changes over from the current one to the new one (e.g. via a patch)
19:26:30 <djazayeri> andreapat: but yeah, do a branch of that new clone
19:26:40 <rafa> jblaya: that's a good question, I'm not a regular linux user so I don't know off hand
19:27:11 <jblaya> rafa, and my user (jblaya) and group (jblaya) own all of the files in the directory
19:27:21 <andreapat> so new branch like TRUNK-3701B
19:27:55 <jblaya> rafa, from the little I can tell, a user can't be root, they can only have root privileges using sudo...
19:28:39 <djazayeri> andreapat: have you done all of the instructions at Get the code (with the intention of submitting changes)
19:28:39 <djazayeri> ?
19:28:53 *** RaymondS has quit IRC
19:29:00 <djazayeri> andreapat: i.e. have you created your account on github, and forked openmrs-core to it?
19:29:53 <andreapat> djazyeri, up to step 4 of work on your task - where error happened
19:30:29 <andreapat> djazayeri, yes
19:30:30 <djazayeri> andreapat: since our exchange 5 minutes ago about git remote -v, have you done the fork, and done the clone again?
19:30:43 <andreapat> no
19:30:57 <andreapat> not yet
19:31:16 *** downey has joined #openmrs
19:31:16 *** OpenMRSBot sets mode: +o downey
19:31:16 *** ChanServ sets mode: +o downey
19:31:19 <jblaya> rafa, dkayiwa, it seems RaymondS is also seeing the same error?
19:31:27 <rafa> jblaya: correct
19:31:50 <bwolfe> djazayeri, https://github.com/bwolfe/openmrs-module-appframeworkadmin/blob/master/omod/src/main/java/org/openmrs/module/appframeworkadmin/page/controller/RedController.java and https://github.com/bwolfe/openmrs-module-appframeworkadmin/blob/master/omod/src/main/webapp/pages/red.gsp
19:31:56 <OpenMRSBot> <http://ln-s.net/$qj-> (at github.com)
19:32:04 <djazayeri> andreapat: so, you have cloned the code from the wrong place, and made some changes there. Now you need to clone again, but from github.com/andreapat/openmrs-core
19:32:10 <rafa> bwolfe: you're still on Ubuntu right?
19:32:19 <jblaya> rafa, I can try to create another user on my machine and see if that solves it, or well, I don't know what else to do :)
19:32:27 <rafa> bwolfe: have you tried running 1.9.1 standalone?
19:32:37 <bwolfe> rafa, yes I am. no I haven't. need me to now?
19:32:52 <rafa> bwolfe: yes, we're out of ideas
19:33:04 <djazayeri> bwolfe: name the class RedPageController
19:33:14 <rafa> bwolfe: hope it will fail for you
19:33:43 <andreapat> djazayeri, got it will get back to you
19:34:30 <andreapat> thanks djazayeri!
19:34:40 <djazayeri> bwolfe: not just RedController
19:38:13 <bwolfe> djazayeri, yep that did it, thanks
19:38:19 <djazayeri> np
19:47:57 *** downey has quit IRC
19:48:02 *** downey_ has joined #openmrs
19:48:03 *** ChanServ sets mode: +o downey_
19:50:51 *** Echidna has quit IRC
19:51:52 *** Echidna has joined #openmrs
19:51:53 *** ChanServ sets mode: +v Echidna
19:54:45 *** downey_ has quit IRC
19:57:16 *** sgithens has joined #openmrs
19:58:10 <dkayiwa> jblaya: can you place the 1.8.4 war file into the 1.8.2 standalone which works well?
19:58:38 *** andreapat has quit IRC
19:59:01 *** andreapat has joined #openmrs
20:01:28 *** downey has joined #openmrs
20:01:28 *** OpenMRSBot sets mode: +o downey
20:01:29 *** ChanServ sets mode: +o downey
20:03:39 <jblaya> dkayiwa, let me see that now
20:04:13 <rafa> jblaya: also have 1.9.0 worked for you?
20:04:38 <rafa> dkayiwa: have we upgraded mxj in between, do you remember?
20:04:38 <jblaya> rafa, it didn't work for me
20:04:58 <dkayiwa> rafa: yes we have
20:05:01 *** cpower has quit IRC
20:05:29 <rafa> dkayiwa: yes, I remember the missing kill.exe, right?
20:05:30 <dkayiwa> rafa: starting from 1.9.0 and 1.8.3 or 2
20:05:38 <dkayiwa> rafa: yes
20:05:40 <bwolfe> rafa, jblaya, downloaded 1.9.1 standalone, ran as me with "sh ./run-on-linux.sh". chose starter impl. have it running at localhost:8081/openmrs-standalone
20:06:15 <dkayiwa> bwolfe: which ubuntu version?
20:06:26 <rafa> bwolfe: it was supposed to fail for you :P
20:06:34 <jblaya> shoot, if only I was as brilliant as bwolfe :D
20:06:49 <bwolfe> 11.10
20:07:18 <rafa> jblaya: are you using sun jdk or open jdk?
20:07:27 <bwolfe> ben@thinkben:~$ java -version
20:07:27 <bwolfe> java version "1.6.0_25"
20:07:27 <bwolfe> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
20:07:27 <bwolfe> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mod
20:07:32 <jblaya> rafa, openjdk
20:07:49 *** andreapat has quit IRC
20:07:52 <rafa> jblaya: me too
20:08:15 <rafa> jblaya: honestly I don't know what is the difference between our systems
20:08:20 <jblaya> rafa, I upgraded to 1.7.0_07, and then had to run a command to choose it as the default, because it was using 6
20:08:58 <rafa> jblaya: 64 bit or 32 bit?
20:09:07 <jblaya> rafa, specifically I ran this command update-alternatives --config java
20:09:09 <jblaya> 32 bit
20:09:09 <bwolfe> bad download?
20:09:29 <rafa> bwolfe: so many people with bad download?
20:09:34 <bwolfe> heh
20:09:44 <jblaya> i've tried 1.8.4, 1.9.0, 1.9.1, now downloading 1.8.2
20:10:08 <dkayiwa> rafa: bwolfe i have got the same error before on some ubuntu version
20:10:34 <bwolfe> jblaya, obviously something other than openmrs' fault then :-)
20:10:39 <rafa> :D
20:11:01 <dkayiwa> scapegoat :)
20:11:24 <rafa> jblaya: I'm all on 64 bit, both open jdk and ubuntu
20:11:49 <rafa> bwolfe: you?
20:11:53 <jblaya> rafa, ok, hopefully I won't have to change
20:12:47 <rafa> bwolfe: ok see you too
20:13:32 <bwolfe> how do I check which java I'm on?
20:13:38 * bwolfe is too lazy to google
20:14:03 <jblaya> bwolfe, java -version
20:14:08 <rafa> bwolfe: I think you're sun jdk 64 bit Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mod
20:14:24 <jblaya> bwolfe, you can also choose betwen the different version you have installed using update-alternatives --config java
20:14:33 <rafa> java -version
20:14:34 <rafa> java version "1.7.0_07"
20:14:34 <rafa> OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2-1ubuntu0.12.04.1)
20:14:34 <rafa> OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
20:14:41 <jblaya> rafa, dkayiwa, 1.8.2 works with no problem
20:14:48 <jblaya> let me try droppping the 1.9.1 war file in there
20:15:00 <dkayiwa> jblaya: ok
20:15:26 <rafa> so it has something to do with the upgraded mysql mxj-connector
20:15:29 <dkayiwa> rafa: must be mxj version that we upgraded to does not like jblaya 's machine
20:16:31 <dkayiwa> rafa: atleast he has a workaround. just drop in the war file for the version he wants :)
20:17:37 <dkayiwa> wyclif: did you intentionally kick me off REPORT-440 ? :)
20:17:37 <jblaya> rafa, dkayiwa, yes, it works with dropping the war file
20:18:17 <dkayiwa> jblaya: confirmed our suspicions
20:18:31 <jblaya> rafa, dkayiwa, bwolfe, I knew as soon as ben stepped in, things would work :D
20:18:34 <wyclif> dkayiwa, oops, reclain it it appeared like it was assigned to me, sorry about that
20:18:57 <jblaya> dkayiwa, I'll send the email to the implementers list with this workaround
20:19:13 <dkayiwa> jblaya: he can sometimes do magic :)
20:19:23 <rafa> dkayiwa: I can't find mxj to download from mysql.com
20:19:41 <rafa> dkayiwa: did they stop supporting it?
20:19:46 <bwolfe> happy to help. ;-)
20:19:50 <dkayiwa> rafa: checking....
20:21:04 <dkayiwa> rafa: must be ORACLE with its money hungry bad manners :(
20:21:34 <jblaya> on that note, are we worried at all about continuing to use mysql?
20:21:55 <dkayiwa> jblaya: i just do not trust ORACLE's intensions
20:21:57 <rafa> bad oracle
20:23:41 <jblaya> yeah, I guess I was asking if there's a discussion going on in changing permanently to postgres or another database
20:24:23 <dkayiwa> http://brajesh.wordpress.com/2012/08/17/has-oracle-just-discontinued-mysql-mxj-connector/
20:24:27 <OpenMRSBot> <http://ln-s.net/$qku> (at brajesh.wordpress.com)
20:26:21 <wyclif> mseaton, which pages are supposed to go in the summary directory?
20:26:30 <dkayiwa> rafa: try get it from: http://mvnrepository.com/artifact/mysql/mysql-connector-mxj-db-files/5.0.12
20:26:32 <OpenMRSBot> <http://ln-s.net/$ql1> (at mvnrepository.com)
20:26:45 <wyclif> mseaton, i see one under omo/src/main/webapp
20:27:16 <wyclif> mseaton, i have been placing them directly under ../webapp
20:28:23 <mseaton> wyclif - that directory and page within it can be removed. it was the original page from the soc project, but we'll likely replace it.
20:28:31 <mseaton> i've already removed it's controller i think
20:29:09 <dkayiwa> rafa: but that is what we are already using
20:29:42 *** andrea has joined #openmrs
20:30:06 *** andrea is now known as Guest55897
20:30:18 <wyclif> mseaton, ok
20:30:27 *** Guest55897 is now known as andreapat
20:30:53 <andreapat> djazayeri, u there?
20:31:14 <dkayiwa> jblaya: we could discuss it at the implementers meeting. removing database dependency or atleast switch to another db as out main database :)
20:34:39 <dkayiwa> rafa: do you know where the mxj source is hosted?
20:34:43 <djazayeri> andreapat: hi
20:39:17 <rafa> dkayiwa: no
20:45:36 <wyclif> mseaton, why when calling the metadata portlet have the successUrl have a uuid request param = the string 'uuid' and not the actual uuid value?
20:45:45 <wyclif> mseaton, see the one in reportEditor.jsp
20:46:12 <wyclif> mseaton, or the portlet is smart enough and know how to resolve that to the actual uuid?
20:46:35 *** lh has joined #openmrs
20:46:35 *** lh has joined #openmrs
20:47:13 <mseaton> wyclif, i think when i wrote the page originally (and also in 1.6), uuids were not assigned at instantiation. so the "uuid" was to tell the controller to replace "uuid" with the actual uuid after the definition was saved and the uuid existed. we need to keep this behavior for compatibility with 1.6 i believe.
20:47:28 *** downey has quit IRC
20:49:03 <jblaya> rafa, dkayiwa, one other thing guys, I need to have the database that comes with the 1.9.1 version which has all of the concepts, what files do I need to copy over to have the latest database?
20:50:01 <dkayiwa> jblaya: did you try copying the 1.8.2 standalone jar into 1.9.1?
20:50:17 <jblaya> dkayiwa, no, will try that now
20:50:32 <wyclif> mseaton, ok thanks
20:50:34 <dkayiwa> jblaya: rename it to match the existing name
20:50:53 <jblaya> dkayiwa, should it be the jar or the war file?
20:51:11 <dkayiwa> jblaya: the jar file in the unzipped 1.8.2
20:53:24 <jblaya> dkayiwa, I get the following error http://pastebin.com/f3ejmDTv
20:54:27 <dkayiwa> jblaya: after pasting, did you delete the database folder?
20:54:40 <jblaya> dkayiwa, no i didn't
20:54:57 <dkayiwa> jblaya: delete and try again
20:54:59 <jblaya> dkayiwa, will do that now
20:55:55 <jblaya> dkayiwa, yes it runs
20:56:03 <dkayiwa> jblaya: well?
20:56:35 <jblaya> dkayiwa, sorry, what do you mean? yes, it runs well i.e. I get to the setup screen
20:56:43 <dkayiwa> jblaya: ok
20:57:07 *** mseaton has left #openmrs
20:58:19 <jblaya> dkayiwa, but is there any way I can get the database that comes with 1.9.1? perhaps a mysqldump from someone? though could I upload that to that database?
20:58:55 <dkayiwa> jblaya: i though you said pasting the jar into 1.9.1 runs well
20:59:18 <dkayiwa> jblaya: if so, then running the setup screen will create the database you need
20:59:47 <jblaya> dkayiwa, ah, ok, didn't realize that the 1.8.2 jar file would get me the 1.9.1 database
21:00:13 <dkayiwa> jblaya: the jar file is independent of the database :)
21:01:25 <jblaya> dkayiwa, ok, will try that now
21:01:34 <dkayiwa> jblaya: ok
21:05:14 <djazayeri> bwolfe, dkayiwa, wyclif, or anyone: any experience using the @StartModule annotation in a mavenized module?
21:05:34 <djazayeri> we're running into a scenario where the omod file is corrupted by the time it in the temp directory.
21:06:23 <wyclif> djazayeri, nope
21:06:42 *** bwolfe has quit IRC
21:09:12 <djazayeri> Never mind, I think we just changed the resource filtering in the wrong pom.xml file.
21:16:35 <djazayeri> wyclif: did you work on the atomfeed module at all?
21:18:14 *** sgithens has quit IRC
21:20:38 <wyclif> djazayeri, yes
21:21:33 <dkayiwa> hi rafa
21:21:34 <djazayeri> wyclif: Mark and I are having trouble writing a unit test in another module that depends on the event module. Any experience there?
21:22:12 <djazayeri> wyclif: I notice that none of the tests in atomfeed do a @StartModule, or directly test event.
21:22:22 <djazayeri> wyclif: do you remember if we ran into trouble there?
21:22:41 <wyclif> djazayeri, i dont recall running into it
21:22:54 <wyclif> djazayeri, you might want to ask bwolfe since he set it up
21:23:25 <djazayeri> wyclif: if he were online I would have asked him :-)
21:23:27 <wyclif> djazayeri, am running home, what error are you running into
21:23:29 <djazayeri> wyclif: thanks. :-)
21:23:39 *** andrea has joined #openmrs
21:23:40 <andrea> andrea
21:24:02 <djazayeri> wyclif: one way, a spring conversion error; another way, a classcastexception
21:24:04 *** andrea is now known as Guest43964
21:26:15 <djazayeri> wyclif: if you happen to recognize this, let me know:
21:26:16 <djazayeri> Caused by: java.io.IOException: Transport scheme NOT recognized: [vm]
21:26:30 <djazayeri> Caused by: java.lang.ClassCastException: org.apache.activemq.transport.vm.VMTransportFactory cannot be cast to org.apache.activemq.transport.TransportFactory
21:27:40 *** wyclif has quit IRC
21:29:35 *** Guest43964 has quit IRC
21:31:04 *** andreap has joined #openmrs
21:32:20 <andreap> djazayeri, missed your reply network connnection keeps closing
21:32:38 <djazayeri> andreap: didn't hear a question, or reply...
21:34:09 <andreap> djazayeri, u there?
21:34:20 *** andreap has quit IRC
21:34:25 <djazayeri> andreap: yes, I'm here, but I didn't reply because I didn't know you asked a quesiton
21:36:36 *** andreapatt has joined #openmrs
21:38:04 <andreapatt> djazayeri, keep getting disconnected from network
21:38:40 <djazayeri> andreapatt: are you using an IRC client? or just the web one at openmrs.org?
21:38:41 <andreapatt> djazayeri, u there?
21:38:57 <djazayeri> andreapatt: yes, I'm here, but I didn't reply because I didn't know you asked a quesiton
21:39:35 *** andreapat has quit IRC
21:39:40 <andreapatt> djazayeri - now using the one at openmrs.org
21:39:56 <djazayeri> okay, what's the question?
21:41:08 <andreapatt> not able to do clone - fatal: Authentication failed - can sign in to github fine
21:41:22 <djazayeri> andreapatt: using eclipse?
21:41:25 <djazayeri> andreapatt: or at the command line?
21:41:51 <andreapatt> cmd line - should I use Eclipse instead?
21:43:31 <andreapatt> djazayeri?
21:43:39 <djazayeri> command line is fine
21:43:50 <djazayeri> andreapatt: make sure to say djazayeri, else I'm not looking at this window. :-)
21:44:11 <djazayeri> andreapatt: you're sure that you're typing your github username and password exactly right at the command line?
21:44:27 <andreapatt> yes
21:44:59 <andreapatt> saved user/pass in file and can sign in to github.com with it
21:46:00 <andreapatt> djazayeri, yes, saved user/pass in file and can sign in to github.com with it
21:46:43 <djazayeri> andreapatt: wait, you're getting a 304 when you're trying to *clone*?
21:46:45 <djazayeri> or to push?
21:48:02 <andreapatt> djazayeri, , from cmd line: $ git clone https://github.com/patandre/openmrs-core.git Cloning into 'openmrs-core'... Username for 'https://github.com': Password for 'https://patandre@github.com': fatal: Authentication failed
21:49:25 <djazayeri> andreapatt: did you do the stuff listed at https://help.github.com/articles/set-up-git ?
21:50:52 <djazayeri> andreapatt: I seem to run into 304 when I try to push (but that might be because I've forgotten my password, but eclipse remembers it), but I can clone just fine, I think.
21:51:38 <djazayeri> andreapatt: I typically do all cloning of my own repos using the github client for osx
21:52:08 <djazayeri> I don't know what's causing the password issue.
21:53:43 *** andreapatt has quit IRC
21:54:40 *** andrea-pat has joined #openmrs
21:59:03 <andrea-pat> djazayeri, sorry - I keep loosing connection - yes I set up git - I see my account - my email
21:59:26 <djazayeri> andrea-pat:
21:59:26 <djazayeri> andreapatt: did you do the stuff listed at https://help.github.com/articles/set-up-git ?
21:59:26 <djazayeri> djazayeri @ 2:49
21:59:26 <djazayeri> andreapatt: I seem to run into 304 when I try to push (but that might be because I've forgotten my password, but eclipse remembers it), but I can clone just fine, I think.
21:59:26 <djazayeri> 2:50
21:59:27 <djazayeri> andreapatt: I typically do all cloning of my own repos using the github client for osx
21:59:28 <djazayeri> 2:51
21:59:28 <djazayeri> I don't know what's causing the password issue.
22:10:00 *** andrea-pat has quit IRC
22:20:44 *** jblaya has quit IRC
22:28:35 *** dkayiwa has quit IRC
22:39:32 *** rafa has quit IRC
22:45:23 *** wyclif has joined #openmrs
23:17:59 <djazayeri> wyclif: do you know how the event module actually starts up activemq?
23:19:17 <wyclif> djazayeri, yes
23:19:53 <djazayeri> wyclif: I'm trying to debug why my listener isn't catching the event I'm firing.
23:20:12 <djazayeri> wyclif: but I can't find activemq-related code in the module to debug against.
23:20:19 <djazayeri> do you know where it gets started up?
23:23:26 <djazayeri> wyclif: ah, I see EventEngine.initializeIfNeeded()
23:23:35 <djazayeri> I think that's what I was looking for.
23:29:10 <wyclif> djazayeri, ok
23:29:33 <wyclif> it gets started the first time an event if fired
23:31:13 <wyclif> djazayeri, you need to do some registration of the service you want to
23:31:36 <djazayeri> wyclif: I tweaked that, so I definitely see the fireEvent call happening.
23:31:43 <djazayeri> wyclif: the problem is I'm not _receiving_ it
23:31:46 <wyclif> djazayeri, basically EventAdvice is only wrapped around specific services
23:32:02 <wyclif> djazayeri, so it is getting fired but you are not getting it
23:32:05 <djazayeri> wyclif: exactly
23:32:24 <wyclif> djazayeri, have you subscribed to it
23:32:43 <wyclif> see Event.subscribe
23:33:09 <djazayeri> wyclif: I have an EventListener subscribed, yes.
23:34:05 <wyclif> djazayeri, that is strange
23:34:36 <djazayeri> wyclif: but this is in a unit test where I had to do some hackiness to get things set up
23:37:51 <wyclif> djazayeri, hmmm
23:38:38 <djazayeri> Another question…what's the easiest way for me to turn up the debug logging level?
23:38:43 <djazayeri> when I run unit tests?
23:39:01 <wyclif> djazayeri, are you extending MockEventListener
23:39:17 <djazayeri> wyclif: no, just implementing SubscribableEventListener
23:42:14 <wyclif> djazayeri, am not sure we wrote any unit tests in AtomFeedModule that start the EventModule
23:42:48 <djazayeri> wyclif: yeah, I know. I'm not so happy about that...