IRC Chat : 2011-03-28 - OpenMRS

00:57:16 *** gauravpaliwal has joined #openmrs
01:11:28 *** dkayiwa has joined #openmrs
01:16:04 *** efes has quit IRC
01:17:04 *** suho has joined #openmrs
01:17:57 <suho> hi bwolfe
01:40:31 *** jwmajors81 has joined #openmrs
01:40:41 <jwmajors81> good evening everyone
01:42:13 <jwmajors81> I'm trying to run ForgotPasswordFormControllerTest and am getting an error stating the following: [applicationContext-service.xml] cannot be opened because it does not exist
01:42:44 <jwmajors81> I just checked out all of the code using maven and am not sure if there is any additional setup required
01:51:36 *** jwmajors81 has quit IRC
01:51:37 *** gauravpaliwal has quit IRC
01:51:41 *** gauravpaliwal has joined #openmrs
02:22:25 *** bwolfe has quit IRC
02:25:48 *** dkayiwa has left #openmrs
02:28:00 *** bwolfe has joined #openmrs
02:28:00 *** ChanServ sets mode: +o bwolfe
02:28:00 *** OpenMRSBot sets mode: +o bwolfe
02:44:23 *** suho has quit IRC
02:59:10 *** gauravpaliwal has left #openmrs
03:03:03 *** gbastien has quit IRC
03:07:27 <arthursribeiro> Hi bwolfe there are two GSoC 2011 proposals in Open MRS's wiki that you can be mentor in this year's gsoc edition, I think I'm able to do work in both proposals because I have a good knowledge of Java and JSP, the only thing I'm not an expert but I'm studying to understand is creating Open MRS modules. Which one of the proposals (Universal Search Box and General Feedback Mechanism) do you think has higher priority in community context? I'd reall
03:07:27 <arthursribeiro> y enjoy to participate of GSoC on Open MRS community and help more this organization, what do you recommend me to do?
03:09:05 <bwolfe> you can apply to both
03:09:17 <bwolfe> and both need modules, so you can start by making your own
03:09:24 <bwolfe> find the wiki page about "creating my first module"
03:09:30 <bwolfe> !bwolfesays
03:09:30 <OpenMRSBot> bwolfe: "bwolfesays" --- FYI to all potential GSoC Applicants: OpenMRS welcomes multiple applications for multiple projects within openmrs. Actually, we encourage it! Sometimes we get quality students only applying to a low priority project. So pick a few projects that interest you, apply to all of them, and put comments in them saying which other ones you've applied to
03:09:36 <bwolfe> !bwolfealsosays
03:09:36 <OpenMRSBot> bwolfe: "bwolfealsosays" --- To greatly increase your chances of getting accepted by openmrs you should demonstrate your knowledge/skills in both java and potentially openmrs. The best way to do that is to finish a few small tickets. Type !trivialtickets and !introtickets for links to some that we have defined.
03:11:36 <arthursribeiro> thanks bwolfe I'll try to do both things...
03:14:43 *** bwolfe has quit IRC
03:28:18 *** arthur_sribeiro has joined #openmrs
03:28:51 *** arthursribeiro has quit IRC
03:30:29 *** bwolfe has joined #openmrs
03:30:29 *** ChanServ sets mode: +o bwolfe
03:31:53 *** upul` has joined #openmrs
03:31:53 *** ChanServ sets mode: +v upul`
03:37:30 *** arthur_sribeiro is now known as arthursribeiro
03:50:42 *** pulasthi has joined #openmrs
04:04:25 *** bwolfe has quit IRC
04:21:13 *** jr has joined #openmrs
04:21:27 *** jr is now known as tenaj
04:22:19 *** tenaj_ has joined #openmrs
04:22:41 <tenaj_> Hello
04:23:43 <tenaj_> I have a really basic question about demo.openmrs.org . How do I start an encounter?
04:24:10 <tenaj_> I found a patient (searched on John, clicked 9076AM-1 ). I clicked on the Form Entry tab of the patient dashboard.
04:24:49 <tenaj_> In the Enter Form block, I typed AMPATH , and checked Include Retired. It tells me there is no matching record.
04:25:11 <tenaj_> In Adminstrator / Manage Forms, I see there are three forms that start with AMPATH. They're published.
04:25:13 <tenaj_> What am I missing?
04:25:54 <tenaj_> I also tried searching for the full name of one form, and for the type ADULTRETURN .
04:49:04 *** light_ has joined #openmrs
04:50:04 <light_> which os do openmrs developers use windows or Linux ?
04:54:51 *** light_ has quit IRC
05:05:28 *** gauthami has joined #openmrs
05:06:23 <gauthami> hi all
05:33:26 *** pulasthi has left #openmrs
05:40:35 *** arthursribeiro has quit IRC
05:48:06 *** gauthami has quit IRC
05:52:48 *** sid has joined #openmrs
05:53:17 <sid> Darius Jazayeri ?
05:54:03 <sid> hello.!
05:54:22 <sid> THER?
05:55:50 <sid> IS ANY ONE THER?
06:00:12 *** sid has quit IRC
06:00:21 <robbyoconnor> sid: come by in 6-7 hrs
06:00:26 <robbyoconnor> er too late
06:10:11 *** mjohnst has quit IRC
06:42:13 *** tenaj_ has left #openmrs
07:12:18 *** pascal` has joined #openmrs
07:16:50 *** upul` has quit IRC
07:36:52 *** rafa has joined #openmrs
07:36:52 *** ChanServ sets mode: +v rafa
07:46:18 *** tenaj_ has joined #openmrs
07:51:08 *** rafa has quit IRC
08:12:56 *** rafa has joined #openmrs
08:12:56 *** ChanServ sets mode: +v rafa
08:28:31 *** pascal` has quit IRC
08:36:06 *** rafa has quit IRC
09:37:42 *** rafa has joined #openmrs
09:37:42 *** ChanServ sets mode: +v rafa
10:31:28 *** tenaj_ has quit IRC
11:26:08 *** cek has joined #openmrs
11:27:17 <cek> which OS is used by OpenMRS developers , Windows or Linux ?
11:30:57 *** rafa has quit IRC
11:44:10 *** arthursribeiro has joined #openmrs
11:45:17 *** rafa has joined #openmrs
11:45:17 *** ChanServ sets mode: +v rafa
11:47:18 *** kasun has joined #openmrs
11:50:15 *** aja has joined #openmrs
11:59:31 *** gbastien has joined #openmrs
12:02:22 *** Chaitalishah has joined #openmrs
12:02:50 *** cek has quit IRC
12:07:57 <Chaitalishah> hello rafa
12:08:25 <rafa> Chaitalishah: Hi
12:09:07 <Chaitalishah> rafa: i mailed you detailed description on metadata sharing project idea
12:09:24 <Chaitalishah> wanted your feedback over that
12:09:43 <Chaitalishah> Also made a UI mockup for the same
12:09:49 <rafa> Chaitalishah: yes, I saw it. I just didn't have time on the weekend to read it.
12:10:55 <rafa> Chaitalishah: Did you do any tickets in OpenMRS? I would love to have a look at them too.
12:11:13 <Chaitalishah> yes have done one
12:11:28 <Chaitalishah> wait will give the link
12:12:25 *** dkayiwa has joined #openmrs
12:14:58 <Chaitalishah> rafa: link is https://tickets.openmrs.org/browse/TRUNK-1854
12:22:39 <rafa> Chaitalishah: It's a very simple fix... :)
12:22:56 <rafa> Chaitalishah: I'm reading your e-mail right now
12:23:42 <Chaitalishah> okay, should i go for any other ticket?
12:24:58 *** mugii has joined #openmrs
12:25:27 *** mugii has quit IRC
12:26:14 <rafa> Chaitalishah: you may want to have a look at TRUNK-1829 or TRUNK-2005 :)
12:27:27 <rafa> Chaitalishah: You didn't get quite right the idea of authentication
12:28:13 <Chaitalishah> rafa: isn't it about verification of users?
12:28:57 <rafa> right, but you don't need to authenticate the publisher since he authenticates himself through the OpenMRS login page
12:29:33 <rafa> it's only subscribers that we might need to authenticate
12:29:38 <Chaitalishah> but will have to make sure that the user is online
12:29:56 <Chaitalishah> while publishing
12:30:52 <rafa> the user needs only to access OpenMRS server to publish
12:31:27 <Chaitalishah> okay got the point
12:33:47 <Chaitalishah> rafa: is the remaining description alright?
12:35:07 <rafa> Chaitalishah: I would imagine the authentication process as requiring from a subscriber to send a secret password assigned to a package before downloading it. As simple as that.
12:36:25 <Chaitalishah> rafa:so user should have URL as well as the password
12:36:44 <rafa> Chaitalishah: right
12:36:46 <Chaitalishah> fine it will make it simple :)
12:37:10 <rafa> Chaitalishah: it is only one of possible solutions to the problem
12:38:01 <Chaitalishah> rafa: yes but it will simplify the scenario
12:38:03 <rafa> Chaitalishah: And the problem is that we may want to publish a package only to chosen subscribers or to all of them
12:39:10 <Chaitalishah> rafa: subscriber may first request for the package
12:39:43 <Chaitalishah> then after selection they will get the password
12:40:13 <rafa> Chaitalishah: If the given package is public we don't require any password and in case it's private he needs to authenticate himself
12:40:32 <Chaitalishah> okay
12:41:21 <rafa> Chaitalishah: please consider that it all happens in the RESTful manner with no session between requests
12:41:49 <arthursribeiro> !trivialtickets
12:41:49 <OpenMRSBot> arthursribeiro: "trivialtickets" --- http://dev.openmrs.org/report/16
12:42:27 *** gbastien has quit IRC
12:42:33 <Chaitalishah> rafa: okay, have surfed on that
12:42:34 <rafa> Chaitalishah: The password may be exchanged externally with the URL.
12:43:03 <Chaitalishah> URL creation and all with http methods and some more
12:43:46 <Chaitalishah> rafa: whats the need to exchange the password?
12:45:01 <rafa> The subscriber needs both the url and the password to subscribe and download a private package
12:47:37 <rafa> Chaitalishah: The authentication process adds some complexity and is some later step in the GSoC project.
12:47:40 <Chaitalishah> rafa: okay in case of private packages
12:48:04 <Chaitalishah> rafa: fine
12:48:08 <rafa> Chaitalishah: At first we will assume all packages to be public and no authentication.
12:48:36 <Chaitalishah> rafa: yup can start with that :)
12:48:59 <rafa> Chaitalishah: what other projects are you planning to apply for?
12:49:22 <Chaitalishah> rafa: have focused on metadata only
12:50:18 <rafa> Chaitalishah: please consider that we do not limit applications to only one, in fact it is a good idea to apply for two-three projects in OpenMRS
12:51:21 <Chaitalishah> rafa: but we need to have clear idea about all of them and discuss it wth mentors so as to submit a strong proposals
12:51:37 <rafa> Chaitalishah: this flexibility is a good way to increase your chances :)
12:52:26 <Chaitalishah> rafa: should i go for tickets that you suggested or for some other project idea?
12:52:46 <Chaitalishah> rafa; having only a week
12:54:58 <rafa> Chaitalishah: You're always welcome to work on tickets :)
12:56:57 <Chaitalishah> rafa: also while writing the proposals it should be more technical with mockups and UML(if possible) or just give detail description of project?
12:58:30 <rafa> Chaitalishah: Basically, you should describe how you plan to implement things. It's a good idea to include some sort of timeline with deliverables.
12:58:34 *** arthursribeiro has quit IRC
12:58:42 *** ashishmittal has joined #openmrs
13:00:03 <Chaitalishah> rafa: okay will try to make it. Thanks :)
13:00:23 <rafa> Chaitalishah: You're welcome.
13:00:43 *** bwolfe has joined #openmrs
13:00:43 *** ChanServ sets mode: +o bwolfe
13:12:58 *** bryq has joined #openmrs
13:31:00 *** Chaitalishah has quit IRC
13:39:01 *** mseaton has joined #openmrs
13:39:32 <mseaton> @ben - i'm in.
13:39:39 <mseaton> @bwolfe - i'm in
13:44:46 <bwolfe> mseaton: woohoo!
13:44:52 <bwolfe> all hail usif!!
13:45:33 <mseaton> that's yusuf :)
13:49:56 *** sfb has joined #openmrs
13:50:01 <sfb> dkayiwa: Hi
13:54:28 <dkayiwa> hi sfb
13:55:24 <bwolfe> we need to get downeym to add mseaton and dkayiwa to the "voice" list here
13:55:44 <bwolfe> mseaton: you convince rita and others to jump on irc too?
13:58:56 *** emeka has joined #openmrs
14:00:47 *** emeka has quit IRC
14:01:29 *** gauravpaliwal has joined #openmrs
14:01:54 <mseaton> bwolfe: rita is out today, we'll get darius when he appears.
14:01:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Rwanda Primary Care Module 2.0.2 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=rwandaprimarycare&version=&2.0.2>
14:09:26 *** muthah has joined #openmrs
14:11:32 <bryq> Hi rafa
14:11:58 <rafa> Hi bryq
14:12:23 <bryq> rafa: Lets talk about Metadata Sharing homepage GUI mockuo
14:12:28 <bryq> mockup*
14:13:01 <rafa> bryq: okay, do you have any specific questions?
14:13:09 <bryq> rafa: "List shared packages" button superfluous. You are right
14:13:41 <bryq> rafa: But what about subscribed packages?
14:13:42 *** dkayiwa has quit IRC
14:14:02 <bryq> rafa: I think we can add a new table with all subscribed packages
14:14:16 <rafa> bryq: right, I've added that to my comment
14:14:36 <bryq> rafa: Similar to the current, but with different column names
14:14:52 *** robbyoconnor has quit IRC
14:15:23 <bryq> rafa: And above it some buttons. Like "subscribe to new packege"
14:15:36 <rafa> bryq: yes, that would suffice
14:16:27 <bryq> rafa: Ok, I'll change the GUI mockup in the evening
14:17:40 <rafa> bryq: very good
14:17:40 <bryq> rafa: And add some things about authentication. I'll inform you if something interesting happen on my wiki page
14:18:21 <rafa> I've added it to my watch list so I will get a notification automatically
14:19:27 <bryq> rafa: Ok
14:19:42 <rafa> bryq: what was the contest that you mentioned?
14:20:24 <bryq> rafa: We had to write an HTML parser in Javascript
14:20:48 <bryq> rafa: That will remove all HTML tags from given string
14:22:22 <rafa> bryq: Interesting, this kind of task is normally done on the server side.
14:23:03 <bryq> rafa: Yea, I know. But that Was just a small contest
14:23:29 <bryq> rafa: But I've got an idea
14:23:44 <rafa> bryq: it's kind of art for art's sake :)
14:25:29 <bryq> rafa: We can allow user only to enter in package name/description/etc. alphanumeric characters (and few more). So that if we import a package and noticed that there is an invalid character we just show an error that the package is broken (because somebody must have edited it by hand)
14:26:21 <bryq> rafa: I know it is an art for art's sake. But I like challenges ;-)
14:28:52 <rafa> bryq: well, I think it's enough to escape html characters while exporting and importing. It's just a little more complicated since we can't touch xml structure, only values.
14:29:45 <rafa> bryq: We'll consider this feature as might rather than must.
14:30:07 <bryq> rafa: Ok, I think it will work well
14:30:45 <rafa> bryq: the checksum is a must, but that's trivial
14:31:09 <bryq> rafa: Yes, checksum is vital
14:32:02 <bryq> rafa: But will we use a XML-communication?
14:33:51 <bryq> rafa: Nevermind, I have to write down my ideas first ;-)
14:34:43 <bryq> rafa: And you will read it alone
14:35:24 <bryq> rafa: Its too complex for IRC chat
14:36:16 <rafa> bryq: fair enough :)
14:41:44 *** gauravpaliwal has quit IRC
14:41:50 *** gauravpaliwal has joined #openmrs
14:41:58 <mseaton> bwolfe: not seeing any other sprinters here - any issues with reporting tickets?
14:42:47 <bwolfe> mseaton: I chatted with daniel this morning. he's ready to commit his now and get a review. or do you want to review first?
14:43:18 <bwolfe> daniel is now out of the office for at least 4 hours, he and some others went to IU main campus to talk about GSOC+openmrs to students
14:43:44 <mseaton> ok
14:48:01 *** mjohnst has joined #openmrs
14:52:27 *** sid has joined #openmrs
14:53:17 <sid> !help Darius Jazayeri
14:53:17 <OpenMRSBot> sid: Error: There is no command "darius jazayeri".
14:53:51 <sid> OpenMRSBot !help OpenMRSBot !help
14:53:51 <OpenMRSBot> sid: Error: "!help" is not a valid command.
14:56:24 *** gbastien has joined #openmrs
15:05:36 *** ashishmittal has quit IRC
15:05:37 *** light has joined #openmrs
15:06:03 *** light is now known as Guest87633
15:06:21 <Guest87633> which OS should I use for developing for Openmrs ?
15:07:50 <Guest87633> gauravpaliwal , I tried installing Openmrs on Ubuntu , but got an error , is Windows the right choice for Openmrs ?
15:08:38 <sfb> Any of the GSoC admins here?
15:08:54 <Guest87633> sfb , can you help me ?
15:09:03 <gauravpaliwal> @Guest87633 : any platform is okey
15:09:08 <sfb> Sorry, I can't. I'm not with the project.;
15:09:20 <gauravpaliwal> but i personally prefer *nix with netbeans
15:10:21 <Guest87633> gauravpaliwal , in the documentation , Eclipse is bring used , can you give me some documentation which uses Netbeans ?
15:11:29 <Guest87633> gauravpaliwal , did you install OpenMRS appliance or you used the war file ?
15:12:01 <gauravpaliwal> both
15:12:15 <gauravpaliwal> and it work fined both ways
15:12:19 <gauravpaliwal> just check put code
15:12:41 <gauravpaliwal> open it with netbeans and right click build with depedencies as simple as that
15:12:47 <gauravpaliwal> *check put = checkout
15:13:05 *** emeka has joined #openmrs
15:13:22 <sfb> I'll just drop the note to whomever cares. dkayiwa applied to be a mentor for the wrong project.
15:13:46 <sfb> My project is OpenNMS - so I can understand how easy it is to mis-click on the org list. (=
15:13:58 <sfb> I'm going to reject his application.
15:22:34 <bwolfe> sfb: thats hilarious. will let him know when he comes back to the office!
15:22:38 <bwolfe> sfb: how'd you track him down?
15:23:31 <bwolfe> sfb: you guys have been a part of gsoc for a few years now as well. I find it very annoying and have misclicked several times...I don't think I ever misapplied though. :-)
15:25:07 <sfb> bwolfe: His email address. (=
15:25:28 <sfb> bwolfe: We were a part of GSoC awhile ago, we took a few years off.
15:25:41 <sfb> A couple maybe?
15:26:07 <bwolfe> oh, here I thought you were a super-sleuth!
15:26:16 <sfb> Maybe he's planning deep integration with OpenNMS for monitoring purposes. (;
15:26:47 <sfb> His email address is at openmrs.org. I prefer the easy solution to the hours-of-Googling solution. (;
15:27:14 *** Guest87633 has quit IRC
15:42:09 <bwolfe> sfb: although the first hit on google for "daniel kayiwa" is an openmrs site
15:42:19 <bwolfe> !google daniel+kayiwa
15:42:19 <OpenMRSBot> bwolfe: http://www.google.com/search?q=daniel+kayiwa
15:47:03 *** emeka1 has joined #openmrs
15:47:03 *** emeka has quit IRC
15:47:22 *** emeka1 has quit IRC
15:54:41 <sfb> (=
15:57:46 *** dkayiwa has joined #openmrs
15:58:02 *** ashishmittal has joined #openmrs
16:08:14 *** dkayiwa has quit IRC
16:14:47 *** gauthami has joined #openmrs
16:16:42 *** robbyoconnor has joined #openmrs
16:16:42 *** ChanServ sets mode: +v robbyoconnor
16:21:25 *** dkayiwa has joined #openmrs
16:24:41 *** gbastien has quit IRC
16:32:31 *** gauravpaliwal has left #openmrs
16:42:44 *** rafa has quit IRC
16:45:33 <aja> bwolfe:the logic modules i used both have same version numbers.where is that logic for selecting core module?
16:46:25 <aja> bwolfe:at initialization filter i could not find
16:46:32 *** arthursribeiro has joined #openmrs
16:47:12 <aja> bwolfe:it just loads the module from bundledModules directory
16:47:33 <aja> bwolfe:any clues?
16:58:43 *** gauthami has quit IRC
17:02:27 <bwolfe> aja: initializationfilter is only used in the wizard when you first start openmrs (when you have no database yet)
17:02:27 *** Mkop has joined #openmrs
17:02:27 *** ChanServ sets mode: +v Mkop
17:02:40 <bwolfe> aja: the Listener class is what is called at openmrs startup every time
17:02:48 <bwolfe> in there there is a loadBundledModules method
17:05:45 *** robbyoconnor has quit IRC
17:07:53 *** cta has joined #openmrs
17:14:36 *** sid has quit IRC
17:20:19 *** lh has joined #openmrs
17:24:05 <bwolfe> lh: are you enjoying this much less crazy time of the year? Or do people bug you 24/7 even though you're at a new job?
17:24:23 *** aja has quit IRC
17:24:30 <lh> bwolfe: it's fun to watch things go by, but not have to deal with them. i feel for carol though.
17:24:42 <lh> bwolfe: i get bugged less, but it's higher quality bugging i suppose. how are you?
17:25:15 <bwolfe> doing well. the whole family and I head to Kenya for 8 months starting next week. so its very hectic around our house right now.
17:26:14 *** rafa has joined #openmrs
17:26:14 *** ChanServ sets mode: +v rafa
17:26:35 <lh> bwolfe: my goodness. i can imagine. what takes you to kenya?
17:28:03 <bwolfe> lh: we're in the middle of the adoption process for our kenyan daughter. we have had her in the states for the last year+ and now have to go back to finalize things there. its a long process. :-/
17:28:28 <lh> bwolfe: ah, clarity. :)
17:28:31 <bwolfe> I'll be continuing my openmrs work from there. we'll be in the same compound where all the other IU people go
17:35:39 *** dkayiwa has quit IRC
17:38:13 <arthursribeiro> Hey guys, I'm coding somethings with Open MRS, but the code I downloaded from SVN doesn't appear in a package organization (in eclipse tree project) Is there anything I missed to do? If yes, what?
17:41:48 <ashishmittal> arthursribeiro: Did u give a template name under advanced option during the checkout (from eclipse)?
17:42:07 *** aja has joined #openmrs
17:42:40 <arthursribeiro> ashishmittal, yes
17:43:18 <arthursribeiro> ashishmittal, the project comes with all the code, but not in a package organization, but, in a directory one...
17:47:51 <ashishmittal> arthursribeiro: Strange. In case you have followed all specifications on https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+In+Eclipse, you should probably not get such a problem.
17:48:28 *** muthah has quit IRC
17:49:10 <cta> bwolfe: Hi, Mr. Ben Wolfe. About your last comment at TRUNK-1637: Why do you say that now db is never locked? It works as earlier with only one difference - now user do no need to execute "delete * from liquibasechangeloglock"
17:49:35 <cta> Have you tested patch?
17:49:42 <arthursribeiro> ashishmittal, For a simpler project space, you can click Advanced, and uncheck "separate projects for modules" (if that doesn't exist, change m2eclipse setting in Window->Preferences->Maven->Support multiple maven modules) This option is not appearing in my eclipse
17:50:13 *** rafa has quit IRC
17:50:56 <ashishmittal> arthursribeiro: It did not appear in mine also, but it works fine without that.
17:51:10 *** mjohnst has quit IRC
17:51:33 <arthursribeiro> it appears the packages? not directories?
17:51:49 <ashishmittal> arthursribeiro: did u specify a custom template name under advanced or selected one of the existing options in the select list?
17:52:30 <arthursribeiro> ashishmittal, I just put a name that I wanted...
17:54:27 <ashishmittal> arthursribeiro: Im sorry I misread. Mine does appear in direcory format and that is what I work with.
17:55:18 <arthursribeiro> ashishmittal, did you try to download the basicmodule? did it appear like this too or not?
17:55:30 *** nadh_ has joined #openmrs
17:55:57 *** rafa has joined #openmrs
17:55:57 *** ChanServ sets mode: +v rafa
17:55:59 <arthursribeiro> ashishmittal, because in tutorial it says to rename the package and see what is going to change but here I rename it very simple
17:56:25 <ashishmittal> arthursribeiro: yes I did check out the basicmodule and it did appears as directory.
17:56:34 *** nadh_ has quit IRC
17:57:15 *** nadh_ has joined #openmrs
17:57:36 <arthursribeiro> ashishmittal, do you think this is normal?
17:58:41 <ashishmittal> arthursribiero, the tutorial steps worked fine for me.
17:58:43 *** rafa has quit IRC
17:59:39 <ashishmittal> arthursribiero, in fact a simpler way I used for creating the basicmodule was by using an archetype
18:00:35 <arthursribeiro> ashishmittal, didn't understand, can you explain better?
18:00:37 <ashishmittal> unfortunately it is not documented yet, but there exists a basicmodule archetype which can be used
18:01:36 <ashishmittal> arthursribiero: I suggest you to follow the steps listed on the create module page. It did work for me well.
18:02:07 <arthursribeiro> ok, thanks you ashishmittal
18:02:28 <ashishmittal> welcome arthursribeiro :)
18:16:55 *** sfb has left #openmrs
18:18:59 <cta> bwolfe: About your last comment at TRUNK-1637: Why do you say that now db is never locked? It works as earlier with only one difference - now user do no need to execute "delete * from liquibasechangeloglock". Have you tested attached patch?
18:21:47 <bwolfe> cta: I only watched your video
18:22:00 <bwolfe> cta: if a second user tries to modify the database, it should still say its locked
18:22:27 <bwolfe> in the video when the second user came in there was no message or warning about a lock, it just asked for updates
18:24:36 <cta> bwolfe: in the video was no second user
18:24:51 <bwolfe> the second user is the reload of the app
18:25:03 <bwolfe> or are you clearing the lock at startup?
18:25:13 <cta> YES!
18:25:16 <arthursribeiro> ashishmittal, https://wiki.openmrs.org/display/docs/Creating+Your+First+Module the 3.d. point, how did you do this? i mean, I could manually change the references in the source files, but the IDE do that for me if it si ina a package form, understand? did you do anything to update automatically?
18:25:17 <OpenMRSBot> <http://ln-s.net/8c6T> (at wiki.openmrs.org)
18:25:39 <cta> lock clearing when app context loads
18:27:26 <cta> if second user will also run the db update after first he won't release lock
18:30:05 *** suho has joined #openmrs
18:31:17 <bwolfe> cta: ok. why do you have a .lock file then?
18:32:30 <suho> hi bwolfe
18:32:36 <cta> bwolfe: for prevent next crash of db update because it's possible
18:33:25 <cta> bwolfe: .lock used such like semaphore, but not completeely like it
18:34:17 <bwolfe> right...but why have a .lock file and a lock row in the db?
18:34:38 *** robbyoconnor has joined #openmrs
18:34:38 *** ChanServ sets mode: +v robbyoconnor
18:35:43 <cta> bwolfe: 1) .lock file remains after crash and row also remains after crash
18:37:06 *** suho has quit IRC
18:37:16 *** ajedwards has quit IRC
18:37:17 <cta> bwolfe: 2) on startup DatabaseUpdater checks if this class exist, and if it really exists, DataBase updater removes lock row from
18:37:35 <cta> db
18:38:01 <bwolfe> why do you need the .lock file to know if you should clear the db row?
18:38:49 <cta> how I can to find out whether it need to remove row after crash?
18:39:16 <cta> is there any standart approaches?
18:39:43 <ashishmittal> arthursribeiro: I used that page for deploying a basicmodule with default values with no changes and used the archetype method for configuring things and creating custom modules. I have listed the basic steps for your reference here https://wiki.openmrs.org/display/~ashishmittal/creating+basic+module+from+archetype.
18:39:46 <OpenMRSBot> <http://ln-s.net/8fZe> (at wiki.openmrs.org)
18:40:07 <cta> initially we do not know, whether was crash or not
18:40:45 *** nadh_ has quit IRC
18:44:43 <bwolfe> cta: um, if your db delete row logic is only in a method that can be called during openmrs startup, then you know
18:46:15 *** suho has joined #openmrs
18:46:19 <cta> bwolfe: Sorry, what I now?
18:46:34 <bwolfe> where are you doing the .lock/db file deletion? what method?
18:47:20 <cta> in CrashCleaner#checkLockState()
18:47:59 <cta> Sorry, I meant detection)))
18:48:14 *** suho has quit IRC
18:48:34 <cta> bwolfe: in DatabaseUpdater#executeChangeLog(with many mny params)
18:48:51 *** Suho has joined #openmrs
18:49:19 <cta> I'm deleting it file after update was finished without crash
18:50:44 <Suho> hi bwolfe
18:50:47 <bwolfe> hi suho
18:51:09 <bwolfe> (you don't have to wait for me to reply, just ask your questions here and me or someone else will respond as they get time :-))
18:51:24 <Suho> bwolfe, I have some issues in fixing https://tickets.openmrs.org/browse/TRUNK-1689
18:51:31 <Suho> bwolfe, ok
18:51:44 <bwolfe> cta: but why is the lock db row not deleted when a second user views the page and/or tries to execute the log? (aka, no crash)
18:52:55 <Suho> bwolfe, when you have time please give some additional information on this
18:53:52 <bwolfe> Suho: what questions do you have? its just a matter of fixing it the file so it works again
18:54:36 <cta> bwolfe: and for a what to delete row if was no crash?
18:55:09 <bwolfe> cta: can you try and rephrase that? I don't know what you're saying. :-/
18:55:34 <cta> ok))
18:55:57 *** aja has quit IRC
18:55:59 <Suho> bwolfe, I couldn’t figure it out when and how that file is being executed?
18:56:29 <bwolfe> Suho: its manually used by devs to generate sql files
18:57:18 <Suho> bwolfe, how to build that file just 'ant' wont work !
18:57:22 *** djazayeri has joined #openmrs
18:57:22 *** ChanServ sets mode: +o djazayeri
18:57:41 <cta> bwolfe: I mean that we do not need to delete row from liquibase db table if was no crash
18:58:48 <cta> generally, we do not need to remove this row, we only need to delete info from its two latest columns
19:00:04 <cta> LOCKGRANTED and LOCKEDBY as I remember
19:04:19 <cta> bwolfe: lets assume, that was no crash. Then .lock file also will not exist at $user_home/Openmrs directory, as result, uppdate process will take place in the usual manner
19:05:52 <Suho> hi djazayeri
19:05:59 <djazayeri> hi Suho
19:06:03 <Suho> djazayeri, I have fixed https://tickets.openmrs.org/browse/TRUNK-2019
19:06:11 <djazayeri> which is that again?
19:06:23 *** Chaitalishah has joined #openmrs
19:06:27 <Suho> and https://tickets.openmrs.org/browse/TRUNK-1983
19:06:56 <Suho> djazayeri, I dont get you
19:07:26 <djazayeri> I mean what is the ticket about? I don't remember off the top of my head what 2019 and 1983 are. :-)
19:07:40 <djazayeri> a two-word summary for each would help.
19:07:45 <bwolfe> cta: who writes the .lock file? and when is it written?
19:08:23 <Suho> TRUNK-2019
19:08:24 <Suho> :
19:08:24 <Suho> implementation id should use SerializationService instead of simpleframework
19:08:39 <cta> bwolfe: DataBaseUpdater writes it will in method executechangeLog() at beginning of method
19:08:56 <Suho> TRUNK-1983: Allow for intelligent handing of 2-digit dates
19:09:08 <cta> and removes if update was successfull
19:09:28 <djazayeri> oh, great.
19:09:34 <djazayeri> I'll take a look at them later.
19:09:38 <bwolfe> cta: ok. so the .lock file exists after the method starts. what if a second api or user comes along and calls executechangelog? the .lock file exists and the db row exists. now you are deleting the db lock and continuing?
19:09:43 <Suho> djazayeri, ok thanks
19:11:14 <cta> bwolfe: but only one api or user can run update wizard
19:11:16 <Suho> When do all the GSoC projects will get mentors assigned ?
19:12:56 <bwolfe> Suho: soon. which one doesn't?
19:13:34 <bwolfe> cta: maybe. have you tried getting around that ? you could certainly have two apis focused on the same db and run it twice
19:14:01 <cta> bwolfe: also, if other user comes along through wizard, he will not do anything with file and db row, 'cause first user wrote LOCK_RELEAASED into .lock file means that lock db was released
19:15:23 <cta> bwolfe: did you check how it works?
19:17:34 <bwolfe> no, haven't had time yet. I only watched video.
19:18:17 <cta> bwolfe: I've tested situation when two users starts db update after crash, first user releases lock and going throught wizard and second user also after first going through wizard
19:18:28 <Suho> I was just curious to know, because there won’t be same person be primary mentor for two projects right.
19:19:03 <bwolfe> cta: I mean two simultaneous users, no crashing. the second one should be locked out.
19:20:08 <cta> Yes. he will be locked by another user, but it seems that it about TRUNK-2023
19:21:03 <cta> bwolfe: I created patch for TRUNK-2023 two or three days ago and request a code review, did you see it?
19:21:27 <bwolfe> !ticket TRUNK-2023
19:21:27 <OpenMRSBot> bwolfe: Allow me to help you with that. More details on ticket TRUNK-2023 can be found at http://tickets.openmrs.org/browse/TRUNK-2023
19:21:49 <bwolfe> I saw that you did it, have not looked at the patch yet though
19:21:51 <cta> yes, TRUNK-2023
19:21:51 <cta> Allow second user to see progress of update wizard
19:23:10 <cta> bwolfe: If you want I can write video for you about TRUNK-2023))
19:23:33 <bwolfe> no, no video needed. the screenshots are fine
19:23:42 <cta> ))
19:30:39 <cta> bwolfe: So, Mr. Ben Wolfe, What we decided to do?
19:31:27 <bwolfe> test it I guess
19:31:36 <bwolfe> I'm not convinced you solved it the right way. :-p
19:31:38 *** surangak has joined #openmrs
19:32:04 <bwolfe> I also don't want a solution with a .lock file on the filesystem. so if you can brainstorm a way to not use that, please do
19:36:46 <cta> bwolfe: ok)) please, decribe me, what should be the final result?
19:37:52 <bwolfe> the one in the comment I put on the ticket
19:39:10 *** lh has quit IRC
19:41:08 *** ashishmittal has quit IRC
19:42:00 <cta> bwolfe: ok) I'll tryed to do it in the best way!
20:10:18 *** lh has joined #openmrs
20:12:18 *** mjohnst has joined #openmrs
20:17:41 *** bryq has left #openmrs
20:25:10 *** Suho has quit IRC
20:26:40 *** rafa has joined #openmrs
20:26:40 *** ChanServ sets mode: +v rafa
20:42:40 *** suho has joined #openmrs
20:44:14 *** djazayeri has quit IRC
20:55:30 <cta> bwolfe: Mr. Ben Wolfe, are you still here?
20:55:37 <bwolfe> yep
20:56:43 <cta> I propose to solve this problem with lock by using liquibase.database.template.JdbcTemplate and liquibase.database.sql.UpdateStatement classes
20:57:03 <cta> in this case we won't need .lock file on file system
20:58:40 <bwolfe> how are those files used?
20:58:45 <cta> we will simply check, if db is locked by executing correspond query statement and then, if db is locked, we will use update statement for unlock it
21:01:14 <cta> JDBCTemplate we will use for executing query or update statements
21:03:21 <cta> bwolfe: it will be one static method in DatbaseUpdater class and I propose to make this method synchronized for prevent multiply lock remaining
21:04:04 <bwolfe> ok, sounds about right
21:04:09 <cta> it will be called every one time when web app is starting, and it will be executed only if was crash
21:04:12 <bwolfe> lets see the code . :-)
21:04:20 <cta> here?
21:04:29 <bwolfe> no, in a patch on the ticket
21:05:42 <cta> bwolfe: ok) but at first I need to test it hard)) so, I think that patch will be at 1 hour
21:06:12 *** mjohnst has quit IRC
21:06:57 <bwolfe> np
21:06:59 <bwolfe> no rush
21:08:41 <cta> ok, moreover, there is a midnight in Ukrainne, and maby I fall asleep))
21:11:21 *** Chaitalishah has quit IRC
21:11:38 *** mjohnst has joined #openmrs
21:13:08 *** dkayiwa has joined #openmrs
21:13:43 *** mjohnst_ has joined #openmrs
21:13:50 *** mseaton has quit IRC
21:16:04 *** mjohnst has quit IRC
21:16:04 *** mjohnst_ is now known as mjohnst
21:17:08 *** downeym has joined #openmrs
21:17:08 *** ChanServ sets mode: +o downeym
21:20:23 <downeym> Great turnout for our gsoc/openmrs event at IU today ... bwolfe missed the bacon board
21:21:00 <bwolfe> mmm, bacon
21:21:09 <bwolfe> how many hoosiers downeym ?
21:21:11 <downeym> 45 students
21:21:44 <downeym> bwolfe: we played the IDRC video so you were there digitally
21:22:23 <bwolfe> oh goodie
21:23:49 <rafa> downeym: will you share a link to this video? :)
21:24:00 <downeym> rafa: It's on openmrs.org
21:24:00 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Write code. Save lives. Join @OpenMRS for Google Summer of Code 2011. Students, apply now: http://go.openmrs.org/soc2011 #ICT4D #GSoC #HFOSS <http://twitter.com/OpenMRS/statuses/52471862827040768>
21:24:13 <bwolfe> is it the main one?
21:24:22 <downeym> http://www.youtube.com/OpenMRS#p/a/f/0/9bwQPS1dFvE
21:24:26 <OpenMRSBot> <http://ln-s.net/8fdw> (at www.youtube.com)
21:25:04 <rafa> thanks I don't think I've seen it
21:25:15 <downeym> rafa: it is pretty good. some film from AMPATH programme
21:25:56 <rafa> okay now I remember seeing that
21:27:15 *** surangak has quit IRC
21:35:22 <robbyoconnor> did somebody say bacon?!
21:37:45 <downeym> yes
21:37:47 <downeym> yes we did
21:37:49 *** mjohnst has quit IRC
21:39:59 <rafa> robbyoconnor: Do you have a sound notice triggered on "bacon" too? ;)
21:40:24 <robbyoconnor> nooo
21:40:32 <robbyoconnor> bacon is just the food of the gods
21:40:35 <downeym> http://www.thinkgeek.com/caffeine/bacon/
21:41:15 <rafa> hehe cool
21:42:44 *** mjohnst has joined #openmrs
21:42:56 <downeym> Hi mjohnst and welcome to the #openmrs IRC channel.
21:44:59 <lh> mmm bacon
21:45:13 <lh> robbyoconnor: are you comporting yourself in a decorous fashion today?
21:45:36 <downeym> heheheh
21:46:33 <downeym> speaking of gsoc, this just in ... we have received our gsoc 2010 travel reimbursements. right on time :)
21:49:41 *** robbyoconnor has quit IRC
21:55:00 *** bwolfe has quit IRC
21:55:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: library to compile the OpenMRS modules <http://forum.openmrs.org/viewtopic.php?f=8&t=772#p2943>
21:55:29 *** suho has quit IRC
22:00:08 *** cta has left #openmrs
22:23:12 *** downeym has quit IRC
22:25:33 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): ForEachRecord tag does not support reportObject - TRUNK-1877... <http://feedproxy.google.com/~r/OMRStrunk/~3/xhkiyy6x0aw/OpenMRS> || New Changeset: OpenMRS (1.8.x): Remove dojo imports from patient dashboard - TRUNK-2120... <http://feedproxy.google.com/~r/OMRStrunk/~3/i1AZGcUrTiw/OpenMRS> || New Changeset: OpenMRS (trunk): Remove dojo imports from patient dashboard - TRUNK-2120... <http://feedproxy.google.com/~r/OMRStrunk/~3/_9k2n2MrC8g/OpenMRS>
22:27:58 *** lh has quit IRC
22:33:14 *** rafa has quit IRC
22:50:28 *** Hazamonzo has quit IRC
22:51:52 *** gbastien has joined #openmrs
22:59:19 *** Hazamonzo has joined #openmrs
23:11:18 *** efes has joined #openmrs
23:11:37 *** robbyoconnor has joined #openmrs
23:11:37 *** ChanServ sets mode: +v robbyoconnor
23:11:40 *** efes has left #openmrs
23:12:28 *** efes has joined #openmrs
23:12:30 *** efes has left #openmrs
23:23:24 *** gbastien has quit IRC
23:31:28 *** danielts has joined #openmrs