IRC Chat : 2010-05-28 - OpenMRS

00:38:20 *** bwolfe has joined #openmrs
00:38:20 *** ChanServ sets mode: +o bwolfe
00:44:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13534]: simplelabentry: Updated for 1.6.x <http://dev.openmrs.org/changeset/13534> || OpenMRS Changesets: Changeset [13533]: cohortreports: Updated for 1.6.x <http://dev.openmrs.org/changeset/13533>
01:16:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13535]: Adding omission of the changes to the hl7 handler and the related tests - … <http://dev.openmrs.org/changeset/13535>
01:17:37 *** mathiaslin has joined #openmrs
01:28:48 *** Mkop has quit IRC
01:30:51 *** njero has joined #openmrs
01:30:51 *** ChanServ sets mode: +v njero
01:35:57 *** Shazin has joined #openmrs
01:43:49 *** njero has quit IRC
01:48:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13528]: sync: Exclude Certain Types from Sync Record - ticket #2352 Author: … <http://dev.openmrs.org/changeset/13528>
01:52:42 *** upul` has joined #openmrs
01:52:42 *** ChanServ sets mode: +v upul`
02:05:33 *** upu| has joined #openmrs
02:05:41 *** upu| has quit IRC
02:11:38 <Shazin> bwolfe, Hi
02:11:51 <bwolfe> hey
02:14:56 <Shazin> bwolfe, Are there any widgets in openmrs core which will access Java attributes or methods
02:16:11 <bwolfe> which attributes are you wanting?
02:16:47 <Shazin> bwolfe, well I am suppose to suppress the confirmation based on a value in user property
02:17:15 <bwolfe> Shazin: there is a UserProperty taglib
02:17:23 <bwolfe> see the openmrs.tld file for all the openmrs defined taglibs
02:17:34 <Shazin> bwolfe, oh great
02:17:37 <bwolfe> <openmrs:userPropertykey="xxx"/> or so
02:18:21 <Shazin> bwolfe, and one more thing
02:18:47 <Shazin> bwolfe, There are two types of confirmations
02:18:57 <Shazin> bwolfe, One is totally client side
02:19:22 <Shazin> bwolfe, Ex:- You are trying to restart do u want to restart?
02:19:28 *** Mkop has joined #openmrs
02:19:28 *** ChanServ sets mode: +v Mkop
02:19:44 <Shazin> bwolfe, Another is a confirmation coming from Server side
02:20:09 <Shazin> bwolfe, Ex:- After checking the module factory
02:20:38 <Shazin> bwolfe, Server informs that a similar module exists do u want to upgrade?
02:22:48 <bwolfe> Shazin: so whats your question?
02:23:37 <Shazin> bwolfe, my question is what sort of confirmations does the proposed widget cater
02:24:08 <bwolfe> Shazin: the one we talked about on the dev call today was a jquery/clientside only one
02:24:40 <Shazin> bwolfe, Ok. Sorry I had problems during the dev call
02:24:56 <Shazin> bwolfe, I couldn't listen.
02:25:13 <Shazin> bwolfe, I will download the recording
02:58:14 *** chopin has joined #openmrs
02:58:14 *** ChanServ sets mode: +v chopin
03:09:38 *** upul` has quit IRC
03:13:20 *** bwolfe has quit IRC
03:17:09 *** chopin has quit IRC
03:37:38 *** Mkop has quit IRC
04:20:46 *** fixl has joined #openmrs
04:25:13 *** jmiranda has quit IRC
04:33:42 *** harsha has joined #openmrs
04:53:00 *** Shazin has quit IRC
04:53:36 *** Shazin has joined #openmrs
05:14:13 *** x-ian has joined #openmrs
05:27:03 *** x-ian has quit IRC
05:39:36 *** x-ian has joined #openmrs
05:40:35 *** pascal` has joined #openmrs
05:41:24 *** ChanServ sets mode: +v pascal`
05:45:22 *** umashanthi has joined #openmrs
05:45:22 *** ChanServ sets mode: +v umashanthi
05:55:08 *** pascal` has quit IRC
06:03:20 *** umashanthi has quit IRC
06:03:35 *** umashanthi has joined #openmrs
06:03:35 *** ChanServ sets mode: +v umashanthi
06:03:59 *** muthah has joined #openmrs
06:10:40 *** pascal` has joined #openmrs
06:12:33 *** ChanServ sets mode: +v pascal`
06:16:03 *** openmrs_web470 has joined #openmrs
06:18:37 <openmrs_web470> hi pascal`
06:18:42 *** openmrs_web470 is now known as saimanohar
06:18:49 <pascal`> hi saimanohar
06:19:11 <saimanohar> i hope you received the mail from the regadb guys
06:19:24 <saimanohar> they want to set up a conference call
06:19:34 <saimanohar> so when should we do that
06:20:10 <saimanohar> i mean what is conveninent for you pascal`
06:20:24 <pascal`> saimanohar, yeah I got the mail
06:20:34 <pascal`> saimanohar, you mind if we chat about it later
06:20:44 <pascal`> saimanohar, I'll try and respond tomorrow... just have a crazy day today
06:21:29 <saimanohar> okay
06:21:34 <pascal`> saimanohar, thanks
06:21:35 <saimanohar> thats fine with me
06:21:41 <pascal`> saimanohar, k, talk later then
06:22:01 <saimanohar> bye take care cheers
06:30:42 *** saimanohar has quit IRC
06:30:56 *** harsha has quit IRC
06:42:43 <umashanthi> What's the nickname of Daniel here?
06:49:13 <pascal`> umashanthi, Daniel who?
06:50:16 <umashanthi> pascal`: who did the xforms module. Is it danielf` or someone else?
06:50:42 <pascal`> umashanthi, it's not danielf
06:50:56 <pascal`> umashanthi, he doesn't really come here, but he answers mails quite regularly
06:50:57 *** fixl has quit IRC
06:51:39 <umashanthi> pascal`: you know the one who's doing the xforms module?
06:52:25 <umashanthi> pascal`: Daniel Kayiwa
06:52:50 <pascal`> umashanthi, yeah, try kayiwadaniel@gmail.com
06:53:06 <umashanthi> pascal`: ok. Thanks :)
06:53:25 <pascal`> umashanthi, np
07:14:34 <umashanthi> pascal`: Sent a mail to Daniel and got instant response.. thanks
07:14:47 <pascal`> umashanthi, cool
07:17:44 *** umashanthi has quit IRC
07:17:59 *** umashanthi has joined #openmrs
07:17:59 *** ChanServ sets mode: +v umashanthi
07:30:33 *** umashanthi has quit IRC
07:30:47 *** umashanthi has joined #openmrs
07:30:47 *** ChanServ sets mode: +v umashanthi
08:21:39 *** openmrs_web846 has joined #openmrs
08:21:53 *** openmrs_web846 is now known as saimanohar
08:23:21 *** openmrs_web001 has joined #openmrs
08:23:39 *** openmrs_web001 is now known as saimanohar
08:27:10 *** saimanohar has quit IRC
08:36:25 *** x-ian has quit IRC
08:39:00 *** umashanthi has left #openmrs
08:42:20 *** pascal` has quit IRC
08:47:05 *** pascal` has joined #openmrs
08:50:17 *** ChanServ sets mode: +v pascal`
08:56:45 *** x-ian has joined #openmrs
09:03:53 *** firzhan has joined #openmrs
09:39:22 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13536]: metadata-localization branch: Modify logic in test method for … <http://dev.openmrs.org/changeset/13536> || OpenMRS Tickets: Ticket #2360 (defect created): Warning/Error in logs for OpenMRS objects with empty string values <http://dev.openmrs.org/ticket/2360>
09:42:17 *** Hazamonzo has joined #openmrs
10:05:00 *** upul` has joined #openmrs
10:05:00 *** ChanServ sets mode: +v upul`
10:05:56 <pascal`> hey upul`
10:06:17 <upul`> hey pascal`
10:40:13 *** wluyima has quit IRC
10:50:25 *** pascal` has quit IRC
10:53:55 *** kennymac has joined #openmrs
10:54:03 <kennymac> hi all
10:54:04 *** ChanServ sets mode: +v kennymac
10:56:42 *** astelmashenko has joined #openmrs
10:56:55 <astelmashenko> hi all
10:57:16 <kennymac> hi astelmashenko
11:06:12 *** pusakat has joined #openmrs
11:10:28 *** openmrs_web659 has joined #openmrs
11:10:32 *** openmrs_web659 is now known as saimanohar
11:16:15 *** pascal` has joined #openmrs
11:20:19 *** pascal` has quit IRC
11:20:52 *** njero has joined #openmrs
11:20:52 *** ChanServ sets mode: +v njero
11:23:41 *** upul` has quit IRC
11:29:43 *** upul` has joined #openmrs
11:29:43 *** ChanServ sets mode: +v upul`
11:31:27 *** tinashe has joined #openmrs
11:35:35 *** pascal` has joined #openmrs
11:36:29 *** ChanServ sets mode: +v pascal`
11:39:01 *** fixl has joined #openmrs
11:39:51 *** fixl has quit IRC
11:46:10 *** saimanohar has quit IRC
11:47:33 *** pusakat has quit IRC
11:50:38 *** upul`` has joined #openmrs
11:50:38 *** ChanServ sets mode: +v upul``
11:53:47 *** upul` has quit IRC
11:53:49 *** upul`` has quit IRC
11:53:59 *** upul` has joined #openmrs
11:54:04 *** ChanServ sets mode: +v upul`
12:03:29 *** tinashe has quit IRC
12:03:55 *** tinashe has joined #openmrs
12:20:49 *** pusakat has joined #openmrs
12:33:29 *** tinashe has quit IRC
12:35:07 *** chopin has joined #openmrs
12:35:07 *** ChanServ sets mode: +v chopin
12:42:48 <pascal`> hi chopin
12:42:57 <chopin> hiya pascal`
12:43:06 <pascal`> chopin, can you bounce the wiki machine or something?
12:43:14 * chopin can kick it
12:43:28 *** nribeka has joined #openmrs
12:43:28 *** ChanServ sets mode: +v nribeka
12:43:29 <pascal`> !baseballgunbat
12:43:29 <OpenMRSBot> pascal`: "baseballgunbat" --- (#1) bwolfe's preferred debugging tool, or (#2) r0bby's preferred weapon as well, or (#3) Mkop's tool of wrath for people who add more deprecation warnings to the pile
12:43:29 <chopin> just kidding ... actually, i have no access (but burke is on the line with me atm)
12:43:37 <pascal`> chopin, ^ use that
12:43:46 <chopin> :-D
12:47:10 <pascal`> chopin++
12:48:13 *** bwolfe has joined #openmrs
12:48:13 *** ChanServ sets mode: +o bwolfe
12:56:03 *** tinashe_ has joined #openmrs
13:09:08 *** muthah_ has joined #openmrs
13:12:27 *** muthah has quit IRC
13:12:27 *** muthah_ is now known as muthah
13:13:37 *** upul` has quit IRC
13:17:58 <kennymac> Has anybody seen that calling getRuntimeProperties() from BaseModuleContextSensitiveTest actually reveals the OpenMRS admin password?
13:19:27 *** upul` has joined #openmrs
13:19:27 *** ChanServ sets mode: +v upul`
13:33:48 <bwolfe> kennymac: yeah, thats why we have the daemon user ticket that sy is working on.
13:33:57 <bwolfe> http://dev.openmrs.org/ticket/1947
13:34:21 <bwolfe> so that there isn't a need for the openmrs admin username/password to be in there
13:34:33 <bwolfe> the runtime properties will still have the mysql username/password though...
13:35:57 <kennymac> bwolfe, shouldn't the password be hashed in that case?
13:36:05 *** umashanthi has joined #openmrs
13:36:05 *** ChanServ sets mode: +v umashanthi
13:37:02 <bwolfe> kennymac: how will openmrs know how to authenticate then?
13:38:53 <kennymac> bwolfe, have an additional option in the authetication method to bypass hashing so the hash can be compared directly?
13:40:04 <bwolfe> kennymac: how is that any more secure than just storing the pw ?
13:40:13 <chopin> MD5 it
13:40:14 <chopin> :-D
13:40:17 * chopin runs away
13:41:27 <kennymac> bwolfe, means that the password can't be used elsewhere... people tend to keep the same password for more than one account
13:42:01 <kennymac> yeah MD5 or SHA chopin, or whatever...
13:42:13 <kennymac> salted aswelll preferably
13:43:41 <bwolfe> kennymac: perhaps we could do that...but with the move to the daemon user the admin username/pw won't even be in there
13:44:01 <bwolfe> the mysql username/pw /will/ be in there. and afaik, it has to be in plain text to make the connection to mysql
13:44:30 <upul`> kennymac, usually you make a single database account for openmrs access and make the runtime.props file readable only by the instance running user account
13:44:41 <upul`> then it's safe
13:48:12 <kennymac> upul`, but sure the runtime.props file could be read directly by say a developer?
13:48:42 <kennymac> bwolfe, could there not be a hashing method inserted inbetween where it is read from the file and entered into mysql?
13:48:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13537]: sync-module: fixes for ticket #2360. <http://dev.openmrs.org/changeset/13537> || Xiaohu Fan: Plan to get 1318 step1 working <http://dawangblackknight.blogspot.com/2010/05/plan-to-get-1318-step1-working.html>
13:49:01 <upul`> kennymac, in the production system it shouldn't be readable by the developer if he's not trusted
13:49:55 <kennymac> what about the person looking over his shoulder though? i mean it's never a good idea to have passwords visible... i got a fright when i saw my exposed password appear in the console
13:50:12 <upul`> in the console?
13:50:14 <bwolfe> kennymac: yes, modules can read the runtime properties right now. We could look into removing the username/pw from the runtime props after startup to prevent a moduel from doing so
13:51:09 <bwolfe> kennymac: it would not be a one-way hash if its getting converted back by openmrs. then that means that the hashing algorithm is in the openmrs codebase. so any dev could still pass the string through that dehasher and see your password
13:51:18 <kennymac> yes upul` , i was debugging with getRuntimeProperties(), it wouldn't normally happen, but shows that it is quite exposed
13:51:56 <kennymac> bwolfe, a good hasing algorithm can't be dehashed easily, especially when salted
13:52:08 <kennymac> hashing*
13:52:09 <bwolfe> did you get the willys when you saw your pw? I always do. same thing when I have to speak it out a password/pin for some reason
13:52:28 <kennymac> i did yes! lol, freaked me out!
13:52:49 <upul`> kennymac, in a production system developer should not be able to do remote debug unless the developer is trusted
13:52:50 <bwolfe> kennymac: correct, most hashes are one-way hashes. but you just said " could there not be a hashing method inserted inbetween where it is read from the file and entered into mysql"
13:53:22 <bwolfe> upul`: but what about installing a malicious module that reads the runtime props and emails them to the module dev?
13:53:26 *** jmiranda has joined #openmrs
13:53:26 *** ChanServ sets mode: +o jmiranda
13:53:34 <kennymac> bwolfe, ahh yes ofcourse, you are right, forgot that is what i suggested!
13:54:09 <upul`> bwolfe, you have to trust the module writer for now :-)
13:55:47 <kennymac> *evil grin*
13:57:50 *** umashanthi has left #openmrs
14:00:55 <kennymac> any progress on rebooting the site? kind of need to use it
14:01:40 <nribeka> i know your password kennymac
14:02:45 <kennymac> nribeka, how?
14:02:48 *** umashanthi has joined #openmrs
14:02:48 *** ChanServ sets mode: +v umashanthi
14:03:09 <nribeka> it's ******** right?
14:03:51 <kennymac> ummm, i guess that depends on which one... which one do you know? :S
14:04:26 *** umashanthi has left #openmrs
14:06:10 <nribeka> another password is eight big dots, right kennymac?
14:07:00 *** chopin has quit IRC
14:07:44 *** upul` has quit IRC
14:08:01 *** upul` has joined #openmrs
14:08:01 *** ChanServ sets mode: +v upul`
14:09:33 <upul`> my machine starting to freeze all the time :-( it would have been nice if it just told me what's wrong before it freezes
14:10:50 *** pascal` has quit IRC
14:14:10 <kennymac> nribeka, you trying to freak me out even more? :P
14:14:55 <kennymac> upul`, i have been getting momentary freezes increasingly recently
14:18:34 *** bwolfe has quit IRC
14:19:50 *** x-ian has quit IRC
14:19:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13540]: modulerepository: findModules() on blank string not closing database … <http://dev.openmrs.org/changeset/13540> || OpenMRS Changesets: Changeset [13539]: metadatasharing: Implement custom serialization to xml for metadata … <http://dev.openmrs.org/changeset/13539> || OpenMRS Tickets: Ticket #2360 (defect closed): Warning/Error in logs for OpenMRS objects with empty string values <http://dev.openmrs.org/ticket/2360#comment:2> || OpenMRS Changesets: Changeset [13538]: sync-module: fixes for ticket #2360. <http://dev.openmrs.org/changeset/13538> || OpenMRS Forum: Re: Data Security in OpenMRS <http://forum.openmrs.org/viewtopic.php?f=15&t=508#p2266>
14:24:14 *** chopin has joined #openmrs
14:24:14 *** ChanServ sets mode: +v chopin
14:26:50 *** firzhan has quit IRC
14:28:35 *** upul` has quit IRC
14:31:26 *** bwolfe has joined #openmrs
14:31:26 *** ChanServ sets mode: +o bwolfe
14:31:48 *** harsha has joined #openmrs
14:33:50 *** ChanServ sets mode: +v Shazin
14:34:07 <bwolfe> kennymac: nribeka is referring to this irc bash quote: http://bash.org/?244321
14:35:38 <kennymac> rofl, nice
14:36:31 <nribeka> finally
14:37:21 <kennymac> is that what you were trying to do to me nribeka? :P
14:37:58 <nribeka> nothing. but freenode have the ability to hide cc number too kennymac. just fyi
14:38:45 <kennymac> good old freenode ehh? :P
14:42:19 *** upul` has joined #openmrs
14:42:19 *** ChanServ sets mode: +v upul`
14:43:36 *** wyclif has joined #openmrs
14:43:53 <wyclif> hey
14:44:32 <upul`> it's vesak in here can't find any good photos though http://www.flickr.com/photos/photosofsrilanka/sets/72157621680696783/
14:44:36 <OpenMRSBot> <http://ln-s.net/6zI1> (at www.flickr.com)
14:50:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2342 (enhancement closed): "Manage Proposed Concepts" visible to all users under Administration <http://dev.openmrs.org/ticket/2342#comment:3> || OpenMRS Changesets: Changeset [13542]: 1.6.x: "Manage Proposed Concepts" visible to all users under … <http://dev.openmrs.org/changeset/13542> || OpenMRS Changesets: Changeset [13541]: "Manage Proposed Concepts" visible to all users under Administration - … <http://dev.openmrs.org/changeset/13541>
14:53:56 <bwolfe> upul`: its buddha's birthday?
14:55:21 <upul`> bwolfe, yes, and when he realised what's going on in this world, and his death happened this time of the year
14:56:44 *** Shazin has quit IRC
14:57:20 *** Shazin has joined #openmrs
14:59:23 *** muthah has quit IRC
14:59:26 *** openmrs_web398 has joined #openmrs
14:59:40 *** muthah has joined #openmrs
15:02:13 *** njero has quit IRC
15:02:38 *** openmrs_web398 has quit IRC
15:06:24 *** umashanthi has joined #openmrs
15:06:24 *** ChanServ sets mode: +v umashanthi
15:07:23 <wyclif> bwolfe, how do you know that? are a follower?
15:07:38 <wyclif> bwolfe, are you a follower?
15:08:19 <bwolfe> wyclif: a follower of buddha? no, but I just read the description on the link that upul sent about Vesak being today. :-)
15:08:48 <wyclif> bwolfe, ok, lol
15:09:00 <umashanthi> upul`: Happy Vesak!!!
15:09:26 <umashanthi> upul`: Are you in Sri Lanka now?
15:10:11 <upul`> umashanthi, nope i'm in ceylon
15:10:34 <umashanthi> upul`: :)
15:11:51 *** njero has joined #openmrs
15:11:51 *** ChanServ sets mode: +v njero
15:13:16 *** Mkop has joined #openmrs
15:13:16 *** ChanServ sets mode: +v Mkop
15:14:59 <upul`> even if i mute the speakers media player still gives sound, even if i connect the ear phones still speakers give sound
15:16:28 *** tinashe_ has left #openmrs
15:19:50 *** luzhuangwei has joined #openmrs
15:19:50 *** ChanServ sets mode: +v luzhuangwei
15:21:17 <upul`> hey luzhuangwei have you gone to see the expo
15:21:34 <luzhuangwei> hi, upul`
15:21:41 <luzhuangwei> no, I haven't now
15:21:48 <luzhuangwei> plan to see in Aug
15:24:27 <upul`> where are you in china luzhuangwei
15:25:01 <luzhuangwei> Now, in Beijing
15:25:16 <luzhuangwei> Ah, not very far away from Shanghai
15:25:45 <luzhuangwei> about 10 hours railway from Beijing to Shanghai
15:27:40 <luzhuangwei> I hear that the largest numer for people to see expo in one day is near 300,000
15:27:51 <luzhuangwei> numer -> number
15:27:53 <luzhuangwei> sorry:-)
15:28:51 *** downeym has joined #openmrs
15:28:51 *** ChanServ sets mode: +o downeym
15:29:03 <upul`> it must be taking weeks to cover everything
15:31:04 <luzhuangwei> yeah, I think so. too many Exhibition hall
15:34:41 <luzhuangwei> upul`: My hometown is just near Shanghai, so I can go to see expo any day when I am at home in Aug
15:35:05 <upul`> i see
15:35:38 <luzhuangwei> upul`:Well:-)
15:36:16 *** openmrs_web731 has joined #openmrs
15:36:17 *** Hazamonzo has quit IRC
15:36:56 *** openmrs_web731 has left #openmrs
15:37:18 *** Hazamonzo has joined #openmrs
15:46:13 *** Mkop has quit IRC
15:50:03 *** upul` has quit IRC
15:51:13 *** openmrs_web875 has joined #openmrs
15:51:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13546]: Move Hl7_in_archive to filesystem - #2032 <http://dev.openmrs.org/changeset/13546> || OpenMRS Changesets: Changeset [13545]: metadata-localization branch: Added localization support for OrderType <http://dev.openmrs.org/changeset/13545> || OpenMRS Changesets: Changeset [13544]: metadata-localization branch: Modified methods which are related to "name" … <http://dev.openmrs.org/changeset/13544> || OpenMRS Changesets: Changeset [13543]: remotedatatransfer: unit tests broken <http://dev.openmrs.org/changeset/13543>
15:51:38 *** openmrs_web875 is now known as r-friedman
15:54:35 *** dieterichlawson has joined #openmrs
15:59:17 <downeym> hey dieterichlawson
15:59:32 <dieterichlawson> hey mike
16:01:03 <downeym> dieterichlawson: were your ears burning? :)
16:01:21 <dieterichlawson> nope! whats up, though?
16:01:39 <downeym> just was talking about you earlier in a meeting
16:01:48 <downeym> well, mess mod :)
16:07:03 <umashanthi> In my module, I have a jsp under /web/modules/portlet/<jsp-file>. I have a js file under /web/modules/resources/app/<js-file>. I want to use the js file in my jsp. How can I give the 'src' attribute for <script > tag?
16:17:48 *** x-ian has joined #openmrs
16:17:51 *** firzhan has joined #openmrs
16:22:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13548]: metadatasharing: Implement custom serialization to xml for metadata … <http://dev.openmrs.org/changeset/13548> || OpenMRS Changesets: Changeset [13547]: for #2306 properly handles null observation answers <http://dev.openmrs.org/changeset/13547> || OpenMRS Tickets: Ticket #2032 (task closed): Move Hl7_in_archive to filesystem <http://dev.openmrs.org/ticket/2032#comment:34>
16:26:23 *** Shazin has quit IRC
16:27:35 *** x-ian_ has joined #openmrs
16:29:02 <kennymac> umashanthi, you tried using a relative url?
16:29:45 <kennymac> umashanthi, like: ../resources/app/<js-file>
16:30:02 *** jmiranda has quit IRC
16:31:04 <kennymac> umashanthi, tbh though not sure if that would work either
16:31:25 *** x-ian has quit IRC
16:31:26 *** x-ian_ is now known as x-ian
16:33:16 *** Mkop has joined #openmrs
16:33:16 *** ChanServ sets mode: +v Mkop
16:35:11 <kennymac> umashanthi, perhaps if you did an include instead of using a <script> tag you could use the absolute path?
16:38:12 <umashanthi> kennymac: I tried the relative url.. but it didn't work
16:38:34 <umashanthi> kennymac: should try with include tag
16:38:38 <kennymac> umashanthi, yes i realised that after i types it ><
16:39:03 <kennymac> umashanthi, yes i think that would be better because the server will look for the file in that case not the client
16:39:59 *** muthah has quit IRC
16:40:16 <umashanthi> kennymac: yes. but since the module get deployed in the main app, I'm confused about the way I should give the path
16:42:16 <kennymac> umashanthi, i think that might depend on how you do the include, there is an openmrs:htmlInclude taglib for doing that in core but not sure how that applies to modules
16:43:32 <umashanthi> kennymac: the openmrs:htmlInclude tag can be used in modules. but I couldn't figure out how to give the path for a module
16:46:54 <kennymac> umashanthi, yes i see your problem, it seems like the root folder of the htmlInclude taglibs path is org/openmrs/web
16:48:08 <kennymac> this is where it would be nice to search the whole repository for examples
16:48:31 <kennymac> you could run a search for ".js" that would surely give you some pointers
16:48:40 *** x-ian_ has joined #openmrs
16:51:07 <kennymac> umashanthi, actually that is probably wrong, it seems to start in WEB-INF/view/
16:51:36 *** x-ian has quit IRC
16:51:37 *** x-ian_ is now known as x-ian
16:51:41 <umashanthi> kennymac: I'm trying with them..
16:51:57 <kennymac> umashanthi, gl, let me know how it goes
16:53:59 *** dieterichlawson has quit IRC
16:57:51 <kennymac> anybody thought about installing something like http://freshmeat.net/projects/supose?
16:58:12 <kennymac> i know somebody mentioned it on dev call
16:58:36 <kennymac> that particular package might be suitable
17:08:24 <downeym> hey kennymac :) we are installing Atlassian Fisheye & Crucible
17:08:36 <djazayeri> umashanthi, this is from a jsp page in the reporting module:
17:08:37 <djazayeri> <openmrs:htmlIncludefile="/moduleResources/reporting/scripts/flot/jquery.flot.js"/>
17:09:10 <djazayeri> everything in your module's resources directory is put in /moduleResources/${moduleId}/
17:09:23 <umashanthi> djazayeri: ok. let me try this way
17:09:39 <downeym> kennymac: fisheye will also let you bookmark stuff when you want to save it for later
17:10:13 *** downeym has left #openmrs
17:11:36 *** njero has quit IRC
17:13:41 *** downeym has joined #openmrs
17:13:41 *** ChanServ sets mode: +o downeym
17:14:12 *** luzhuangwei has quit IRC
17:15:59 <kennymac> downeym, those will certainly help out when trying to find out an established way to do something :)
17:16:26 <downeym> kennymac: yeah hope so :) just waiting on hardware upgrades to support it.
17:17:06 <kennymac> downeym, current hardware too slow?
17:17:20 <downeym> kennymac: just running more on it than had originally planned
17:17:48 <kennymac> downeym, i see, explains some of the crashing ;)
17:18:08 <downeym> heh ... trying to get off that bo
17:18:10 <downeym> *box.
17:18:29 <downeym> The "security" software on it actually decides to kill certain processes when it detects a would-be threat
17:18:44 <downeym> and by threat i mean things like submitting changes to wiki pages
17:20:09 <kennymac> lol
17:20:50 <kennymac> that could be a threat depending on who is changing them :P
17:21:38 <downeym> I tried to post the IRC transcript from yesterday's meeting, and my access to the box was cut off at the IP level for "pharmacy spam"
17:23:30 <kennymac> what like viagra adverts?
17:24:04 *** njero has joined #openmrs
17:24:04 *** ChanServ sets mode: +v njero
17:24:23 <downeym> kennymac: evidently. ;-)
17:24:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13549]: mdrtb-patient-summary: alpha/demo version of patient summary table … <http://dev.openmrs.org/changeset/13549>
17:24:34 <downeym> too much health care talk in our meetings i guess.
17:25:16 <kennymac> you gotta love AI :D
17:38:18 <bwolfe> downeym: its always pharmacy spam thats the problem
17:38:25 *** Mkop has quit IRC
17:38:30 <bwolfe> typically penicillin
17:38:32 * downeym sighs
17:38:41 <bwolfe> or maybe use of the word "drug"
17:38:44 * downeym counts the # of his spam with pencillin
17:38:45 <bwolfe> or "the"
17:38:55 <downeym> or " "
17:39:41 <bwolfe> yes, too many spaces
17:39:49 <bwolfe> NO MORE WIKI FOR YOU!
17:40:04 <downeym> no more box for you
17:51:29 *** jmiranda has joined #openmrs
17:51:29 *** ChanServ sets mode: +o jmiranda
17:52:00 *** downeym has quit IRC
18:03:40 *** chopin has quit IRC
18:07:59 <umashanthi> djazayeri: kennymac: This way worked: <openmrs:htmlIncludefile="/moduleResources/reporting/scripts/flot/jquery.flot.js"/>. Thanks..
18:14:05 *** firzhan has quit IRC
18:26:43 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2347 (enhancement closed): Allow encounter.location and obs.location to be null <http://dev.openmrs.org/ticket/2347#comment:4> || OpenMRS Changesets: Changeset [13550]: Allow encounter.location and obs.location to be null - #2347 Author: … <http://dev.openmrs.org/changeset/13550> || OpenMRS Tickets: Ticket #2306 (task closed): Null concept answers in HL7 messages cause HL7InQueue hangup <http://dev.openmrs.org/ticket/2306#comment:8>
18:33:48 <kennymac> umashanthi, great that is good to know
18:34:45 *** x-ian has quit IRC
18:40:04 *** james_regen has quit IRC
18:42:33 *** ajuonline has quit IRC
18:42:33 *** ajuonline has joined #openmrs
18:44:01 <bwolfe> whoa. its a human/giraffe love child: http://cbbc.georgetown.edu/images/portner.jpg
18:48:16 *** firzhan has joined #openmrs
18:58:44 *** harsha has left #openmrs
18:58:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13555]: metadatasharing: initialization of hibernate proxies before serialization … <http://dev.openmrs.org/changeset/13555> || OpenMRS Tickets: Ticket #2203 (defect closed): NPE when validating a numeric obs <http://dev.openmrs.org/ticket/2203#comment:11> || OpenMRS Changesets: Changeset [13554]: 1.5.x: NPE when validating a numeric obs - #2203 Author: aravindm <http://dev.openmrs.org/changeset/13554> || OpenMRS Changesets: Changeset [13553]: 1.6.x: NPE when validating a numeric obs - #2203 Author: aravindm <http://dev.openmrs.org/changeset/13553> || OpenMRS Changesets: Changeset [13552]: NPE when validating a numeric obs - #2203 Author: aravindm <http://dev.openmrs.org/changeset/13552> || OpenMRS Changesets: Changeset [13551]: mdrtb-patient-summary: added color-coding to patient summary table <http://dev.openmrs.org/changeset/13551> || OpenMRS Forum: Theme or Messages in Modules <http://forum.openmrs.org/viewtopic.php?f=8&t=598#p2267>
19:08:03 *** firzhan has quit IRC
19:16:02 *** r-friedman has quit IRC
19:17:25 *** djazayeri has quit IRC
19:30:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13561]: chica_scorable_jit branch * change CheckIncompleteScoringJit to allow up … <http://dev.openmrs.org/changeset/13561> || OpenMRS Changesets: Changeset [13560]: mdrtb-patient-summary: removing new summary tab from display <http://dev.openmrs.org/changeset/13560> || OpenMRS Changesets: Changeset [13559]: remotedatatransfer: fixes for unit test logging and added new page to view … <http://dev.openmrs.org/changeset/13559> || OpenMRS Changesets: Changeset [13558]: mdrtb-patient-summary: added extension point to mdrtb header so that … <http://dev.openmrs.org/changeset/13558> || OpenMRS Changesets: Changeset [13557]: mdrtb: added extension point to mdrtb header so that patient flags can be … <http://dev.openmrs.org/changeset/13557> || OpenMRS Changesets: Changeset [13556]: Added compiled gwt-module to simply display an input box+button. Coded to … <http://dev.openmrs.org/changeset/13556>
19:32:30 *** sgrannis has joined #openmrs
19:32:43 *** ChanServ sets mode: +v sgrannis
19:33:31 *** dieterichlawson has joined #openmrs
19:39:09 *** njero has left #openmrs
20:00:37 *** sgrannis has quit IRC
20:17:05 <umashanthi> When I start a module, I am getting the following error and the module doesn't get started:
20:17:07 <umashanthi> Failed to read candidate component class: URL [jar:file:/tmp/tomcat6-temp/1275077318320.openmrs-lib-cache/myfirstmodule/myfirstmodule.jar!/org/openmrs/module/myfirstmodule/gwt/server/GreetingServiceImpl.class]; nested exception is java.io.FileNotFoundException: class path resource [com/google/gwt/user/server/rpc/RemoteServiceServlet.class] cannot be opened because it does not exist
20:17:13 *** astelmashenko has quit IRC
20:17:21 <umashanthi> Any clues about this?
20:25:56 <bwolfe> umashanthi: GreetingServiceImpl should use Context.loadClass("com.google.gwt.user....") to load classes. how are you doing it now?
20:26:11 <bwolfe> umashanthi: or are you just doing a new RemoteServiceServlet() ?
20:26:45 <bwolfe> umashanthi: is gwt in "lib" (not lib-common) in your module ? if so, is RemoteServiceServlet in that jar/zip?
20:28:10 <umashanthi> bwolfe: In GreetingServiceImpl, I have 'extends RemoteServiceServlet' clause and the import statement
20:28:47 <umashanthi> bwolfe: gwt is in "lib-common" (not in "lib").
20:29:15 <umashanthi> bwolfe: yes, the RemoteServiceServlet is in the gwt.jar
20:29:24 *** x-ian has joined #openmrs
20:29:47 <bwolfe> umashanthi: put it in lib, recompile, and voila!
20:29:58 <umashanthi> bwolfe: ok, trying now
20:34:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13563]: logic-cache branch: adding "Serializabe" to *DAO interfaces. testing … <http://dev.openmrs.org/changeset/13563> || OpenMRS Changesets: Changeset [13562]: mdrtb: merging patient-summary branch back into 1.5 branch <http://dev.openmrs.org/changeset/13562> || Kenny MacDonald: First Week of RemoteDataTransfer Module <http://dev.xeerotee.net/?p=23>
20:35:31 *** astelmashenko has joined #openmrs
20:36:20 *** mathiaslin has quit IRC
20:37:23 *** dieterichlawson has left #openmrs
20:38:19 <umashanthi> bwolfe: solved that issue. So, what should go under "lib" and "lib-common"?
20:38:46 <bwolfe> http://openmrs.org/wiki/Modules#Overall_Module_Structure
20:38:47 <OpenMRSBot> <http://ln-s.net/3IGB> (at openmrs.org)
20:38:49 <bwolfe> @ umashanthi
20:39:41 <umashanthi> bwolfe: got it
20:44:58 <umashanthi> I'm getting the following error when starting a module: Error parsing diff sqldiff.xml
20:45:19 <umashanthi> There's no changes I made to the sqldiff.xml and it has no sql statements
20:46:42 <bwolfe> umashanthi: perhaps thats why? you might be able to just delete the file
20:54:38 *** nribeka has quit IRC
20:55:18 <umashanthi> mm... another issue:
20:55:20 <umashanthi> Unable to refresh the WebApplicationContext Error creating bean with name 'myfirstmoduleUrlMapping' defined in URL [jar:file:/tmp/tomcat6-temp/1275077318320.openmrs-lib-cache/myfirstmodule/myfirstmodule.jar!/moduleApplicationContext.xml]: Initialization of bean failed; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/module/ModuleClassLoader) previously initiated loading for a different type wi
20:56:09 <umashanthi> All these error are coming once I added some gwt-code
21:06:56 <umashanthi> I added only few gwt-service classes.. no other changes I did. Any idea how the javax.servlet.http.HttpServletRequest loaded?
21:11:24 *** kennymac has quit IRC
21:12:28 *** djazayeri has joined #openmrs
21:12:28 *** ChanServ sets mode: +o djazayeri
21:29:22 *** x-ian has left #openmrs
21:35:36 *** Shazin has joined #openmrs
21:42:28 <bwolfe> umashanthi: did you figure that out?
21:42:38 <bwolfe> umashanthi: I don't see httpservletrequest in your error message
21:42:53 <bwolfe> (pastebin.com is best for long errors or stacktraces)
21:43:21 <bwolfe> umashanthi: look at the xforms module. it uses some gwt in it I think
21:44:26 <umashanthi> bwolfe: xforms uses only for form designer UI. I looked at it and they are using a widget called purcform done by Daniel
21:44:57 <umashanthi> bwolfe: http://www.pastie.org/982470
21:45:13 <umashanthi> bwolfe: I'm still in the process of figuring out it..
21:46:20 <bwolfe> umashanthi: whats in your lib folder ?
21:46:43 <umashanthi> umashanthi: there are 3 gwt-related jars
21:46:51 <umashanthi> bwolfe:
21:47:30 <umashanthi> bwolfe: no..only two
21:48:07 <bwolfe> umashanthi: neither of which have javax/servlet/http/HttpServletRequest in it ?
21:50:26 <umashanthi> bwolfe: both has
21:51:04 <bwolfe> umashanthi: hmm
21:51:06 <bwolfe> strange
21:51:09 <bwolfe> what are the jars?
21:51:36 <umashanthi> gwt-user.jar and gwt-dev.jar
21:51:46 <bwolfe> hmm
21:51:50 <bwolfe> no idea
21:51:56 <umashanthi> bwolfe: I'm trying to search for some other jar
21:52:10 <bwolfe> and google might have an answer
21:52:12 <umashanthi> bwolfe: ok.. will try some other way
21:52:16 <umashanthi> bwolfe: yes
21:52:16 <bwolfe> ok.
21:52:23 <bwolfe> check with daniel kayiwa if you have to
21:52:32 <bwolfe> he has a wiki user page with his skype/email I think
21:52:46 <bwolfe> dinner time
21:52:48 *** bwolfe has quit IRC
22:11:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13564]: sync-module: - More code around ticket #1535..it is now working such that … <http://dev.openmrs.org/changeset/13564>
22:33:14 *** umashanthi has left #openmrs
22:43:09 <OpenMRSBot> Recent updates in the world of openmrs: News Blog: OpenMRS Internship Program 2010 <http://blog.openmrs.org/?p=265>
22:54:59 *** astelmashenko has quit IRC
23:02:29 *** leshank has joined #openmrs
23:03:50 *** leshank has left #openmrs
23:15:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13565]: logic-cache branch: adding set memberIds to … <http://dev.openmrs.org/changeset/13565>
23:39:02 *** Shazin has quit IRC
23:54:24 *** wyclif has quit IRC