IRC Chat : 2013-01-01 - OpenMRS

00:17:25 *** robbyoconnor has joined #openmrs
00:17:25 *** ChanServ sets mode: +v robbyoconnor
01:10:56 *** djazayeri has quit IRC
04:36:07 *** jkeiper has joined #openmrs
04:36:07 *** ChanServ sets mode: +v jkeiper
04:37:06 <jkeiper> hi ppl
04:37:09 <jkeiper> wyclif, you there?
05:33:47 *** jkeiper has quit IRC
06:15:39 *** magoo_ has joined #openmrs
07:22:22 *** dkayiwa has joined #openmrs
09:16:17 *** wyclif_ has joined #openmrs
09:16:17 *** wyclif has quit IRC
10:28:38 *** dkayiwa has quit IRC
10:57:15 *** k-joseph has joined #openmrs
11:05:53 *** dkayiwa has joined #openmrs
11:23:06 <k-joseph> dkayiwa: hi
11:24:03 <dkayiwa> k-joseph: hi
11:58:46 *** k-joseph has quit IRC
12:09:22 *** rafa has joined #openmrs
12:09:22 *** ChanServ sets mode: +v rafa
12:18:27 *** rafa has quit IRC
12:31:30 *** k-joseph has joined #openmrs
12:31:41 <k-joseph> dkayiwa: hi
12:31:48 <dkayiwa> k-joseph: hi
12:33:33 <k-joseph> dkayiwa: do you recommend changing the message for forexample error.description in message.properties file or creaing a new message reference object which i can use to make a better user friendly message
12:34:17 <k-joseph> dkayiwa: ?
12:37:31 *** dkayiwa_ has joined #openmrs
12:37:43 <dkayiwa_> k-joseph: is there any reason why you do not want to use the ones as those that existed before your code?
12:38:28 *** dkayiwa has quit IRC
12:38:29 *** dkayiwa_ is now known as dkayiwa
12:39:04 <k-joseph> dkayiwa: invalid description forexample is as if the user has already entered something in the description
12:39:32 <k-joseph> dkayiwa: i wanted to use something like description is required
12:40:17 <dkayiwa> k-joseph: can you start with the existing ones. (as before your changes) Then later one we can decide on whether to change or not
12:40:58 <k-joseph> dkayiwa: i have done that and it is fine, they work well
12:41:08 <dkayiwa> k-joseph: can you pastebin
12:41:22 <k-joseph> dkayiwa: ok
12:47:21 <k-joseph> dkayiwa: http://pastebin.com/TCwGaY5y
12:48:56 <dkayiwa> k-joseph: so the error messages display well as before in the browser?
12:49:10 <k-joseph> dkayiwa: yes, they do
12:50:16 <dkayiwa> k-joseph: what message is displayed for description?
12:50:35 <k-joseph> dkayiwa: Invalid description
12:51:01 <dkayiwa> k-joseph: ok now you can change them as you wanted and show me
12:51:18 <k-joseph> dkayiwa: ok
12:52:23 <k-joseph> dkayiwa: still can i create RelationshipType.aIsToB.required which is missing in message.properties file
12:52:28 <k-joseph> dkayiwa: ?
12:53:11 <dkayiwa> k-joseph: feel free to do what you think and show me. the i will advice accordingly
12:53:23 <k-joseph> dkayiwa: ok
12:55:52 *** Mkop has quit IRC
12:58:11 <k-joseph> dkayiwa: http://pastebin.com/CzEjpi7V
12:59:07 <dkayiwa> k-joseph: i do not seem to see any change in that
12:59:11 <dkayiwa> k-joseph: is there any?
12:59:34 <k-joseph> dkayiwa: yes, there is
12:59:39 <dkayiwa> k-joseph: which
13:00:14 <k-joseph> dkayiwa: line 57, and also in messages.properties
13:00:45 <dkayiwa> k-joseph: what change?
13:01:01 <k-joseph> dkayiwa: this change is observed in the browser, the error messages are all the same now
13:01:20 <dkayiwa> k-joseph: what change in the code?
13:02:05 <k-joseph> dkayiwa: have added RelationshipType.aIsToB.required=A is to B name is required and also changed to error.description=description is required
13:02:21 <k-joseph> dkayiwa: in messages.properties
13:03:35 <dkayiwa> k-joseph: the code has changed from what to what?
13:04:40 <k-joseph> dkayiwa: has just changed the error message from invalid description to des cription is required
13:05:20 <dkayiwa> k-joseph: have you put those changes in the pastebin link you have sent me?
13:05:45 *** Mkop has joined #openmrs
13:05:45 *** ChanServ sets mode: +v Mkop
13:05:48 <k-joseph> dkayiwa: no, let me make a fresh paste
13:06:04 <dkayiwa> k-joseph: then why did you send me that pastebin link?
13:06:43 <k-joseph> dkayiwa: i thought you were interested in relationshiptypevalidator file
13:07:06 <dkayiwa> k-joseph: without any changes in it?
13:08:10 <k-joseph> dkayiwa: i ihad added RelationshipType.aIsToB.required in the place of RelationshipType error.aIsToB
13:08:28 <k-joseph> dkayiwa: on line 57
13:09:40 <dkayiwa> k-joseph: do you mean that the old one had? RelationshipType error.aIsToB ?
13:10:25 <k-joseph> dkayiwa: no it had "error.aIsToB" for error message
13:11:57 <dkayiwa> k-joseph: ok
13:12:26 <dkayiwa> k-joseph: can you now make the @should annotations correct?
13:12:34 <dkayiwa> k-joseph: that is in the validator class
13:12:46 <k-joseph> dkayiwa: ok
13:18:12 <k-joseph> dkayiwa: added http://pastebin.com/KVqCS6QK
13:19:55 <dkayiwa> k-joseph: so can you now write the corresponding unit tests?
13:21:31 <dkayiwa> k-joseph: can you also look at this wiki page? https://wiki.openmrs.org/display/docs/Unit+Testing+With+at-should+Annotation
14:22:38 <k-joseph> dkayiwa: hi
14:27:41 <k-joseph> dkayiwa:
14:28:07 <dkayiwa> k-joseph: hi
14:28:32 <k-joseph> dkayiwa: i have the test case plugin installed already now and i would like you to help me set it up so that i can use it, when i forexample try selecting generate test cases,
14:28:32 <k-joseph> i get an error message:
14:28:54 <k-joseph> No Test folder is defined for Source folder 'src/main/java', Please define it in Project Properties, i have tried correcting this but am failing
14:28:54 <k-joseph> how can i do this?
14:29:47 <dkayiwa> k-joseph: what changes have u made
14:30:16 <k-joseph> dkayiwa: not any yet
14:31:16 <dkayiwa> k-joseph: so error has just started happening without u doing anything
14:31:55 *** tobin_g has joined #openmrs
14:32:04 <k-joseph> dkayiwa: i installed the plugin and i wanted to use it, but when i try that i get that error
14:32:28 <dkayiwa> k-joseph: when u try what
14:32:30 <k-joseph> dkayiwa: in a popup window
14:32:56 <k-joseph> dkayiwa: when i try generating a test case
14:33:09 <dkayiwa> k-joseph: how
14:34:18 <tobin_g> hi dkayiwa , do you know how to lengthen the timeout on an openmrs session?
14:34:37 <k-joseph> ddkayiwa: no
14:36:10 <k-joseph> dkayiwa: you asked how? by right click a java file and select "Generate Test Cases"
14:36:34 <dkayiwa> tobin_g: https://groups.google.com/a/openmrs.org/forum/?fromgroups=#!msg/implementers/n-1HDzc3mtk/9LcYkvL9w0sJ
14:36:39 <OpenMRSBot> <http://ln-s.net/+Np2> (at groups.google.com)
14:36:47 <dkayiwa> k-joseph: which java file
14:37:09 <k-joseph> dkayiwa: relationshiptypeValidator.java
14:38:22 <dkayiwa> k-joseph: have u googled the error
14:38:52 <k-joseph> dkayiwa: doing that now
14:39:30 <tobin_g> dkayiwa: thanks - don't know why that didn't appear on my search :\
14:48:17 <k-joseph> dkayiwa: am following up the wiki page https://wiki.openmrs.org/display/docs/Generate+Test+Case+Plugin,
14:49:14 <k-joseph> dkayiwa: can you please help me, am not understanding the line Right click on your project root and choose properties and Next to "Generate Test Cases", set up the pairs: "src/api -> test/api" and "src/web -> test/web" under How to Generate Test Cases
14:49:33 <dkayiwa> k-joseph: ok
14:51:23 <dkayiwa> k-joseph: are you doing that from Project or Package Explorer?
14:52:24 <k-joseph> dkayiwa: according the steps it is to be project, am not sure what is meant
14:52:46 <dkayiwa> k-joseph: meaning???
14:53:57 <k-joseph> dkayiwa: Right click on your project root and choose properties, what exactly is should i do for this,
14:54:34 <dkayiwa> k-joseph: did you understand my question?
14:55:11 <k-joseph> dkayiwa: beg your pardon
14:55:46 <dkayiwa> k-joseph: do you know what Project Exploer is and what Package Explorer is?
15:00:20 <k-joseph> dkayiwa: sorry for dealying, yes i do know what the two mean
15:01:21 <dkayiwa> k-joseph: does my question give you a clue as to what to try?
15:02:06 <k-joseph> dkayiwa: yes, but still am left out with the project root?
15:02:21 <dkayiwa> k-joseph: meaning????
15:02:47 <k-joseph> dkayiwa: am not understanding what is project root,
15:03:35 <dkayiwa> k-joseph: go to step 3
15:04:20 <k-joseph> dkayiwa: is it on the web page that you are refering?
15:04:31 <dkayiwa> k-joseph: yes
15:04:39 <k-joseph> dkayiwa: ok
15:05:39 <k-joseph> dkayiwa: when i do step 3 i get that error that i have written to you about
15:10:15 <dkayiwa> k-joseph: from package explorer or project explorer
15:11:09 <k-joseph> dkayiwa: from project explorer, taking that root then doing step 3
15:11:29 <dkayiwa> k-joseph: try the other
15:11:43 <k-joseph> dkayiwa: ok
15:15:07 <k-joseph> dkayiwa: now getting an Error the view that generated the event is unknown
15:20:30 <dkayiwa> k-joseph: right click on the project and choose properties
15:21:48 <k-joseph> dkayiwa: is it api or all of the projects
15:22:06 <dkayiwa> k-joseph: the one where the validator is
15:22:23 <k-joseph> dkayiwa: i have done that
15:23:09 <dkayiwa> k-joseph: Next to "Generate Test Cases" choose the source and test pairs
15:25:24 <k-joseph> dkayiwa: having done that am, getting a window, am not seeing generate cases
15:27:38 <dkayiwa> k-joseph: can you use this to show me how the window appears? http://snag.gy/
15:28:58 <dkayiwa> k-joseph: let me be back in 30 mins
15:29:07 <k-joseph> dkayiwa: ok
15:29:18 *** dkayiwa has quit IRC
15:30:51 *** tobin_g has quit IRC
15:55:50 *** basic has quit IRC
16:00:44 *** basic has joined #openmrs
16:05:09 *** dkayiwa has joined #openmrs
16:07:25 *** k-joseph_ has joined #openmrs
16:09:32 *** k-joseph has quit IRC
16:12:19 <dkayiwa> hi k-joseph_
16:13:02 <k-joseph_> dkayiwa: hi,
16:13:15 <dkayiwa> k-joseph_: am back
16:13:52 <dkayiwa> k-joseph_: in source folder choose srs/main/java
16:13:53 <k-joseph_> dkayiwa: the paste is not stopping to load,
16:14:03 <k-joseph_> dkayiwa: ok
16:14:10 <dkayiwa> k-joseph_: and test folder choose src/test/java
16:14:18 <dkayiwa> k-joseph_: and click save
16:14:28 <dkayiwa> k-joseph_: and OK
16:14:32 <dkayiwa> k-joseph_: then try again
16:15:11 *** k-joseph_ is now known as k-joseph
16:15:59 <dkayiwa> k-joseph: sorry choose src.main/java for both
16:16:07 <dkayiwa> k-joseph: you can delete the existing
16:16:11 *** dkayiwa has left #openmrs
16:17:19 *** dkayiwa has joined #openmrs
16:17:36 <dkayiwa> k-joseph: do the latter only if the former does not work
16:24:49 *** applecool has joined #openmrs
16:24:49 *** ChanServ sets mode: +v applecool
16:25:10 <applecool> dkayiwa: hey
16:25:21 <dkayiwa> applecool: hey
16:25:30 <applecool> dkayiwa: happy new year :)
16:25:46 <applecool> happy new year to everyone in the community :)
16:25:54 <dkayiwa> applecool: oh thanks!!! happy new ya too :D
16:26:08 <applecool> dkayiwa: i am having some problems with the git checkout
16:26:14 <applecool> can you help me out
16:26:14 <applecool> ?
16:26:20 <dkayiwa> applecool: ok
16:28:20 <applecool> dkayiwa: are you getting the file?
16:28:28 <applecool> accept it
16:29:13 <dkayiwa> applecool: can you use pastebin
16:29:29 <applecool> ah! its actually an image
16:29:38 <applecool> there is no stack trace
16:30:05 <k-joseph> dkayiwa: will shortely be back, but am still unable to clear up the problem
16:31:25 *** k-joseph has quit IRC
16:32:13 <dkayiwa> applecool: can you paste it here? http://snag.gy/
16:35:13 <applecool> dkayiwa: the website is so cool
16:35:14 <applecool> http://snag.gy/IaRGf.jpg
16:35:24 <dkayiwa> applecool: :D
16:36:21 <applecool> dkayiwa: got anything from the image ?
16:36:25 <dkayiwa> applecool: why don't you clone from command line?
16:36:30 <dkayiwa> applecool: yes
16:36:38 <applecool> hmm
16:37:06 <applecool> i will try
16:45:34 <applecool> dkayiwa: it worked through command line
16:45:45 <applecool> why was it not hapening with the egit?
16:45:53 <applecool> dkayiwa: is there any problem with that egit?
16:46:13 <dkayiwa> applecool: plugins don't always work :)
16:46:21 <applecool> hmm :D
16:46:37 <applecool> dkayiwa: you are using mountain lion right? 10.8.2 or lion?
16:47:10 <dkayiwa> applecool: no
16:47:23 <dkayiwa> applecool: the old leopard :)
16:47:34 <applecool> snow leopard
16:48:27 <applecool> crap.. i unnecessarily updated to mountain lion :( some of the development environments are not at all working fine with mountain lion! Snow Leopard rocks!
16:49:00 <dkayiwa> applecool: hahaha, i will snow for quite a while :)
16:49:11 <applecool> cool :)
16:49:43 <applecool> dkayiwa: should i also need to do 3,4,5,6 steps from https://wiki.openmrs.org/display/docs/Using+Git ?
16:50:38 <dkayiwa> applecool: 3 is a must
16:51:01 <dkayiwa> applecool: for is optional (mostly used when back porting to older versions)
16:51:23 <dkayiwa> applecool: 5 is also optional
16:51:52 <dkayiwa> applecool: you will always do 6 :)
16:51:59 <applecool> hmm yeah :D
16:52:54 <applecool> dkayiwa: i need to enter the openmrs-core directory and then do 3 right?
17:06:05 *** k-joseph has joined #openmrs
17:06:11 <dkayiwa> applecool: correct
17:06:25 <applecool> dkayiwa: did it :)
17:06:35 <applecool> and imported it into eclipse! :)
17:06:50 <dkayiwa> applecool: looks like you are a guru :)
17:06:59 <applecool> LOL :D
17:07:31 <applecool> actually after the git migration i dint build and run the openmrs on my system! :D
17:07:54 <applecool> So i thought to take advice and follow the steps so that i wont screw it up :D
17:08:56 <dkayiwa> applecool: you can alway unscrew :)
17:09:57 <applecool> haha! I know :) Its new year right! .. so if i dont screw anything on the first day of the year! I believe i wont screw up anytime in the year :D LOL
17:10:06 <applecool> last line "conditions apply *"
17:11:04 <dkayiwa> :D
17:23:50 <k-joseph> dkayiwa: hi
17:38:09 <applecool> dkayiwa: the password for the admin is superuser right?
17:38:20 <applecool> i dont remember properly!
18:15:05 <dkayiwa> applecool: yes it is
18:15:21 <applecool> but its giving me an athentication error
18:15:55 <dkayiwa> applecool: does it log in?
18:16:02 <applecool> nope
18:16:15 <applecool> i am on the initial setup dkayiwa
18:16:31 <applecool> http://localhost:8080/openmrs/initialsetup
18:16:38 <applecool> i meant this
18:18:36 <dkayiwa> applecool: the mysql password?
18:18:51 <applecool> root
18:19:04 <dkayiwa> applecool: does it work?
18:19:11 <dkayiwa> k-joseph: did you try restart eclipse?
18:19:31 <k-joseph> dkayiwa: no,
18:19:37 <applecool> dkayiwa: which one?
18:19:39 <dkayiwa> k-joseph: before restarting
18:19:55 <dkayiwa> k-joseph: did you No Test folder is defined for Source folder 'src/main/java', Please define it in Project Properties, ?
18:20:05 <dkayiwa> k-joseph: as in Please define it in Project Properties?
18:21:01 <applecool> dkayiwa: http://snag.gy/UEYMe.jpg
18:21:32 <dkayiwa> applecool: are you upgrading a dabatase?
18:21:47 <applecool> no
18:21:47 <dkayiwa> k-joseph: are you there?
18:22:02 <k-joseph> dkayiwa: yes
18:22:18 <dkayiwa> k-joseph: whats your answer to my question?
18:22:32 <dkayiwa> applecool: which user name/password did you use?
18:22:48 <applecool> for database?
18:22:56 <dkayiwa> applecool: on that page
18:23:16 <applecool> i tried admin as username and superuser as password
18:24:19 <dkayiwa> applecool: can you drop the database and try run setup afresh?
18:24:32 <k-joseph> dkayiwa: yes: please can you repeat for me what you mean by did you No Test folderis defined for Source folder 'src/main/java', Please define it in Project Properties, ?
18:24:43 <applecool> you mean clean install ? dkayiwa
18:24:52 <applecool> on openmrs
18:25:07 <dkayiwa> k-joseph: the error message has instructions that you need to set the folder using the project properties window
18:25:10 <dkayiwa> k-joseph: did you do it?
18:25:24 <dkayiwa> applecool: no
18:25:43 <dkayiwa> applecool: stop openmrs. drop the database, and then run openmrs again
18:25:47 <k-joseph> dkayiwa: failed to,
18:25:57 <dkayiwa> applecool: that should take you again to the setup
18:26:09 <dkayiwa> k-joseph: what did you fail to do?
18:27:05 <k-joseph> dkayiwa: am having a window with resources, git and run/debug settings, i failed to move from here
18:27:26 <k-joseph> dkayiwa: the three are the available options
18:27:45 <dkayiwa> k-joseph: and?
18:28:14 <dkayiwa> k-joseph: are you able to load this? http://snag.gy/UEYMe.jpg
18:28:51 <k-joseph> dkayiwa: loaded with out stopping when i pasted an image so i closed itt
18:29:20 <dkayiwa> k-joseph: i do not understand your response to my question
18:29:39 <k-joseph> dkayiwa: i have loaded that now
18:30:01 <applecool> dkayiwa: i dropped the db! ran the Openmrs again by jetty:run
18:30:09 <applecool> but failed
18:30:12 <dkayiwa> k-joseph: do you see the "paste your own" link?
18:30:37 <k-joseph> dkayiwa: i do
18:30:38 <dkayiwa> applecool: i need to know the options you choose right from the very first setup screen
18:30:53 <dkayiwa> k-joseph: click it and paste your own screen for that window you are seeing
18:31:16 <applecool> dkayiwa: confusing
18:31:36 <dkayiwa> applecool: thats why i need to guide you from the very first screen
18:32:02 <applecool> very first screen meaning?
18:32:09 <applecool> from the project import?
18:32:20 <dkayiwa> applecool: the first setup screen where you select language
18:32:38 <applecool> i didnt get that first setup screen at all
18:32:52 <applecool> http://pastebin.com/06V986q5
18:32:55 <applecool> i got this dkayiwa
18:33:02 <dkayiwa> applecool: then you need to delete your runtime properties file before running openmrs
18:33:36 <applecool> from?
18:34:30 <dkayiwa> applecool: https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime+Properties
18:34:31 <OpenMRSBot> <http://ln-s.net/8c91> (at wiki.openmrs.org)
18:35:10 <applecool> yea got it from the stack trace dkayiwa
18:35:17 <dkayiwa> applecool: ok
18:39:15 <k-joseph> dkayiwa: limk to the image is http://snag.gy/QVOQ0.jpg
18:39:44 <dkayiwa> k-joseph: you need to right click on the project itself
18:39:59 <dkayiwa> k-joseph: do you understand that?
18:42:10 <k-joseph> dkayiwa: which project exactly is it api, i had right clicked validator in that case
18:42:35 <dkayiwa> k-joseph: the project which has validator
18:43:08 <k-joseph> dkayiwa: ok
18:45:03 <applecool> dkayiwa: openmrs-runtime.properties ! is this an hidden file?
18:45:28 <dkayiwa> applecool: no. but in a hidden folder
18:45:44 <applecool> but in a hidden folde?
18:47:29 <k-joseph> dkayiwa: now with that project selected, the shot is at http://snag.gy/JpxhP.jpg
18:48:32 <dkayiwa> k-joseph: can you look at the instructions again, they show you exactly what link to choose on that window
18:48:34 <k-joseph> dkayiwa: that is got after right cliking and selecting properties
18:53:41 <k-joseph> dkayiwa: step 1, the second . is what am not understanding, i have the generate test cases selected, am not seeing the choices on the page among the choices availalble in the two drop down boxes
18:54:09 <dkayiwa> k-joseph: show me another screen of what you see
18:56:45 <k-joseph> dkayiwa: http://snag.gy/7Easo.jpg
18:57:32 <dkayiwa> k-joseph: choose src/main/java in both and click save
19:01:52 <k-joseph> dkayiwa: ok, now fine,
19:02:00 <dkayiwa> k-joseph: meaning?
19:02:41 <k-joseph> dkayiwa: the generate test case option is now working
19:03:02 <dkayiwa> k-joseph: ok can you respond to the email about what the solution was?
19:03:17 <k-joseph> dkayiwa: yes
19:03:26 <dkayiwa> k-joseph: that way others can search mails and see solution if they also get same problem
19:21:32 *** dkayiwa_ has joined #openmrs
19:23:29 *** dkayiwa has quit IRC
19:23:30 *** dkayiwa_ is now known as dkayiwa
19:35:11 *** applecool has quit IRC
19:54:41 *** wyclif_ has quit IRC
19:55:45 *** wyclif has joined #openmrs
21:06:47 *** jkeiper has joined #openmrs
21:06:47 *** ChanServ sets mode: +v jkeiper
21:13:33 <k-joseph> dkayiwa: hi
21:18:46 *** jkeiper has quit IRC
21:24:34 *** robbyoconnor has quit IRC
21:31:32 *** jkeiper has joined #openmrs
21:31:32 *** ChanServ sets mode: +v jkeiper
22:04:54 *** dkayiwa has quit IRC
22:47:30 *** robbyoconnor has joined #openmrs
22:47:30 *** ChanServ sets mode: +v robbyoconnor
23:13:55 *** robbyoconnor has quit IRC
23:19:37 *** robbyoconnor has joined #openmrs
23:19:37 *** ChanServ sets mode: +v robbyoconnor