IRC Chat : 2012-09-13 - OpenMRS

01:35:28 *** mseaton has left #openmrs
02:41:10 *** sgithens has joined #openmrs
03:48:47 *** harshadura has joined #openmrs
03:58:44 *** kishoreyekkanti has joined #openmrs
04:18:33 *** upul` has joined #openmrs
04:18:33 *** ChanServ sets mode: +v upul`
05:05:20 *** kavuri has joined #openmrs
05:17:02 *** suranga has joined #openmrs
05:17:02 *** ChanServ sets mode: +v suranga
05:32:08 *** kavuri has quit IRC
05:37:59 *** suranga has quit IRC
05:45:56 *** kavuri has joined #openmrs
05:49:39 *** suranga has joined #openmrs
06:34:20 *** robbyoconnor has joined #openmrs
06:36:04 *** robbyoconnor has joined #openmrs
06:37:05 *** robbyoconnor has joined #openmrs
06:38:46 *** robbyoconnor has quit IRC
06:38:47 *** shortend has joined #openmrs
06:39:01 *** robbyoconnor has joined #openmrs
06:47:54 *** kavuri has quit IRC
06:47:57 <OpenMRSBot> Recent updates in the world of openmrs: Shazin Sadakath: How I didn't get the Amazon.com Job <http://shazsterblog.blogspot.com/2012/09/how-i-didnt-get-amazoncom-job.html>
08:21:08 *** suranga has quit IRC
08:33:26 *** suranga has joined #openmrs
08:52:55 *** suranga has quit IRC
09:07:50 *** shortend has quit IRC
09:21:38 *** shortend has joined #openmrs
09:22:30 *** shortend has left #openmrs
09:43:46 *** dkayiwa has joined #openmrs
10:10:54 *** akwatuha has joined #openmrs
10:11:41 <akwatuha> Hi,
10:12:29 <akwatuha> I am having a problem handling multiple repos on github
10:14:49 <akwatuha> i have two repos under my email address, i am not able to push to the second repo, can push to my initial repo but gets the error The requested URL returned error: 403 while accessing https:
10:14:50 <akwatuha> when i tried the second repo
10:17:35 <akwatuha> I have seen multiple discussion on handling multiple accounts on one computer but not multiple repos on one account. Has anyone experienced this before? Please help.
10:18:43 <dkayiwa> akwatuha: can you send this to the dev list?
10:22:05 *** akwatuha has quit IRC
11:09:44 *** dkayiwa has quit IRC
11:15:31 *** dkayiwa has joined #openmrs
11:23:08 *** upul` has quit IRC
11:26:11 *** dkayiwa has quit IRC
11:26:45 *** dkayiwa has joined #openmrs
11:34:08 *** judygichoya has joined #openmrs
11:47:32 *** r0bby_ has joined #openmrs
11:47:32 *** ChanServ sets mode: +v r0bby_
11:48:18 *** robbyoconnor has quit IRC
11:56:33 *** sgithens has quit IRC
12:00:59 *** suranga has joined #openmrs
12:00:59 *** ChanServ sets mode: +v suranga
12:08:24 <judygichoya> hey suranga
12:08:31 <judygichoya> been looking for you ....
12:08:36 <judygichoya> how have you been?
12:10:19 *** jkeiper_ has joined #openmrs
12:10:46 *** jkeiper has joined #openmrs
12:12:36 <suranga> judygichoya, howdy !
12:12:49 <suranga> judygichoya, sorry, i was distracted for awhile... :)
12:13:05 <judygichoya> did you sort out hl7 in 1.91
12:22:22 <judygichoya> I have a problem when using DWR
12:22:28 <judygichoya> in my module
12:22:59 *** james_regen has joined #openmrs
12:22:59 *** ChanServ sets mode: +v james_regen
12:23:05 <judygichoya> and i get an error that the service is not defined
12:23:58 *** suranga_ has joined #openmrs
12:24:09 <dkayiwa> judygichoya: paste here the actual error message
12:25:07 *** kishoreyekkanti_ has joined #openmrs
12:25:19 *** wyclif has quit IRC
12:25:22 <suranga_> judygichoya, problem related to useing DWR, or configuring it ? :)
12:26:41 *** suranga has quit IRC
12:27:12 *** rfriedman has joined #openmrs
12:27:30 <judygichoya> GET http://localhost:8081/openmrs-standalone/dwr/interface/DWRRadiologyOrdersService.js?v=1.9.1.28992 501 (Not Implemented) MessageLog.form:35
12:27:35 <judygichoya> Uncaught ReferenceError: DWRRadiologyOrdersService is not defined
12:27:39 <judygichoya> this is from the console....
12:28:18 <judygichoya> when i run the JSP
12:28:56 <rfriedman> dkayiwa, are you an eclipse user?
12:29:04 <dkayiwa> rfriedman: yes
12:29:24 <rfriedman> dkayiwa, how do you revert to the original source when using git?
12:29:30 *** kishoreyekkanti has quit IRC
12:29:34 *** kishoreyekkanti_ is now known as kishoreyekkanti
12:29:37 <dkayiwa> rfriedman: for a single file?
12:29:55 <rfriedman> dkayiwa, that would do, for the whole project would be safer
12:30:36 <dkayiwa> rfriedman: right click and chose "Replace With -> HEAD revision
12:30:52 <rfriedman> dkayiwa, yeah, but I don't see that
12:31:02 <rfriedman> dkayiwa, using team
12:31:17 <dkayiwa> rfriedman: it is not under team
12:31:33 <dkayiwa> rfriedman: it is two steps below Team
12:31:43 <dkayiwa> rfriedman: at the same level with Team
12:32:12 <dkayiwa> judygichoya: can you pastebin your jsp?
12:32:32 <rfriedman> under Team, I have Apply patch and Share project
12:32:50 <dkayiwa> rfriedman: oh so the project is not yet shared
12:33:01 <dkayiwa> rfriedman: so start by first sharing the project
12:33:18 <rfriedman> dkayiwa, that makes no sense, it's omrs trunk
12:33:44 <dkayiwa> rfriedman: after cloning, did you share it in eclipse?
12:33:53 <rfriedman> dkayiwa, prob not
12:34:03 <dkayiwa> rfriedman: you need to do that
12:34:10 <rfriedman> dkayiwa, ok, let me give it a shot
12:34:15 <dkayiwa> rfriedman: ok
12:34:16 <judygichoya> dkayiwa
12:34:17 <judygichoya> http://pastie.org/4713612
12:34:30 <judygichoya> i am beginning to suspect its the format of my module ....etc
12:35:12 <dkayiwa> judygichoya: do you have a solution for that?
12:37:01 <rfriedman> dkayiwa, i get a message that I can't choose my repo because its path overlaps the path to my repo. I recall that Eclipse has already made me move my repo once.
12:37:05 <dkayiwa> judygichoya: and your config.xml?
12:37:24 <rfriedman> dkayiwa, maybe the best is to remove the entire project and start again building a repo
12:37:34 <dkayiwa> rfriedman: perfect!!!
12:38:38 <rfriedman> judygichoya, wasn't there a post on the dev list the other day that you have to change your POM?
12:39:04 <rfriedman> judygichoya, not you personally of course, I think it was part of the uncapitalized openmrs thread
12:39:29 *** nathanleiby has joined #openmrs
12:42:23 <dkayiwa> rfriedman: have you ever got this error in the web service module? org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "retired":
12:42:37 <dkayiwa> org.openmrs.activelist.ActiveListType_$$_javassist_78#isRetired(0 params) vs org.openmrs.activelist.ActiveListType_$$_javassist_78#getRetired(0 params)
12:49:14 *** bwolfe has joined #openmrs
12:49:14 *** ChanServ sets mode: +o bwolfe
12:49:27 <dkayiwa> hi bwolfe
12:49:43 <dkayiwa> bwolfe: any pointer for resolving this?
12:49:44 <dkayiwa> org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "retired": org.openmrs.activelist.ActiveListType_$$_javassist_78#isRetired(0 params) vs org.openmrs.activelist.ActiveListType_$$_javassist_78#getRetired(0 params)
12:49:52 <bwolfe> hi dkayiwa
12:50:03 <bwolfe> yes
12:50:11 <dkayiwa> bwolfe: thanks. listening :)
12:50:12 <bwolfe> dkayiwa, its been "solved" 100 times before. :-)
12:50:29 <dkayiwa> bwolfe: i have googled but never saw a single answer
12:50:37 <dkayiwa> bwolfe: only people reporting problem
12:50:47 <dkayiwa> bwolfe: @JsonIgnore
12:50:57 <dkayiwa> bwolfe: for core and am in module
12:51:08 <bwolfe> there is an object in your serialization tree that does not have a *Resource object for it. so spring is using standard json to try and convert it. but standard json conversion doesn't like the fact that we have both getRetired and isRetired
12:51:22 <dkayiwa> bwolfe: ok
12:51:52 <dkayiwa> bwolfe: so i create a resource object for ActiveListType ?
12:52:44 <judygichoya> dkayiwa and rfriedman https://github.com/judywawira/radiologyOrders/tree/working
12:52:46 <judygichoya> rfriedman i missed that conversation..what changes should u make to pom?
12:52:46 <judygichoya> dkayiwa config.xml is here… http://pastie.org/4713668
12:52:52 <OpenMRSBot> <http://ln-s.net/$o:0> (at github.com)
12:54:44 <bwolfe> dkayiwa, yep
12:54:56 <dkayiwa> bwolfe: ok thanks
13:03:59 <bwolfe> dkayiwa, remember to reply to the dev list with the answer for the next person. :-)
13:07:47 *** robbyoconnor has joined #openmrs
13:07:47 *** ChanServ sets mode: +v robbyoconnor
13:07:53 *** mseaton has joined #openmrs
13:07:53 *** ChanServ sets mode: +v mseaton
13:08:03 *** mseaton has left #openmrs
13:08:07 *** wyclif has joined #openmrs
13:08:31 *** judygichoya has quit IRC
13:08:32 <dkayiwa> bwolfe: i wish someone had done that before for me :)
13:12:01 *** r0bby_ has quit IRC
13:17:19 <nathanleiby> bwolfe: good morning! I am doing openmrs setup... currently am forking openmrs-core, building, etc. is that the correct repo for work on restWS sprint?
13:19:51 <bwolfe> nathanleiby, that is the webapp
13:19:58 <bwolfe> you don't need the code for the webapp
13:20:08 <bwolfe> the code for the restws module is in svn still
13:20:23 <bwolfe> http://svn.openmrs.org/openmrs-modules/webservices.rest/trunk ...iirc
13:20:24 <OpenMRSBot> <http://ln-s.net/8p2:> (at svn.openmrs.org)
13:20:26 <nathanleiby> Ah- thanks. I didn't see it listed in Git. I will install the svn connector and find the RESTWS
13:20:54 <nathanleiby> (didnt see it listed as a module on OpenMRS's github page, I mean)
13:21:45 <bwolfe> nathanleiby, yeah, theres a reason you couldn't find it. :-)
13:21:54 <bwolfe> ...and the reason is we've been too lazy to move it over.
13:22:23 <nathanleiby> OK :) maybe after the sprint!
13:24:14 *** downey has joined #openmrs
13:24:14 *** OpenMRSBot sets mode: +o downey
13:24:14 *** ChanServ sets mode: +o downey
13:31:12 <rfriedman> bwolfe, i saw a snippet of your chat with wycliff yesterday about name/desc for metadata in restws ... what's up?
13:31:53 <bwolfe> rfriedman, removed the "retired" property. thats managed via another url
13:32:29 <rfriedman> but wasn't there something about the name and description variables, bwolfe ?
13:32:46 <rfriedman> about metadata objects that didn't have them?
13:33:25 <bwolfe> rfriedman, I added that to the parent class
13:33:35 <rfriedman> bwolfe, what is "that"
13:36:39 <rfriedman> bwolfe, and when you refer to "parent class", are you referring to Base OpenMRSMetadata or some object like ActiveList?
13:38:42 <bwolfe> yes, BOM
13:40:46 <rfriedman> bwolfe, so what is "that"
13:40:58 <bwolfe> that is a pronoun
13:41:00 <bwolfe> ;-)
13:41:22 <rfriedman> bwolfe, actually, i was talking about statistics, that's t-hat
13:41:23 <bwolfe> added "name/description" as editable properties to BOM. so all metadata can be editable/creatable
13:41:52 <rfriedman> bwolfe, so what happens with resources that don't have name or description?
13:42:32 <rfriedman> bwolfe, user should not be referring to them in json, but if s/he does?
13:43:00 <bwolfe> rfriedman, then those resources shoudl override those methods
13:43:15 <bwolfe> wyclif found the formfield ones that don't have it.
13:43:25 <rfriedman> the editable and creatable methods?
13:43:25 <bwolfe> 95% of metadata should have them
13:44:32 <rfriedman> bwolfe, think you are optimistic about 95%, metadata is chosen rather than data because of the retire behavior
13:47:33 <rfriedman> bwolfe, also am having problem following instructions on Git IDE Page
13:51:16 *** jberchmas has joined #openmrs
13:52:44 <bwolfe> rfriedman, 95% of metadata has name/desc on the table
13:53:30 <rfriedman> bwolfe, in core
13:54:20 <rfriedman> bwolfe, in the Eclipse IDE, under associating a project with Git ...
13:54:54 <rfriedman> when you check "use or create...", you get a choice of ../.git or ../../.git
13:55:16 <bwolfe> rfriedman, for which project?
13:55:23 <rfriedman> with trunk, .. is openmrs
13:55:35 <rfriedman> ../.. is openmrs-core
13:56:16 <rfriedman> let me double check
13:57:16 <rfriedman> no, .. is openmrs-core, ../.. is git-repos (my directory for git repos)
13:58:45 *** robbyoconnor has quit IRC
14:02:06 *** andreapat has joined #openmrs
14:04:58 <andreapat> good morning
14:05:16 <nathanleiby> andreapat: good morning! is this right time for Scrum?
14:05:31 <andreapat> it is
14:05:38 <nathanleiby> great
14:05:56 <andreapat> nathanleiby, what time is it there?
14:06:05 <nathanleiby> andreapat: 7:35 pm here
14:06:09 *** lh has joined #openmrs
14:06:09 *** lh has joined #openmrs
14:06:14 <nathanleiby> a convenient offset of 12.5 hours :)
14:06:58 <andreapat> yes, its 7:05 am here in SF
14:07:09 <downey> !devmtg
14:07:10 <OpenMRSBot> downey: "devmtg" --- Reminder: Developer Forum Thursday at 10:00 AM Eastern Time - https://wiki.openmrs.org/display/RES/Developers+Forum
14:07:12 *** bwolfe has quit IRC
14:07:13 <downey> (that's now) :)
14:09:23 <nathanleiby> andreapat: are you an early riser or tough work to be up at 7am?
14:09:52 *** wyclif has quit IRC
14:09:53 *** jkeiper_ has quit IRC
14:09:55 <andreapat> Not quite awake yet I'm afraid
14:09:55 *** jkeiper has quit IRC
14:10:19 *** jkeiper has joined #openmrs
14:10:24 <andreapat> are we the only ones here?
14:11:20 <nathanleiby> andreapat: bwolfe was here before
14:11:35 <nathanleiby> dkayiwa, rfriedman: are you online? Are you participating in todays scrum?
14:11:38 <andreapat> yes but don't see him now
14:11:55 <dkayiwa> nathanleiby: we are attending dev meeting
14:12:17 <nathanleiby> dkayiwa: Ok. Sorry for the confusion. SCRUM is cancelled? Shall I copy-paste my notes here?
14:12:30 <dkayiwa> nathanleiby: it is not cancelled
14:12:37 <andreapat> oh right - dev meeting
14:12:39 <dkayiwa> nathanleiby: on thursdays its later
14:12:57 <downey> we are all here --> https://wiki.openmrs.org/display/RES/2012-09-13+Developers+Forum
14:12:58 <dkayiwa> nathanleiby: like 5 hrs from now :)
14:13:09 <nathanleiby> dkayiwa: ok :) I won't be awake at that time in all likelihood
14:13:18 <nathanleiby> here's my update.
14:13:23 <nathanleiby> YESTERDAY:
14:13:23 <nathanleiby> -working on OpenMRS setup (https://wiki.openmrs.org/display/docs/Step+by+Step+Installation+for+Developers and https://wiki.openmrs.org/display/docs/Step+By+Step+Developer+Setup+Guide+%28Linux%29)
14:13:23 <nathanleiby> -installed java, mysql, eclipse, git, maven, tomcat, apache
14:13:23 <nathanleiby> -installed plugins
14:13:23 <nathanleiby> -forked openmrs-core (asked Bwolfe, this is not necessary)
14:13:23 <OpenMRSBot> <http://ln-s.net/8_PW> (at wiki.openmrs.org)
14:13:23 <nathanleiby> TODAY:
14:13:24 <nathanleiby> -watching OpenMRS university
14:13:24 <nathanleiby> -check out RESTWS code from http://svn.openmrs.org/openmrs-modules/webservices.rest/trunk/
14:13:25 <nathanleiby> -maven build RESTWS
14:13:25 <OpenMRSBot> <http://ln-s.net/9H0j> (at svn.openmrs.org)
14:13:25 <nathanleiby> -run tests in REST WS
14:13:26 <nathanleiby> -find the relevant code that I should be modifying in REST WS (for my ticket https://tickets.openmrs.org/browse/RESTWS-230)... perhaps here?
14:13:27 <nathanleiby> http://svn.openmrs.org/openmrs-modules/webservices.rest/trunk/omod/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/DrugResource.java
14:13:40 <nathanleiby> (oi, they throttled me for sending too many messages)
14:13:53 <dkayiwa> nathanleiby: you can also just email your updates
14:14:14 <nathanleiby> dkayiwa: ok- great.
14:14:30 <dkayiwa> nathanleiby: are you attending the dev call now?
14:14:56 <nathanleiby> dkayiwa: unfortunately I'm not able to- i was just going to check in for 15 minutes. i will put it on my schedule for a later week.
14:15:06 <dkayiwa> nathanleiby: ok
14:15:18 <nathanleiby> andreapat: see you later! talk tomorrow.
14:15:20 <djazayeri> andreapat: even though it says "Please announce yourself" you shouldn't actually do that. :-)
14:15:25 <nathanleiby> dkayiwa: thanks! talk to you soon.
14:15:31 <dkayiwa> nathanleiby: see ya
14:15:59 <andreapat> oh I didn't know
14:18:26 <djazayeri> andreapat: no worries, it's not good usability. :-)
14:20:23 <andreapat> good - thanks
14:23:38 *** bwolfe has joined #openmrs
14:23:38 *** ChanServ sets mode: +o bwolfe
14:24:52 *** wyclif has joined #openmrs
14:28:13 *** jkeiper_ has joined #openmrs
14:29:54 *** sgithens has joined #openmrs
14:31:15 *** jberchmas has quit IRC
14:41:29 <wyclif> hi djazayeri
14:41:36 <djazayeri> hi wyclif
14:42:34 <wyclif> djazayeri, why do XXXattributeTypes have to extendBasAttributeAttributeType and also implementAttributeType?
14:42:49 <wyclif> djazayeri, already BAseAttributeType implements AttribuetType
14:44:20 <djazayeri> wyclif: because there's some clever/hacky code that uses reflection/introspection to determine the <Xyz> that I could only figure out how to get from the implements AtributeType<Xyz>
14:45:36 <wyclif> djazayeri, ok
14:46:47 <bwolfe> clever/hacky describes a lot of things in openmrs djazayeri ;-)
14:48:02 <suranga_> bwolfe, um.. hi.. will you be around in about 2 hours time ? :-)
14:48:15 <bwolfe> maybe
14:49:13 <suranga_> bwolfe, I wanted to show you my new design (50% implemented) will try to catch you earlier then ...
14:49:25 <suranga_> bwolfe, we're now implemnting RHEA In rwanda !
14:49:52 <bwolfe> excited?
14:49:54 <bwolfe> scared?
14:49:58 <bwolfe> :-)
14:52:22 <suranga_> bwolfe, both above, plus the awe inspiring feeling that something I developed is going to be used by an actual ministry
14:52:50 <suranga_> 5-10 years down the road, a whole new bunch of devs will study (and critizize) me code :P
14:54:07 <suranga_> the fearless team (led by Carl) are currently setting up the first sites ! follow our brave exploits here !! http://rwandahie.blogspot.com/
14:54:46 <bwolfe> yeah saw those posts
14:55:37 <bwolfe> suranga_, I speak from experience when I say: Its not fun to look back at code you wrote 7 years ago. its Ugly. (with a capital U)
14:56:58 <rfriedman> suranga_, +1 with Ben, it makes you want to rewrite from scratch ... so you can imagine why devs in general prefer to rewrite from scratch
14:57:29 <rfriedman> suranga_, but you forget how damn many hours of work the crappy code represents, how many discoveries and workaroudns
14:58:44 *** suranga_ has quit IRC
15:00:44 *** jkeiper has quit IRC
15:00:50 *** jkeiper_ has quit IRC
15:03:43 *** jkeiper_ has joined #openmrs
15:12:57 <kishoreyekkanti> downey: Michael: can you kill if xvfb is already running. The current error is "xvfb-run: error: Xvfb failed to start"
15:20:14 *** jkeiper has joined #openmrs
15:22:32 <rfriedman> djazayeri, still can't find etherpad, got a link?
15:22:41 <downey> kishoreyekkanti: yep, that was it. running since 9 August
15:22:50 <djazayeri> rfriedman: huh?
15:23:14 <kishoreyekkanti> downey: can you kill that? is any one using xvfb other than release tests
15:23:16 <rfriedman> what burke just said, the forward planning page
15:23:20 <downey> kishoreyekkanti: yeah is killed
15:23:57 <kishoreyekkanti> downey: awesome. I'll run the build now. And look at the o/p tomorrow :)
15:24:09 <downey> cool :)
15:26:39 <rfriedman> downey, do you know what burke was referring to?
15:27:39 <downey> rfriedman: regarding..?
15:27:55 <rfriedman> the sprint planning group etherpad ... at the end of the meeting
15:28:05 <djazayeri> I hung up before he mentioned that.
15:28:30 <downey> rfriedman: it was the dev meeting planning - at http://go.openmrs.org/devmtg
15:28:53 <kishoreyekkanti> downey: oops now it says port 8000 already in use. Can you tell me whats running on this port. If nothing important. can you kill that?
15:29:48 <rfriedman> downey, oh, he was talking about dev mtg topics? i thought he was talking about sprint topics
15:29:51 *** downey has quit IRC
15:33:08 *** kishoreyekkanti has quit IRC
15:34:55 *** bwolfe has quit IRC
15:35:21 *** downey has joined #openmrs
15:35:21 *** OpenMRSBot sets mode: +o downey
15:35:21 *** ChanServ sets mode: +o downey
15:36:40 *** sgithens has quit IRC
15:37:56 *** bwolfe has joined #openmrs
15:37:56 *** ChanServ sets mode: +o bwolfe
15:42:28 *** wyclif has quit IRC
15:47:58 *** bwolfe has quit IRC
15:49:58 *** wyclif has joined #openmrs
16:05:28 *** jordank has joined #openmrs
16:10:38 *** jordank has quit IRC
16:13:37 *** nathanleiby has quit IRC
16:18:46 <djazayeri> Hi downey, question for you about bamboo.
16:18:56 <downey> djazayeri: shoot
16:19:03 <djazayeri> We're trying to set this up for PIH & Mirebalais.
16:19:13 <djazayeri> One of the TW Brazil devs says:
16:19:14 <djazayeri> before it runs the task
16:19:14 <djazayeri> it's setting M2_HOME and MAVEN2_HOME env variables
16:19:14 <djazayeri> and that's breaking the execution
16:19:30 <djazayeri> (therefore we need to stop bamboo from setting M2_HOME and MAVEN2_HOME)
16:19:38 <djazayeri> does this sound familiar?
16:19:48 <downey> i believe you can set env vars individually per each plan in Bamboo
16:20:00 <downey> you can also set them globally in the admin
16:20:40 <djazayeri> downey: do you remember having to do this for OpenMRS's bamboo?
16:20:51 <downey> no, we didn't
16:21:02 <djazayeri> okay
16:21:04 <downey> but we run bamboo process under a separate bamboo user on the OS
16:21:17 <downey> so it can set its own env vars per user
16:47:08 <dkayiwa> hi rfriedman
16:48:14 <rfriedman> dkayiwa, hi daniel
16:48:38 <dkayiwa> rfriedman: do you know how i can reproduce RESTWS-283?
16:48:56 <rfriedman> !RESTWS-283
16:48:57 <OpenMRSBot> rfriedman: Error: "RESTWS-283" is not a valid command.
16:49:06 <rfriedman> !ticket RESTWS-283
16:49:08 <OpenMRSBot> rfriedman: [#RESTWS-283] RESTWS throws error when displaying catalog - OpenMRS JIRA - https://tickets.openmrs.org/browse/RESTWS-283
16:49:54 <rfriedman> It did it every which way, dkayiwa, even from the test window on the admin page. That's probably the easiest place to try it.
16:50:30 <rfriedman> dkayiwa, you can also use curl
16:50:56 <rfriedman> ... or simply enter the catalog URL in your browser
16:51:06 <dkayiwa> rfriedman: thats what i did
16:51:21 <dkayiwa> rfriedman: which version of the module?
16:51:27 <rfriedman> so you have never been able to replicate?
16:51:31 <dkayiwa> rfriedman: no
16:51:56 <dkayiwa> rfriedman: can you compile trunk and see if you can reproduce?
16:52:07 <rfriedman> probably running compiled 1.9.x, but don't know of which date
16:52:40 <dkayiwa> rfriedman: trunk of the web service module
16:52:41 <rfriedman> certainly after initial release, dkayiwa
16:52:57 <dkayiwa> rfriedman: sorry i meant trunk for the web service module
16:53:42 <rfriedman> well, I think I would have been running RESTWS + RESTWS 1.9 EXT both compiled
16:54:18 <dkayiwa> rfriedman: am using the trunk version of the web services module and cannot reproduce it
16:54:53 <rfriedman> although it could have been omrs 1.8.4 + RESTWS
16:55:25 <dkayiwa> rfriedman: if you can verify that you also cannot reproduce it using the trunk version of the module, then i can close the ticket
16:55:48 <rfriedman> dkayiwa, do you know when ActiveList was added?
16:56:11 <dkayiwa> rfriedman: do you mean AbstractList?
16:56:21 <rfriedman> yah
16:56:34 <dkayiwa> rfriedman: that is in java.util :)
16:57:51 <rfriedman> dkayiwa, gotta run, let's talk again later
16:58:03 *** rfriedman is now known as rfriedman_away
16:59:26 *** downey has quit IRC
17:02:32 *** wyclif has quit IRC
17:03:39 *** bwolfe has joined #openmrs
17:03:39 *** ChanServ sets mode: +o bwolfe
17:05:52 *** downey has joined #openmrs
17:05:52 *** ChanServ sets mode: +o downey
17:05:52 *** OpenMRSBot sets mode: +o downey
17:24:15 *** wyclif has joined #openmrs
17:32:37 *** andreapat has quit IRC
17:34:35 *** downey has quit IRC
17:37:06 *** kavuri has joined #openmrs
17:45:25 <kavuri> bwolfe: any inputs to get the atomfeed module working?
17:45:41 <kavuri> bwolfe: appreciate your help
17:46:00 <bwolfe> kavuri, I'm at a loss
17:46:03 <bwolfe> kavuri, works for me. :-/
17:46:23 <kavuri> bwolfe: hmm..any extra logging that I can enable?
17:46:40 <kavuri> bwolfe: or can add logs at places and check?
17:47:02 <kavuri> bwolfe: so I am using latest openmrs from git + event module + atomfeed modules from svn
17:47:11 <kavuri> bwolfe: everything is latest
17:48:25 *** sgithens has joined #openmrs
17:49:40 <bwolfe> kavuri, can you try the released versions of event and atom feed?
17:49:45 <bwolfe> and maybe 1.9.1 released?
17:50:28 <kavuri> bwolfe: I already tried, but will give it a shot again
17:50:30 *** andreapat has joined #openmrs
17:51:45 <bwolfe> kavuri, diff database maybe? diff install?
17:52:20 <kavuri> bwolfe: I created a new database and also renamed the openmrs.war to a different name and also set a different context (like omrs)
17:53:50 <bwolfe> kavuri, hmm
17:59:46 *** kavuri has quit IRC
18:02:15 *** downey has joined #openmrs
18:02:15 *** ChanServ sets mode: +o downey
18:02:15 *** OpenMRSBot sets mode: +o downey
18:11:07 *** bwolfe has quit IRC
18:16:31 *** andreapat has quit IRC
18:22:13 <wyclif> hi djazayeri
18:22:51 <djazayeri> wyclif: on a call
18:23:03 <dkayiwa> as usual :)
18:23:21 *** basic` has quit IRC
18:24:20 <wyclif> i see that datatypeclassName on an attribute type is required but there are no not null contraints in the database for the respective columns
18:25:39 *** basic` has joined #openmrs
18:26:45 *** bwolfe has joined #openmrs
18:26:45 *** ChanServ sets mode: +o bwolfe
18:30:30 *** andreapat has joined #openmrs
18:46:54 <andreapat> any devs out here to answer a question?
18:47:38 <andreapat> djazayeri, you there?
18:51:01 <andreapat> bwolfe, you there?
18:51:14 <dkayiwa> andreapat: you can just ask and someone will answer you :)
18:51:20 <rfriedman_away> wazzup andrea?
18:51:26 *** rfriedman_away is now known as rfriedman
18:51:41 <rfriedman> a voice calls in the wilderness ...
18:52:23 <andreapat> ok :)
18:53:06 <rfriedman> andreapat, i won't be able to help you, but i can keep you entertained until someone who can arrives
18:53:22 <djazayeri> I'm on a call
18:53:47 <dkayiwa> andreapat: that is humble rfriedman :)
18:54:02 <andreapat> ok rfriedman - you're funny!
18:54:49 <dkayiwa> andreapat: and by the way, as he entertains you, he can accidentally help you too :D
18:54:51 <rfriedman> watch me juggle ..^. ...^ ..^. .^.. ^...
18:55:48 *** cpower has joined #openmrs
18:56:35 <andreapat> thanks dkayiwa
18:56:45 <andreapat> here's question ect:
18:56:48 <andreapat> trying to edit/add an observation so I see the "Odd change to message set as a
18:56:49 <andreapat> void reason when saving an obs" for TRUNK 3701.
18:56:49 <andreapat> Need a person-id, encounter id ect to edit. Got error and stack trace when I tried to add.
18:56:49 <cpower> happy chocolate day..
18:57:11 <andreapat> same to you cpower
18:57:29 <rfriedman> !ticket trunk-3701
18:57:31 <OpenMRSBot> rfriedman: [#TRUNK-3701] Odd change to message set as a void reason when saving an obs - OpenMRS JIRA - https://tickets.openmrs.org/browse/trunk-3701
18:58:11 <andreapat> yes that's it - where do I get a person id or name to test problem?
18:58:54 <rfriedman> andreapat, are you running standalone?
18:59:03 <rfriedman> or are you running from jetty?
18:59:09 <cpower> I think we should all start working on a miracle cure for plantar fasciitis, as it's killing my will to run
18:59:24 <cpower> Until then..shall we Scrum?
18:59:36 <rfriedman> cpower, let's not and say we did
18:59:57 <andreapat> jetty
19:00:07 <cpower> well we can skip the miracle cure for now, but Scrum...that's mandatory
19:00:19 <rfriedman> ok, then there is a standard dataset which you will find in test resources and that will have some patients in it
19:01:00 <rfriedman> andreapat, pretty sure it is in webapp project but might be in api
19:01:22 <rfriedman> it's an xml file
19:01:26 <andreapat> rfriedman, just what i am looking for
19:01:29 <andreapat> ok
19:01:53 <cpower> With that let's begin
19:02:01 <cpower> !scrumon cpower
19:02:01 * 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:02:38 <cpower> Order wyclif, rfriedman, dkayiwa, andreapat, djazayeri, bwolfe
19:03:36 <rfriedman> andreapat, afterward
19:03:37 <wyclif> Wednesday:
19:03:37 <wyclif> RESTWS-292(subtasks - RESTWS-234, RESTWS-233) - Define creatable/updatable properties on Form and FormField resources
19:03:37 <wyclif> design call
19:03:37 <wyclif> Revisited UIFR-70 to remove the patient summary fragments that were moved to the ui framework patient summary support module
19:03:38 <wyclif> Thursday:
19:03:40 <wyclif> cleaning up past tickets and my github fork, also made follow up on tickets with pull requests
19:03:42 <wyclif> dev call
19:03:44 <wyclif> HGI quarterly meeting
19:03:46 <wyclif> Add resources and controllers for VisitAttribute and VisitAttributeType
19:03:48 <wyclif> Add audit log module to github
19:03:50 <wyclif>
19:03:52 <wyclif> Blockers: None
19:04:25 <rfriedman> RESTWS-267 -- had to rebuild dev environment
19:04:40 <rfriedman> now following design agreed to by darius
19:05:54 <dkayiwa> Committed: Add support for ActiveList: Allergy and Problems - RESTWS-256
19:05:54 <dkayiwa> Failed to reproduce: RESTWS throws error when displaying catalog - RESTWS-283
19:05:55 <dkayiwa> Reviewed: NPE if Tomcat temp directory is missing - TRUNK-3151
19:05:55 <dkayiwa> Dev Call
19:05:55 <dkayiwa> Now working on: Encounter autocomplete should filter results by patient - TRUNK-3231
19:05:55 <dkayiwa> No Blockers
19:06:34 <andreapat> Yesterday - design call, more Merck training, tried to edit/add an observation so I see the
19:06:34 <andreapat> "Odd change to message set as a void reason when saving an obs" for TRUNK 3701.
19:06:34 <andreapat> Blocker Needed a person-id, encounter id ect to edit. Got error and stack trace when I tried to add. Today continue to test - hopefully will get info, more Merck traing.
19:06:58 <cpower> someday you are going to have to tell us about all this Merck training...
19:07:13 <cpower> djazayeri you are up
19:07:20 <andreapat> cpower, you don't want to know
19:08:19 <djazayeri> opemrs calls, getting mirebalais into CI
19:09:04 <cpower> vague..short..sweet, but I would imagine you would say more if it was worth saying. so bwolfe you are up!
19:09:09 <djazayeri> no blockers
19:09:19 <djazayeri> on a call now. :-)
19:09:40 <bwolfe> uh, ditto.
19:09:41 <bwolfe> sorry
19:09:57 <cpower> wtf
19:10:01 <bwolfe> haven't done anything but emailing and conference calls today...boring scrum report for me
19:10:06 <cpower> ok..
19:10:29 <bwolfe> I was "dittoing" Darius' "no blockers, on a call now. :-)".
19:10:37 * bwolfe looks back over scrum
19:10:47 <cpower> With that said Andrea needs help! Needed a person-id, encounter id ect to edit. Got error and stack trace when I tried to add. Today continue to test - hopefully will get info, more Merck traing
19:11:15 <dkayiwa> looks like rfriedman helped andreapat not so????
19:11:30 <rfriedman> i'm searching
19:11:32 <andreapat> yes I think so
19:11:37 <cpower> ok
19:11:43 <cpower> !scrumoff
19:11:43 * 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:11:48 <bwolfe> wyclif, not much work on RESTWS there...always feel free to review tickets if you have none to develop on
19:12:08 <rfriedman> andreapat, did you load any test data when you installed openmrs?
19:12:33 <andreapat> don't know.... all new to me
19:12:37 <bwolfe> rfriedman, eta on RESTWS-267? by tomorrow for end of scrum?
19:12:49 <rfriedman> bwolfe, yassah boss
19:12:57 <andreapat> don't remember seeing anything like that
19:13:00 <wyclif> bwolfe, ok
19:13:38 <rfriedman> andrea, start mysql on your db and do select * from patient
19:14:28 <andreapat> I tried to start mysql - got a cmd prompt for a second then it disappeared
19:14:30 <rfriedman> if nothing's there, you can go to the downloads page and download one of the test data sets, probably the small one would be good
19:14:37 <rfriedman> how did you try it do it?
19:15:18 <rfriedman> mysql -uroot -p<root password>
19:15:45 <andreapat> I just found /bin in the mysql directory and clicked mysql.exe - works for my php server
19:15:57 <rfriedman> or you can make a connection in eclipse using data source explorer
19:16:28 <rfriedman> the command line works once you open a terminal
19:16:42 <andreapat> ok will try that
19:17:01 <rfriedman> you don't want just to start mysql, you want to end up in an interactive session
19:17:26 <andreapat> got ya
19:18:21 <rfriedman> or you can download MySQL Workbench and use that
19:20:50 <bwolfe> andreapat, or install navicat
19:20:54 <bwolfe> or install phpmyadmin
19:21:00 <bwolfe> many options for a gui into mysql
19:21:11 <bwolfe> andreapat, but really, you don't need to get the data. just create a person and create an encounter!
19:21:21 <bwolfe> admin --> Manage Patients --> Add Patient
19:21:26 <rfriedman> duhh!
19:21:30 <bwolfe> admin --> Manage Encounters --> Add Encounter
19:21:33 <andreapat> bwolfe, looking for a person id
19:21:49 <bwolfe> andreapat, you search on the person's name in that box. try "john"
19:21:59 <andreapat> Add pation gave me a null pointer error and stack trace
19:22:13 <andreapat> pardon me "add patient"
19:22:17 <bwolfe> andreapat, or "horatio" maybe. :-)
19:22:20 <rfriedman> does sound like an empty db
19:22:23 <bwolfe> andreapat, well thats a diff error
19:22:36 <bwolfe> andreapat, and seems like a problem. look at your error log to see why.
19:23:00 <andreapat> back to that - where is error log???
19:23:40 <andreapat> I saved stack trace but isn't here a permenent log?
19:23:46 *** mseaton has joined #openmrs
19:23:46 *** ChanServ sets mode: +v mseaton
19:24:07 <mseaton> bwolfe, question for you on sync
19:24:13 <rfriedman> if running in eclipse should be in console tab, andreapat
19:25:07 <mseaton> bwolfe, do you know why Hibernate PersistentList is not supported by sync? just tracked this down to why orderextension and sync are not compatible...
19:25:15 *** bwolfe has quit IRC
19:25:23 <mseaton> doh
19:25:35 *** james_regen has quit IRC
19:25:41 <andreapat> rfriedman, actuall am running for cmd line : mvn jetty:run
19:26:26 <rfriedman> andreapat, ok
19:26:56 <rfriedman> andreapat, can you do find patient? look for Dar or Jam
19:28:21 <andreapat> dar found no matching entries - looks like no data
19:29:48 <rfriedman> ok then you have to download and install one of the test data sets, they are .sql files
19:30:23 <rfriedman> if you can get a mysql> prompt, you would do source <path to .sql file>
19:30:55 <rfriedman> if you are using another tool, you would choose to run an sql file and then navigate to it
19:31:13 <andreapat> rfriedman, Error while trying to find people - Priviliges required: Get people
19:31:40 <rfriedman> you are logged into openmrs as ?
19:31:58 <andreapat> admin - should have privileges
19:32:11 <rfriedman> unless role table is empty
19:32:32 <andreapat> ahh 0- I suspect it is -
19:35:39 <rfriedman> andreapat, i have to go now, understand the road ahead?
19:36:33 <rfriedman> and between u and me, i would use an IDE. the ide is your friend, maven is your mother.
19:36:35 <andreapat> Think so, thanks so much for your help - will get back to you.
19:37:09 *** rfriedman has quit IRC
19:37:19 <andreapat> rfiedman, I agree - ben suggested maven - will go IDE route
19:39:52 *** bwolfe has joined #openmrs
19:39:52 *** ChanServ sets mode: +o bwolfe
19:40:12 <djazayeri> wyclif: did you still have a question?
19:42:26 <wyclif> djazayeri, i see that datatypeclassName on an attribute type is required but there are no not null contraints in the database for the respective columns
19:42:47 <djazayeri> wyclif: probably a bug
19:43:12 <wyclif> djazayeri, ok
19:43:46 <wyclif> djazayeri, and conversion to/from simple object is done by calling setters/getters by default
19:43:49 <wyclif> right?
19:45:23 <wyclif> djazayeri, because i assume if i add BaseAttributeTypeResource, then i assume that every resource that is a subclass, the type it handles will have the getters/setters for the properties even though the actual field names might differ
19:52:41 *** cpower has quit IRC
20:01:42 <wyclif> djazayeri, ?
20:02:10 <djazayeri> oops, sorry, headphones were plugged in, but not on my head.
20:02:32 <djazayeri> wyclif: I don't understand the question exactly.
20:03:42 <wyclif> my question is that does the code in converters use getters/setters
20:03:58 <djazayeri> the converters in the RESTWS framework?
20:04:27 <djazayeri> wyclif: ^^
20:04:30 <wyclif> djazayeri, yes, from rep simple to openmrs object and vice versa
20:04:43 <wyclif> djazayeri, yes, from simpleobject to openmrs object and vice versa
20:05:12 <djazayeri> wyclif: yes, they use getters and setters by default, unless you override the setProperty method (or have an @PropertySetter/Getter) on the resource
20:08:50 <wyclif> djazayeri, meaning if i define property named 'descr' in my representation and there is actually no 'descr' however there are getDescr and setDescr, then it should be fine
20:09:07 <djazayeri> wyclif: yes, I believe so.
20:09:11 <wyclif> djazayeri, ok thanks
20:09:31 <djazayeri> wyclif: it uses commons-beanutils PropertyUtil. So it uses standard getters and setters
20:09:57 *** bwolfe has quit IRC
20:10:52 <wyclif> djazayeri, ok
20:19:29 *** jordank has joined #openmrs
20:25:25 *** bwolfe has joined #openmrs
20:25:25 *** ChanServ sets mode: +o bwolfe
20:25:33 *** jkeiper_ has quit IRC
20:25:34 *** jkeiper has quit IRC
20:25:41 *** jordank has quit IRC
20:31:03 *** jordank has joined #openmrs
20:31:08 *** jordank has left #openmrs
20:34:15 *** downey has quit IRC
20:56:40 *** mseaton has left #openmrs
20:56:52 *** downey has joined #openmrs
20:56:52 *** OpenMRSBot sets mode: +o downey
20:56:52 *** ChanServ sets mode: +o downey
21:14:04 *** sgithens has quit IRC
21:20:11 *** bwolfe has quit IRC
21:24:47 *** robbyoconnor has joined #openmrs
21:24:47 *** ChanServ sets mode: +v robbyoconnor
21:40:56 *** dkayiwa_ has joined #openmrs
21:42:37 *** dkayiwa has quit IRC
21:42:37 *** dkayiwa_ is now known as dkayiwa
21:47:47 *** downey has quit IRC
22:05:44 *** wyclif has quit IRC
22:30:17 *** dkayiwa has quit IRC
22:55:20 *** lh has quit IRC
23:04:07 *** wyclif has joined #openmrs