IRC Chat : 2010-11-22 - OpenMRS

00:00:43 *** misha680 has quit IRC
00:02:44 *** gbastien has quit IRC
00:07:47 <abbas_hachem> thanks!
00:17:17 <robbyoconnor> no problem dude :)
00:18:19 *** gbastien_ has quit IRC
00:48:41 *** fixl has joined #openmrs
01:24:39 *** misha680 has joined #openmrs
01:47:28 *** pascal` has quit IRC
01:52:13 <deadpool> bwolfe: is the trunk build still a problem?
01:52:23 *** pascal` has joined #openmrs
01:52:30 <bwolfe> deadpool: what do you mean/
01:55:44 <deadpool> bwolfe: i checked the new trunk and built it but still getting a problem with deploying it
01:57:28 *** abbas_hachem has left #openmrs
01:57:32 <deadpool> bwolfe: or is it something i am doing
02:06:48 <robbyoconnor> bwolfe: you know what would be handy to have: a survey module
02:06:49 <robbyoconnor> =)
02:15:18 <bwolfe> robbyoconnor: what do you mean?
02:15:41 <bwolfe> deadpool: did you stop jetty as abbas said early? then do the "mvn clean install jetty:run"
02:18:12 <deadpool> yes
02:18:30 <deadpool> bwolfe: yes
02:19:19 <bwolfe> deadpool: hmm
02:19:25 <bwolfe> did you do mvn clean in the webapp dir?
02:19:34 <bwolfe> maybe you need to do mvn clean install in the root dir
02:19:41 <bwolfe> then do mvn jetty:run in the webapp dir
02:19:41 <deadpool> bwolfe: yes using the pom.xml right
02:20:10 <bwolfe> (because HtmlIncludeTag.java is in the web 'maven module')
02:21:43 <robbyoconnor> bwolfe: nevermind actually
02:23:27 <deadpool> bwolfe: is there a way to stop jetty in eclipse?
02:24:03 <bwolfe> hit the red square 'stop' button in the console for it
02:24:21 <bwolfe> I like running it from command line. :-)
02:24:59 <bwolfe> but then occasionally have to kill jetty with this command: pkill -9 -f jetty:run
02:29:12 <deadpool> so i get a successful build and it says it is deployed and go to localhost:8080 and when i do i still get the same error about the headerMinimal.jsp
02:50:31 <deadpool> bwolfe: should i revert to an older version?
02:51:17 <bwolfe> deadpool: thats perplexing
02:51:41 <bwolfe> deadpool: yeah, you can revert to one from a week ago...or whenever I did that commit
02:53:00 <deadpool> bwolfe: just to let you know for some reason when installed eclipse with maven and extras when i tried to use the checkout with scm for some reason it wouldn't let me select svn it was greyed out and when i went to see what the problem was people said that the maven extras weren't installed but that doesn't make sense because i did install them
02:53:15 <deadpool> so instead i just checked out with svn and did an import
02:53:28 <bwolfe> that shouldn't matter
02:53:35 <bwolfe> but I'm not sure why that happened
02:54:46 <deadpool> allright i will revert for one week ago and let you know how that goes
02:55:09 <bwolfe> deadpool: wait
02:55:17 <bwolfe> you can try mvn jetty:run-war
02:55:36 <bwolfe> it won't let you auto-refresh jsp files, but might actually run for you :-)
02:57:01 <deadpool> hmmm too late i just reverted sorry
02:58:36 <deadpool> bwolfe: thanks for your help though
03:13:36 <deadpool> bwolfe: still happens when i revert so there is something wrong on my machine
03:13:54 <deadpool> but i don't understand what though
03:14:21 <bwolfe> deadpool: what did you revert to?
03:14:24 <bwolfe> what revision?
03:15:37 <deadpool> i reverted to 16439
03:16:16 <bwolfe> ok, yeah, that should have worked
03:16:36 <bwolfe> but again, you might need to do a clean at hte root dir to get things back to how they were
03:16:36 <deadpool> could mint 10 be a problem?
03:16:41 <bwolfe> nah
03:16:51 <bwolfe> deadpool: right after I made the change I was getting a similar error
03:16:54 <deadpool> you mean delete and then download the trung?
03:17:10 <deadpool> so something that was there originally is there
03:17:18 <bwolfe> but I figured it was my cache...and I remember fighting with it a bit, and I think all I did was clean install in the root dir
03:17:25 <bwolfe> OR maybe I did the clean in the web dir
03:17:35 <deadpool> in jetty?
03:18:10 <bwolfe> with maven
03:18:22 <deadpool> ah ok
03:20:36 <deadpool> and then rebuild from the webapp
03:21:16 <deadpool> did a maven clean at the root and the web directory and still get the same error messages
03:26:30 <deadpool> argh so frustrating
03:31:24 *** upul` has joined #openmrs
03:31:24 *** ChanServ sets mode: +v upul`
04:04:25 *** wyclif has quit IRC
04:11:19 *** wyclif has joined #openmrs
04:22:38 *** bwolfe has quit IRC
05:43:23 *** pascal` has quit IRC
05:59:32 *** deadpool has quit IRC
06:21:46 *** diptanuc has joined #openmrs
06:31:40 *** diptanuc has quit IRC
06:33:51 *** diptanuc has joined #openmrs
06:41:56 *** diptanuc has quit IRC
06:45:11 *** pascal` has joined #openmrs
07:10:22 *** robota has joined #openmrs
07:16:11 *** diptanuc has joined #openmrs
08:06:01 *** diptanuc1 has joined #openmrs
08:08:28 *** diptanuc has quit IRC
08:19:26 *** upul` has quit IRC
09:33:03 *** samson1 has joined #openmrs
11:02:11 *** robota has quit IRC
11:05:11 *** robota has joined #openmrs
11:10:41 *** deadpool has joined #openmrs
11:16:12 *** deadpool has quit IRC
11:27:28 *** deadpool has joined #openmrs
11:29:22 *** fixl has quit IRC
11:29:22 *** samson1 has quit IRC
11:29:53 *** Hazamonzo has joined #openmrs
11:32:35 *** fixl has joined #openmrs
11:39:52 *** fixl has quit IRC
11:48:46 *** fixl has joined #openmrs
12:27:38 *** robota has quit IRC
13:10:35 *** bwolfe has joined #openmrs
13:10:35 *** ChanServ sets mode: +o bwolfe
13:28:10 *** fixl has quit IRC
13:50:50 *** wyclif has quit IRC
14:04:33 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: HTML form entry error <http://forum.openmrs.org/viewtopic.php?f=23&t=713#p2688>
14:18:16 *** upul` has joined #openmrs
14:18:16 *** ChanServ sets mode: +v upul`
14:19:52 *** robota has joined #openmrs
14:22:37 *** wyclif has joined #openmrs
14:23:35 *** upul`` has joined #openmrs
14:23:35 *** upul`` has quit IRC
14:23:35 *** upul`` has joined #openmrs
14:23:35 *** ChanServ sets mode: +v upul``
14:25:46 *** upul` has quit IRC
14:25:55 *** upul`` is now known as upul`
14:32:50 <upul`> hey bwolfe
14:37:13 *** robota has quit IRC
14:45:39 *** pascal` has quit IRC
14:47:16 *** diptanuc1 has quit IRC
14:47:56 <bwolfe> hi upul`
15:20:31 *** pascal` has joined #openmrs
15:20:33 *** muthah has quit IRC
15:26:13 *** upul` has quit IRC
15:30:46 *** diptanuc has joined #openmrs
15:31:51 <diptanuc> Ben are you around?
15:32:13 *** pascal` has quit IRC
16:11:06 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS 1.6.x #16644: [Mark Goodrich] Added localization for "format" attribute of FormatDate tag: TRUNK-1866 <http://feedproxy.google.com/~r/OMRStrunk/~3/eywYLpuFIJo/> || New Changeset: OpenMRS 1.7.x #16643: [Mark Goodrich] Added localization for "format" attribute of FormatDate tag: TRUNK-1866 <http://feedproxy.google.com/~r/OMRStrunk/~3/chwtGuPtI_4/> || New Changeset: OpenMRS trunk #16642: [Mark Goodrich] Added localization for "format" attribute of FormatDate tag: TRUNK-1866 <http://feedproxy.google.com/~r/OMRStrunk/~3/IqVREx9PlU8/>
16:19:42 *** upul` has joined #openmrs
16:19:42 *** upul` has quit IRC
16:19:42 *** upul` has joined #openmrs
16:19:42 *** ChanServ sets mode: +v upul`
16:21:33 *** upul` has quit IRC
17:07:47 *** wyclif has quit IRC
17:20:40 *** wyclif has joined #openmrs
17:27:15 *** misha680 has quit IRC
17:37:55 <bwolfe> diptanuc: I am around now, for 2.5 seconds. ;-). I'll be back on in about 25 mins. hang tight!
17:41:32 <diptanuc> ok Ben!
17:42:31 *** bwolfe has quit IRC
17:56:29 *** bwolfe has joined #openmrs
17:56:29 *** ChanServ sets mode: +o bwolfe
18:02:29 *** pascal` has joined #openmrs
18:04:01 <bwolfe> diptanuc: still have questions?
18:04:05 <diptanuc> Yeah
18:04:37 <diptanuc> I was wondering if I should raise a ticket to have a add new patients API to the WS module
18:05:20 <diptanuc> But i thought it would be good, if some one like you could actually do some analysis about what needs to be done and than I could jump straight into coding
18:05:46 <diptanuc> I work for ThoughtWorks, so even if I am busy with something, someone else can take the task up!
18:05:48 <diptanuc> :)
18:06:12 <diptanuc> We have a few people working on OpenMRS here!
18:08:55 <diptanuc> I started working on it today based on what I thought needs to be done, I can submit a patch tomorrow. Should I go ahead and raise a ticket for this?
18:13:10 <bwolfe> diptanuc: there are a lot of things we want to do with web services.
18:13:18 <bwolfe> but most involve rewriting them. :-)
18:13:34 <bwolfe> how would you feel about making some example objects + a few service methods?
18:14:07 <diptanuc> Sure, I can do that
18:14:52 <bwolfe> diptanuc: let me did up the wiki page. :-)
18:15:12 <diptanuc> Sure Ben
18:16:48 <bwolfe> http://wiki.openmrs.org/display/docs/Enhanced+Web+services
18:16:57 <OpenMRSBot> <http://ln-s.net/8+xV> (at wiki.openmrs.org)
18:17:23 <bwolfe> the orig webservices module was written by someone else and we don't totally agree with the datamodel
18:17:32 <bwolfe> but we're not sure what we want the model to be. :-)
18:17:49 <bwolfe> so we'd love to have that DTO object and a few methods written out so we can see it and play with it a little
18:20:18 <diptanuc> i see
18:22:24 *** diptanuc has quit IRC
18:22:47 *** diptanuc has joined #openmrs
18:23:19 <diptanuc> So what do you think is the first step?
18:33:33 *** misha680 has joined #openmrs
18:45:11 *** bwolfe_ has joined #openmrs
18:45:11 *** ChanServ sets mode: +o bwolfe_
18:45:18 *** bwolfe has quit IRC
18:45:21 *** bwolfe_ is now known as bwolfe
18:45:38 <bwolfe> diptanuc: hmm, well, first step would be for me to make a ticket I suppose. :-)
18:46:07 <bwolfe> we'd need to branch the webservices module and then make the DTO and EncounterWebService with a few methods
18:54:52 *** deadpool has quit IRC
19:21:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: HTML form entry error <http://forum.openmrs.org/viewtopic.php?f=23&t=713#p2689>
19:23:22 *** wyclif has quit IRC
19:35:58 *** wyclif has joined #openmrs
19:40:19 *** deadpool has joined #openmrs
20:08:03 <deadpool> bwolfe: so i did a completely new install again and i am still getting the same error about the headerMinimal.jsp with the newest checkout and all
20:08:15 <bwolfe> argh!
20:08:25 <bwolfe> it has to be a cached thing in your maven repo
20:08:44 <bwolfe> how can you refresh/rebuild what is in there for the openmrs web api jar ?
20:08:59 <bwolfe> I thought mvn clean and then mvn install did it...but perhaps something else?
20:10:04 <deadpool> well i thought so to so i took a clean computer and did a fresh install of linux downloaded eclispse and maven and checked out and then built it and i get the same error
20:10:41 <bwolfe> ha, hmm, well then...
20:10:57 * bwolfe looks again at the code
20:12:14 <bwolfe> deadpool: whats the full error again?
20:14:52 <bwolfe> deadpool: try changing the HtmlIncludeTag to be capital B Boolean instead of boolean for all the appendLocale vars.
20:14:57 <bwolfe> other than that, I have no ideas. :-/
20:16:35 <deadpool> bwolfe: this is the error http://pastie.org/1318276
20:17:04 <deadpool> what directory is the HtmlIncludeTag in?
20:17:23 <bwolfe> deadpool: use control-shift-t in eclipse
20:18:29 <deadpool> umm i don't see where to change the boolean
20:19:26 <bwolfe> look for appendLocale
20:19:29 <bwolfe> do you see it?
20:19:33 <deadpool> yeah i do thanks
20:21:04 <deadpool> bwolfe: nope that didn't help get the same error
20:22:04 <bwolfe> hmm
20:22:36 <bwolfe> how about making it a string (in the methods only) and doing Boolean.getBoolean() in the setter?
20:25:43 <deadpool> is anyone else getting the error i am getting?
20:30:13 <deadpool> allright changed it to a string and did the Boolean.getBoolean() still getting the same error
20:31:28 <deadpool> bwolfe: could it be that somehow setAppendlocale is not getting called when set in headerMinimal.jsp?
20:33:59 <bwolfe> deadpool: I'm running latest trunk and not getting the error. I DID see the error at one point though, so I know its fixable
20:34:06 <bwolfe> I just wish my memory was better :-(
20:35:41 <bwolfe> deadpool: do a mvn -U jetty:run
20:35:47 <bwolfe> the -U is for "update snapshots"
20:35:55 <deadpool> hunh but if it was fixed and i downloaded the latest trunk today it shouldn't be a problem
20:36:18 <bwolfe> when I fixed it for me it wasn't a code issue, it was a maven/jetty/cleanup issue
20:38:23 <deadpool> how do i run the mvn -U in eclipse?
20:40:16 <bwolfe> in the maven run dialogs you can click the box next to "update snapshots"
20:41:55 <deadpool> all right did that and i still get the same error
20:42:13 <deadpool> could it be because of eclipse galileo and instead of helios
20:46:16 *** diptanuc has quit IRC
20:49:07 *** pascal` has quit IRC
20:58:13 <deadpool> bwolfe: any ideas on what i should do?
20:59:09 <bwolfe> hmm
20:59:20 <bwolfe> I'm using galileo...
21:00:53 <deadpool> could it be because i upgraded to mint 10?
21:01:27 <bwolfe> deadpool: doubtful, I'm using ubuntu 10.10
21:02:02 <deadpool> and today cause i thought i did something wrong i installed a cleaned version and downloaded everything fresh
21:02:59 <deadpool> argh!!! so frustrating
21:27:08 *** deadpool has quit IRC
21:27:37 *** deadpool has joined #openmrs
21:29:55 <bwolfe> deadpool: use the command line and see if you can do it
21:30:08 <bwolfe> go to the root dir and do mvn -U
21:30:12 <bwolfe> and then mvn -U in the web dir
21:30:19 <bwolfe> and then mvn jetty:run in the webapp dir
21:30:25 <bwolfe> (might have to do mvn -U package)
21:32:55 <deadpool> downloading maven now
21:33:28 *** gbastien has joined #openmrs
21:39:14 <deadpool> bwolfe: getting a build failure when i do mvn -U in the root dirctory
21:40:12 <bwolfe> deadpool: whats the error msg?
21:41:12 <deadpool> bwolfe neverming i kept on saying build do you want me to do mvn -U install?
21:41:59 <bwolfe> sure
21:42:03 <bwolfe> or package
21:42:05 <bwolfe> mvn -U package
21:47:30 *** wyclif has quit IRC
21:49:45 *** bwolfe has quit IRC
21:56:08 <deadpool> bwolfe: allright i did get a succesful build when i did it in the root directory but when i went to the web directory i got an error it says: Unable to find resource 'org.openmrs.test:openmrs-test:pom:1.8.0-SNAPSHOT' in repository openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public
21:56:11 <OpenMRSBot> <http://ln-s.net/8-2X> (at mavenrepo.openmrs.org)
22:13:15 *** bwolfe has joined #openmrs
22:13:15 *** ChanServ sets mode: +o bwolfe
22:14:54 <deadpool> bwolfe: good news it worked
22:15:12 <deadpool> i got it running to the terminal window
22:16:33 <bwolfe> woot!
22:17:11 <bwolfe> now if you remember exactly which step it was that caused it, I would urge a note to the dev list about the error message and the fix!
22:17:30 <deadpool> well now i am kinda hesitant to go and use eclipse
22:18:13 <deadpool> all i did was mvn -U clean and then did the mvn -U package in the root directory and then mvn jetty:run in the webapp directory
22:19:31 <deadpool> bwolfe: thanks for your help
22:20:24 <bwolfe> deadpool: eclipse uses the same mvn repo as the mvn you downloaded
22:22:16 <deadpool> yeah but why was it not working for eclipse that perplexes me
22:29:14 <deadpool> hmmm i do remember when doing a build some of the maven repo were saying they couldn't verify the chksum
22:47:38 *** gbastien has quit IRC
23:00:31 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16647: [Wyclif Luyima] Add methods to the API to support batch look up, updates search widget and converted patient search on the 'manage patients' page - TRUNK-1862 <http://feedproxy.google.com/~r/OMRStrunk/~3/OJG9vgtouqw/>