IRC Chat : 2014-02-12 - OpenMRS

00:04:07 *** cioan has joined #openmrs
00:47:09 *** k-joseph has joined #openmrs
00:51:09 *** cioan has quit IRC
00:54:33 *** harsz89 has quit IRC
01:08:10 *** k-joseph_ has joined #openmrs
01:08:18 *** k-joseph has quit IRC
01:10:40 *** cioan has joined #openmrs
01:11:13 *** harsz89 has joined #openmrs
01:11:14 *** ChanServ sets mode: +v harsz89
01:46:13 *** k-joseph has joined #openmrs
01:46:25 *** k-joseph_ has quit IRC
01:52:32 *** harshadura has joined #openmrs
01:52:33 *** ChanServ sets mode: +v harshadura
01:57:13 *** GitHub95 has joined #openmrs
01:57:13 <GitHub95> [openmrs-core] wluyima pushed 2 new commits to 1.10.x: http://git.io/GsGFEA
01:57:13 <GitHub95> openmrs-core/1.10.x 06d2a9e wyclif: Added global property for order.nextOrderNumberSeed to standardTestDataset and deleted the other file that had it - TRUNK-4202
01:57:13 <GitHub95> openmrs-core/1.10.x 540fd9f wyclif: Follow up to clean up the code and tests - TRUNK-4144
01:57:13 *** GitHub95 has left #openmrs
02:02:59 *** wluyima has quit IRC
02:03:00 <OpenMRSBot> Recent updates in the world of openmrsci: SON-OPENMRSCOREMASTER-144 has FAILED : Scheduled build <https://ci-stg.openmrs.org/browse/SON-OPENMRSCOREMASTER-144>
02:09:11 *** cioan has quit IRC
03:09:20 *** wluyima has joined #openmrs
03:11:54 *** wluyima has quit IRC
03:18:18 *** k-joseph has quit IRC
03:19:21 *** harshadura_ has joined #openmrs
03:20:42 *** harshadura has quit IRC
03:36:09 <OpenMRSBot> Recent updates in the world of openmrsci: JAVADOC-TRUNK-29 has FAILED : Scheduled build <https://ci-stg.openmrs.org/browse/JAVADOC-TRUNK-29>
04:27:57 *** k-joseph has joined #openmrs
05:03:56 *** harshadura has joined #openmrs
05:03:56 *** ChanServ sets mode: +v harshadura
05:07:30 *** harshadura_ has quit IRC
05:10:24 *** k-joseph is now known as k-joseph_
05:10:28 *** k-joseph_ is now known as k-joseph
05:26:34 *** djazayeri has quit IRC
05:31:13 *** djazayeri has joined #openmrs
05:31:13 *** ChanServ sets mode: +o djazayeri
05:44:47 *** djazayeri has quit IRC
05:48:37 *** djazayeri has joined #openmrs
05:48:37 *** ChanServ sets mode: +o djazayeri
06:08:01 *** shruthd has joined #openmrs
06:18:20 <shruthd> @djazayeri Hey Darius. I was going to pick up https://tickets.openmrs.org/browse/RESTWS-413. I was wondering if we need to create a new maven module for 1.10 resources.
06:31:44 *** dkayiwa has joined #openmrs
06:33:27 *** VaibhavAgarwal has joined #openmrs
06:34:06 <VaibhavAgarwal> dkayiwa: can we talk about ticket-4250 for a moment?
06:34:56 <dkayiwa> VaibhavAgarwal: ok
06:36:09 <VaibhavAgarwal> dkayiwa: in openmrs.tld , htmlEscape is being set as true, and again in web.xml the htmlEscape is being set as true, so due to this double escape the values are coming directly with escape character
06:37:03 <dkayiwa> VaibhavAgarwal: the web.xml value was set that way to cater for pages which may not have done so
06:37:26 <dkayiwa> VaibhavAgarwal: in other words it serves as the default
06:37:34 <VaibhavAgarwal> dkayiwa: so , there are two solutions, one is setting the attribute of openmrs:message to false so that it is not being double escape,
06:37:59 <dkayiwa> VaibhavAgarwal: individual pages can override the default in openmrs:message
06:38:13 <dkayiwa> VaibhavAgarwal: the value you set opens us up to XSS attacks
06:38:22 <dkayiwa> VaibhavAgarwal: so we do not want it to be the default
06:38:48 <VaibhavAgarwal> dkayiwa: yes, i agree, so can i send the htmlEscape value as false from the page itself
06:38:54 <dkayiwa> VaibhavAgarwal: we want a safe default value, and then indiividual pages can override it at points where they are sure there are no cases of XSS attacks
06:39:07 <dkayiwa> VaibhavAgarwal: does this make sense? :)
06:40:33 <dkayiwa> VaibhavAgarwal: to put it in another way, the value you changed it to means that each and every page which gets user input and forgets to change its value will be open to XSS attacks
06:40:38 <VaibhavAgarwal> dkayiwa: yes, so instead of sending the attribute as htmlEscape as false is it preferable to use htmlEscape tag in the page over the openmrs:message?
06:41:44 <dkayiwa> VaibhavAgarwal: page is of a more global scope than just the individual openmrs:message
06:42:02 <dkayiwa> VaibhavAgarwal: we do not want to set an un safe value at a global scope
06:42:22 <dkayiwa> VaibhavAgarwal: we want it at the very smallest point where one is very sure it is safe from XSS attacks
06:42:40 <dkayiwa> VaibhavAgarwal: does this make sense?
06:43:16 <VaibhavAgarwal> dkayiwa: yes , i was talking about just an spring:htmlEscape for the openmrs:mesaage itself not the page as a whole
06:44:01 <dkayiwa> VaibhavAgarwal: your ticket needs only having the htmlescape in openmrs:message
06:44:15 <dkayiwa> VaibhavAgarwal: anything more than that is beyond the scope of that ticket :)
06:45:15 <VaibhavAgarwal> dkayiwa: yes, that's what I intially included in the message as openmrs:message htmlEscape=false; but you mentioned that it will be taken in as part of arguments rather than an attribute,
06:45:27 <VaibhavAgarwal> dkayiwa: hence my search for other solutions :-)
06:45:55 <dkayiwa> VaibhavAgarwal: i think you just need to carefully examine your commit. you will notice that your two lines are different
06:46:13 <dkayiwa> VaibhavAgarwal: one does it correctly while the second does it wrongly
06:46:43 <dkayiwa> VaibhavAgarwal: take a look at it again and tell me if you see the very tiny mistake you made on the second line you changed
06:47:22 <VaibhavAgarwal> dkayiwa: my bad, i'm sorry, i misunderstood the comment, it's my mistake ! thank you for clarifying it to me.
06:47:43 <VaibhavAgarwal> dkayiwa: sorry for the trouble!!
07:00:14 *** VaibhavAgarwal has quit IRC
07:07:58 <djazayeri> shruthd: Yes, I think that you do need to create a new maven module for the resources. (There's already one for 1.8 and one for 1.9 right?)
07:08:22 <shruthd> djazayeri: yup.. I'll do that..
07:08:31 <djazayeri> shruthd: great!
07:21:10 *** shruthd has quit IRC
07:34:50 *** harshadura has quit IRC
07:34:51 *** harsz89 has quit IRC
08:02:27 *** harsz89 has joined #openmrs
08:02:27 *** ChanServ sets mode: +v harsz89
08:13:11 *** GitHub106 has joined #openmrs
08:13:12 <GitHub106> [openmrs-core] vaibhav-hp opened pull request #634: TRUNK-4250 You can set your default locale message is messed up (master...TRUNK-4250) http://git.io/0XjMHA
08:13:12 *** GitHub106 has left #openmrs
08:21:40 *** shruthd has joined #openmrs
08:24:58 *** harshadura has joined #openmrs
08:25:08 *** ChanServ sets mode: +v harshadura
08:28:48 *** GitHub146 has joined #openmrs
08:28:48 <GitHub146> [openmrs-core] dkayiwa pushed 2 new commits to master: http://git.io/l3jTvw
08:28:48 <GitHub146> openmrs-core/master 9232e0c vaibhav-hp: TRUNK-4250 You can set your default locale message is messed up
08:28:48 <GitHub146> openmrs-core/master a5bc0b9 dkayiwa: Merge pull request #634 from vaibhav-hp/TRUNK-4250...
08:28:48 *** GitHub146 has left #openmrs
08:28:48 *** GitHub116 has joined #openmrs
08:28:48 <GitHub116> [openmrs-core] dkayiwa closed pull request #634: TRUNK-4250 You can set your default locale message is messed up (master...TRUNK-4250) http://git.io/0XjMHA
08:28:48 *** GitHub116 has left #openmrs
08:32:28 *** k-joseph has quit IRC
08:38:39 *** aniketha has joined #openmrs
08:38:44 *** travis-ci has joined #openmrs
08:38:45 <travis-ci> [travis-ci] [openmrs/openmrs-core] [a5bc0b9] [dkayiwa] The build passed. - http://travis-ci.org/openmrs/openmrs-core/builds/18713505
08:38:45 *** travis-ci has left #openmrs
08:40:04 *** aka_007 has joined #openmrs
08:40:36 <aniketha> mseaton: i would like to talk about report-252 ticket
08:49:17 *** robbyoconnor has joined #openmrs
08:49:17 *** ChanServ sets mode: +v robbyoconnor
08:49:38 *** chimwemwe has joined #openmrs
08:50:25 <chimwemwe> dkayiwa: hi
08:52:18 <aniketha> dkayiwa: i would like to talk about report-252 ticket
08:54:07 <aka_007> I am facing some problem regarding installation of openmrs sdk... in ubuntu...
08:54:13 <aka_007> please help...
08:54:33 <aka_007> I am following the link https://wiki.openmrs.org/display/docs/OpenMRS+SDK
08:55:00 <aka_007> I completed the second point- "installing openmrs-sdk"
08:55:18 <aka_007> when I run the command "omrs-create-module" it shows the error:
08:55:25 <aka_007> [main] ERROR org.apache.maven.cli.MavenCli - No plugin found for prefix 'module-wizard' in the current project and in the plugin groups [org.openmrs.maven.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/aka/.m2/repository), openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public), central (http://repo.maven.apache.org/maven2)] -> [Help 1] [main] ERROR org.apache.
08:55:26 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
09:00:39 *** aniketha has quit IRC
09:01:34 *** chimwemwe has quit IRC
09:02:48 *** aniketha has joined #openmrs
09:05:37 <aka_007> harsz89, u there??
09:06:50 *** chimwemwe has joined #openmrs
09:13:11 <aka_007> ??
09:15:58 *** harshadura has quit IRC
09:16:46 <harsz89> aka_007, hi
09:17:00 <aka_007> harsz89, hie...
09:17:20 <harsz89> aka_007, yep
09:17:55 <aka_007> harsz89, I ran into a bit of problem while installing openmrs module
09:18:09 <aka_007> harsz89, I am following this link... https://wiki.openmrs.org/display/docs/OpenMRS+SDK
09:18:22 <harsz89> harsz89, okey
09:18:47 <aka_007> harsz89, I completed till 2nd point that is Step 2. Installing OpenMRS SDK
09:18:54 <aka_007> harsz89, P.S. I am in ubuntu
09:19:10 <harsz89> aka_007, okey fine then
09:19:18 <aka_007> harsz89, when I go to third point and I run the command in a directory: "omrs-create-module"
09:19:30 <aka_007> harsz89, it shows some errors: "[main] ERROR org.apache.maven.cli.MavenCli - No plugin found for prefix 'module-wizard' in the current project and in the plugin groups [org.openmrs.maven.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/aka/.m2/repository), openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public), central (http://repo.maven.apache.org/maven2)] -> [
09:19:31 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
09:19:46 <aka_007> harsz89, no idea why
09:19:50 <harsz89> aka_007, which version you using
09:19:51 <harsz89> ?
09:19:59 <harsz89> aka_007, and java version
09:20:18 <aka_007> harsz89, javac 1.7.0_51
09:20:45 <harsz89> aka_007, can you get a output for omrs-version in your console
09:21:06 <aka_007> OMRS Version: 1.0.7 OMRS Home: /opt/omrssdk-1.0.7 ORMS Scripts: /opt/omrssdk-1.0.7/bin OMRS Maven Home: /opt/omrssdk-1.0.7/apache-maven -------- Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 07:45:32+0530) Maven home: /opt/omrssdk-1.0.7/apache-maven Java version: 1.7.0_51, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 O
09:21:11 <aka_007> harsz89,
09:22:29 <harsz89> aka_007, okey everything looks fine
09:22:57 <harsz89> aka_007, omrs-create-module
09:23:47 <harsz89> aka_007, this should be work
09:23:50 <harsz89> execute
09:23:52 <aka_007> harsz89, at start some maven files are getting downloaded finally a series of these errors show up: "[main] ERROR org.apache.maven.cli.MavenCli - No plugin found for prefix 'module-wizard' in the current project and in the plugin groups [org.openmrs.maven.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/aka/.m2/repository), openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repo
09:24:07 <harsz89> aka_007, execute
09:24:18 <harsz89> aka_007, omrs-create-module -u
09:24:26 <aka_007> harsz89, okae... 2 minutes
09:25:07 <aka_007> harsz89, it shows "Unable to parse command line options: Unrecognized option: -u"
09:25:14 <aka_007> usage: mvn [options] [<goal(s)>] [<phase(s)>]
09:25:22 <harsz89> aka_007, ah okey then no needs of -u
09:25:44 <harsz89> aka_007, can you reinstall 1.0.7
09:26:00 <harsz89> aka_007, i mean reinstall sdk again
09:26:14 <aka_007> harsz89, okay... doing that
09:26:27 <chimwemwe> harsz89: hi
09:26:37 <harsz89> chimwemwe, hi
09:26:46 *** GitHub117 has joined #openmrs
09:26:47 <GitHub117> [openmrs-core] shruthidipali created RESTWS-405 (+2 new commits): http://git.io/UXVqHw
09:26:47 <GitHub117> openmrs-core/RESTWS-405 3d263ad Shruthi: RESTWS-405 Added service fetch order frequency by uuid
09:26:47 <GitHub117> openmrs-core/RESTWS-405 32c6ce9 Shruthi: RESTWS-405 Added service to fetch all order frequencies
09:26:47 *** GitHub117 has left #openmrs
09:27:21 <chimwemwe> having a problem as well with the sdk on omrs-create-project
09:28:05 <chimwemwe> seems there is an issue with one of the downloads that are supposed to be made
09:28:05 <harsz89> chimwemwe, you also using 1.0.7 of sdk?
09:28:43 <chimwemwe> it's 1.0.5
09:28:52 <chimwemwe> the error is:
09:28:55 <chimwemwe> [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.openmrs.maven.archetypes:maven-archetype-openmrs-project:1.0.0-SNAPSHOT) -> [Help 1]
09:30:39 <harsz89> chimwemwe, can you use latest version
09:30:43 <harsz89> chimwemwe, 1.0.7
09:31:08 <chimwemwe> ok. let me get it then.
09:31:37 <chimwemwe> one more question, have you any knowledge of the Rest module?
09:31:53 <harsz89> chimwemwe, i have some knowledge
09:32:10 <chimwemwe> would want to know if it's possible to select encounters by date range?
09:32:27 <chimwemwe> and if possible how the url should be like
09:32:50 <harsz89> chimwemwe, did you check encounter services in rest api
09:32:59 <harsz89> chimwemwe, in wiki page i mean
09:33:14 <harsz89> chimwemwe, ill have a look at the api
09:33:15 <chimwemwe> no idea where to get that
09:33:22 *** GitHub88 has joined #openmrs
09:33:23 <GitHub88> [openmrs-core] shruthidipali opened pull request #635: RESTWS-405 OrderFrequency (1.10.x...RESTWS-405) http://git.io/2V5ncw
09:33:23 *** GitHub88 has left #openmrs
09:33:57 <harsz89> chimwemwe, https://wiki.openmrs.org/display/docs/REST+Web+Services+API
09:33:58 <OpenMRSBot> <http://ln-s.net/8zTB> (at wiki.openmrs.org)
09:34:02 <harsz89> chimwemwe, have a look at it
09:34:10 <harsz89> aka_007, hows it going?
09:35:09 <chimwemwe> that one I've already seen but it's not answering what I'm looking for
09:36:35 <chimwemwe> so I was wondering if I have to extend it myself maybe but don't want to work on what already exists if it's out there
09:37:27 <harsz89> chimwemwe, in wiki page that's the services provided by rest module
09:37:57 <harsz89> chimwemwe, https://wiki.openmrs.org/display/docs/REST+Web+Service+Resources+in+OpenMRS+1.9
09:38:06 <harsz89> harsz89, did you see above one also?
09:38:32 <chimwemwe> yes and I am able to work with those, thanks.
09:38:49 <harsz89> harsz89, as it seems there is no range queries
09:39:17 <chimwemwe> however, there are cases where you would want finer details details. maybe that may have to be custom then
09:40:46 <harsz89> chimwemwe, yes customization needed
09:40:55 <harsz89> chimwemwe, it shouldnt be hard
09:41:08 <harsz89> chimwemwe, one or two parameters away :)
09:41:20 <chimwemwe> ok thanks. wish it was already there though.
09:41:24 <chimwemwe> :-(
09:43:58 <harsz89> chimwemwe, unfortunately not there it seeems :D
09:44:34 <chimwemwe> ok. thanks. will figure out something
09:44:43 *** GitHub125 has joined #openmrs
09:44:44 <GitHub125> [openmrs-core] aniketha opened pull request #636: report-252 (master...REPORT_252) http://git.io/Iy2k7w
09:44:44 *** GitHub125 has left #openmrs
09:49:32 <harsz89> chimwemwe, ill have a more closer look and let you know if something is there
09:49:35 <harsz89> chimwemwe, :)
09:49:46 <chimwemwe> ok. will appreciate.
09:50:39 *** aniketha has quit IRC
09:50:46 <chimwemwe> running from the overhead on my end as I have an impression to make and am currently not a regular contributor to the core apps
09:51:12 <chimwemwe> that is i was hoping to be a consumer mainly at this point
09:51:40 <aka_007> harsz89, hie.. !!
09:51:49 <harsz89> aka_007, yep
09:52:33 <aka_007> harsz89, I reinstalled sdk... and re executed the command .... this time also same error is coming....
09:52:39 <aka_007> harsz89, "[main] ERROR org.apache.maven.cli.MavenCli - No plugin found for prefix 'module-wizard' in the current project and in the plugin groups [org.openmrs.maven.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/aka/.m2/repository), openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public), central (http://repo.maven.apache.org/maven2)] -> [Help 1] [main] ERROR o
09:52:40 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
09:52:59 <harsz89> chimwemwe, goodie :)
09:53:17 <aka_007> harsz89, Do i need to stop some server and then run this command....
09:53:18 <harsz89> chimwemwe, you can contribute to core and other apps many diffrent ways
09:53:36 <harsz89> chimwemwe, suggestions for improvements also a contribution
09:53:47 <chimwemwe> ok. nice
09:53:57 <harsz89> chimwemwe, any thing you can discuss here or mailing lists
09:54:08 <harsz89> aka_007, yes
09:54:14 <harsz89> aka_007, oh nope
09:54:17 <chimwemwe> ok. noted
09:54:19 <harsz89> aka_007, wait ill check
09:54:27 <aka_007> harsz89, okae...
09:55:33 <aka_007> harsz89, when I run the command "omrs-run" this option pops up "Could not find a configuration for OpenMRS, do you want to create one? (y/n):
09:56:05 <harsz89> aka_007, okey do it :)
09:56:21 <aka_007> harsz89, okae
09:57:00 <aka_007> harsz89, same errors I guess "[main] ERROR org.apache.maven.cli.MavenCli - Error resolving version for plugin 'org.apache.maven.plugins:maven-archetype-plugin' from the repositories [local (/home/aka/.m2/repository), openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1] [main] ERROR org.apache.maven.cli.MavenC
09:57:01 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
09:58:03 *** GitHub57 has joined #openmrs
09:58:03 <GitHub57> [openmrs-core] dkayiwa closed pull request #636: report-252 (master...REPORT_252) http://git.io/Iy2k7w
09:58:03 *** GitHub57 has left #openmrs
09:58:45 <aka_007> harsz89, should I run these commands in the openmrs-core repository... because I am running them in a empty directory... ??
09:59:16 <harsz89> aka_007, for openmrs sdk you can run this anywhere
09:59:36 <aka_007> harsz89, ohh okay....
10:00:41 <aka_007> harsz89, Do I need to give the directories any permission...... I am assigning write and execute permission to them....
10:01:27 <harsz89> aka_007, i also run this now
10:01:37 <harsz89> aka_007, seems like i also got d same error
10:02:12 <aka_007> harsz89, :( ....
10:05:44 <harsz89> aka_007, mhhh
10:06:11 <aka_007> harsz89, Should I put this on mailing list.. ??
10:06:52 <chimwemwe> harsz89: installed v. 1.0.7 and both omrs-create-module and omrs-create-project seem to be working fine
10:07:06 <chimwemwe> I'm also running Ubuntu
10:07:14 <harsz89> chimwemwe, cool :)
10:07:22 <chimwemwe> thanks
10:07:33 <harsz89> aka_007, seems like some problems is out there
10:08:14 <harsz89> aka_007, is your connection behind some proxy server?
10:08:36 <aka_007> harsz89, YAA
10:08:49 <harsz89> harsz89, mhhh
10:09:12 <harsz89> aka_007, tht may be an issue
10:09:28 <harsz89> aka_007, previously how you run maven commands
10:09:28 *** GitHub151 has joined #openmrs
10:09:28 <GitHub151> [openmrs-core] dkayiwa pushed 3 new commits to master: http://git.io/0wX-lw
10:09:28 <GitHub151> openmrs-core/master f3a8e61 Lukasz Plotnicki: @lplotni/@puffedo: TRUNK-287 We added a test to the ConceptServiceImplTest verifying that the whitespaces will be trimmed when storing a name of a concept. We also tidied up the imports and some tests.
10:09:28 <GitHub151> openmrs-core/master 9faa028 Lukasz Plotnicki: @lplotni TRUNK-287 Applied the changes....
10:09:28 <GitHub151> openmrs-core/master 3640de6 dkayiwa: Merge pull request #632 from lplotni/TRUNK-287-corrected...
10:09:28 *** GitHub151 has left #openmrs
10:09:34 <harsz89> aka_007, offline mode?
10:09:55 <aka_007> harsz89, no I did changes in a file.... give me a minute will tell you the exact path....
10:10:44 <harsz89> aka_007, if you set proxy then it will be fine
10:11:27 <aka_007> harsz89, I went to /etc/maven/settings.xml there I did the changes and reset it as given in this link "http://stackoverflow.com/questions/16729023/maven-build-issue-connection-to-repository-refused"
10:15:15 <aka_007> harsz89, there is a file settings.xml in the path "/opt/omrssdk-1.0.7/apache-maven/conf"
10:15:25 <aka_007> harsz89, shall I make proxy changes there.. ??
10:15:49 <harsz89> aka_007, oopz yep
10:15:59 <aka_007> harsz89, okae....
10:15:59 <harsz89> aka_007, i forgot it
10:16:17 <harsz89> aka_007, openmrs sdk not need anything itz only required java
10:16:29 <harsz89> aka_007, it;s running from inbuilt maven
10:16:32 <harsz89> aka_007, cool :)
10:17:04 <aka_007> harsz89, giving it a try and getting back to you... :)
10:19:38 *** travis-ci has joined #openmrs
10:19:38 <travis-ci> [travis-ci] [openmrs/openmrs-core] [3640de6] [dkayiwa] The build was broken. - http://travis-ci.org/openmrs/openmrs-core/builds/18718169
10:19:38 *** travis-ci has left #openmrs
10:21:43 <aka_007> harsz89, awesome ... did it... just a small request ... can you add these things in the wiki... because most of the university students are behind proxy and they would be needing this guidance... if you want I can write a wiki in my own page regarding the same... :)
10:22:56 *** aka_007 has quit IRC
10:24:58 <chimwemwe> harsz89: any hints on the one two things I can edit to get my custom parameters without having to study the whole module code?
10:25:27 <chimwemwe> that is customizing the Rest module
10:27:53 <harsz89> chimwemwe, you may have look service layer of that modile
10:28:01 <harsz89> module*
10:28:07 <chimwemwe> ok.
10:29:09 <chimwemwe> thanks
10:31:04 <harsz89> chimwemwe, :)
10:31:20 <chimwemwe> yes harsz89
10:42:09 *** dkayiwa has quit IRC
10:44:25 *** chimwemwe has quit IRC
10:45:04 *** shruthd has quit IRC
10:46:59 *** harsz89 has quit IRC
10:47:24 *** charith has joined #openmrs
10:49:30 *** dkayiwa has joined #openmrs
10:50:44 *** shruthd has joined #openmrs
10:51:17 *** harsz89 has joined #openmrs
10:51:18 *** ChanServ sets mode: +v harsz89
11:05:50 <OpenMRSBot> Recent updates in the world of openmrsci: SON-SONAR-124 has FAILED : Manual build by Rafał Korytkowski <https://ci-stg.openmrs.org/browse/SON-SONAR-124>
11:09:42 *** chimwemwe has joined #openmrs
11:09:53 *** shruthd has quit IRC
11:14:20 *** shruthd has joined #openmrs
11:15:37 *** edison has joined #openmrs
11:16:21 <edison> openmrs MySQL service terminates abruptly
11:17:56 <edison> any help?
11:26:57 *** harsz89 has quit IRC
11:27:17 *** charith has quit IRC
11:30:13 <dkayiwa> edison: hi
11:30:19 <dkayiwa> wazup
11:35:07 *** harsz89 has joined #openmrs
11:35:07 *** ChanServ sets mode: +v harsz89
11:45:18 *** harsz89 has quit IRC
11:45:35 *** harsz89 has joined #openmrs
11:45:35 *** ChanServ sets mode: +v harsz89
12:37:07 *** shruthd has quit IRC
12:38:58 *** harsz89 has quit IRC
12:46:13 <chimwemwe> dkayiwa: hi
12:46:19 <dkayiwa> chimwemwe: hi
12:46:36 <chimwemwe> I'm trying to extend the Rest API
12:46:57 <chimwemwe> and trying to work with the Encounters service..
12:47:18 <chimwemwe> there's a method:
12:47:20 <chimwemwe> public List<Encounter> getEncounters(Patient who, Location loc, Date fromDate, Date toDate,
12:47:21 <chimwemwe> Collection<Form> enteredViaForms, Collection<EncounterType> encounterTypes, Collection<User> providers,
12:47:21 <chimwemwe> boolean includeVoided);
12:47:31 <chimwemwe> which I thought I could use...
12:48:22 <chimwemwe> the comment says it has "a variety of (nullable) criteria" which I interpret to mean some of the fields can be left empty and still get results
12:48:33 <chimwemwe> am I right or wrong in that assumption?
12:49:04 <chimwemwe> that is, I'm only interested in getting all encounters falling within a given date range only
12:49:37 *** aka_007 has joined #openmrs
12:50:00 <chimwemwe> so I was hoping to only pass the fromDate and toDate and ,ake the rest null, is this right or it's not supposed to work?
12:50:16 <chimwemwe> unfortunately my Java skills are now rusty
12:50:20 <chimwemwe> :-)
12:53:29 *** shruthd has joined #openmrs
12:54:30 <dkayiwa> chimwemwe: you need to mention my irc name every time you type such that my irc client can alert me
12:54:59 <chimwemwe> dkayiwa: ah, sorry about that
12:55:13 <aka_007> dkayiwa, hie!!
12:55:14 <dkayiwa> chimwemwe: else you may wait for hours before getting a response
12:55:14 <dkayiwa> :)
12:55:23 <chimwemwe> dkayiwa: :-)
12:55:48 <chimwemwe> dkayiwa: but did you get the question?
12:56:48 <dkayiwa> chimwemwe: pass null for all fields you do not want to filter on
12:57:07 <aka_007> dkayiwa, you there??
12:57:08 <dkayiwa> aka_007: hey
12:57:08 <dkayiwa> chimwemwe: basing on my response, did i? :)
12:57:16 <chimwemwe> dkayiwa: apparently I did but it's failing to build
12:57:32 <aka_007> dkayiwa, I have problem installing openmrs module... I am followint this link "https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Step1.DevelopmentEnvironmentCheck"
12:58:07 <aka_007> the command "omrs-create-module" runs fine but the command "omrs-create-project" shows error...
12:58:14 <aka_007> dkayiwa, I am behind a proxy server....
12:58:15 <dkayiwa> chimwemwe: why is it failing
12:58:29 <chimwemwe> dkayiwa: or maybe Collections don't accept null?
12:58:52 <chimwemwe> dkayiwa: it's complaining that there is no corresponding method
12:59:55 <chimwemwe> dkayiwa: it's giving this error: omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/EncounterResource1_8.java:[231,56] error: no suitable method found for getEncounters(<null>,<null>,Date,Date,<null>,<null>,<null>,<null>,<null>,boolean)
13:00:27 <chimwemwe> dkayiwa: that is, i only put in the values at the spots I want, the rest null
13:00:28 <dkayiwa> aka_007: sorry about the failure :)
13:00:41 <aka_007> dkayiwa, do you know the reason for the same... :(
13:02:08 <aka_007> dkayiwa, should I post this question on mailling list... ??
13:02:09 <dkayiwa> chimwemwe: pastebin the method call you are making
13:02:26 <chimwemwe> dkayiwa: ok
13:03:26 <dkayiwa> aka_007: how would i know without even knowing what the error message is? :)
13:03:52 <aka_007> dkayiwa, utter sorry.... error: "[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project openmrs: A Maven 2 project already exists in the directory /home/aka/Ubuntu One/gsoc/openmrs-core/openmrs-project -> [Help 1] [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the
13:03:53 <dkayiwa> aka_007: i would be a magician :)
13:04:02 <aka_007> dkayiwa, my badd... :D
13:04:04 <dkayiwa> aka_007: normally do so whenever you fail to get an answer on IRC
13:04:53 <aka_007> dkayiwa, okay... previously "omrs-create-module" was also not working then I added some lines in settings.xml for proxy stuff...
13:05:24 <aka_007> dkayiwa, now "omrs-create-project" or "omrs-run" doesn't work ... I don't know which file to change ...
13:06:39 <chimwemwe> dkayiwa: http://pastebin.com/DUYFhXA7
13:08:39 <dkayiwa> aka_007: i would be a magician to know why it does not work without looking at the error message!!!
13:08:56 <aka_007> dkayiwa, I gave the error message... resending...
13:08:56 <dkayiwa> chimwemwe: which line number?
13:09:02 <aka_007> dkayiwa, [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project openmrs: A Maven 2 project already exists in the directory /home/aka/Ubuntu One/gsoc/openmrs-core/openmrs-project -> [Help 1] [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the errors, re-run Maven wi
13:09:12 <chimwemwe> dkayiwa: the call is on line 23
13:09:32 <aka_007> dkayiwa I have to leave.... if you find the solution... please,please email me at akash.wanted@gmail.com
13:11:42 <dkayiwa> aka_007: delete that already existing maven project and try again :)
13:13:57 <chimwemwe> dkayiwa: any ideas?
13:13:57 <dkayiwa> chimwemwe: and what error message does it give?
13:13:58 *** aka_007 has quit IRC
13:14:36 <chimwemwe> dkayiwa: no suitable method found for getEncounters(<null>,<null>,Date,Date,<null>,<null>,<null>,<null>,<null>,boolean)
13:14:37 <dkayiwa> chimwemwe: you need to first read what i type before asking :)
13:16:40 <chimwemwe> dkayiwa: :-)
13:16:41 <dkayiwa> chimwemwe: which version of openmrs are you compiling against?
13:17:22 <chimwemwe> dkayiwa: I downloaded the latest github repo
13:17:46 <chimwemwe> dkayiwa: this script is in the Rest api module
13:19:09 <chimwemwe> dkayiwa: this error seems to be in the module itself before running on OpenMRS
13:20:27 <dkayiwa> chimwemwe: which openmrs version does your pom.xml reference?
13:20:40 <chimwemwe> dkayiwa: let me check
13:21:15 <chimwemwe> dkayiwa: v. 1.8
13:23:47 <chimwemwe> dkayiwa: or maybe the method did not exist using this signature in v. 1.8?
13:24:24 <chimwemwe> dkayiwa: just not sure how I can check that though
13:24:25 <dkayiwa> chimwemwe: can you check the 1.8 branch? :)
13:24:35 <chimwemwe> dkayiwa: ok
13:30:26 <dkayiwa> chimwemwe: https://github.com/openmrs/openmrs-core/blob/1.8.x/api/src/main/java/org/openmrs/api/EncounterService.java
13:32:06 <chimwemwe> dkayiwa: true, it seems the method was extended in v.1.9
13:33:05 <dkayiwa> chimwemwe: ok
13:33:23 <chimwemwe> dkayiwa: seems I'm past that error for now. have a different one. will check it out. thanks.
13:33:33 <dkayiwa> chimwemwe: cool
13:39:36 *** cioan has joined #openmrs
13:43:14 *** GitHub124 has joined #openmrs
13:43:14 <GitHub124> [openmrs-core] dkayiwa closed pull request #633: TRUNK-3902 Proposal: rename concept_numeric.precise property to concept_numeric.allowDecimal (master...TRUNK-3902) http://git.io/KlPKNQ
13:43:14 *** GitHub124 has left #openmrs
13:48:51 <chimwemwe> dkayiwa: it worked. thanks a lot
13:49:05 <dkayiwa> chimwemwe: cool
13:50:57 *** shruthd has quit IRC
13:59:13 *** wluyima has joined #openmrs
14:01:16 <chimwemwe> dkayiwa: thanks loads, it's working
14:01:37 <dkayiwa> chimwemwe: great!!!
14:02:27 <chimwemwe> dkayiwa: so at what point does one get to publish to the rest of the world any sharerable changes?
14:04:22 <dkayiwa> chimwemwe: sharable to end users or devs
14:04:44 <chimwemwe> dkayiwa: both I guess
14:05:51 <chimwemwe> dkayiwa: eventually
14:06:52 <dkayiwa> chimwemwe: what are u trying to do
14:06:52 <chimwemwe> dkayiwa: point being, what I've worked on today I would have loved to just find already done by someone else and just use instead of having to redo it if someone also did it
14:06:52 <dkayiwa> chimwemwe: working on some ticket?
14:08:22 <chimwemwe> not sure if there's a ticket. I'm working on having our systems connect to openmrs api stack through the rest module. so I've added some search parameters for searches to be made by date range.
14:08:23 <dkayiwa> chimwemwe: did you read Maurya s email
14:09:04 <chimwemwe> dkayiwa: not sure I know about it. I'm not an active member as it were
14:09:08 <chimwemwe> just joining
14:09:52 <chimwemwe> dkayiwa: not that it really matters where I put what I write but just for the sake of sharing if practical
14:10:50 <chimwemwe> dkayiwa: just a question, nothing serious here
14:11:51 <dkayiwa> chimwemwe: 1) Create a ticket 2) Create a pull request and include the pull request url on the ticket
14:12:43 <chimwemwe> dkayiwa: ok. nice
14:13:34 <chimwemwe> dkayiwa: that also goes for modules, not so?
14:13:34 <dkayiwa> chimwemwe: then it will be reviewed and if no more changes needed, will be merged
14:14:34 <dkayiwa> chimwemwe: http://mauryanguidetoopenmrsdevs.wordpress.com/
14:14:58 <chimwemwe> dkayiwa: ok. nice. thanks.
14:14:59 <dkayiwa> chimwemwe: yes
14:15:49 <chimwemwe> dkayiwa: nice
14:22:55 *** dkayiwa has quit IRC
14:28:53 *** chimwemwe has quit IRC
14:34:18 *** aka_007 has joined #openmrs
14:41:25 <aka_007> I am a newbie in openmrs ... I have a problem regarding set up of openmrs sdk...
14:56:05 <aka_007> harsz89, hie ...
14:58:41 *** harsz89 has joined #openmrs
14:58:41 *** ChanServ sets mode: +v harsz89
15:02:32 <aka_007> harsz89, hie
15:02:41 <harsz89> aka_007, hi
15:03:25 <aka_007> harsz89, I am trying to set up openmrs sdk from this link https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Step1.DevelopmentEnvironmentCheck
15:03:50 <harsz89> aka_007, okey
15:04:02 <aka_007> harsz89, this command worked fine "omrs-create-module" after doing some changes in a settings.xml file since I am behind the proxy...
15:04:11 <rafa> cpower: scrum time?
15:04:15 <harsz89> aka_007, so
15:04:24 <aka_007> harsz89, but the command "omrs-create-project" or "omrs-run" is showing error
15:04:26 <cpower> rafa: my favorite time!
15:04:29 <cpower> !scrumon cpower
15:04:30 * 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.
15:04:41 <cpower> ORder: rafa , wluyima , djazayeri
15:04:47 <aka_007> harsz89, the error is "[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (deploy-to-server) on project openmrs-project-server: Unable to find artifact. Could not find artifact org.openmrs:openmrs-omod:jar:1.11.0-SNAPSHOT in openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public) [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR o
15:04:48 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
15:04:56 <rafa> Today:
15:04:56 <rafa> * Working on importing concepts with preserved IDs
15:04:56 <rafa> * Design Call
15:04:56 <rafa> No blockers.
15:05:14 <aka_007> harsz89, The above error message is encountered while executing the command "omrs-run"
15:05:56 <cpower> wluyima: you are up
15:06:19 <aka_007> harsz89, P.S. I am behind a proxy...
15:07:13 <cpower> ok djazayeri how about you?
15:08:58 <aka_007> harsz89, Shall I paste the whole error message in pastebin so that you can see whole of it... because the whole of it doesn't get pasted here...
15:09:07 <wluyima> cpower: sorry let me go next
15:09:14 <harsz89> aka_007, oopz wait until scrum finishes :)
15:09:24 <cpower> wluyima: go for it
15:09:29 <wluyima> Tuesday:
15:09:29 <wluyima> - order entry bi weekly call
15:09:31 <wluyima> - Address review TODOs for TRUNK-4144 - Add api methods to fetch drugs by reference mappings
15:09:32 <wluyima> - Review code for TRUNK-4150 - Add support for revising an order
15:09:34 <wluyima> - Pick up a REST WS ticket for order entry
15:09:35 <wluyima> Wednesday:
15:09:37 <wluyima> - PM call
15:09:38 <wluyima> - Design call
15:09:39 <wluyima> - Code review and merging it
15:09:40 <wluyima> Blockers: None
15:09:46 <aka_007> harsz89, yaa sure... what is meant by scrum?
15:10:43 <cpower> Thanks everyone.
15:10:47 <cpower> !scrumoff
15:10:47 * 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.
15:11:25 <harsz89> aka_007, it's daily meetup
15:11:30 <harsz89> aka_007, anyway
15:12:07 <harsz89> aka_007, behind proxy is okey since you have updated the settings xml
15:12:10 <aka_007> harsz89, ohh... where does it happen?(like on which link and all)...
15:12:26 <harsz89> aka_007, it's virtual
15:12:34 <aka_007> harsz89, then what does this error signify... ??
15:12:46 <harsz89> harsz89, at scrum private meetings needs to hold up
15:12:55 <harsz89> aka_007, next time note it :)
15:14:17 <aka_007> harsz89, sorry my badd... :(
15:14:42 <aka_007> harsz89, awaiting for your reply :P
15:19:36 <harsz89> aka_007, okey
15:19:44 <harsz89> aka_007, seems like again repo issue
15:20:18 <harsz89> aka_007, do your proxy server have a file download limit?
15:28:02 *** k-joseph has joined #openmrs
15:38:55 *** cioan has quit IRC
15:43:51 *** charith has joined #openmrs
15:52:34 *** dkayiwa has joined #openmrs
15:56:40 *** harsz89 has quit IRC
16:01:50 *** harsz89 has joined #openmrs
16:01:51 *** ChanServ sets mode: +v harsz89
16:02:05 *** cioan has joined #openmrs
16:08:16 <k-joseph> dkayiwa: hi
16:09:09 <dkayiwa> k-joseph: hi
16:10:04 <k-joseph> dkayiwa: can i get some example from with in openmrs of how a unit test as one that am supposed to write may be looking like, i think am testing whether the chageset changed the columnname to allow_decimal!!! is this so?
16:10:54 <dkayiwa> k-joseph: create an object with a value for that property, then save it in the service layer
16:11:06 <dkayiwa> k-joseph: does this make sense?
16:12:23 <k-joseph> dkayiwa: i think am getting you well, it makes sense,
16:27:32 *** shruthd has joined #openmrs
17:05:03 *** isaac__ has joined #openmrs
17:05:07 <aka_007> dkayiwa, hie... !!
17:05:45 <dkayiwa> aka_007: hi
17:06:22 <aka_007> dkayiwa, I am facing the same issue that I was talking to you about.... regarding set up of openmrs sdk....
17:06:28 <aka_007> dkayiwa, giving the details...
17:07:02 <aka_007> dkayiwa, the command "omrs-create-module" works fine but the command "omrs-create-project" or "omrs-run" doesn't work.... I am giving the error message that it's showing...
17:08:34 <dkayiwa> aka_007: ask on the dev list
17:10:27 <aka_007> dkayiwa, okay doing the same.... :)
17:12:37 <k-joseph> dkayiwa: hi
17:14:23 <dkayiwa> k-joseph: hi
17:14:35 *** isaac__ has quit IRC
17:15:23 *** isaac__ has joined #openmrs
17:16:58 <k-joseph> dkayiwa: you said create an object i think you meant conceptNumeric object which i did, and so can i inqire how we save this conceptNumeric object in the service layer!!!
17:18:35 <dkayiwa> k-joseph: first try with what you think :)
17:18:58 <dkayiwa> k-joseph: am simply encouraging you to do some thinking
17:22:36 *** charith has quit IRC
17:27:15 *** shruthd has quit IRC
17:40:58 <aka_007> dkayiwa, how do I integrate eclipse with maven and start using openmrs code through it... ??
17:42:23 <harsz89> aka_007, did you build d openmrs core
17:42:30 <aka_007> dkayiwa, when I go to help->install software then I select "All avaiable sites" in "Work with", it takes long time to show the list(status:pending as shown) after 10 minutes it shows some error.
17:42:36 <harsz89> harsz89, may be you can try with that
17:43:01 <harsz89> aka_007, :)
17:43:05 <aka_007> dkayiwa, I am giving the error list within 2 minutes...
17:43:44 <aka_007> harsz89, yaa I have built it... building openmrs core means ?? doing "maven clean install" and "maven jetty:run", right??
17:44:10 <aka_007> harsz89, I am stuck in here. Trying to setup openmrs since a week... :( ..
17:44:18 <harsz89> aka_007, yeap this complain is about not having omod jar there
17:44:33 <aka_007> harsz89, from where do I install it.. ??
17:44:45 <aka_007> harsz89, where must I paste it .. ??
17:45:10 <k-joseph> dkayiwa: i appreciate your way of making me think, however i think am not getting the clear way of doing this with in the coceptService,
17:45:16 <harsz89> aka_007, im not sure about current snapshot version of openmrs in trunl
17:45:23 <harsz89> aka_007, trunk*
17:47:09 <aka_007> harsz89, also when I try to integrate eclipse by selecting (help->install software), select "all available sites" from option it takes around 10 minutes and shows this error
17:47:29 <harsz89> aka_007, oopz um not using eclipse
17:47:44 <aka_007> harsz89, "contacting software sites" has encountered a problem, communication with repository.... "
17:47:56 <aka_007> harsz89, I didn't get you... ??
17:48:12 <harsz89> aka_007, im using intelllij idea
17:48:31 <harsz89> aka_007, not eclipse
17:48:37 <aka_007> harsz89, but I am following this link "https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Step1.DevelopmentEnvironmentCheck"
17:48:57 <aka_007> harsz89, I have not tried anything with eclipse yet...
17:49:08 <aka_007> harsz89, still the command "omrs-create-project" doesn't work... :(
17:49:25 <harsz89> aka_007, create module did work?
17:49:56 <aka_007> harsz89, previously it didn't then I did some changes in settings.xml related to proxy... then it did work....
17:50:07 <harsz89> aka_007, yeah you said it
17:50:15 <harsz89> so now you can create a project know?
17:50:25 <aka_007> harsz89, sorry ... I am over hyped....
17:50:47 <harsz89> aka_007, you went inside that module and execute omrs-run ryt?
17:51:43 <aka_007> harsz89, no... I cannot find the module.... I just ran the command "omrs-run" in the terminal....
17:52:01 <harsz89> aka_007, if you able to create the module
17:52:10 <aka_007> harsz89, where can I find the module.... ??
17:52:26 <harsz89> aka_007, then you should able to see it under the name you specified when you creating it
17:52:38 <aka_007> harsz89, in the same folder.... ??
17:52:45 <harsz89> aka_007, omrs-create-module you have created a module
17:53:01 <harsz89> aka_007, the place where you run the omrs-create-module
17:53:06 <aka_007> harsz89, yaa... but I am not able to see it under any folder... ??
17:53:13 <aka_007> harsz89, let me try that again....
17:53:21 <harsz89> aka_007, itz not possible
17:53:33 <harsz89> aka_007, if that wizard succeed you will see it
17:56:36 <aka_007> harsz89: Group ID: org.openmrs.module: : 1 Artifact ID: basicexample: : 1 Version: 1.0-SNAPSHOT: : 1.0 Module name: Basic Example: : test Module description: Helps to start writing OpenMRS modules: : my first one Module author: aka: : aka OpenMRS version to depend on: 1.8.2: : 1.8.2 Do you want to add an admin page link: (y/n) y: : y Do you want to add a service layer: (y/n) y: : y Service name: test: : test Model object n
17:57:01 <aka_007> harsz89: these are the questions that were asked to me and my responses are after colons...
17:57:29 <aka_007> harsz89, yaa this time I saw a directory with name "1" :) :)
17:57:31 <aka_007> harsz89, please tell what should I do now...
17:57:34 <aka_007> harsz89: ??
17:57:45 <harsz89> go inside and run omrs-run
17:59:12 <aka_007> harsz89: doing the same... it's taking time....
18:01:38 <djazayeri> rafa: hey, any update on the CIEL blocker?
18:01:55 <aka_007> harsz89: still it's showing some errors: "[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project 1-api: Compilation failure: Compilation failure: [main] ERROR org.apache.maven.cli.MavenCli - /home/aka/Ubuntu One/gsoc/try/1/api/src/main/java/org/openmrs/module/1/test.java:[14,26] error: ';' expected [main] ERROR org.apache.maven.cli.M
18:02:44 <harsz89> aka_007, is this the same error
18:02:54 <rafa> djazayeri: hey, I'm experimenting with dbunit export and import
18:04:03 <rafa> djazayeri: I should have some working prototype tomorrow
18:04:53 <aka_007> harsz89, I just noticed the begining of that error... and it's matching with the current one...
18:05:04 <djazayeri> rafa: okay, looking forward to it; it would be very nice if we can release 2.0 this week…
18:06:57 <djazayeri> rafa: dbunit?
18:07:02 *** isaac__ has quit IRC
18:07:07 <djazayeri> rafa: rather than liquibase?
18:07:29 <djazayeri> rafa: perhaps we can discuss briefly at the start of the design call in 50 minute?
18:07:39 <rafa> djazayeri: sure
18:07:50 <aka_007> harsz89, you there.. ??
18:08:00 <harsz89> aka_007, yeap
18:08:23 <harsz89> aka_007, can you check what's your current openmrs version in trunk
18:08:33 <harsz89> aka_007, if it 1.11 snapshot
18:08:47 <aka_007> harsz89: it's 1.0.7
18:08:54 <aka_007> harsz89: the whole of the detail is:
18:08:56 <aka_007> harsz89: OMRS Version: 1.0.7 OMRS Home: /opt/omrssdk-1.0.7 ORMS Scripts: /opt/omrssdk-1.0.7/bin OMRS Maven Home: /opt/omrssdk-1.0.7/apache-maven -------- Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 07:45:32+0530) Maven home: /opt/omrssdk-1.0.7/apache-maven Java version: 1.7.0_51, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_US, platform encoding
18:09:02 <harsz89> aka_007, i mean core version
18:09:15 <dkayiwa> k-joseph: hi
18:09:28 <k-joseph> dkayiwa: hi
18:09:37 <dkayiwa> k-joseph: did you try saveConcept?
18:09:51 <aka_007> harsz89: I don't have any idea of it... ?? How do I check for it??
18:10:17 <harsz89> aka_007, just check the your core project main pom file
18:11:05 <aka_007> harsz89: 1.11.0-SNAPSHOT
18:11:28 <harsz89> aka_007, okey then build it with mvn clean install -u
18:12:25 <aka_007> harsz89: I am running this command in the openmrs-core and it shows this error:
18:12:32 <aka_007> harsz89: "Unable to parse command line options: Unrecognized option: -u usage: mvn [options] [<goal(s)>] [<phase(s)>] Options: -am,--also-make If project list is specified, also build projects required by the list -amd,--also-make-dependents If project list is specified, also bui
18:13:08 <harsz89> aka_007, try -U
18:13:09 <k-joseph> dkayiwa: yes, here is the unit test, with that method used https://github.com/k-joseph/openmrs-core/commit/TRUNK-3902
18:15:11 <aka_007> harsz89: again errors: "[WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...xml version="1.0" encoding="UTF-8"?>\n<settings>\n .......\n <p... @4:7) @ /usr/share/maven/conf/settings.xml, line 4, column 7 [WARNING] [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/openmrs/openmrs-proj
18:15:26 <aka_007> harsz89: [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.openmrs:openmrs-project-server:1.0.0 (/home/aka/Ubuntu One/gsoc/openmrs-core/1/openmrs-project/server/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.openmrs:openmrs-project:pom:1.0.0 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 5, co
18:18:44 <harsz89> aka_007, mhhh
18:18:56 <harsz89> aka_007, now core not building?
18:19:15 <harsz89> aka_007, previously it was build right?
18:19:31 <aka_007> harsz89: sorry but what is meant by "building core"? means using command "maven clean install"
18:19:56 <harsz89> aka_007, i mean openmrs-core needs to build
18:20:00 <harsz89> aka_007, first
18:20:39 <aka_007> harsz89: I don't specifically know whether I have built it or not... ?? Can you give me the documentation link which I can refer for the same... ??
18:21:17 <harsz89> aka_007, you clone the opemnrs core in to your environment okey?
18:21:26 <harsz89> aka_007, so just go to that directory and
18:21:32 <harsz89> mvn clean install -U
18:21:41 <aka_007> harsz89: okae..
18:23:03 <aka_007> harsz89: I am doing it again from scratch... will be back in 2 minutes..
18:25:34 *** isaac__ has joined #openmrs
18:30:28 *** k-joseph has quit IRC
18:34:32 <harsz89> aka_007, :)
18:35:06 <aka_007> harsz89: mvn clean install is running... :)
18:35:23 <harsz89> with -U
18:38:12 <aka_007> harsz89: doing it again with -U
18:41:40 <aka_007> harsz89: yaa it ran perfectly fine... :) what should I do next... ??
18:42:03 <harsz89> aka_007, okey then go inside to ur create module and run
18:42:06 <harsz89> omrs-run again
18:45:47 <aka_007> harsz89: running it inside the openmrs-core... it's taking time....
18:46:13 <harsz89> aka_007, oopz no needs to run it inside the core
18:46:23 <harsz89> aka_007, i mean you have before created a project
18:46:30 <harsz89> aka_007, using sdk
18:46:45 <harsz89> aka_007, go inside to that one and execute mvn clean install
18:46:51 <harsz89> aka_007, sorry
18:46:55 <harsz89> aka_007, omrs-run
18:47:25 <aka_007> harsz89: first I need to create a module(inside openmrs-core) and then I need to go inside that and run omrs-run, right??
18:48:03 <harsz89> aka_007, you not required to inside core
18:48:15 <harsz89> aka_007, any directory will be fine
18:48:23 <aka_007> harsz89: okae... doing it...
18:49:19 <aka_007> harsz89: but first I need to create the module(using the command "omrs-create-project") then I need to go inside it and run "omrs-run", right??
18:49:46 <harsz89> aka_007, omrs-create-module first and thn run
18:49:51 *** isaac__ has quit IRC
18:49:56 <harsz89> aka_007, if you have a already created one
18:50:05 <harsz89> aka_007, just go inside it and run
18:50:15 <aka_007> harsz89: yaa doing it...
18:50:35 <aka_007> the first line on running "omrs-run" was "Could not find a configuration for OpenMRS, do you want to create one? (y/n"
18:50:42 <aka_007> harsz89:
18:51:01 <aka_007> harsz89: same error .... [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project 1-api: Compilation failure: Compilation failure: [main] ERROR org.apache.maven.cli.MavenCli - /home/aka/Ubuntu One/gsoc/try/1/api/src/main/java/org/openmrs/module/1/test.java:[14,26] error: ';' expected
18:51:30 <harsz89> aka_007, this is a compilation failure
18:52:11 <aka_007> harsz89: what should I do now... ?? compilation failure as in?? packages found uninstalled or error in code.. ??
18:52:32 <harsz89> aka_007, /home/aka/Ubuntu One/gsoc/try/1/api/src/main/java/org/openmrs/module/1/test.java
18:52:45 <harsz89> aka_007, go to this file and see
18:53:40 <aka_007> harsz89: yaa I am currently viewing the file...
18:54:01 <harsz89> aka_007, may be you can just uncomment it and run
18:54:11 <harsz89> or delete it while having a backup and run
18:55:18 <aka_007> harsz89: but only english sentences are commented... no specific code is commented....
18:55:47 <harsz89> aka_007, nope i mean comment out whole file and try omrs-run
18:55:50 <harsz89> just to check
18:56:29 <aka_007> harsz89: okae on it...
18:58:09 <aka_007> harsz89: same error is coming .... no idea...
18:58:41 <harsz89> aka_007, same file ?
18:58:56 <harsz89> aka_007, can you try deleting it (have a backup)
18:59:07 <harsz89> aka_007, running sdk is not this much of hard
18:59:07 <aka_007> yaa okae...
18:59:15 <harsz89> aka_007, itz very simple
18:59:27 <harsz89> aka_007, something is went wrong with ur environment
18:59:37 <harsz89> aka_007, letz try this and see :)
18:59:50 <aka_007> harsz89: on it
19:00:11 <aka_007> harsz89: [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (deploy-to-server) on project openmrs-project-server: Unable to find artifact. Failure to find 1:1-omod:jar:1 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or
19:00:12 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
19:00:15 <aka_007> :( :(
19:01:21 <harsz89> aka_007, um not sure whether thses things has something to do with proxy
19:01:38 <harsz89> aka_007, do your proxy servers has a file download limit?
19:02:07 <aka_007> harsz89: no ... but my operating system has a download limit.... let me check on that....
19:02:21 <aka_007> harsz89: I am freeing up the space....
19:02:36 <harsz89> aka_007, if so it shuold be fine
19:04:52 <aka_007> harsz89: not much of use by it.... in between I saw these lines in some errors... : "[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project 1-api: Compilation failure: Compilation failure: [main] ERROR org.apache.maven.cli.MavenCli - /home/aka/Ubuntu One/gsoc/try/1/api/src/main/java/org/openmrs/module/1/test.java:[14,26] error: ';' e
19:05:13 <aka_007> harsz89: do I need to change something in test.java file.... it's showing it has some error...
19:05:42 <harsz89> aka_007, normal way you no need of changing anything
19:06:11 <aka_007> harsz89: why is this error coming... ?? :( :(
19:06:39 <harsz89> aka_007, may be something went wrong
19:07:00 <harsz89> aka_007, i cant figure it out whatz wrong there
19:07:22 <aka_007> harsz89: What should I reinstall to do the changes...
19:08:20 <harsz89> aka_007, i would say do a complete reinstall of sdk
19:08:53 <aka_007> harsz89: okay ... I am on it... I am following this link... https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Step1.DevelopmentEnvironmentCheck
19:09:53 <harsz89> aka_007, okey just try reinstalling
19:10:03 <harsz89> aka_007, delete all associate files
19:10:18 <aka_007> harsz89: by the way my java version is javac 1.7.0_51
19:10:25 <aka_007> harsz89: associated files like... ??
19:10:43 <harsz89> aka_007, java version is fine
19:11:02 <harsz89> aka_007, any file associate with the sdk
19:11:04 <harsz89> :)
19:11:37 <aka_007> harsz89: Do I need to copy the sdk installer file somewhre or I can run it from any directory... ??
19:12:01 <harsz89> aka_007, nope you can run in the same directory
19:12:35 <aka_007> harsz89: okay
19:13:22 <aka_007> harsz89: it's getting installed on /opt/omrssdk-1.0.7
19:13:36 <harsz89> install to diffrent place
19:13:46 <aka_007> harsz89: which place like
19:14:02 <harsz89> aka_007, anyplace in your home
19:14:08 <aka_007> harsz89: okay
19:16:31 <aka_007> harsz89: if I select home folder the default path becomes "/root/omrssdk-1.0.7"
19:17:13 <aka_007> harsz89: now "omrs-version" doesn't work... :(
19:17:43 *** Ch3ck_ has quit IRC
19:17:50 *** Ch3ck has joined #openmrs
19:18:20 <aka_007> harsz89: can't i install it in /opt/om.... path.. ??
19:19:12 <harsz89> aka_007, you can install it to your home folder directory
19:29:49 *** breeze_ has joined #openmrs
19:45:39 *** aka_007 has quit IRC
19:50:38 *** edison has quit IRC
19:59:00 *** aka_007 has joined #openmrs
20:01:20 *** aka_007 has joined #openmrs
20:01:39 *** aka_007 has left #openmrs
20:02:57 *** aka_007 has joined #openmrs
20:06:56 <jkeiper_> anyone ever run into a hibernate enum type error loading a module, but no problem running unit tests?
20:07:01 * jkeiper_ is stumped on this one
20:07:38 <jkeiper_> Context.loadClass() is failing on the enum type when loaded via Manage Modules in OpenMRS 1.8.4 ... but running context-sensitive unit tests, the HBM file is working
20:08:42 <jkeiper_> rafa, wluyima ... ever see this?
20:08:45 <aka_007> dkayiwa, hie..
20:08:56 <dkayiwa> aka_007: hi
20:09:19 <aka_007> dkayiwa, when I try to run the command "omrs-run" command on my system... I face an error...
20:09:23 <aka_007> starting from "Could not find a configuration for OpenMRS, do you want to create one? (y/n)"
20:09:32 <aka_007> [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project 1-api: Compilation failure: Compilation failure: [main] ERROR org.apache.maven.cli.MavenCli - /home/aka/Ubuntu One/gsoc/openmrs-core/1/api/src/main/java/org/openmrs/module/1/tryActivator.java:[14,26] error: ';' expected [main] ERROR org.apache.maven.cli.MavenCli - [main] ERROR org
20:10:17 <dkayiwa> aka_007: can you try developing without using the sdk? :)
20:12:21 <aka_007> dkayiwa, how... ?? can you give some link(web link) which can guide through it..??
20:14:21 <dkayiwa> aka_007: are you able to run openmrs from eclipse?
20:14:58 <aka_007> dkayiwa, didn't do it till now... I have eclipse installed on my system... How do I make openmrs run through it... ??
20:15:27 <dkayiwa> aka_007: have you cloned openmrs already?
20:15:37 <aka_007> dkayiwa, yaa... :)
20:15:55 <dkayiwa> aka_007: does mvn clean install work for you on command line?
20:16:03 <aka_007> dkayiwa, yaa
20:16:24 <dkayiwa> aka_007: does it run all the tests successfully?
20:16:53 <aka_007> dkayiwa, initially it did.... but after creating a module it is not working fine... but initially all tests are run successfully...
20:17:42 <dkayiwa> aka_007: i mean mvn clean install for openmrs-core not your module :)
20:18:01 <aka_007> yaa it's working fine for the core....
20:18:03 <aka_007> dkayiwa
20:19:17 <dkayiwa> aka_007: did you have a look at this page? https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+in+Eclipse
20:19:49 <dkayiwa> aka_007: look at the diagram under the section titled: How to Run Web Application
20:19:56 <aka_007> dkayiwa, no... on it...
20:20:01 <aka_007> dkayiwa, thanx... :)
20:20:30 <dkayiwa> aka_007: you do not have to read the entire page. just that section with the diagram showing you how to run
20:20:58 <aka_007> dkayiwa: okae
20:26:36 *** breeze_ has quit IRC
20:29:24 *** aka_007 has quit IRC
20:53:28 *** harsz89 has quit IRC
21:04:54 *** harsz89 has joined #openmrs
21:04:54 *** ChanServ sets mode: +v harsz89
21:38:12 <OpenMRSBot> Recent updates in the world of openmrsci: DIS-DIS-149 has FAILED (12 tests failed) : Updated by Mark Goodrich <https://ci-stg.openmrs.org/browse/DIS-DIS-149>
22:06:07 <willa> wluyima: https://www.irccloud.com/#!/ircs://irc.freenode.net:6697/%23openmrs-indy
22:06:10 <OpenMRSBot> <http://ln-s.net/AuLJ> (at www.irccloud.com)
22:09:38 *** cioan1 has joined #openmrs
22:09:38 *** cioan has quit IRC
22:11:04 <willa> wluyima: https://github.com/AMPATH/openmrs-module-drughistory
22:11:41 *** tash409 has joined #openmrs
22:38:27 *** tash409 has quit IRC
22:58:08 *** wluyima has left #openmrs
22:58:19 *** wluyima has joined #openmrs
22:58:25 *** wluyima has left #openmrs
22:58:39 *** wluyima has joined #openmrs
22:59:31 *** willa_ has joined #openmrs
23:00:25 <willa_> kdkald
23:01:59 *** wluyima has left #openmrs
23:02:26 *** wluyima has joined #openmrs
23:11:25 *** willa__ has joined #openmrs
23:13:11 *** willa_ has quit IRC
23:14:09 *** tash409 has joined #openmrs
23:16:43 *** dkayiwa has quit IRC
23:28:16 *** willa__ has quit IRC
23:41:38 *** wluyima has quit IRC