IRC Chat : 2010-03-12 - OpenMRS

00:04:40 *** kamrul has joined #openmrs
00:15:21 *** andrewaclt has joined #openmrs
00:15:28 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Demo-1.6.0.sql <http://forum.openmrs.org/viewtopic.php?f=2&t=577#p2152>
00:20:17 *** downeym has joined #openmrs
00:20:17 <OpenMRSBot> Hey.
00:20:17 *** ChanServ sets mode: +o downeym
00:21:33 *** njero has quit IRC
00:24:23 <nribeka> hi OpenMRSBot
00:24:25 <nribeka> hi downeym
00:24:37 <downeym> hi nyoman-choma
00:25:48 <nribeka> suuupppp downeym
00:27:06 <nribeka> hahahahahahaha
00:27:07 <nribeka> lol
00:27:10 <nribeka> nice one downeym
00:27:18 <downeym> ?
00:38:39 <nribeka> the link
00:39:11 *** njero has joined #openmrs
00:39:11 *** ChanServ sets mode: +v njero
00:44:25 <downeym> nribeka: ahh, the classic http://catb.org/~esr/faqs/smart-questions.html
00:44:34 <nribeka> yes
00:44:36 <nribeka> good one
00:46:37 <downeym> esr is great, i've traded a few e-mails with him before
00:46:41 <downeym> i made sure to ask smart questions :)
00:46:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12404]: fixing an NPE while intersecting a cohort with null <http://dev.openmrs.org/changeset/12404> || OpenMRS Changesets: Changeset [12403]: 1.6.x: fixing an NPE while intersecting a cohort with null <http://dev.openmrs.org/changeset/12403> || OpenMRS Changesets: Changeset [12402]: reporting: Added ability to configure location filter on a cohort … <http://dev.openmrs.org/changeset/12402>
00:47:20 <nribeka> lol ... i'm asian. so i'm allowed to ask not-so-smart questions
00:48:01 <downeym> no excuses :P
01:08:55 *** njero has quit IRC
01:10:05 *** njero has joined #openmrs
01:10:05 *** ChanServ sets mode: +v njero
01:11:14 *** njero_ has joined #openmrs
01:14:39 *** njero has quit IRC
01:17:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12405]: reporting: Fix CohortIndicatorAndDimensionResult NPE <http://dev.openmrs.org/changeset/12405>
01:37:27 *** andrewaclt has quit IRC
01:41:55 * downeym is playing Rogue - anyone remember that?
02:33:20 *** upul` has joined #openmrs
02:33:20 *** ChanServ sets mode: +v upul`
02:48:35 *** njero has joined #openmrs
02:48:35 *** ChanServ sets mode: +v njero
02:50:57 *** downeym has quit IRC
02:51:28 *** njero_ has quit IRC
03:13:06 *** njero has quit IRC
03:20:29 *** njero has joined #openmrs
03:20:29 *** ChanServ sets mode: +v njero
03:21:33 *** jmiranda has quit IRC
03:22:11 *** chopin has joined #openmrs
03:22:11 *** ChanServ sets mode: +v chopin
03:29:21 *** chopin has quit IRC
03:42:48 *** nribeka has quit IRC
03:56:10 *** nribeka has joined #openmrs
03:56:10 *** ChanServ sets mode: +v nribeka
04:03:26 *** openmrs_web199 has joined #openmrs
04:03:54 *** openmrs_web199 has quit IRC
04:12:29 *** luzhuangwei has joined #openmrs
04:15:57 *** andrewaclt has joined #openmrs
04:21:28 *** nribeka has quit IRC
04:37:23 *** nribeka has joined #openmrs
04:37:23 *** ChanServ sets mode: +v nribeka
04:42:39 *** x-ian has quit IRC
04:48:06 *** njero has quit IRC
05:08:00 *** x-ian has joined #openmrs
05:16:34 *** x-ian has quit IRC
05:24:18 *** Echidna has quit IRC
05:24:40 *** Echidna has joined #openmrs
05:24:40 *** ChanServ sets mode: +v Echidna
05:25:29 *** luzhuangwei has quit IRC
05:28:30 *** x-ian has joined #openmrs
06:09:31 *** nribeka has quit IRC
06:33:38 *** sanyam has joined #openmrs
06:42:38 *** openmrs_web059 has joined #openmrs
06:42:59 *** openmrs_web059 is now known as judywawira
06:43:23 <judywawira> hey people....and sanyam ....nyoman told me that you are up and running...
06:43:51 <judywawira> anyways i have a question to all of you...i get this error......
06:43:52 <judywawira> java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
06:44:00 <judywawira> in my xml code..any ideas...??
06:46:00 *** pascal` has joined #openmrs
06:46:13 *** ChanServ sets mode: +v pascal`
06:49:37 *** openmrs_web627 has joined #openmrs
06:49:40 *** openmrs_web627 is now known as Suneeth
06:59:45 *** danielf has joined #openmrs
07:14:42 *** judywawira has quit IRC
07:18:43 *** x-ian has quit IRC
07:19:56 *** x-ian has joined #openmrs
07:31:34 *** Suneeth has quit IRC
07:39:31 *** judywawira has joined #openmrs
07:42:16 <judywawira> here is the a copy of my webmodule applicationcontext.xml file...
07:43:17 <judywawira> can anyone see why it should not work ...and it keeps giving me an error of ...java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
07:43:32 <judywawira> the link is ...http://pastie.org/866206
08:14:53 <judywawira> lol
08:21:42 <pascal`> you solve it judywawira ?
08:41:14 *** judywawira has quit IRC
08:46:28 <upul`> lol
08:48:03 *** openmrs_web621 has joined #openmrs
08:48:14 *** openmrs_web621 is now known as judywawira
08:48:33 <judywawira> at pascal...i have not succeeded...can you see the problem
08:48:34 <judywawira> ?
08:49:10 <judywawira> my net is quite unstable today...so if you wanna switch to skype or gmail....its judywawira for both
08:50:15 <pascal`> I've had weird issues with the config files before
08:50:30 <pascal`> try deleting the blank line (20).. and making the indentation nice
08:50:56 <pascal`> I realise that isn't theoretically supposed to matter... but it just looks nicer anyway :)
08:53:35 <upul`> why do you think this is the culprit
08:53:45 <pascal`> yes, was about to ask that?
08:54:19 <pascal`> if you comment out the whole file, do you still get the issue?
08:54:46 <judywawira> i havent tried removing the comments...
08:55:09 <upul`> MentalHealthHomepage case is different
08:56:41 <upul`> may be there's an error output before this
08:57:00 <upul`> check the whole error log
08:57:49 <pascal`> upul`, nicely spotted... the case is different, that should definitely make a difference
08:59:27 <judywawira> whats the difference??
09:02:44 <pascal`> case
09:02:50 <pascal`> !gsoc
09:02:50 <OpenMRSBot> pascal`: "gsoc" --- More information about OpenMRS and Google Summer of Code 2010 is available at http://soc2010.openmrs.org/
09:04:31 <upul`> thanks pascal`
09:14:05 <judywawira> upul what do u think is the problem...
09:19:24 <upul`> there's MentalHealthHomepage and mentalhealthhomepage
09:20:31 *** x-ian has quit IRC
09:21:15 *** x-ian has joined #openmrs
09:21:57 <upul`> !ben
09:21:57 <OpenMRSBot> upul`: Error: "ben" is not a valid command.
09:22:06 <upul`> !bwolfe
09:22:06 <OpenMRSBot> upul`: "bwolfe" --- is a Jedi
09:22:15 <upul`> :-o
09:22:35 <judywawira> ???
09:22:51 <judywawira> do u mean on the props section...i thought the capital letters do not matter really.....
09:22:54 <judywawira> !!
09:22:54 <OpenMRSBot> judywawira: Error: "!" is not a valid command.
09:23:05 <upul`> it matters
09:23:39 <upul`> but probably that error must have been logged before that exception
09:23:44 <judywawira> ok...let me try it out..
09:24:06 <judywawira> i have my logs from tomcat but they are too big to be pasted in pastie,,,
09:24:16 <judywawira> do u know wnywhere else i could paste them??
09:25:30 <upul`> just delete the old ones and let it make clean ones
09:26:03 <upul`> or just check and see if it says cannot find bean or any other errors
09:26:04 *** openmrs_web198 has joined #openmrs
09:26:33 <openmrs_web198> i went offline pascal....
09:26:43 <openmrs_web198> did u get my last question??
09:26:51 <openmrs_web198> sorry upul
09:27:13 <upul`> [14:53] <upul`> it matters
09:27:14 <upul`> [14:53] <upul`> but probably that error must have been logged before that exception
09:27:16 <upul`> [14:53] <judywawira> ok...let me try it out..
09:27:17 <upul`> [14:54] <judywawira> i have my logs from tomcat but they are too big to be pasted in pastie,,,
09:27:19 <upul`> [14:54] <judywawira> do u know wnywhere else i could paste them??
09:27:20 <upul`> [14:55] <upul`> just delete the old ones and let it make clean ones
09:27:22 <upul`> [14:56] <upul`> or just check and see if it says cannot find bean or any other errors
09:27:56 <openmrs_web198> ok..
09:28:32 *** judywawira has quit IRC
09:28:34 *** openmrs_web198 is now known as judywaw
09:34:24 *** sanyam has quit IRC
09:40:52 <judywaw> how does the <props part link with the main bean and its id...
09:44:03 <upul`> if it's module/mentalhealth/mentalhomepage.form then refere bean <id>
09:44:11 <upul`> so they should match
09:44:26 <upul`> check with other working modules
09:46:18 <pascal`> annotations avoids this stuff
09:52:00 *** judywaw has quit IRC
10:26:04 *** sanyam has joined #openmrs
10:26:33 <sanyam> Does anyone know good resources for learning spring framework..?
10:27:08 <sanyam> I am trying to understand the code base of openMRS and it looks like it uses spring framework..
10:29:16 <pascal`> hi sanyam
10:29:44 <sanyam> hi pascal
10:30:30 <sanyam> I want to learn spring framework..
10:30:47 <pascal`> sanyam, this is probably a good place to start: http://www.springsource.org/documentation
10:33:16 <pascal`> sanyam, you'll also want to take a look at hibernate
10:33:29 <pascal`> sanyam, and don't forget about the MVC component of spring
10:34:35 <sanyam> I was actually trying to solve some tickets , then I realized that I need to understand the code first ..:-)
10:34:53 <pascal`> sanyam, yes, that always helps :)
10:42:36 *** sanyam has quit IRC
10:59:15 *** danielf has quit IRC
10:59:15 *** pascal` has quit IRC
11:05:57 *** upul`` has joined #openmrs
11:05:57 *** ChanServ sets mode: +v upul``
11:06:09 *** upul` has quit IRC
11:15:52 *** upul`` is now known as upul`
11:17:20 *** danielf has joined #openmrs
11:48:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12407]: Added a test case for more sample messages <http://dev.openmrs.org/changeset/12407> || OpenMRS Changesets: Changeset [12406]: Give the saved columns more meaningful names when mapping indicators. <http://dev.openmrs.org/changeset/12406>
11:55:33 *** sanyam has joined #openmrs
11:56:01 <sanyam> hi..
11:56:25 <sanyam> Which part of the spring framework does openMRS use ..MVC framework, an AOP integration framework, a JDBC integration framework?
11:57:12 <sanyam> I have been reading/learning about spring to understand the code-base for openMRS..
11:57:19 <upul`> core spring and mvc
11:57:25 <upul`> also AOP
11:57:55 <upul`> no jdbc just hibernate
11:58:41 <sanyam> ok..Thanks for the information.
12:00:22 <sanyam> hibernate is basically used for O/R mapping ..Is there direct support for it in spring. ?
12:06:21 *** luzhuangwei has joined #openmrs
12:06:28 <upul`> yes
12:07:03 <upul`> hi luzhuangwei
12:07:13 <luzhuangwei> hi, upul
12:08:16 <upul`> sanyam, but openmrs hasn't used much spring hibernate integration stuff
12:08:59 <sanyam> Then , How does openMRS uses hibernate,,?
12:10:59 <upul`> you can check a Hibernate..DAO class
12:12:12 *** openmrs_web047 has joined #openmrs
12:12:47 <luzhuangwei> Hi, sanyam. you can also see the hibernate's config info in file "hibernate.default.properties"
12:14:09 <sanyam> ok..thanks for the information..
12:14:20 *** openmrs_web047 is now known as judywawira
12:14:34 <upul`> luzhuangwei, what happend with google china
12:15:01 <judywawira> upul..ur changes and other stuff seemed to fix my problem..
12:15:10 <judywawira> but now i have this error...
12:15:41 <judywawira> on the
12:16:02 <judywawira> ** Root cause is: /WEB-INF/view/module/ui/springmvc/homepage.jsp(1,1) File "/WEB-INF/view/module/htmlwidgets/resources/htmlwidgets.tld" not found
12:16:29 <upul`> does it really exist
12:17:21 <luzhuangwei> upul`, Ah, now google china runs as good as previous.
12:17:46 <upul`> luzhuangwei, you mean not filtered
12:18:26 <luzhuangwei> upul`, you mean what? gmail, blog, and other?
12:18:49 *** openmrs_web279 has joined #openmrs
12:19:01 <upul`> i mean searching for some terms giving no results
12:19:15 <openmrs_web279> hey, do you know the whole package name of the hl7Service?
12:20:06 <upul`> openmrs_web279, there is a org.openmrs.hl7.HL7Service
12:20:59 <luzhuangwei> Hmm, at least, i can search what info i want to know ok. maybe as you say, there are some terms giving no result.
12:21:06 <luzhuangwei> but i don't know which:-)
12:22:02 <judywawira> i am wondering how to point the page to the WEB-INF in the trunk..
12:22:13 <luzhuangwei> Ah, you are familiar with the google' iinfo in china, it's good:-)
12:22:15 <judywawira> does one really need to copy that folder to your module??
12:23:03 <upul`> what do you mean judywawira
12:24:33 *** tinashe has joined #openmrs
12:27:47 *** sanyam has quit IRC
12:28:10 <judywawira> there is a web-inf folder when you check out the trunk
12:28:15 <judywawira> in eclipse...
12:28:54 <upul`> it should get into right place in the WEB-INF when you build the WAR
12:29:28 <judywawira> do u need to copy this folder into your module??
12:29:38 <upul`> why
12:29:58 <judywawira> to get the header and footer and include because they are giving me a problem..
12:31:04 <judywawira> this is my error...http://pastie.org/866434
12:31:15 <upul`> there's resources dir to put things that go into classpath
12:31:31 <upul`> i have to go now
12:31:41 <upul`> see you later
12:31:44 *** upul` has quit IRC
12:36:07 *** robbyoconnor has joined #openmrs
12:36:07 *** ChanServ sets mode: +v robbyoconnor
12:44:50 *** openmrs_web279 has quit IRC
12:55:16 *** openmrs_web777 has joined #openmrs
12:55:20 *** judywawira has quit IRC
12:55:28 <openmrs_web777> what does this mean...Fragment "/WEB-INF/template/include.jsp" was not found at expected path /Mental-health/WEB-INF/ template/include.jsp
12:55:43 *** openmrs_web777 is now known as judywawira
13:05:38 *** robbyoconnor has quit IRC
13:12:28 *** chopin has joined #openmrs
13:12:28 *** ChanServ sets mode: +v chopin
13:17:48 *** rcrichton has joined #openmrs
13:22:03 *** tinashe has quit IRC
13:22:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12408]: logmanager: added presets for loggers <http://dev.openmrs.org/changeset/12408>
13:26:27 <luzhuangwei> hi, judywawira. Did you write such as "<%@ include file="/WEB-INF/template/include.jsp" %>" in your module's jsp page?
13:26:57 <judywawira> oh i got that working..
13:27:10 <judywawira> i just deleted all teh code and did it again...
13:27:11 <luzhuangwei> what is "Mental-health"? i think maybe don't need this
13:27:16 *** sanyam has joined #openmrs
13:27:18 <judywawira> starnge world...
13:27:29 <judywawira> mental health...what do u mean??
13:27:30 <judywawira> starnge
13:27:48 <judywawira> strange..my keyboard is misbehaving
13:27:58 <luzhuangwei> "/WEB-INF/template/include.jsp" was not found at expected path /Mental-health/WEB-INF/ template/include.jsp
13:28:18 <judywawira> mentalhealth is the name f the module
13:29:03 <luzhuangwei> ok, is it because of the name "mentalhealth" exist in the inlcude path
13:29:05 <luzhuangwei> ?
13:29:25 <judywawira> ohh ok
13:29:33 <judywawira> i think that was the mistake...
13:29:42 <luzhuangwei> ah, you have solved problem. it's good:-)
13:29:47 <judywawira> i got one page working already though
13:29:53 <judywawira> its halfway solved...
13:30:13 <judywawira> i am trying to use the ui.springmvc module by darius
13:30:34 <judywawira> and it requires one to link forms...via this module and you can also add widgets...
13:30:42 <judywawira> have you looked at it??
13:30:52 <judywawira> so i cant get that specific page to work...
13:31:00 <judywawira> do you want to help??
13:31:16 <luzhuangwei> oh, sorry, i haven't looked that module.
13:31:35 <judywawira> its not that hard...
13:31:47 <judywawira> i need help with the xml part of things...
13:31:58 <judywawira> it doesnt look that complex but i just cant eem to get it to work...
13:33:38 <judywawira> http://openmrs.org/wiki/Ui.springmvc_module
13:38:25 *** openmrs_web884 has joined #openmrs
13:38:38 <openmrs_web884> hi
13:40:04 *** openmrs_web884 has quit IRC
13:41:12 *** openmrs_web538 has joined #openmrs
13:41:21 *** nribeka has joined #openmrs
13:41:21 *** ChanServ sets mode: +v nribeka
13:41:28 *** openmrs_web538 is now known as mrosas
13:41:38 *** danielf has quit IRC
13:41:50 <mrosas> hey, i'm having this error when trying to upload the html form module Error while trying to start module Module requires at least version '1.6.0.11652'. Current code version is only '1.6.0.11416' Module: HTML Form Entry
13:42:01 *** hawaiian has joined #openmrs
13:42:16 <mrosas> and the version is 1.6.2, i've recently donwloaded it
13:42:29 <nribeka> update your openmrs mrosas
13:42:30 *** tinashe_ has joined #openmrs
13:42:58 <mrosas> the version requested is of the openmrs and not the module?
13:43:22 <nribeka> yes, that's the openmrs version required by the module
13:43:39 <mrosas> nice...
13:43:44 <mrosas> where can i download an update¿?
13:44:52 *** downeym has joined #openmrs
13:44:52 *** ChanServ sets mode: +o downeym
13:45:53 *** ChanServ sets mode: +v judywawira
13:46:14 <nribeka> hm ... you are not building the openmrs from the source code? :)
13:46:29 <nribeka> if you do, then do update on your svn
13:47:04 <mrosas> i don't know, i'm not the one who is doing that, but i let him know then
13:47:10 <mrosas> thanks
13:47:14 <nribeka> cool cool mrosas
13:47:33 *** mrosas has quit IRC
13:50:55 *** tinashe_ has quit IRC
13:52:48 *** bwolfe has joined #openmrs
13:52:48 *** ChanServ sets mode: +o bwolfe
13:54:37 <judywawira> has anybody tried out the new module by darius..
13:54:48 <nribeka> which module judywawira
13:54:51 <judywawira> i need help with some xml code on it....
13:55:06 <judywawira> ui.springmvc
13:55:20 <judywawira> hey Mike downey
13:55:43 <chopin> downeym: got a gsoc idea
13:56:44 <downeym> chopin: shoot
13:56:49 <downeym> hi judy
13:56:57 <nribeka> hi chopin
13:57:35 <chopin> hey-o!
13:57:50 <chopin> downeym: implied familial relationship detector
13:57:50 <downeym> !gsoc
13:57:50 <OpenMRSBot> downeym: "gsoc" --- More information about OpenMRS and Google Summer of Code 2010 is available at http://soc2010.openmrs.org/
13:57:57 <chopin> or ifrd
13:59:05 *** danielf has joined #openmrs
13:59:05 <chopin> downeym: if i say X is a sibling of Y and Y has a mother, X gets that mother (theoretically)
13:59:28 <chopin> could get hairy with biological vs non but ... that's for the student to figure out ;-)
14:00:26 <downeym> chopin: that is making an assumption :)
14:00:46 * downeym has plenty of brothers in cameroon that do not have the same parents as he does
14:00:53 <downeym> :)
14:02:00 <judywawira> ha ha
14:02:36 <downeym> judywawira: but i am right, am i?
14:02:50 *** bwolfe_ has joined #openmrs
14:02:50 *** ChanServ sets mode: +o bwolfe_
14:03:12 <downeym> chopin: also you get the situation where you may have brother sister with same father and different mother (polygamy)
14:03:24 <downeym> but all live together, eat from same dish
14:03:54 *** rcrichton has quit IRC
14:04:01 <downeym> chopin: I'm not saying that it's more common that "typical" father-mother-child relationships, but it is not unheard of
14:04:20 *** nribeka has quit IRC
14:05:20 *** nribeka has joined #openmrs
14:05:20 *** ChanServ sets mode: +v nribeka
14:05:58 <judywawira> true mikey
14:06:02 <downeym> nribeka: stop :D
14:06:10 <judywawira> its very common in rural kenya
14:06:49 <nribeka> whereis the logs?
14:06:57 *** bwolfe has quit IRC
14:07:00 <downeym> nribeka: what logs?
14:07:05 <nribeka> irc log
14:07:18 <downeym> nribeka: http://dev.openmrs.org/irclogs/
14:09:02 <nribeka> go chopin. propose that relationship module for gsoc
14:13:55 <downeym> chopin: so IFRD could be a cool project ... gsoc or otherwise ... you should add it with the template to unassigned projects and (for now) leave off gsoc 2010 tag, and we'll have another review soon
14:15:00 *** Shazin has joined #openmrs
14:15:20 <Shazin> Hi All
14:16:11 *** upul` has joined #openmrs
14:16:11 *** ChanServ sets mode: +v upul`
14:16:33 *** bwolfe_ is now known as bwolfe
14:16:46 <judywawira> when developing a module that depends on another module....
14:17:01 <judywawira> like mental health depends on patient charts widget...
14:17:27 <judywawira> should you put that part of xml on the config file??
14:17:57 <judywawira> something like this...
14:17:59 <judywawira> <require_modules> <!-- <require_module>org.openmrs.module.reporting</require_module> --> <require_module>org.openmrs.module.htmlformentry</require_module> <require_module>org.openmrs.module.ui.springmvc</require_module> </require_modules>
14:18:21 <judywawira> or is calling it in ur moduleapplicationcontext is sufficient..
14:18:50 *** njero has joined #openmrs
14:18:55 *** ChanServ sets mode: +v njero
14:19:38 <upul`> judywawira, <requiremodules> makes openmrs make sure requiremetns exists before anything happens
14:22:21 <judywawira> ok
14:27:55 <Shazin> Hi I have question regarding one Project in Unassigned Projects
14:28:07 <Shazin> Encounter Type Hierarchy
14:30:06 <judywawira> how can you ...# Map the bean in your module's urlMapping
14:31:34 <judywawira> this is my urlmapping... @RequestMapping(value= "/module/mentalhealth/mentalhomepage", method = RequestMethod.GET)
14:31:53 <judywawira> unless you are doing it in the moduleapplicationcontext file..
14:31:55 <judywawira> lol!!
14:35:19 <nribeka> what are you trying to do judy?
14:35:25 <nribeka> hi Shazin
14:35:36 <nribeka> what questions do you have?
14:35:51 <Shazin> According the ticket http://dev.openmrs.org/ticket/1315
14:36:24 <Shazin> That project is under needs review status
14:36:52 <Shazin> and it has an assigned developer
14:36:52 <judywawira> i am creating a module for mental health..
14:37:21 <judywawira> the module should run on user forms....allowing the user to create their forms then we link them to run as one...something close to what we had done with the UI
14:37:33 *** upul` has quit IRC
14:37:52 <judywawira> so i have tried using teh springmvc module with no success..
14:38:26 <judywawira> so i changed to the patient chart widget module....
14:38:39 <judywawira> so this requires i create a bean..with some tabs...
14:39:29 <Shazin> WHat is the actual status of that Project
14:41:00 <judywawira> so in teh code it requires one to map the bean to your url...so i am asking how does one do this...
14:41:12 *** openmrs_web835 has joined #openmrs
14:41:12 <downeym> hi openmrs_web835
14:41:16 *** openmrs_web835 is now known as skelly
14:41:42 *** skelly is now known as munaf
14:41:50 <munaf> hello
14:42:17 <munaf> trying to install OpenMRS on fresh machine but its not createing the database tables when its deployed
14:42:32 <munaf> the liquibase tables are created but nothing else
14:42:40 <munaf> is that normal?
14:42:55 <munaf> using version 1.5.2
14:43:06 <munaf> and tomcat6 with mysql 5.1
14:43:46 <munaf> the installation docs don't say anything about having to run any db scripts
14:43:52 *** nribeka has quit IRC
14:44:34 *** munaf has quit IRC
14:44:38 *** openmrs_web971 has joined #openmrs
14:44:38 <downeym> hi openmrs_web971
14:44:46 *** openmrs_web971 is now known as munaf
14:45:09 <munaf> anyone able to help?
14:47:03 <bwolfe> munaf: what OS ?
14:47:25 <munaf> ubuntu
14:47:27 <munaf> 904
14:47:35 <bwolfe> munaf: are you telling it to generate the tables in the wizard ?
14:48:02 <munaf> after deploying I just get the maintenance login screen
14:48:14 <munaf> which can't login cause no users table exists
14:48:21 <judywawira> then whats the error reading...
14:48:41 <judywawira> even with admin/test loging??
14:48:50 <bwolfe> munaf: did you create the runtime properties file yourself ?
14:48:51 <munaf> error in logfile
14:48:54 <munaf> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'openmrs2.users' doesn't exist
14:49:26 <judywawira> by the way have u craeted the .OpenMRS folder... to be accessed by tomcat and with permissions?
14:49:34 <munaf> no, the runtime props were created when the app was deployed for the first time
14:49:54 <munaf> the props are being read ok cause it is able to access the db
14:50:14 <munaf> no other exceptions throw when the app starts up
14:50:33 <bwolfe> when you deployed the app for the first time, did you get the intialization wizard and did you tell it to create the tables?
14:50:55 *** danielf has quit IRC
14:51:01 *** siri2 has joined #openmrs
14:51:02 <downeym> hi siri2
14:51:11 <munaf> after deploying for frist time and accessing http://localhost:8080/oenmrs
14:51:15 <siri2> downeym: HI..
14:51:22 <munaf> i get forwarded to the initalsetup page
14:51:26 <munaf> which asks me to login
14:51:28 *** nribeka has joined #openmrs
14:51:28 *** ChanServ sets mode: +v nribeka
14:51:37 <munaf> (says openMRS is in maintenace mode)
14:51:50 <siri2> downeym: Can i PM you?
14:51:51 <munaf> obviously I can't login since the users table doesn't exist
14:53:40 <munaf> sorry, url posted earlier has typo, should be http://localhost:8080/openmrs
14:53:56 <downeym> siri2: hi, i'm back now
14:54:22 <munaf> anyone got any ideas why the database tables aren't being created?
14:54:22 <bwolfe> munaf: when you deploy for the first time you should get the intialization wizard. if you get the maintanence mode, that means that openmrs found a runtime properties file and thinks you already set things up
14:54:38 <bwolfe> munaf: so delete your runtime properties file and restart openmrs
14:54:47 <munaf> ok
14:54:49 <nribeka> bwolfe to the rescue
14:54:50 <bwolfe> munaf: did you read somewhere that you should create it, or are you just going from memory ?
14:55:27 <bwolfe> siri2 / downeym : if you're asking general questions we prefer the discussion be here in the main forum so that others can help and learn from the questions/answers
14:55:34 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12413]: Fixing login issue with blank username <http://dev.openmrs.org/changeset/12413> || OpenMRS Changesets: Changeset [12412]: Creating gradle branch for chenhf for testing out a change in the build … <http://dev.openmrs.org/changeset/12412> || OpenMRS Changesets: Changeset [12411]: Creating maven branch for chenhf for testing out a change in the build … <http://dev.openmrs.org/changeset/12411> || OpenMRS Changesets: Changeset [12410]: logmanager: added production and development presets to sqldiff <http://dev.openmrs.org/changeset/12410> || OpenMRS Changesets: Changeset [12409]: OpenmrsapiWebService modified by krishnaja <http://dev.openmrs.org/changeset/12409>
14:55:40 *** Shaz has joined #openmrs
14:56:06 <munaf> great, thanks bwolfe, not sure where that runtime props file came from then ...
14:56:08 <bwolfe> siri2 / downeym : if you're discussing how awesome I am, you can do that in private but we ask that the final winning adjective be restated here in the main forum ;-)
14:56:15 <bwolfe> munaf: magic
14:56:23 <downeym> bwolfe++
14:56:50 <downeym> !gsoc
14:56:50 <OpenMRSBot> downeym: "gsoc" --- More information about OpenMRS and Google Summer of Code 2010 is available at http://soc2010.openmrs.org/
14:56:54 <siri2> downeym/bwolfe: ok...:)
14:57:40 <siri2> downeym: Are there any projects for soc on c/c++/java?
14:58:34 <downeym> siri2: Should we be accepted for GSoC, here are the projects we've identified as "do-able" this summer: http://openmrs.org/wiki/Unassigned_Projects (look for GSoC icon)
14:58:50 *** munaf has quit IRC
14:59:01 *** Shazin has quit IRC
14:59:14 <downeym> siri2: You will find plenty of java projects :) but if you're looking for C you'll be disappointed.
14:59:17 <siri2> downeym: ok..
15:03:00 <siri2> downeym: i have one silly question-- In c++ we have "watch" to see the execution of the program(by pressing f7).Do we have anything like that, to know the sequence of compilation of large number of files?So that one can understand the code or procedure of compilation easily..
15:05:17 <siri2> Did anyone understand my question?
15:05:27 <nribeka> nribeka++
15:05:27 <OpenMRSBot> nribeka: Error: You're not allowed to adjust your own karma.
15:05:45 <siri2> *understood*
15:06:44 <bwolfe> nribeka--
15:06:53 <nribeka> !karma nribeka
15:06:53 <OpenMRSBot> nribeka: Karma for "nribeka" has been increased 1 time and decreased 3 times for a total karma of -2.
15:06:59 <nribeka> arggghhh ... nooooo
15:07:01 <bwolfe> siri2: understand was right :-)
15:07:07 <nribeka> i have no reputation here
15:07:10 <bwolfe> siri2: you can debug with java when its executing
15:07:20 <bwolfe> I've never tried to stop/debug while java is compiling though
15:07:28 <bwolfe> nribeka++
15:07:33 <nribeka> thanks bwolfe :)
15:08:03 <siri2> bwolfe: ok..
15:08:36 <siri2> bwolfe: which ide has that facility?
15:08:59 <bwolfe> siri2: debugging? all of them
15:10:17 <siri2> bwolfe: i mean that should help for understanding code and also helps for debugging
15:12:08 *** Shaz is now known as Shazin
15:12:39 <bwolfe> siri2: theres a 'how to debug a web application' section on this page: http://openmrs.org/wiki/Developer_How-To_Use_Eclipse_Guide
15:12:40 <OpenMRSBot> <http://ln-s.net/5A2a> (at openmrs.org)
15:13:30 <siri2> bwolfe: ok..i will go through it..
15:17:55 <siri2> bwolfe: Does anyone need to understand the whole source code to write some patches or to solve "tickets"?
15:18:16 <bwolfe> no
15:18:20 <bwolfe> just enough
15:19:19 <downeym> These are some good tickets to get started that usually don't require knowing a lot of the source: http://dev.openmrs.org/report/16
15:19:48 <Shazin> Hi
15:20:58 <downeym> hey Shazin
15:22:07 <bwolfe> !refer downeym [introtickets]
15:22:07 * OpenMRSBot refers downeym to "introtickets" --- http://dev.openmrs.org/report/20
15:22:43 <downeym> bwolfe: too many reports :D
15:22:58 <nribeka> downeym, stop :D
15:23:26 <Shazin> About the ticket http://dev.openmrs.org/ticket/1315
15:23:54 <Shazin> Is it related with Encounter Type Hierarchy Project?
15:27:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12415]: logmanager: added root logger setting to production and development … <http://dev.openmrs.org/changeset/12415> || OpenMRS Changesets: Changeset [12414]: logmanager: fixed preset load losing loggers with appenders <http://dev.openmrs.org/changeset/12414>
15:27:55 <downeym> Shazin: According to http://openmrs.org/wiki/Unassigned_Projects#Encounter_Type_Hierarchy ... it is related :)
15:28:00 <OpenMRSBot> <http://ln-s.net/5CDU> (at openmrs.org)
15:28:35 <Shazin> downeym: So it means that project is almost done
15:30:23 <downeym> It is partially done ... but there is more work to do. We will be updating the project description of that one and some others in the next days.
15:31:14 *** jmiranda has joined #openmrs
15:31:14 *** ChanServ sets mode: +o jmiranda
15:31:28 <downeym> !karma downeym
15:31:28 <OpenMRSBot> downeym: Karma for "downeym" has been increased 2 times and decreased 0 times for a total karma of 2.
15:31:58 <downeym> !karma bwolfe
15:31:58 <OpenMRSBot> downeym: Karma for "bwolfe" has been increased 79 times and decreased 16 times for a total karma of 63.
15:32:12 <downeym> nribeka: we have far to go
15:32:29 <nribeka> wow ...
15:32:41 <nribeka> !karma
15:32:41 <OpenMRSBot> nribeka: Highest karma: "bwolfe" (63), "groovy" (31), and "burke" (10). Lowest karma: "scriptlets" (-1), "emacs" (-1), and "--- demo.openmrs.org ping statistics -" (-1). You (nribeka) are ranked 85 out of 113.
15:33:33 <downeym> !karma vi
15:33:33 <OpenMRSBot> downeym: vi has neutral karma.
15:33:38 <downeym> vi++
15:33:39 <bwolfe> vi++
15:33:46 <bwolfe> emacs--
15:33:46 <downeym> emacs--
15:33:50 <downeym> o.O
15:33:51 <nribeka> emacs++
15:33:55 <bwolfe> nribeka--
15:33:57 <downeym> nribeka--
15:34:20 <nribeka> why bwolfe and downeym hates emacs?
15:34:42 <bwolfe> because vi is so much better
15:34:49 <downeym> nribeka: http://www.madingley.org/james/rants/emacs/index.html
15:34:54 <OpenMRSBot> <http://ln-s.net/5CEK> (at www.madingley.org)
15:34:54 <bwolfe> and because a text editor should not be able to play games
15:35:44 <downeym> pico--
15:36:08 <nribeka> i don't get that one downeym
15:36:45 <downeym> nribeka: which?
15:37:09 <nribeka> the link that you paste up there
15:40:33 <downeym> nribeka: this is better http://www.oreillymaker.com/link/30908/emacs-sucks/
15:40:41 <OpenMRSBot> <http://ln-s.net/5CFL> (at www.oreillymaker.com)
15:40:49 *** downeym has left #openmrs
15:40:53 *** downeym has joined #openmrs
15:40:53 *** ChanServ sets mode: +o downeym
15:40:53 *** downeym has left #openmrs
15:41:15 *** downeym has joined #openmrs
15:41:15 *** ChanServ sets mode: +o downeym
15:42:29 <nribeka> that's bias downeym
15:42:39 <nribeka> bwolfe wrote that book and he hates emacs
15:42:39 <downeym> nribeka: Yes.
15:42:46 <bwolfe> downeym: nice
15:42:52 <bwolfe> I wrote it using vi
15:42:58 <downeym> bwolfe: heh
15:43:08 <downeym> nribeka: why would you write a book about something you don't agree with?
15:43:26 <downeym> nribeka: bwolfe wouldn't write "i <3 emacs"
15:45:21 <nribeka> hmm bwolfe loves emacs so much
15:47:26 <bwolfe> nribeka--
15:47:52 <nribeka> !karma nribeka
15:47:52 <OpenMRSBot> nribeka: Karma for "nribeka" has been increased 2 times and decreased 6 times for a total karma of -4.
15:47:54 <nribeka> lol
15:47:57 <nribeka> !karma
15:47:57 <OpenMRSBot> nribeka: Highest karma: "bwolfe" (63), "groovy" (31), and "burke" (10). Lowest karma: "nribeka" (-4), "emacs" (-2), and "scriptlets" (-1). You (nribeka) are ranked 115 out of 115.
15:48:07 <nribeka> i'm last of the mohicans
15:48:48 <downeym> emacs--
15:48:55 <downeym> emacs must be lower than nribeka
15:49:01 <downeym> emacs--
15:49:07 <nribeka> nribeka++
15:49:07 <OpenMRSBot> nribeka: Error: You're not allowed to adjust your own karma.
15:49:20 <nribeka> man why i can't increase my karma
15:49:32 <nribeka> i think i will create another user and increase my karma 100 times
15:49:57 *** andrewaclt has quit IRC
15:50:58 *** judywawira has quit IRC
15:51:21 <bwolfe> /kickban nribeka and all potential IPs he will use
15:51:52 <nribeka> lol
15:54:21 <nribeka> remember to test your internet
15:54:23 <nribeka> http://rss.slashdot.org/~r/Slashdot/slashdot/~3/lF0pblywXK8/FCC-Asks-You-To-Test-Your-Broadband-Speeds
15:54:25 <OpenMRSBot> <http://ln-s.net/5CHD> (at rss.slashdot.org)
15:59:26 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2141 (task created): Initialization wizard should appear if database does not contain any tables <http://dev.openmrs.org/ticket/2141>
16:02:30 <jmiranda> hey downeym
16:02:44 <downeym> jmiranda: hola
16:02:45 <jmiranda> just thought of a potential project for gsoc
16:02:51 <downeym> jmiranda: k
16:02:58 <jmiranda> should i just add it to the gsoc page
16:03:33 <downeym> jmiranda: yeah if you have it worked out in your head, just add it with the template on unassigned projects, leave off the gsoc for now and we'll be reviewing it Real Soon Now
16:03:57 <jmiranda> downeym, ok ... i'll add a ticket for now, while i'll flesh out the thought
16:04:26 <downeym> k
16:04:30 <jmiranda> downeym, it's not something i want to do ... i just want it done
16:04:51 <downeym> duly noted :)
16:05:51 <downeym> jmiranda: ping me with a link when you have it, and i'll add it to the list
16:06:44 <jmiranda> cool
16:09:54 *** x-ian has quit IRC
16:10:37 *** siri2 has left #openmrs
16:23:23 *** x-ian has joined #openmrs
16:28:22 *** sanyam has quit IRC
16:31:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2142 (enhancement created): Add Default checks to the Data Integrity Module <http://dev.openmrs.org/ticket/2142> || OpenMRS Tickets: Ticket #644 (task closed): Create an audit module <http://dev.openmrs.org/ticket/644#comment:6> || OpenMRS Changesets: Changeset [12416]: logmanager: added module info to xml log export <http://dev.openmrs.org/changeset/12416>
16:41:55 *** x-ian has quit IRC
16:53:42 <jmiranda> downeym, http://dev.openmrs.org/ticket/2144
16:53:54 <jmiranda> there's not much in terms of requirements
16:54:44 <downeym> jmiranda: cool, checking it now
17:03:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #715 (defect closed): Error with Synchronizing concepts on the PIH demo server <http://dev.openmrs.org/ticket/715#comment:2> || OpenMRS Changesets: Changeset [12417]: logmanager: added javascript confirmation dialogs to delete/update preset <http://dev.openmrs.org/changeset/12417>
17:08:29 <njero> jmiranda: what is your specific use case?
17:10:38 <bwolfe> jmiranda: migrating to osgi is not a gsoc sized project (referring to 2144)
17:10:51 <jmiranda> njero, dependency management and exporting specific APIs
17:10:53 <jmiranda> bwolfe, agreed
17:11:43 <njero> jmiranda: what does osgi buy us that the current module system doesn't? Just easier?
17:12:10 <bwolfe> jmiranda: paul/burke also chatted with the people deep in osgi...and they've looked at our modular system and don't see a reason to switch. might want to get the full story from them
17:12:21 <bwolfe> jmiranda: ...and we need to list out the reasons for going to osgi
17:12:35 <jmiranda> bwolfe, exploring osgi implementations and making an initial pass would be (if we are allowed to do some-code-mostly-configuration projects within gsoc)
17:12:40 <jmiranda> njero, i think that we need the openmrs platform to use mature technologies that help standardize development practices
17:13:57 <jmiranda> bwolfe, interesting
17:14:43 <njero> jmiranda: (I am really _not_ trying to be a pest) which part of the module/api system do you think this standardization will help? Module developers? OpenMRS development (to open up more to modularization)? Implementers actually deploying stuff (i.e., Life Cycle Management)
17:14:57 <njero> sorry I am not up to speed on osgi so I have a lot of questions
17:15:04 <jmiranda> njero, no these are good questions
17:15:37 *** downeym has quit IRC
17:15:55 <jmiranda> i think as the platform expands, it would be better to build on top of a plugin framework that is fully supported
17:16:14 <jmiranda> the modules/plugins "are" what make openmrs
17:16:27 <njero> you mean "supported" by someone else?
17:16:29 <jmiranda> so, it will help module developers
17:16:31 <jmiranda> yes
17:17:22 <njero> by "supported" do you mean... "there will be common patterns and tutorials that a module developer can look at to learn how to develop a module... not only for openmrs, but for anything"
17:17:57 <jmiranda> as they can develop modules using a "standard" format (project structure, deployment descriptors)
17:18:29 <jmiranda> it will help core developers, as they will not have spend time debugging issues with custom classloaders and other weird intricacies of our platform
17:19:10 <jmiranda> i don't think we need to solve this now, but just like we dragged our feet on the data warehouse stuff ... to the detriment of all of our implementers
17:19:47 <njero> jmiranda: are there current tickets or mailing list threads that point to this being a need? Or is this just laying the groundwork for something you see as a looming problem?
17:21:02 <jmiranda> i think we need to look down the road a bit and look for ways to make the openmrs platform smaller, more standards-compliant, and easier to develop on, with better support for more advanced dependency management and api/package exporting
17:21:26 <jmiranda> njero, yeah this is a v2.0 thing
17:21:47 <njero> jmiranda: you mean openmrs should adopt rails?
17:21:49 * njero hides
17:22:41 <jmiranda> njero, if rails makes it easier for us to develop and distribute an "application", then yes
17:22:50 <jmiranda> njero, the thing i see in the future ...
17:23:08 <jmiranda> is that we are going to be building / distributing custom applications on top of openmrs
17:23:50 <jmiranda> ideally, that activity should not require a developer, it should be configuration-based
17:24:25 <njero> yeah
17:24:34 <njero> I think that is a good desire
17:24:49 <jmiranda> that probably won't ever happen, but i think if we had mature technologies at the openmrs core it will make it easier
17:25:13 <njero> there are just a lot of challenges to that vision and the pain I feel with it, generally is not the module configuration
17:25:28 <njero> s/,//
17:26:56 <jmiranda> njero, i mean, if people think it's not a good to adopt a stable plugin framework, then why did we choose spring as our mvc framework or hibernate as our orm tool
17:27:48 <jmiranda> as always, i will get pushback for this idea ...
17:28:04 <njero> yeah.. I am not even trying to pushback right now :)
17:28:04 <jmiranda> ... until someone else comes up with it themselves and pushes it forward
17:28:26 <njero> I see the benefits to it
17:29:45 <jmiranda> i'm just saying that it's important, just like maven and data warehouses ...
17:30:09 <jmiranda> and someday openmrs will adopt all of these technologies
17:35:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2145 (defect created): Concept.log shoule not be null when we deserialize a concept from a xml file <http://dev.openmrs.org/ticket/2145> || OpenMRS Tickets: Ticket #2144 (enhancement created): Migrate OpenMRS from proprietary module framework to OSGi framework <http://dev.openmrs.org/ticket/2144> || OpenMRS Tickets: Ticket #2143 (enhancement created): Allow admin to deploy a module bundle containing all dependencies <http://dev.openmrs.org/ticket/2143>
17:35:46 <chopin> how do you detect if a module exists?
17:35:48 <chopin> in code ...
17:36:04 * chopin <3 maven btw
17:36:47 *** nribeka has quit IRC
17:37:01 *** nribeka has joined #openmrs
17:37:01 *** ChanServ sets mode: +v nribeka
17:38:23 <bwolfe> chopin: ModuleFactory.isModuleStarted(moduleId) maybe?
17:41:37 <chopin> neat
17:42:33 *** Shazin has quit IRC
18:05:06 *** x-ian has joined #openmrs
18:07:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12419]: initial maven build <http://dev.openmrs.org/changeset/12419> || OpenMRS Changesets: Changeset [12418]: in patientmathing module, fixed GUI not updating after running random … <http://dev.openmrs.org/changeset/12418>
18:20:06 *** openmrs_web110 has joined #openmrs
18:25:23 *** openmrs_web110 has quit IRC
18:39:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12421]: clean up directories <http://dev.openmrs.org/changeset/12421> || OpenMRS Changesets: Changeset [12420]: reporting: fixed bug with deploy-web in build.xml "Reporting module … <http://dev.openmrs.org/changeset/12420>
18:40:41 *** nribeka has quit IRC
18:44:16 *** Mkop has joined #openmrs
18:44:16 *** ChanServ sets mode: +v Mkop
18:51:15 *** sanyam_ has joined #openmrs
18:53:29 *** nribeka has joined #openmrs
18:53:29 *** ChanServ sets mode: +v nribeka
18:56:48 *** downeym has joined #openmrs
18:56:48 *** ChanServ sets mode: +o downeym
19:01:46 *** luzhuangwei has quit IRC
19:09:16 *** nribeka has quit IRC
19:11:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12422]: clean up lib <http://dev.openmrs.org/changeset/12422> || OpenMRS Forum: Re: Demo-1.6.0.sql <http://forum.openmrs.org/viewtopic.php?f=2&t=577#p2153>
19:24:07 *** nribeka has joined #openmrs
19:24:07 *** ChanServ sets mode: +v nribeka
19:31:01 <nribeka> with innotop you will see that your query got stuck there for 20mins lol
19:31:12 <nribeka> that's for chopin
19:32:18 *** yuvrajtomar has joined #openmrs
19:43:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12426]: reporting: Fix queryParameterForm so that it correctly handles Collection … <http://dev.openmrs.org/changeset/12426> || OpenMRS Changesets: Changeset [12425]: chica_scorable_jit branch * added support for scoring like "must score 2 … <http://dev.openmrs.org/changeset/12425> || OpenMRS Tickets: Ticket #2119 (defect closed): NumberFormatExecption in Concept Dictionary Maintenance <http://dev.openmrs.org/ticket/2119#comment:7> || OpenMRS Changesets: Changeset [12424]: set version to 1.6.0-SNAPSHOT <http://dev.openmrs.org/changeset/12424> || OpenMRS Changesets: Changeset [12423]: Fixed NumberFormatExecption on Concept Dictionary - #2119 Author: porchamt <http://dev.openmrs.org/changeset/12423> || OpenMRS Tickets: Ticket #2146 (defect created): newpatient.form : defects <http://dev.openmrs.org/ticket/2146>
19:53:41 *** kane77 has joined #openmrs
20:04:02 *** downeym has quit IRC
20:07:20 <chopin> nribeka: thanks
20:07:21 <chopin> heh
20:08:03 <chopin> nribeka: i don't see mine ... they are running on production
20:08:13 <chopin> i just see 100% cache hit ;-)
20:08:14 <nribeka> hah ...
20:08:18 <nribeka> lol
20:08:30 <chopin> but tomcat is running at over 100% right now
20:08:40 <nribeka> 100% cache hit but still slow query
20:08:54 <chopin> 87 more minutes
20:09:02 <chopin> 76% compelte
20:14:26 <chopin> btw, folks ... just as an example of how our API is slow as molasses: running mergePatients() on 1500 sets of patients is taking roughly 4 hours to complete
20:20:13 <bwolfe> chopin: I'll bet if you had put some Context.flushSEssion() calls in there it would have been faster :-)
20:20:31 *** downeym has joined #openmrs
20:20:31 *** ChanServ sets mode: +o downeym
20:22:08 <nribeka> chopin++
20:22:12 <nribeka> bwolfe++
20:22:19 <nribeka> for the Context.flushSession()
20:23:30 <bwolfe> although to be fair to chopin, the version he's working off of does not have Context.flushSession(). :-/
20:26:21 *** andrewaclt has joined #openmrs
20:40:43 *** downeym has quit IRC
20:45:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1824 (defect closed): SQL Wildcards can be used in User Search form <http://dev.openmrs.org/ticket/1824#comment:20> || OpenMRS Changesets: Changeset [12427]: Allowing SQL Wildcards to be used in User Search form - #1824 <http://dev.openmrs.org/changeset/12427>
20:49:38 *** yuvrajtomar has quit IRC
20:54:19 <chopin> bwolfe: oh /o\
20:55:08 <chopin> it will after i update it to RC, right?
20:55:09 <bwolfe> is that a hail?
20:55:18 <bwolfe> yeah, I think so
20:55:21 <chopin> that was me hanging my head with hands over it
20:55:23 <hawaiian> hi. I found some possible bugs: for example:
20:55:23 <hawaiian> AdministrationServiceImpl(998):
20:55:23 <hawaiian> if ((allowedLocale.getCountry() == "" || possibleLocale.getCountry() == "")
20:55:23 <hawaiian> string values are compared using == not '.equals()'
20:55:23 <hawaiian> And so on. I can correct such bugs and make a diff file.
20:55:34 <chopin> hawaiian: where are you from?
20:55:52 <hawaiian> chopin: I`m from Ukraine
20:55:57 <chopin> you fooled me!
20:56:38 <chopin> hawaiian: is there a ticket for that bug?
20:56:59 <sanyam_> == is also valid for comparing strings
20:58:26 <sanyam_> however .equals() is prefered
20:59:03 *** nribeka has quit IRC
20:59:35 <hawaiian> chopin: I didn`t find such tickets.
21:00:04 <chopin> hawaiian: then perhaps you can submit them with patches
21:00:32 <chopin> hawaiian: http://dev.openmrs.org/newticket
21:00:39 <chopin> !ticket
21:00:39 <OpenMRSBot> chopin: (ticket <an alias, 1 argument>) -- Alias for "reply Ticket #$1: http://dev.openmrs.org/ticket/$1".
21:00:48 <hawaiian> ok, thanks
21:01:42 *** x-ian has quit IRC
21:02:06 <Mkop> hawaiian: are you the guy that generated that auto summary of our possible bugs?
21:04:13 <hawaiian> Mkop: no. I just found some possible bugs and decided to correct them.
21:04:40 <Mkop> a couple days ago, someone came here with a report like that and I think it included == instead of .equals() for strings
21:04:46 <Mkop> I'm trying to find the link
21:06:42 *** nribeka has joined #openmrs
21:06:42 *** ChanServ sets mode: +v nribeka
21:07:09 *** downeym has joined #openmrs
21:07:09 *** ChanServ sets mode: +o downeym
21:09:08 * Mkop is having fun reading the karma war during yesterday's dev call
21:17:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12429]: 1.6.x: fixing PatientSetService.getPatientsHavingEncounters(EncounterType, … <http://dev.openmrs.org/changeset/12429> || OpenMRS Changesets: Changeset [12428]: fixing PatientSetService.getPatientsHavingEncounters(EncounterType, ...) … <http://dev.openmrs.org/changeset/12428>
21:19:33 *** x-ian has joined #openmrs
21:20:01 *** x-ian has quit IRC
21:21:34 *** nribeka has quit IRC
21:25:40 <Mkop> 55 degrees + sunny + lawn chair + laptop = awesome!
21:36:20 *** nribeka has joined #openmrs
21:36:20 *** ChanServ sets mode: +v nribeka
21:44:40 *** chopin has quit IRC
21:46:47 *** nribeka has quit IRC
21:50:02 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12435]: reporting: workaround for a bug in core where … <http://dev.openmrs.org/changeset/12435> || OpenMRS Changesets: Changeset [12434]: reporting: Allow Fractions to contain 0 denominators; add unit test to … <http://dev.openmrs.org/changeset/12434> || OpenMRS Changesets: Changeset [12433]: 1.6.x: fixing PatientSetService.getPatientsHavingEncounters to not fail … <http://dev.openmrs.org/changeset/12433> || OpenMRS Changesets: Changeset [12432]: fixing PatientSetService.getPatientsHavingEncounters to not fail when … <http://dev.openmrs.org/changeset/12432> || OpenMRS Changesets: Changeset [12431]: reporting: added unit test on EncounterCohortDefinitionEvaluator.evaluate <http://dev.openmrs.org/changeset/12431> || OpenMRS Changesets: Changeset [12430]: reporting: Add a new Fraction class that extends Number, return this as … <http://dev.openmrs.org/changeset/12430>
22:16:03 <downeym> !karma
22:16:03 <OpenMRSBot> downeym: Highest karma: "bwolfe" (64), "groovy" (31), and "burke" (10). Lowest karma: "emacs" (-4), "nribeka" (-4), and "scriptlets" (-1). You (downeym) are ranked 11 out of 116.
22:16:21 <downeym> !karma downeym
22:16:21 <OpenMRSBot> downeym: Karma for "downeym" has been increased 2 times and decreased 0 times for a total karma of 2.
22:16:36 <downeym> nribeka++
22:16:38 <downeym> erph.
22:16:41 <bwolfe> groovy--
22:16:42 <downeym> !nribeka++
22:16:58 <bwolfe> the bang isn't need downeym
22:17:09 <downeym> i am brain dead this afternoon
22:17:13 * downeym finishes his AMIA paper
22:19:59 <Mkop> downeym: tangentially related to something I saw in the chat logs: one nice thing about freeconferencing.com is that you (the conference administrator) can mute people
22:20:16 <downeym> Mkop: Yes -- loving that feature :)
22:20:28 <Mkop> :-)
22:20:41 <downeym> Mkop: not so much to smite people, but more to be able to hear in case of technical glitches
22:20:46 <Mkop> so far, I haven't had to use it, because I've only really used it for small calls
22:20:55 <Mkop> well, smiting is also a possibility
22:21:32 <downeym> hehe
22:21:43 <Mkop> depending on the size of the call, the question/answer feature could be really cool
22:22:57 <downeym> good for trainings etc
22:24:29 *** sanyam_ has quit IRC
22:24:46 *** chopin has joined #openmrs
22:24:46 *** ChanServ sets mode: +v chopin
22:27:46 *** hawaiian has quit IRC
22:28:48 *** bwolfe has quit IRC
22:37:54 <downeym> hello kamrul and kane77
22:40:39 *** jmiranda has quit IRC
22:43:36 *** hawaiian has joined #openmrs
22:44:55 *** hawaiian has left #openmrs
22:49:55 * downeym takes the evening off
22:50:15 *** downeym has quit IRC
22:50:20 <Mkop> downeym: it is friday, after all....
22:50:26 <Mkop> well, he's gone already. that's good.
23:12:23 *** andrewaclt has quit IRC
23:16:44 *** kane77 has quit IRC
23:22:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [12437]: 1.6.x: fixing name of unit test <http://dev.openmrs.org/changeset/12437> || OpenMRS Changesets: Changeset [12436]: fixing name of unit test <http://dev.openmrs.org/changeset/12436>
23:34:39 *** downeym has joined #openmrs
23:34:39 <OpenMRSBot> Hey.
23:34:39 *** ChanServ sets mode: +o downeym
23:38:41 *** chopin__ has joined #openmrs
23:38:41 *** chopin has quit IRC
23:38:41 <downeym> hi chopin__
23:38:46 *** chopin__ is now known as chopin
23:46:08 <Mkop> downeym: lol
23:47:15 *** nribeka has joined #openmrs
23:47:15 *** ChanServ sets mode: +v nribeka
23:57:06 *** andrewaclt has joined #openmrs