IRC Chat : 2011-11-16 - OpenMRS

00:26:32 *** arnie__ has quit IRC
00:34:48 *** djazayeri has quit IRC
00:34:59 *** djazayeri has joined #openmrs
00:34:59 *** ChanServ sets mode: +o djazayeri
00:43:16 *** finbrein has quit IRC
02:44:56 *** upul` has joined #openmrs
02:44:56 *** ChanServ sets mode: +v upul`
04:55:29 *** surangak has joined #openmrs
06:09:25 *** gauravpaliwal has joined #openmrs
06:09:25 *** ChanServ sets mode: +v gauravpaliwal
06:34:22 *** dkayiwa has joined #openmrs
06:51:59 *** dkayiwa has quit IRC
06:53:50 *** dkayiwa has joined #openmrs
06:54:29 *** gauravpaliwal has quit IRC
06:59:48 *** finbrein has joined #openmrs
07:21:18 *** djazayeri1 has joined #openmrs
07:21:27 *** djazayeri has quit IRC
08:02:31 <surangak> bwolfe, helooo, Ada says that she'll be getting my shirts soon... How on earth did u manage it soo fast ???
08:02:53 <bwolfe> I know people
08:29:45 <surangak> bwolfe, sorry, just returned from lunch... but thats great, and Im reeeeeeeeely looking forward to the shirt
08:30:00 <surangak> (unless our poastal department steal 'em on the way)
08:30:26 *** robbyoconnor has quit IRC
08:41:34 *** bryq has joined #openmrs
08:41:34 *** ChanServ sets mode: +v bryq
09:41:21 *** surangak has quit IRC
09:41:22 *** surangak_ has joined #openmrs
09:48:28 *** sunbiz has joined #openmrs
09:48:28 *** ChanServ sets mode: +v sunbiz
09:48:29 *** surangak_ has quit IRC
09:48:48 *** surangak has joined #openmrs
10:28:06 *** surangak_ has joined #openmrs
10:28:06 *** surangak has quit IRC
10:28:59 *** bryq has quit IRC
10:36:55 *** surangak_ has quit IRC
10:37:12 *** surangak has joined #openmrs
10:40:22 *** mnunez has quit IRC
10:42:28 <dkayiwa> hi bwolfe
10:42:49 <bwolfe> hi daniel
10:43:17 <dkayiwa> bwolfe: do you know how i can escape \& for mysqldump.sql file?
10:44:09 <dkayiwa> to avoid Unknown command '\&'
10:44:14 <dkayiwa> error
10:44:50 <dkayiwa> am dealing with TRUNK-2865
10:44:53 <bwolfe> double escape the backslash?
10:44:56 <bwolfe> \\& ?
10:45:33 <dkayiwa> bwolfe: i tried \\& and it gave Unknown command '\\'
10:45:53 <bwolfe> whats right before the \& ?
10:45:57 <bwolfe> a close quote ?
10:46:01 <dkayiwa> \
10:46:11 <bwolfe> or is it on a new line ?
10:46:26 <bwolfe> !ticket TRUNK-2865
10:46:27 <OpenMRSBot> bwolfe: [#TRUNK-2865] Test install fails during the running of sql dump file - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2865
10:46:27 <dkayiwa> bwolfe: let me cross check
10:46:57 <dkayiwa> bwolfe: no new line
10:48:11 <bwolfe> dkayiwa, looks like its a single quote that is causing it
10:48:26 <bwolfe> in your ticket, the error message has: " 's maiden name " in it
10:48:35 <bwolfe> so you need to escape single quotes
10:49:14 <dkayiwa> ohhhhhhhh
10:49:58 <dkayiwa> thanks for the pointer. let me try it out
10:52:45 <sunbiz> yes, backslash is not the correct standard to escape in String
10:52:54 *** magicaltrout is now known as ^magicaltrout
10:52:57 <sunbiz> using single quote is the standard
10:53:06 <dkayiwa> ok
10:53:06 <sunbiz> which will work for all databases
10:53:18 <dkayiwa> ok thanks sunbiz
10:53:34 <sunbiz> u r welcome mate
10:53:42 <dkayiwa> :D
10:53:46 <sunbiz> :)
11:02:32 *** surangak has quit IRC
11:07:37 *** sunbiz has quit IRC
11:35:28 *** upul` has quit IRC
11:56:22 <dkayiwa> bwolfe: thanks for the pointer. you were right on target. :)
11:56:57 <dkayiwa> i had only looked at Unknown command '\&'
11:58:08 <dkayiwa> bwolfe: how do i change a ticket from trunk to release testing module?
12:00:49 <dkayiwa> oh got it
12:34:18 *** james_regen has joined #openmrs
12:34:18 *** ChanServ sets mode: +v james_regen
13:07:54 *** John____ has joined #openmrs
13:09:17 *** John____ is now known as JohnH
13:13:05 *** mnunez_ has joined #openmrs
13:13:48 <mnunez_> Hi djazayeri1 ! OpenMRS University class today?
13:16:38 <mnunez_> Hi dkayiwa
13:16:46 <dkayiwa> hi mnunez_
13:17:13 <mnunez_> dkayiwa: Do you know if today's class has been posponed/suspended?
13:17:19 <dkayiwa> no
13:17:47 *** JohnHanley has joined #openmrs
13:18:11 <bwolfe> didn't he send out a notice yesterday about it?
13:19:33 *** JohnH has quit IRC
13:21:11 <mnunez_> bwolfe: yeap, Darius did, confirming the assigned topic...
13:22:31 <dkayiwa> hi JohnHanley
13:22:54 <JohnHanley> Hello
13:23:07 <mnunez_> bwolfe: I guess something must have happened...
13:23:45 <dkayiwa> JohnHanley: so is the mvp dictionary ready in an sql script
13:24:09 <JohnHanley> Yes
13:24:45 <dkayiwa> JohnHanley: now run the standalone
13:25:34 <mnunez_> JohnHanley, dkayiwa, sorry to intrude, but does that mean that there's a script to import the mvp dictionary to any implementation now?
13:25:51 <dkayiwa> JohnHanley: has it
13:27:52 *** wyclif has quit IRC
13:28:18 <JohnHanley> Maurice just put a 1.8.2 on dropbox, but I don't think that it has been tested yet. I was hoping to put it in my standalone to see what happens.
13:29:31 <mnunez_> Sweet
13:32:43 *** downeym has joined #openmrs
13:32:43 *** ChanServ sets mode: +o downeym
13:32:43 *** OpenMRSBot sets mode: +o downeym
13:34:41 <JohnHanley> okay, standalone running
13:42:00 *** mnunez_ has quit IRC
13:45:54 *** JWHanley has joined #openmrs
13:46:07 <downeym> Hi JWHanley and welcome to the #openmrs IRC channel.
13:47:58 *** finbrein has quit IRC
13:48:11 *** finbrein has joined #openmrs
13:56:08 <JohnHanley> Daniel, I have the standalone up and running
13:56:34 <dkayiwa> JohnHanley: which operating system are you running?
13:57:25 *** finbrein has quit IRC
13:57:36 *** finbrein has joined #openmrs
13:57:37 <JohnHanley> Windows
13:58:06 <dkayiwa> JohnHanley: can you now change to the standalone/data/bin folder on command prompt?
13:58:42 *** jriley has joined #openmrs
14:00:29 *** mnunez_ has joined #openmrs
14:00:41 <downeym> Hi mnunez_ and welcome to the #openmrs IRC channel.
14:01:45 <JohnHanley> yes
14:10:38 <dkayiwa> JohnHanley: can you put dkayiwa in your chat such that it alerts me immediately as you type :)
14:11:15 <JWHanley> Okay
14:11:20 <JWHanley> Dkayiwa: Okay
14:12:12 <dkayiwa> JWHanley: now can you type this on command line: mysql -u openmrs -p --port 3316
14:13:27 <JWHanley> dkayiwa: It is asking for a password
14:13:43 *** james_regen has quit IRC
14:13:56 *** bryq has joined #openmrs
14:13:56 *** ChanServ sets mode: +v bryq
14:14:02 <dkayiwa> JWHanley: can you check for it in your standalone runtime properties file?
14:14:18 <dkayiwa> it is in your standalone's root folder. JWHanley
14:14:38 <JWHanley> dkayiwa: yes, i remember reading that on the wiki
14:14:44 <dkayiwa> JWHanley: the name of the key is: connection.password
14:17:48 *** wyclif has joined #openmrs
14:19:54 <mnunez_> dkayiwa: I'm trying the script too. I get a "ERROR 1146 (42S02) at line 51279: Table 'openmrs.concept_code_map' doesn't exist"
14:20:18 <JWHanley> dkayiwa: connection.password=X~Nx&Thxn1jD, i get an error message Can't connect to MySQL server on 'localhost'
14:21:29 <dkayiwa> JWHanley: is the standalone still running?
14:21:39 <JWHanley> dkayiwa: yes
14:21:48 <dkayiwa> JWHanley: and in which dirrectory are you on the command line?
14:22:07 <JWHanley> \database\bin
14:22:28 <dkayiwa> JWHanley: can you include the full path for the mysql executable?
14:22:53 <dkayiwa> JWHanley: something like: .........database/bin/mysql -u openmrs -p --port 3316
14:23:08 <dkayiwa> mnunez_: probably the script is faulty
14:23:26 <dkayiwa> mnunez_: means it may need some work to run on 1.8
14:23:43 <mnunez_> dkayiwa: looks like it
14:32:17 <JWHanley> dkayiwa: The command line directory is the database/bin folder of the standalone version that is up and running, then I have typed in the mysal - u openmrs -p --port 3316 and it asks for the password, I typed in what is on the runtime properties, and got the error message about connecting.
14:33:00 <dkayiwa> JWHanley: what did you replace the ....... with?
14:33:40 <dkayiwa> JWHanley: should it be something like? e:\\somename\standalonefolder\database\bin\mysql?
14:33:59 <dkayiwa> JWHanley: as in the complete absolute path
14:35:38 <JWHanley> I have the standalone file saved on my desktop so it is c:\documents and settings\george douglas\desktop\openmrs-standalone-1.8.2-with-no-data\openmrs-standalone-1.8.2-with-no-data\database\bin
14:37:37 <JWHanley> dkayiwa: I have the standalone file saved on my desktop so it is c:\documents and settings\george douglas\desktop\openmrs-standalone-1.8.2-with-no-data\openmrs-standalone-1.8.2-with-no-data\database\bin
14:40:06 *** sunbiz has joined #openmrs
14:40:06 *** ChanServ sets mode: +v sunbiz
14:42:26 <dkayiwa> JWHanley: can you copy and paste the exact error message it is giving?
14:44:05 <JWHanley> dkayiwa:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
14:44:53 <dkayiwa> JWHanley: i suspect it could be a password issue. Do you still have the standalone zip as you downloaded it?
14:46:14 <dkayiwa> JWHanley: if yes, can you unzip it, then before running, open its runtime properties file and change the value of the key "reset_connection_password" from true to false. Then save and run the standalone
14:46:22 <JWHanley> dkayiwa: yes
14:46:31 <dkayiwa> JWHanley: make sure you first stop and close the previous standalone
14:46:46 <JWHanley> dkayiwa: okay
14:48:59 *** sunbiz has quit IRC
14:49:10 *** rafa has joined #openmrs
14:49:10 *** ChanServ sets mode: +v rafa
14:49:24 <JWHanley> dkayiwa: it was the port. my port was set to 3321 not 3316 so I reentered the password and got to mysql>
14:49:38 *** james_regen has joined #openmrs
14:49:38 *** ChanServ sets mode: +v james_regen
14:50:04 <dkayiwa> oh nice catch :)
14:50:26 <dkayiwa> JWHanley: now type: source sqlscriptfilename
14:51:00 <dkayiwa> oh wait
14:51:06 <dkayiwa> JWHanley: before that
14:51:22 <dkayiwa> JWHanley: start by typing: use openmrs;
14:51:38 <dkayiwa> JWHanley: then after which type: source sqlscriptfilename
14:52:28 <JWHanley> dkayiwa: just for the record I'm a social worker, so I need the programming for dummies instructions
14:52:51 <dkayiwa> JWHanley: hahahahaha. This is not programming yet. :)
14:53:03 <JWHanley> dkayiwa: It's close enough for me
14:53:14 <dkayiwa> JWHanley: :D
14:53:40 <dkayiwa> JWHanley: after typing source, you can just drag and drop the sql script file to the command window
14:54:10 <dkayiwa> JWHanley: not forgetting to leave some space after source
14:54:52 <mnunez_> crossing fingers...
14:55:12 *** dawn_ has joined #openmrs
14:55:12 *** ChanServ sets mode: +v dawn_
14:57:20 <dkayiwa> mnunez_: crossing for the social worker? :)
15:01:28 <JWHanley> dkayiwa: error: Failed to open file
15:01:43 <JWHanley> mnunez_: thanks for the moral support
15:02:11 *** burke has joined #openmrs
15:02:11 *** ChanServ sets mode: +o burke
15:02:27 <JWHanley> dkayiwa: mysql> source "C:\Documents and Settings\George Douglas\Desktop\MVP\openmrs_conc
15:02:27 <JWHanley> epts_1.8.2_20110729.sql"
15:02:27 <JWHanley> ERROR:
15:02:27 <JWHanley> Failed to open file '"C:\Documents and Settings\George Douglas\Desktop\MVP\openm
15:02:27 <JWHanley> rs_concepts_1.8.2_20110729.sql"', error: 22
15:03:04 *** r-friedman has joined #openmrs
15:03:54 <djazayeri1> bwolfe, dawn_, rafa, dkayiwa, wyclif: hi!
15:03:56 <djazayeri1> scrum time
15:04:28 <dkayiwa> hi
15:04:48 *** downeym sets mode: +v djazayeri1
15:04:55 *** djazayeri1 is now known as djazayeri
15:04:55 *** ChanServ sets mode: +o djazayeri
15:05:00 <dkayiwa> JWHanley: put the file in the bin folder
15:05:15 <dkayiwa> JWHanley: the type just its name without path
15:06:04 <dkayiwa> Committed: Advanced setup install method should use default values in existing runtime properties file - TRUNK-2868
15:06:05 <dkayiwa> Committed: Test install fails during the running of sql dump file - RELTEST-8
15:06:05 <dkayiwa> Now working on: During the test install method, the wizard should allow user/password for another user other than root - TRUNK-2851
15:06:05 <dkayiwa> No blockers
15:06:52 <wyclif> hi
15:06:59 <djazayeri> dkayiwa: so, we're basically out of tickets, right?
15:07:09 <dkayiwa> djazayeri: yes
15:07:19 <djazayeri> at least until I commit my code and we actually test things out end to end and see if they work?
15:07:25 <dkayiwa> ok
15:07:28 <djazayeri> or have you already tested this?
15:07:42 <djazayeri> by manually building a standalone?
15:07:45 *** burke has quit IRC
15:08:02 <dkayiwa> i tested with my existing standalone
15:08:20 <djazayeri> okay, good. it worked?
15:08:20 <mnunez_> JWHanley: Did it work?
15:08:39 <dkayiwa> djazayeri: it worked only after fixing RELTEST-8
15:09:00 <djazayeri> but it works now?
15:09:08 <dkayiwa> djazayeri: yes
15:09:19 <djazayeri> great!
15:09:24 <rafa> hi
15:09:49 <djazayeri> So, dkayiwa, I guess we're going to have a call about this after the scrum, but I recommend that rather than work on any lower-priority tickets, you prepare tickets for next week's sprint.
15:09:56 <JWHanley> dkayiwa: no, i still get failed to openfile, checking to make sure I got the file correct
15:10:01 <djazayeri> hi rafa and wyclif
15:10:07 <dkayiwa> djazayeri: ok
15:10:40 <djazayeri> I'll go next.
15:11:11 <djazayeri> I spent all day banging my head against a wall on STAND-32 - https://tickets.openmrs.org/browse/STAND-32
15:11:19 <wyclif> hi djazayeri
15:11:26 <djazayeri> (some of you got my emails about that)
15:11:33 <wyclif> djazayeri, yeah
15:11:51 <djazayeri> At the end of the day I did a clean checkout and I'm manually applying my code piece by piece.
15:11:51 *** nribeka has joined #openmrs
15:11:51 *** ChanServ sets mode: +v nribeka
15:12:01 <djazayeri> So far it's working, so I should be able to commit something soon.
15:12:58 <djazayeri> No blockers, I guess.
15:13:05 <djazayeri> wyclif?
15:13:32 <wyclif> yesterday:
15:13:32 <wyclif> -TRUNK-2837 - Back button is broken in the Installation wizard in IE and firefox
15:13:32 <wyclif> -TRUNK-2854 - Encrypt sqldump file before writing it it to temporary file or over the wire(not yet done)
15:13:32 <wyclif> today:
15:13:32 <wyclif> -TRUNK-2854 - Complete(In the wizard) and test
15:13:33 <wyclif> -TRUNK-2853 - Fix the progress bars on the progess page for the test installation
15:13:35 <wyclif> -other sprint tickets
15:13:37 <wyclif> blockers: none
15:14:20 <djazayeri> okay
15:14:22 <djazayeri> rafa: ?
15:14:28 <rafa> Yesterday:
15:14:28 <rafa> * Worked on RELTEST-7: Change generateTestDataSet to export only partial data
15:14:28 <rafa> https://tickets.openmrs.org/browse/RELTEST-7 (I think I finally got it right, but I need to test more)
15:14:28 <rafa> Today:
15:14:28 <rafa> * Address code-reviews.
15:14:29 <rafa> * Test RELTEST-7.
15:14:29 <rafa> Blockers:
15:14:30 <rafa> * Cannot use junits for testing RELTEST-7, because it's mysql specific. It needs to be tested manually.
15:14:30 <rafa> Questions:
15:14:31 <rafa> * What are tickets for the settings page in the testing module?
15:14:44 <mnunez_> JWHanley: Anyway the code of the script seems faulty. It references a table called "concept_code_map" that's non existant in 1.8.2
15:15:45 <rafa> settings page is still empty :)
15:16:00 <djazayeri> hmm…thought dkayiwa committed code for RELTEST-2
15:16:19 <rafa> !ticket RELTEST-2
15:16:20 <OpenMRSBot> rafa: [#RELTEST-2] Add a settings page for the release testing module - OpenMRS JIRA - https://tickets.openmrs.org/browse/RELTEST-2
15:17:13 <JWHanley> mnunez_: Okay, thanks
15:17:29 *** Pkirwa has joined #openmrs
15:17:30 <djazayeri> dkayiwa: the code review for RELTEST-2 doesn't include a jsp page.
15:17:42 <downeym> Hi Pkirwa and welcome to the #openmrs IRC channel.
15:18:32 <dkayiwa> oh
15:18:42 <djazayeri> dkayiwa: it doesn't have a controller either...
15:18:43 <dkayiwa> let me add it
15:19:09 <djazayeri> wyclif: bad job at code review. :-P
15:19:17 <dkayiwa> :)
15:20:08 <djazayeri> okay, bwolfe, you there?
15:20:52 <wyclif> djazayeri, the jsp was alredy added by rafa
15:21:04 <wyclif> djazayeri, in another revision
15:21:04 <djazayeri> ah, okay
15:21:07 <rafa> wyclif: yes, but it's empty :)
15:21:26 *** Pkirwa has quit IRC
15:21:41 <wyclif> djazayeri, though there should be new changes to the file
15:21:45 <bwolfe> djazayeri, yes, here. and there. and everywhere.
15:22:05 <djazayeri> wyclif: so, a comment for next time, we should size the tickets a bit differently
15:22:09 <wyclif> dkayiwa, i recall asking you if you said you had made changes to the jsp
15:22:12 <bwolfe> dkayiwa, if you are done with tickets and looking for work, you should spend it on next week's sprint. there is setup to do for that that should have been done last week
15:22:26 <dkayiwa> ok
15:22:30 <djazayeri> +1
15:22:36 <djazayeri> bwolfe: your turn to report
15:22:44 <dkayiwa> wyclif: yes i remember
15:23:03 <bwolfe> djazayeri, my update: emails, one ticket, a number of reviews, testing and releasing the maintenance branches
15:23:25 <wyclif> dkayiwa, and that jsp is still empty
15:23:30 <bwolfe> I have everything up and ready and am waiting on darius' new fancy script before I build the standalone.
15:23:40 <bwolfe> (unless you want to do that djazayeri)
15:23:43 <dkayiwa> wyclif: you are correct i forgot to commit it. :)
15:23:53 <wyclif> dkayiwa, that jsp should have a form
15:23:57 <djazayeri> bwolfe: we'll see whether my script turns out to be fancy or not.
15:24:00 <dkayiwa> wyclif: just added it to the review now
15:24:03 <bwolfe> you just have to either checkout or switch your 1.8.x branch to the 1.8.3 tag and download/package/upload
15:24:14 <wyclif> dkayiwa, great
15:24:21 <dkayiwa> controller was already there
15:25:10 <wyclif> djazayeri, the changes to the jsp were added to the review
15:25:24 <djazayeri> ok
15:25:50 <djazayeri> Alright, so...
15:25:52 <djazayeri> dkayiwa is going to work on planning next week's sprint
15:25:58 <dkayiwa> ok
15:26:06 <djazayeri> rafa is going to finish testing the export script
15:26:22 <djazayeri> I will finally commit some improved build/package process
15:26:34 <djazayeri> wyclif, ben: more tickets
15:26:35 <djazayeri> cool?
15:27:16 <bwolfe> was that a question or a statement?
15:27:40 <djazayeri> That was a statement
15:27:50 *** dkayiwa has quit IRC
15:27:58 <djazayeri> wyclif: can you make sure that everything currently runs end-to-end for you also?
15:28:22 <djazayeri> and create a ticket about improving the error messages and instructions if for example you don't have the reltest module loaded?
15:28:55 <wyclif> djazayeri, ok
15:28:58 <bwolfe> ok. gotta run to dinner
15:29:03 <djazayeri> okay, scrum over
15:29:14 <bwolfe> perfect timing then
15:29:18 <wyclif> djazayeri, i will the end to end testing after commitng the encryption in trunk and the module
15:29:33 <wyclif> djazayeri, i will do the end to end testing after commitng the encryption in trunk and the module
15:30:22 <djazayeri> wyclif: okay
15:31:01 <rafa> I got org.apache.jasper.JasperException: /WEB-INF/view/module/testing/settings.jsp(24,10) No tag "singleCustomValue" defined in tag library imported with prefix "openmrs_tag" openning the settings page
15:31:34 <rafa> does anyone know what may cause it?
15:32:13 <rafa> the jsp looks good to me
15:32:23 <djazayeri> rafa: singleCustomValue is added in 1.9.x
15:32:35 <rafa> ohh right
15:32:46 <rafa> I'm using the module in 1.8
15:32:51 <rafa> we need to change that
15:32:59 <djazayeri> yup
15:33:06 <djazayeri> the module needs to be compatible back to 1.6.
15:34:52 <JWHanley> mnunez_: I saw the error message, but after the file loaded I went into my standalone instance, and the concept dictionary is updated with the MVP concept dictionary.
15:35:06 <wyclif> hi daniel
15:35:24 <wyclif> here is a ticket TRUNK-2869 if you have none in the sprint
15:35:24 <rafa> djazayeri: I'll fix it
15:48:53 <mnunez_> JWHanley: really? all of it?
15:57:36 *** kishoreyekkanti has joined #openmrs
16:02:46 *** sunbiz has joined #openmrs
16:02:46 *** ChanServ sets mode: +v sunbiz
16:03:06 *** sunbiz has left #openmrs
16:17:20 *** ^magicaltrout is now known as magicaltrout
16:18:29 *** dawn_ has quit IRC
16:21:32 *** dawn_ has joined #openmrs
16:21:32 *** ChanServ sets mode: +v dawn_
16:30:44 <wyclif> hi bwolfe
16:31:13 *** dawn_ has quit IRC
16:31:35 *** dawn_ has joined #openmrs
16:31:35 *** ChanServ sets mode: +v dawn_
16:32:20 *** dawn_ has quit IRC
16:32:39 *** dawn_ has joined #openmrs
16:32:39 *** ChanServ sets mode: +v dawn_
16:33:36 *** dawn_ has quit IRC
16:47:02 *** kishoreyekkanti has quit IRC
16:52:22 *** JWHanley has quit IRC
16:59:17 <r-friedman> djazayeri: darius, got a minute?
17:09:53 *** sunbiz has joined #openmrs
17:09:53 *** ChanServ sets mode: +v sunbiz
17:10:51 <djazayeri> hi r-friedman
17:11:03 <r-friedman> hi, djazayeri
17:11:16 <r-friedman> i looke3d at the program location module
17:11:28 <djazayeri> with 3d glasses?
17:11:35 <djazayeri> (j/k)
17:11:45 <r-friedman> you need 3d to see with things aoping around
17:12:02 <r-friedman> i'm trying to simplify it
17:12:06 *** dawn_ has joined #openmrs
17:12:06 *** ChanServ sets mode: +v dawn_
17:12:21 <r-friedman> my idea is to put an openmrs order object in my own order object
17:12:44 <r-friedman> delegate everything normal to the openmrs object (implementing DAO)
17:13:27 <r-friedman> but i am concerned about how much of the guts (creation, id setting, auditing, etc.) I can successfully pass off
17:14:05 <r-friedman> assuming i can get the developers to reference only my order object, can i simply use the uuid, id, etc. from the order objecft?
17:14:29 <djazayeri> Offhand, I think so.
17:14:43 <r-friedman> i am concerned about ending up with orphan orders
17:14:47 <djazayeri> You mean copy the underlying order's uuid, id, etc into your own object?
17:15:03 <r-friedman> i mean use the underlying order's instead of having my own
17:15:14 <r-friedman> except order_id which would be the samne
17:16:22 <djazayeri> How about having order_id represent the underlying order, but having your own uuid. Would that be okay?
17:16:27 <djazayeri> (seems easier to automate)
17:16:47 <r-friedman> sure, nothing wrong with using a few more uuidws
17:17:45 <r-friedman> brb
17:18:44 <djazayeri> r-friedman: In theory your object's dao/service will all be one-liners, because the automagic AOP will take care of propagating things to the child object, saving it, etc.
17:19:31 <r-friedman> how will it know to do that?
17:20:36 <djazayeri> e.g. if you have a service.saveRogerOrder(RogerOrder o) method, and RogerOrder contains a plain Order as a property, that property will get saved too.
17:20:43 <djazayeri> and have its dateChanged/changedBy set also
17:20:44 <djazayeri> etc
17:20:53 <rafa> djazayeri, wyclif: on the settings page are Randomize Criteria, Max Patient Count, Max Obs Count. I'm not sure what to do with them. We've got only getPatientWithMostEncounters and getPatientWithMostObs in the api.
17:21:14 <r-friedman> i thought i would have to write myobject.xxxmethod(params) = standardobject.xxxmethod(params)
17:21:15 <djazayeri> Personally I don't see the need for Max Obs Count
17:21:25 <rafa> me neither
17:21:35 <rafa> what is randomize criteria?
17:21:37 <djazayeri> rafa: and I think we should remove Randomize Criteria until we actually care to implement it.
17:22:02 <djazayeri> I guess the idea is that it determines *which* 100 patients you get.
17:22:27 *** dawn_ has quit IRC
17:22:46 <rafa> okay so I use those 2 methods and then find 98 other patients randomly?
17:23:19 <r-friedman> rather myobject.xxxmethod(params){return standardobject.xxxmethod(params)}
17:23:35 <djazayeri> rafa: my preference would be to select sorted patient_ids of non-voided patients, and take every nth one until we get 100-2 patients.
17:24:06 <rafa> sounds good
17:24:07 <djazayeri> I.e. evenly distribute the chosen patients over the space of patient_id, which should map pretty closely to when the patients were created.
17:24:13 * r-friedman checks connectivity
17:24:21 <djazayeri> r-friedman: oh, yeah.
17:24:27 <djazayeri> so, I guess you would need to do that.
17:24:38 <djazayeri> if you want to re-expose all properties from Order.
17:24:45 <djazayeri> That said, there's a shortcut to do that in eclipse
17:24:57 <djazayeri> Source -> generate delegate methods or something like that
17:25:11 <r-friedman> cool
17:25:21 <djazayeri> r-friedman: alternately you can instruct people to do myobject.getOrder().getXyz()
17:26:02 *** dawn_ has joined #openmrs
17:26:02 *** ChanServ sets mode: +v dawn_
17:27:15 <r-friedman> djazayeri: ok I will hack away at it, tks much
17:27:19 <djazayeri> np
17:31:28 *** dawn_ has quit IRC
17:34:51 *** kishoreyekkanti has joined #openmrs
17:35:45 *** suranga has joined #openmrs
17:49:32 <djazayeri> sunbiz: you there?
17:53:42 <sunbiz> djazayeri: yes IM here
17:54:09 <djazayeri> I'm trying to have the openmrs standalone build process automatically build a database by running liquibase updates
17:54:48 <djazayeri> I have added dependencies for modify-column and identity-insert
17:55:22 <djazayeri> but when I run the mvn package, it eventually fails with this error
17:55:23 <djazayeri> [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:2.0.1:update (empty-db-update-to-latest) on project standalone: Error setting up or running Liquibase: Invalid Migration File: Unknown Liquibase extension: modifyColumn. Are you missing a jar from your classpath? -> [Help 1]
17:55:38 <djazayeri> sunbiz: any idea what could be wrong?
17:56:02 <sunbiz> hmmm... thats odd
17:56:09 <sunbiz> doesnt happen in the trunk
17:57:28 <sunbiz> djazayeri: are u doing a clean build??
17:57:39 <bwolfe> djazayeri, do you have to reference those from the maven classpath somewhow since you're running the liq updates through maven?
17:57:43 <sunbiz> with the newly deployed release artifacts of those extensions...
17:58:08 <sunbiz> the releases were deployed to nexus... earlier we were using SNAPSHOTS
17:58:23 <djazayeri> <dependency>
17:58:23 <djazayeri> <groupId>org.openmrs.liquibase.ext</groupId>
17:58:23 <djazayeri> <artifactId>modify-column</artifactId>
17:58:23 <djazayeri> <version>2.0.1</version>
17:58:23 <djazayeri> </dependency>
17:58:23 <djazayeri> <dependency>
17:58:24 <djazayeri> <groupId>org.openmrs.liquibase.ext</groupId>
17:58:24 <djazayeri> <artifactId>identity-insert</artifactId>
17:58:25 <djazayeri> <version>1.2.1</version>
17:58:25 <djazayeri> </dependency>
17:58:42 <djazayeri> I am doing a clean build. (I'm just retrying that to be sure.)
17:59:02 <bwolfe> whats the default scope?
17:59:04 <djazayeri> bwolfe: hmm, maybe there's something tricky to be done with the maven liquibase plugin.
17:59:16 <bwolfe> that'd be my guess
17:59:48 <sunbiz> why should that be a problem specifically to the standalone??
17:59:59 <bwolfe> its not
18:00:18 <djazayeri> probably because I'm doing this via this plugin
18:00:19 <djazayeri> <groupId>org.liquibase</groupId>
18:00:19 <djazayeri> <artifactId>liquibase-maven-plugin</artifactId>
18:00:25 <bwolfe> and its not in the webapp sunbiz, darius is trying to run the liquibase updates at command line so he can automate the standalone creation
18:01:10 <djazayeri> not actually at the command line, but I suspect I'll fall back to doing that
18:01:38 <djazayeri> hmm, I see that I can declare a dependency inside <plugin>
18:01:43 <djazayeri> let me try moving stuff there
18:02:35 <djazayeri> sunbiz, bwolfe: that solved it
18:03:17 <bwolfe> nice
18:03:17 <sunbiz> ohh... now I see
18:03:54 <djazayeri> that also explains why I wasn't getting openmrs-api's dependencies propagated automatically
18:03:59 <sunbiz> so... u added the jars in the liquibase-maven-plugin ??
18:04:26 <djazayeri> <plugin>…<dependencies>...
18:04:34 <sunbiz> ok... nice
18:04:36 <djazayeri> and that worked
18:06:03 <djazayeri> bwolfe: I'm hoping that this will solve/prevent the classloader issue that was killing me before
18:06:06 <djazayeri> fingers crossed...
18:10:34 *** rafa has quit IRC
18:14:32 *** mnunez_ has quit IRC
18:29:26 *** sunbiz has quit IRC
18:32:02 <djazayeri> so far so good
18:36:48 *** dawn_ has joined #openmrs
18:36:48 *** ChanServ sets mode: +v dawn_
18:40:56 *** dawn_ has quit IRC
18:44:08 <djazayeri> bwolfe, wyclif: finally! I packaged the standalone through maven, and it worked!
18:45:05 <bwolfe> djazayeri, niiiice
18:45:11 <djazayeri> The problem must have been that I was including dependencies to make the liquibase and package plugins work, but I was including them in the actual standalone jar, which was leading to classloader problems.
18:45:32 <bwolfe> ah, that makes sense
18:45:43 <djazayeri> Moving those dependencies inside their plugins worked.
18:45:49 <wyclif> djazayeri, great
18:46:08 <wyclif> djazayeri, can't wait to try it out
18:46:10 <djazayeri> I want to commit some of this right now, though it's not quite done yet
18:46:28 <djazayeri> So, a pre-commit review question
18:46:32 <wyclif> djazayeri, sure
18:46:58 <djazayeri> wyclif, bwolfe: I've created a maven plugin, as
18:46:59 <djazayeri> <groupId>org.openmrs.standalone</groupId>
18:46:59 <djazayeri> <artifactId>standalonebuildsupport</artifactId>
18:47:25 <djazayeri> It's hacky (which is fine by me), but are you okay with that groupId and artifactId?
18:50:14 <wyclif> djazayeri, it's fine to me
18:51:55 *** dawn_ has joined #openmrs
18:51:55 *** ChanServ sets mode: +v dawn_
18:53:16 <djazayeri> okay, i'll wait for bwolfe to confirm
18:54:29 <bwolfe> djazayeri, fine by me too
18:54:53 <kishoreyekkanti> djazayeri: congrats on resolving the dependency issue :)
18:56:55 *** jriley has quit IRC
18:57:44 *** jriley has joined #openmrs
19:00:59 *** Echidna has quit IRC
19:01:51 *** Echidna has joined #openmrs
19:01:51 *** ChanServ sets mode: +v Echidna
19:02:40 * bwolfe shakes fist at freeconferencing...
19:03:06 <nribeka> hi
19:03:13 <nribeka> freeconferencing is dead
19:03:16 <nribeka> nyahahahaha ...
19:03:20 *** kishoreyekkanti has quit IRC
19:03:40 *** Jwhanleyjr has joined #openmrs
19:03:48 <downeym> Hi Jwhanleyjr and welcome to the #openmrs IRC channel.
19:03:58 <bwolfe> nribeka, has it been down all day?
19:04:16 <nribeka> yep
19:04:20 <nribeka> since the university
19:04:38 <djazayeri> I wonder if it's part of their business model
19:04:48 <djazayeri> they only make money if people call the phone number
19:04:57 <djazayeri> So if they have skype down 5% of the time....
19:05:52 *** JohnHanley has quit IRC
19:05:59 <bwolfe> ha
19:06:11 <bwolfe> I wouldn't be too surprised. shady stuff they be
19:07:08 <bwolfe> #$*#, and burke's link for a "fixed" adobe connect firefox plugin borked it all for me
19:07:13 <bwolfe> lets hope opera connects...
19:18:58 *** bwolfe has quit IRC
19:20:25 *** bwolfe has joined #openmrs
19:20:33 *** ChanServ sets mode: +o bwolfe
19:30:19 <downeym> bwolfe: IU is still on 8.0 i believe
19:33:14 <downeym> bwolfe: s/0/1/
19:34:21 *** dkayiwa has joined #openmrs
19:41:59 *** Jwhanleyjr has quit IRC
19:42:27 *** Jwhanleyjr has joined #openmrs
19:43:37 <suranga> hi guys,
19:43:41 <suranga> newbie question, where can I look for documentation for how we collect data via PDA's ?
19:43:50 <suranga> and where to get that code :-)
19:44:36 <bwolfe> !mobile
19:44:37 <OpenMRSBot> bwolfe: "mobile" --- https://wiki.openmrs.org/display/docs/Mobile
19:45:23 <suranga> aweeesome !
19:45:27 <suranga> thanks bwolfe
20:01:21 <suranga> hi james_regen
20:01:28 <james_regen> suranga: hi
20:01:34 <suranga> looks like the latest patch is not working :(
20:03:04 <james_regen> suranga: i spoke to shaun about MI calculations. he said he was going to send you an email
20:03:20 <suranga> james_regen, awesoomme
20:03:34 <suranga> Im really looking forward to commiting that code
20:03:52 <james_regen> have you run the code with any test cases?
20:04:16 <suranga> james_regen, nope, I did not write any test cases yet...
20:04:24 <suranga> should I write some ?
20:05:58 <james_regen> suranga: it'd be a good check. it should be pretty easy to create two data files, and setup the field values so that there is perfect correlation, and no correlation, and in between
20:06:53 <suranga> james_regen, I'll try that
20:07:07 <suranga> james_regen, how were the test data I sent ? :-)
20:08:17 <james_regen> suranga when did you send it?
20:08:40 <suranga> james_regen, some while back.. let me re-send :-)
20:11:23 <james_regen> suranga: hmm, i'm at home right now, and i can't remember the URL to access my work email from home. :( what were the results?
20:11:50 <suranga> james_regen, oh sorry, I've just re sent it.. wait a minuteee
20:12:49 <suranga> james_regen, google docs are the way ! https://docs.google.com/open?id=1SKUZZDDWjiRWBLiAdin4k3qV9w_oF0Ka0vl9lcWPjx1yE4CQtAQEUZcyTjyn
20:12:54 <OpenMRSBot> <http://ln-s.net/9KpC> (at docs.google.com)
20:15:39 <james_regen> suranga: yeah, that's like what we need
20:15:50 <suranga> YaYYYYYYYYYYYYYYYYYY
20:16:10 <james_regen> suranga: you can probably resend it to shaun
20:16:18 <suranga> oppps that wasnt very professional behavious, I guess :-)
20:16:33 <suranga> james_regen, sure thing, I;ll do that now....
20:16:45 <bwolfe> suranga, yes, because we're always professional here suranga......
20:17:41 <james_regen> i wasn't going to say that, but i did think it
20:17:56 <suranga> bwolfe, next time I shall control myself :P
20:18:14 <suranga> at least until I get the tee shirts :-)
20:19:37 <bwolfe> ha
20:19:42 <bwolfe> I never even saw the shirts
20:19:48 <bwolfe> so I hope they're ok
20:21:53 <suranga> bwolfe, as long as you did not buy pink, as you threatned :-)
20:26:59 *** finbrein has quit IRC
20:27:00 <downeym> /join ##infra-talk
20:27:10 <downeym> well that didn't work. :D
20:53:05 *** dawn_ has quit IRC
20:53:15 *** rafa has joined #openmrs
20:53:15 *** ChanServ sets mode: +v rafa
21:00:52 *** dawn_ has joined #openmrs
21:00:52 *** ChanServ sets mode: +v dawn_
21:07:34 *** suranga has quit IRC
21:07:52 <r-friedman> bwolfe: you eating?
21:08:04 <bwolfe> does gum count?
21:08:12 <bwolfe> its midnight here. why would I be eating? :-)
21:08:22 <downeym> midnight snack
21:08:24 <r-friedman> oh, i thought the call had gone on thru your dinner
21:09:03 <r-friedman> bwolfe: I am getting a report that doing a rest call for names on particular patient is not working. Do you have a setup that you can test this on?
21:09:26 *** downeym has quit IRC
21:09:31 <bwolfe> test how?
21:09:45 <r-friedman> see if you can replicate the problem
21:09:59 *** downeym has joined #openmrs
21:09:59 *** ChanServ sets mode: +o downeym
21:09:59 *** OpenMRSBot sets mode: +o downeym
21:11:47 *** james_regen has quit IRC
21:12:10 <jriley> r-friendman, nice of you to check that you weren't spoling bwolfe's appetite
21:12:56 <r-friedman> nobody should stand betgween bw and the dinner table
21:13:13 <dkayiwa> :D
21:14:24 <r-friedman> guess I will just post to dev list
21:14:28 <bwolfe> the dev call tomorrow will be over the dinner hour
21:14:48 <bwolfe> when meghan was here she would make me dinner and bring it to me. now I'll just have to bring a bag of chips ot the call or something
21:14:50 <bwolfe> :-(
21:15:18 <bwolfe> r-friedman, what are the steps to replicate?
21:15:37 <r-friedman> shall I just post on dev list
21:15:50 <r-friedman> or send it to you first?
21:16:56 <r-friedman> bwolfe: ?
21:17:43 <bwolfe> dev list is fine
21:19:46 *** nribeka has quit IRC
21:19:55 *** nribeka has joined #openmrs
21:19:55 *** ChanServ sets mode: +v nribeka
21:21:33 <r-friedman> bwolfe: tks, later, bye all
21:21:37 *** r-friedman has quit IRC
21:45:59 *** Jwhanleyjr has quit IRC
21:46:32 *** JohnHanley has joined #openmrs
21:46:40 *** rafa has quit IRC
21:46:47 <downeym> Hi JohnHanley and welcome to the #openmrs IRC channel.
21:47:43 *** burke has joined #openmrs
21:47:43 *** ChanServ sets mode: +o burke
21:56:19 *** rafa has joined #openmrs
21:56:19 *** ChanServ sets mode: +v rafa
21:59:59 *** nribeka has quit IRC
22:07:56 *** dawn_ has quit IRC
22:15:43 *** jriley has quit IRC
22:16:31 *** dkayiwa has quit IRC
22:20:49 *** bwolfe has quit IRC
22:22:16 *** rafa has quit IRC
22:22:50 *** burke has quit IRC
22:23:03 *** bryq has quit IRC
22:42:03 *** JohnHanley has quit IRC
22:53:12 *** downeym has quit IRC
23:35:15 *** wyclif has quit IRC