IRC Chat : 2012-04-15 - OpenMRS

00:19:32 *** rohitgoyal18 has joined #openmrs
01:50:52 *** gauravpaliwal has joined #openmrs
01:50:52 *** ChanServ sets mode: +v gauravpaliwal
02:27:27 *** chopin has joined #openmrs
02:27:27 *** chopin_ has joined #openmrs
02:28:08 <chopin_> anyone ever try to access one module's service from another module's context sensitive tests?
02:51:41 *** chopin_ has quit IRC
02:51:44 *** chopin has quit IRC
04:04:49 *** dmexs has quit IRC
04:14:41 *** gauravpaliwal has left #openmrs
05:04:45 *** kavuri has joined #openmrs
05:05:23 <kavuri> hi, is there any REST API method to login to openmrs?
05:05:57 <kavuri> I downloaded the sample REST client 'wsclient', but the login method is dummy and does nothing
05:10:18 *** djazayeri1 has joined #openmrs
05:12:38 *** djazayeri has quit IRC
05:31:55 *** rohitgoyal18 has quit IRC
05:42:06 *** djazayeri1 has quit IRC
05:58:46 *** dkayiwa has joined #openmrs
06:12:23 *** nadee has joined #openmrs
06:31:52 *** nadee has quit IRC
06:37:00 *** Rahul has joined #openmrs
06:37:18 <Rahul> hi all !
06:48:43 *** Rahul has quit IRC
07:04:54 *** dkayiwa has quit IRC
07:11:22 *** dkayiwa has joined #openmrs
07:12:14 *** kavuri has quit IRC
07:21:49 *** bryq has joined #openmrs
07:21:49 *** ChanServ sets mode: +v bryq
07:26:00 *** bryq1 has joined #openmrs
07:27:55 *** bryq has quit IRC
07:29:08 *** kavuri has joined #openmrs
07:47:14 *** kavuri has quit IRC
08:58:11 *** kavuri has joined #openmrs
09:11:55 *** bryq1 has quit IRC
09:17:02 *** nadee has joined #openmrs
09:18:57 <nadee> hi devs, can I please know if this is the place I should checkout htmlwidgets from?
09:19:04 <nadee> https://svn.openmrs.org/openmrs-modules/htmlwidgets/
09:19:28 <nadee> the build.xml is found, but ant run fails
09:20:33 <dkayiwa> nadee: yes
09:23:16 <nadee> dkayiwa: thanks! ant tells me failed to create task or type.. any changes I should need to make to the build.xml please?
09:23:42 <nadee> for other modules I run the ant build nicely
09:23:59 <dkayiwa> nadee: you should make no changes to the build.xml file.
09:24:17 <dkayiwa> nadee: can you pastebin.com the error log?
09:24:44 *** kavuri has quit IRC
09:27:01 <nadee> dkayiwa: there no big error log though... the usual frank complain, let me paste here
09:27:15 <nadee> Problem: failed to create task or type for Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place.
09:41:58 <nadee> dkayiwa: soo.. what could be a cause daniel?
09:42:14 <nadee> if i need to pastebin, here it is http://pastebin.com/nP3fKfW2
09:43:24 <dkayiwa> nadee: are you running the build file from eclipse?
09:43:37 <nadee> nop, on commandline
09:43:44 <nadee> just ant
09:44:00 <dkayiwa> nadee: does it work when run from eclipse?
09:44:17 <nadee> im not an eclipse user though..
09:44:30 <dkayiwa> nadee: which IDE do u use?
09:44:34 <nadee> idea
09:44:50 <dkayiwa> nadee: ok does it work from there?
09:45:23 <nadee> hmm.. lets see, I've never used the ide for ant, let me check
09:47:45 <dkayiwa> nadee: which version of ant are you running?
09:47:58 <nadee> 1.8.3
09:48:03 <nadee> too new?
09:48:22 <dkayiwa> nadee: i have used lower versions
09:48:56 <nadee> it worked for other openmrs modules though
09:51:06 <dkayiwa> nadee: do you have openmrs 1.5 checked out?
09:51:35 <dkayiwa> nadee: openmrs-1.5.x
09:52:03 <nadee> u mean the trunk?
09:52:12 <dkayiwa> nadee: no
09:52:21 <dkayiwa> nadee: the 1.5.x branch
09:52:30 <nadee> ahh.. nop..
09:52:37 <nadee> im on trunk
09:52:40 <nadee> 1.10
09:52:56 <dkayiwa> nadee: just checkout 1.5.x also
09:53:06 <dkayiwa> nadee: and i think that should fix your problem
09:53:19 <nadee> sure.. so what should the cause be?
09:53:38 <nadee> missing a jar that is only on the 1.5.x branch?
09:53:40 <dkayiwa> nadee: i just looked in the build.xml file
09:53:56 <dkayiwa> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="../openmrs-1.5.x/lib/ant-contrib/ant-contrib-1.0b2.jar"/>
09:55:24 <nadee> ah.. i see
09:55:37 <nadee> thanks daniel, i ll try
09:55:45 <dkayiwa> nadee: 8)
10:10:48 *** kavuri has joined #openmrs
10:19:13 *** kavuri has quit IRC
10:20:51 *** nadee has quit IRC
11:26:23 *** chopin has joined #openmrs
11:26:23 *** chopin_ has joined #openmrs
11:45:33 *** dkayiwa has left #openmrs
11:49:24 *** Rahul has joined #openmrs
11:55:27 *** bryq has joined #openmrs
11:55:27 *** ChanServ sets mode: +v bryq
11:57:16 *** chopin_ has quit IRC
11:58:22 *** chopin has quit IRC
12:00:06 *** bryq has quit IRC
12:26:45 *** chopin has joined #openmrs
12:26:47 *** chopin_ has joined #openmrs
13:05:52 *** dkayiwa has joined #openmrs
13:13:16 *** chopin_ has quit IRC
13:14:50 *** chopin has quit IRC
13:32:17 *** dkayiwa has quit IRC
13:38:39 *** mathiaslin has joined #openmrs
14:17:50 *** dmexs has joined #openmrs
15:39:50 *** pulasthi7 has joined #openmrs
15:40:49 *** rohitgoyal18 has joined #openmrs
15:48:35 *** karesh has joined #openmrs
15:57:43 *** karesh has quit IRC
16:00:26 *** pulasthi7 has quit IRC
16:49:08 *** djazayeri has joined #openmrs
16:49:08 *** ChanServ sets mode: +o djazayeri
16:54:42 *** dkayiwa has joined #openmrs
16:58:51 *** Rahul has quit IRC
17:06:20 *** dkayiwa has left #openmrs
17:16:03 *** mathiaslin has quit IRC
17:40:49 *** rohitgoyal18 has quit IRC
17:46:43 *** wyclif has quit IRC
18:16:48 *** r6friedman has joined #openmrs
18:16:56 *** r6friedman is now known as r_friedman
18:17:20 <r_friedman> hi bwolfe hi djazayeri
18:17:33 <djazayeri> hi
18:17:50 <r_friedman> hi darius, how do i find out what's the latest version of stuff in the maven repo?
18:18:22 <djazayeri> r_friedman: what do you mean exactly, and your local repo or the openmrs one?
18:18:29 <r_friedman> the openmrs one
18:19:20 <djazayeri> r_friedman: you can browse here: http://mavenrepo.openmrs.org/nexus/content/repositories/public
18:19:21 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
18:19:31 <r_friedman> djazayeri: tks will try
18:20:58 <r_friedman> djazayeri: i don't see any of our own stuff -- openmrs branches, modules
18:21:40 <djazayeri> r_friedman: look under org/openmrs
18:25:55 <r_friedman> djazayeri: ok, but I don't see webservices.rest under org/openmrs/modules
18:26:04 <r_friedman> or module
18:26:30 <djazayeri> r_friedman: we may not have put that in maven yet
18:28:24 *** bryq has joined #openmrs
18:28:24 *** ChanServ sets mode: +v bryq
18:29:00 <r_friedman> djazayeri: so if i've built 0.9 snapshot in my workspace and that's what's specified in my POM, it should use the workspace version?
18:29:30 <djazayeri> r_friedman: you need to specify 0.9-SNAPSHOT in your pom, and yes, it should find that in your workspace
18:29:40 <djazayeri> assuming you've done mvn install on restws
18:30:24 <r_friedman> djazayeri: assuming mvn install is same is eclipse maven clean install, yes
18:30:31 <djazayeri> it is
18:30:47 <djazayeri> r_friedman: eclipse has a maven repository browsing view
18:30:55 <djazayeri> to verify it's there, if you wnt
18:31:06 <r_friedman> djazayeri: oh yes, tks for reminding me
18:33:16 *** bryq has quit IRC
18:37:21 <r_friedman> djazayeri: ok, it can't resolve omod:test -- i think i need those mods to the webservices.rest pom again you gave me the other day
18:37:56 <r_friedman> djazayeri: i got a fresh copy of webservices.rest, guess they're not in it
18:38:02 <djazayeri> r_friedman: oh, right
19:09:32 *** bryq has joined #openmrs
19:09:32 *** ChanServ sets mode: +v bryq
19:29:47 *** nadee has joined #openmrs
19:30:46 <djazayeri> nadee: I suggest you try out the reporting module against the latest stable OpenMRS line, 1.8.x
19:31:30 <djazayeri> nadee: not sure what your internet connection is like, but you could check out the 1.8.x branch from svn, or download the latest 1.8 standalone from openmrs.org
19:32:01 <nadee> djazayeri: great, I'll try with either of them then
19:32:12 <nadee> thanks!
19:32:36 <djazayeri> nadee: are you using java 6 or java 7?
19:32:45 <nadee> java 6
19:33:38 <nadee> djazayeri: btw, the issue is that im on trunk, is it?
19:34:12 <djazayeri> nadee: I'm not sure, I'm googling your error message now
19:34:47 <nadee> okey, i'll try the branch
19:35:04 <djazayeri> the only relevant thing I see is TRUNK-586, which was fixed in OpenMRS 1.5
19:36:05 <djazayeri> nadee: so, you should try against 1.8.x _anyway_ and maybe that will resolve the issue.
19:36:30 <nadee> sure, im downloading im now :)
19:40:04 <djazayeri> nadee: also in the current UI for reporting, that thing is labeled "Simple Patient Dataset" (Row-Per-Patient is something else...)
19:40:23 <djazayeri> I don't know what the wording is in 0.7.1.1
19:41:46 <nadee> 0.7.1.1 is what the UI pointed me to, when browsing for the module through the webapp
19:42:04 <nadee> i'll check anyways
19:44:22 *** bryq has quit IRC
19:46:40 *** inane has joined #openmrs
19:46:46 <inane> 'evening
19:46:51 <inane> make that 'morning
20:08:57 <nadee> djazayeri: i checked out source for 1.8.x, btw its having reporting compatibility as well installed, along with reporting. will that be fine?
20:09:13 <djazayeri> nadee: yeah, it doesn't break
20:11:55 <nadee> djazayeri: cool, but its not giving me an option to manage report definitions and pick dataset def, as the wiki says, so would be great if you can point me to a starting point
20:12:35 <djazayeri> nadee: you sure the reporting module is started?
20:12:47 <djazayeri> there should be a Manage Report Definitions heading on the admin page
20:12:56 <djazayeri> (there may be two with very similar names)
20:13:10 <nadee> its started, yes
20:13:22 <nadee> Reports Run Reports Manage Reports Manage Report Macros Manage Data Exports Manage Row Per Obs Data Exports Manage Cohorts Manage Patient Searches Manage Report Elements
20:14:39 *** dkayiwa has joined #openmrs
20:17:38 <djazayeri> nadee: to make things less confusing, you could stop the reportingcompatibility module
20:17:52 <djazayeri> it provides an admin category that is easily confused with the one in the reporting module
20:18:17 <nadee> djazayeri: alright, ill do
20:21:24 <nadee> djazayeri: that gave me the option to access dataset def, getting things done
20:21:28 <nadee> :) thanks
20:37:01 *** inane has quit IRC
21:07:55 <r_friedman> djazayeri: is there someplace I can get those pom edits?
21:08:11 <djazayeri> r_friedman: you're the one who made them. :-)
21:08:32 <r_friedman> djazayeri: don't understand
21:08:33 <djazayeri> I just pointed you to look at htmlformentry in git
21:08:57 <r_friedman> ok, what's the tag?
21:09:29 <djazayeri> r_friedman: if you look at the pom.xmls in the master branch of htmlformenry on github
21:09:33 <djazayeri> it should be there
21:09:48 *** dkayiwa has quit IRC
21:10:43 <djazayeri> something about test-jar or test-jars
21:34:36 *** nadee has quit IRC
21:35:42 * r_friedman is checking his connection
21:39:01 <r_friedman> djazayeri: darius, the test jar is being created but it's not in my local repo
23:29:20 *** djazayeri1 has joined #openmrs
23:30:26 *** djazayeri has quit IRC
23:30:32 *** djazayeri1 is now known as djazayeri
23:30:32 *** ChanServ sets mode: +o djazayeri