IRC Chat : 2010-05-07 - OpenMRS

00:07:18 *** wyclif has joined #openmrs
00:10:14 *** r0bby|android has quit IRC
02:12:11 *** chopin has joined #openmrs
02:12:11 *** ChanServ sets mode: +v chopin
02:35:34 *** jmiranda_ has joined #openmrs
03:16:18 *** fixl has joined #openmrs
04:05:32 *** chopin has quit IRC
04:09:17 *** mathiaslin has joined #openmrs
04:27:46 *** jmiranda_ has quit IRC
05:54:12 *** ajuonline has joined #openmrs
06:33:17 *** ruwan has joined #openmrs
06:33:35 *** ChanServ sets mode: +v ruwan
06:49:08 *** fixl has quit IRC
06:56:18 *** pascal` has joined #openmrs
06:56:25 *** ChanServ sets mode: +v pascal`
06:58:58 *** pascal` has quit IRC
07:11:57 *** danielf` has joined #openmrs
07:11:57 *** ChanServ sets mode: +v danielf`
07:15:53 *** pascal` has joined #openmrs
07:16:21 *** pascal` is now known as Guest65672
07:27:28 *** Guest65672 is now known as pbrandt
07:27:34 *** ChanServ sets mode: +v pbrandt
09:51:55 *** pbrandt has quit IRC
10:00:44 *** Shazin has joined #openmrs
10:02:22 *** ChanServ sets mode: +v Shazin
10:19:03 *** Hazamonzo has joined #openmrs
11:09:13 *** mathiaslin has quit IRC
11:11:50 *** Shazin has quit IRC
11:17:18 *** pruthvi has joined #openmrs
11:18:03 <pruthvi> hi am trying to install openmrs in my ubuntu machine
11:18:24 <pruthvi> am getting error like unable to connect to database
11:18:35 <pruthvi> can anyone help me
11:19:00 <danielf`> hi pruthvi, what is the error message that you get?
11:19:10 <ruwan> mysql server running?
11:20:21 <pruthvi> when i give all the credentials for database by accessing localhost:8080/openmrs it hits error like "unable to connect to database"
11:20:39 <pruthvi> yes mysql is running
11:22:09 <pruthvi> what could be the problem
11:29:57 *** tinashe has joined #openmrs
11:30:17 <pruthvi> guys any solutions
11:30:22 <pruthvi> please help
11:34:52 *** tinashe has quit IRC
11:34:52 *** danielf` has quit IRC
11:54:03 <Echidna> there should be a wiki page about ubuntu installations, i think
11:55:03 *** tinashe has joined #openmrs
11:56:59 *** MalteF has joined #openmrs
11:56:59 *** ChanServ sets mode: +v MalteF
11:58:21 <robbyoconnor> http://openmrs.org/wiki/Step-by-Step_Installation_Guide_for_Ubuntu_8.10_for_Developers
11:58:22 <OpenMRSBot> <http://ln-s.net/4C0J> (at openmrs.org)
11:59:00 <robbyoconnor> pruthvi: see above.
11:59:36 <pruthvi> k thanks
12:01:39 <pruthvi> but i tried with .deb file before it worked fine
12:02:00 <pruthvi> i just installed tomcat jre mysql
12:02:24 *** r0bby|android has joined #openmrs
12:02:24 *** ChanServ sets mode: +v r0bby|android
12:02:31 <pruthvi> and installed the openmrs-1.6.1.deb
12:02:55 <pruthvi> and accessed using the url and installed it worked fine
12:03:18 <pruthvi> but now it hits the error "unable to connect to database"
12:04:44 <robbyoconnor> is mysql running?
12:04:47 <robbyoconnor> :P
12:11:23 <pruthvi> yes
12:12:59 *** robbyoconnor has quit IRC
12:21:16 *** r0bby|android has quit IRC
12:26:15 *** chopin has joined #openmrs
12:26:15 *** ChanServ sets mode: +v chopin
12:27:04 <chopin> hi all
12:28:18 <pruthvi> chopin, please help]
12:28:22 <MalteF> hi chopin
12:28:44 *** r0bby|android has joined #openmrs
12:28:44 *** ChanServ sets mode: +v r0bby|android
12:29:04 <chopin> pruthvi: oooookay
12:29:14 <chopin> pruthvi: i have no clue what you asked for, just showed up myself
12:29:38 <pruthvi> k i jus installed tomcat jre mysql
12:30:02 <pruthvi> and installed the openmrs-1.6.1.deb
12:30:41 <chopin> hmm, ok
12:30:47 <pruthvi> when i access using localhost:8080/openmrs the wizard appears but after giving all the detials it hits error
12:30:55 <chopin> what is the error?
12:31:02 <chopin> can you put it in a pastebin?
12:31:06 <pruthvi> "unable to connect to database"
12:31:08 *** nribeka has joined #openmrs
12:31:08 *** ChanServ sets mode: +v nribeka
12:31:10 <chopin> ok
12:32:05 *** wyclif has quit IRC
12:33:12 <pruthvi> when i check in log messages i see http://pastebin.com/vq8qte4Y
12:35:13 <pruthvi> any suggestions
12:35:18 <pruthvi> ????
12:35:38 <nribeka> did you put the correct credentials pruthvi?
12:35:44 <nribeka> correct address for mysql
12:35:52 <nribeka> correct username and password
12:36:09 <pruthvi> yes everything is correct
12:37:59 <nribeka> the exception is 'connection refused'
12:38:16 <nribeka> are you installing from scratch? or you already have openmrs instance before?
12:41:47 *** wyclif has joined #openmrs
12:44:33 *** firzhan has joined #openmrs
12:45:12 *** wluyima has joined #openmrs
12:45:12 *** wyclif has quit IRC
12:47:15 *** ruwan has quit IRC
12:49:33 *** wluyima has quit IRC
12:51:19 *** danielf` has joined #openmrs
12:51:19 *** ChanServ sets mode: +v danielf`
12:53:34 <pruthvi> nribeka, am installing from scratch
12:54:11 *** bwolfe has joined #openmrs
12:54:11 *** ChanServ sets mode: +o bwolfe
12:54:29 <nribeka> hmm that's odd
12:56:10 <nribeka> can you check your openmrs properties?
12:59:05 *** wyclif has joined #openmrs
12:59:10 <wyclif> hey
13:00:11 *** Hazamonzo is now known as [-Haza-]
13:02:24 *** downeym has joined #openmrs
13:02:24 *** ChanServ sets mode: +o downeym
13:03:09 <chopin> oops sorry pruthvi, i was on a conference call and had to talk
13:03:37 <pruthvi> k
13:06:37 <pruthvi> but wat can i do now
13:09:05 *** MalteF has quit IRC
13:11:28 *** bwolfe_ has joined #openmrs
13:11:28 *** ChanServ sets mode: +o bwolfe_
13:11:44 *** bwolfe_ has quit IRC
13:13:46 *** jmiranda_ has joined #openmrs
13:18:34 *** jmiranda_ is now known as jmiranda
13:18:46 *** ChanServ sets mode: +o jmiranda
13:18:59 <chopin> pruthvi: look at your database
13:19:51 <chopin> pruthvi: you will need to look at the usernames and see if the one you specified is in there for the openmrs database
13:30:07 <pruthvi> yes it is there
13:30:16 <pruthvi> am giving root username password
13:30:31 <pruthvi> database i have created
13:35:29 <nribeka> don't give the root password pruthvi
13:35:47 <nribeka> i think there's a bug about that
13:36:06 <bwolfe> nribeka: why not? I use the root password
13:37:04 <nribeka> oops ...
13:37:23 <nribeka> does he mean he give the root password to create a separate account?
13:37:50 <nribeka> or is it she?
13:39:54 <nribeka> i think i ran into problem when i enter the root password in the username and password once bwolfe
13:41:39 <bwolfe> nribeka: must have been unrelated
13:42:00 <nribeka> must be bwolfe :D
13:58:24 *** chopin has quit IRC
14:05:11 *** chopin has joined #openmrs
14:05:11 *** ChanServ sets mode: +v chopin
14:07:20 <chopin> heh
14:14:56 *** pruthvi has quit IRC
14:22:35 *** firzhan has quit IRC
14:24:58 *** pusakat has joined #openmrs
14:24:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13251]: htmlformentry: minor javadoc change <http://dev.openmrs.org/changeset/13251> || OpenMRS Forum: Re: Anyone still have transformers.zip - transformer library <http://forum.openmrs.org/viewtopic.php?f=11&t=590#p2219>
14:34:18 *** wluyima has joined #openmrs
14:37:11 *** wyclif has quit IRC
14:44:10 *** pusakat has quit IRC
14:45:35 *** mint has joined #openmrs
14:45:58 *** mint is now known as ruwan
14:45:58 *** ChanServ sets mode: +v ruwan
14:46:14 *** ruwan has quit IRC
14:55:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13252]: Chica: ADHD workup rules - abbreviate subtypes to fit on the PWS prompt <http://dev.openmrs.org/changeset/13252>
15:03:29 *** umashanthi_ has joined #openmrs
15:03:29 *** ChanServ sets mode: +v umashanthi_
15:04:25 *** danielf` has quit IRC
15:07:57 *** r0bby|android has quit IRC
15:17:55 *** tinashe has quit IRC
15:18:34 *** r0bby|android has joined #openmrs
15:18:34 *** ChanServ sets mode: +v r0bby|android
15:23:00 *** r0bby|android has quit IRC
15:25:02 *** zeshan has joined #openmrs
15:25:02 *** ChanServ sets mode: +v zeshan
15:27:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13254]: htmlformentry: added "required" attribute to obs tag; (merged from custom … <http://dev.openmrs.org/changeset/13254> || OpenMRS Changesets: Changeset [13253]: - Get user inferface looking better and make sure all errors are handled … <http://dev.openmrs.org/changeset/13253>
15:28:18 *** Mkop has joined #openmrs
15:28:18 *** ChanServ sets mode: +v Mkop
15:29:14 *** upul` has joined #openmrs
15:29:14 *** ChanServ sets mode: +v upul`
15:36:59 *** luzhuangwei has joined #openmrs
15:36:59 *** ChanServ sets mode: +v luzhuangwei
15:42:20 *** mathiaslin has joined #openmrs
15:44:31 *** upul` has quit IRC
15:44:48 *** Shazin has joined #openmrs
15:48:07 *** zeshan has quit IRC
15:49:00 *** upul` has joined #openmrs
15:49:00 *** ChanServ sets mode: +v upul`
16:02:27 *** luzhuangwei has quit IRC
16:17:33 *** r0bby|android has joined #openmrs
16:17:33 *** ChanServ sets mode: +v r0bby|android
16:17:35 *** r0bby|android has quit IRC
16:17:43 *** r0bby|android has joined #openmrs
16:17:43 *** ChanServ sets mode: +v r0bby|android
16:24:07 *** [-Haza-] has quit IRC
16:27:38 *** umashanthi_ has quit IRC
16:29:57 *** Hazamonzo has joined #openmrs
16:42:45 *** umashanthi_ has joined #openmrs
16:42:45 *** ChanServ sets mode: +v umashanthi_
16:48:29 *** upul` has quit IRC
16:54:33 *** Shazin has quit IRC
17:10:54 *** firzhan has joined #openmrs
17:24:59 *** Mkop has quit IRC
17:32:43 *** SparFux has joined #openmrs
17:39:41 *** ruwan_home has joined #openmrs
17:42:15 *** ruwan_home is now known as ruwan
17:42:38 *** ChanServ sets mode: +v ruwan
17:42:43 *** openmrs_web401 has joined #openmrs
17:43:02 *** openmrs_web401 is now known as shiva
17:43:26 *** shiva is now known as shivashankar
17:50:18 *** r0bby|android has quit IRC
17:57:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2316 (enhancement created): Html Form Entry: Add roles-based form display feature (?) <http://dev.openmrs.org/ticket/2316> || OpenMRS Tickets: Ticket #2284 (task closed): Create indexes for datatime columns in encounter and obs tables <http://dev.openmrs.org/ticket/2284#comment:4> || OpenMRS Changesets: Changeset [13256]: Created indexes for datatime columns in encounter and obs tables - … <http://dev.openmrs.org/changeset/13256> || OpenMRS Tickets: Ticket #2139 (task closed): An empty string in patient_identifier.validator causes java.lang.ClassNotFoundException <http://dev.openmrs.org/ticket/2139#comment:5> || OpenMRS Changesets: Changeset [13255]: Fixed an empty string in patient_identifier.validator causing a … <http://dev.openmrs.org/changeset/13255>
18:00:27 *** shivashankar has quit IRC
18:21:50 <SparFux> hi.
18:24:23 <umashanthi_> SparFux: hi
18:24:31 <SparFux> Ah, hi.
18:24:39 <SparFux> How are you?
18:28:02 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13257]: htmlformentry: made "Manage Forms" privilege static text within .jsp … <http://dev.openmrs.org/changeset/13257>
18:39:02 *** Mkop has joined #openmrs
18:39:02 *** ChanServ sets mode: +v Mkop
18:40:15 *** firzhan has quit IRC
18:48:04 * chopin is warm
18:49:36 *** firzhan has joined #openmrs
18:58:24 <chopin> i can't seem to get the stacktraces from logmanager 1.3 ... is that happening to anyone else?
19:02:08 * chopin glances around
19:02:58 * bwolfe ducks
19:04:02 *** SparFux has left #openmrs
19:08:19 <chopin> what's the vim key for go-to-end-of-document?
19:10:27 <bwolfe> shift g
19:10:34 <bwolfe> (capital G)
19:10:43 <bwolfe> 1G is the first line
19:11:00 <bwolfe> :1 is also the first line
19:11:11 <bwolfe> ~ is switch case of letter
19:11:20 <bwolfe> A is start editing at end of line
19:11:29 <bwolfe> J is combine current and next line
19:11:52 <bwolfe> dd is delete current line
19:12:11 <bwolfe> O is start editing on new line before current line
19:12:36 <bwolfe> come back next week for a continuation of "Ben's random vi knowledge"
19:14:55 <chopin> ah
19:15:01 <chopin> heheh
19:15:07 <chopin> bwolfe: http://pastebin.com/VBg2DnVG
19:15:18 <chopin> this error is causing HL7InError creation to be rolled back
19:15:37 *** Mkop has quit IRC
19:16:22 <chopin> on both production and my test environment
19:16:23 <chopin> :|
19:17:03 <bwolfe> chopin: there has to be something else in the log. look up farther
19:17:07 *** Mkop has joined #openmrs
19:17:07 *** ChanServ sets mode: +v Mkop
19:17:11 <chopin> yea, there is
19:17:15 <bwolfe> chopin: something caused it to try to roll back.
19:17:25 <chopin> it's when i'm throwing a hl7exception back to the service
19:17:34 <chopin> i'll pastebin the whole thing
19:19:47 *** umashanthi_ has left #openmrs
19:20:18 <chopin> bwolfe: http://pastebin.com/jqnfgmLm
19:23:33 <chopin> i don't see anything in setFatalError() that would cause this
19:23:51 <bwolfe> chopin: try taking the @Transactional off of the hl7inqueueprocessor
19:23:59 <bwolfe> that really should only be on the service methods
19:24:38 <chopin> it is
19:24:46 <chopin> what do you mean
19:25:57 <bwolfe> it is off?
19:25:58 <bwolfe> I see it on
19:26:09 <chopin> um, what?
19:26:20 <chopin> o
19:26:29 <chopin> sorry, i didn't see your highlighted message
19:26:31 <chopin> heheh
19:26:39 <chopin> looked like someone joining
19:28:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #2318 (task created): ISDH April 2010 StrepA NCD SAT - Catagory 2 errors <http://dev.openmrs.org/ticket/2318> || OpenMRS Tickets: Ticket #2317 (defect created): ISDH April 2010 StrepA NCD SAT - Catagory 1 errors <http://dev.openmrs.org/ticket/2317>
19:32:46 <chopin> bwolfe: still happening
19:33:00 <chopin> it looks like it's the scheduled service itself causing the rollback
19:33:15 <chopin> TimerSchedulerTask.run
19:34:30 <chopin> but ... i'm not sure why we're throwing the error up the chain
19:34:33 <chopin> to the timer scheduler task
19:34:41 <chopin> i'm certainly not trying to
19:35:08 <chopin> we're catching it in HL7ServiceImpl.processHL7InQueue()
19:35:27 * chopin is going to step through this one
19:36:54 <bwolfe> chopin: processHL7InQueue needs an @Transactional(norollbackfor=Hl7exception) I think
19:37:04 <bwolfe> and the @Transaction should still not be on the hl7inqueueprocessor class
19:38:40 <chopin> mmkay i'll try that
19:47:45 <chopin> bwolfe: it's -still- failing
19:47:48 <chopin> ugh
19:48:06 <chopin> i'm not sure how this HL7Exception is even being thrown up the chain
19:48:37 <chopin> if it's caught, it shouldn't be thrown again unless you specify it right?
19:48:52 <chopin> or does log.error() automatically throw an exception?
19:48:53 <bwolfe> I think spring just sees that it was thrown, so the final transaction commit is rolled back instead
19:48:55 <chopin> didn't think it did
19:49:03 <chopin> hmm
19:49:15 <chopin> well that doesn't help
19:49:17 <chopin> heh
20:06:17 *** firzhan has quit IRC
20:12:37 *** ruwan has quit IRC
20:16:10 <chopin> phew, got it bwolfe
20:16:20 <chopin> added a NumberFormatException checker in parseObs()
20:16:28 <chopin> to throw an HL7Exception
20:16:31 <chopin> :-/
20:16:35 <chopin> oy ... veh ...
20:16:43 <bwolfe> chopin: why wasn't the catch Exception catching that ?
20:16:46 <bwolfe> or was it not?
20:16:51 <Mkop> just got an interesting message - "MS Word sensed that you are holding down the control key. Do you want to start word in safe mode?"
20:17:39 <chopin> bwolfe: there's no catch (Exception e) for that chunk of code
20:17:48 <bwolfe> ah
20:17:54 <chopin> it only catches HL7Exception and ProposingConceptException
20:17:58 <chopin> sooooo
20:18:03 <chopin> and i think that's what we want
20:18:06 <bwolfe> Mkop: easter egg feature
20:18:23 <bwolfe> I see
20:18:29 <chopin> Mkop: they should have said, "are you awake?"
20:18:52 <Mkop> lol
20:19:03 <Mkop> I never knew that word has a safe mode
20:20:10 <chopin> it uses a smaller vocabulary ;-)
20:20:21 <chopin> short words, all capital letters
20:20:37 <chopin> should be called "senior citizen mode"
20:21:02 * chopin gets kicked from #oldguys
20:42:02 <chopin> o/ bye folks
20:43:32 *** chopin has quit IRC
20:46:36 *** r0bby|android has joined #openmrs
20:46:36 *** ChanServ sets mode: +v r0bby|android
20:58:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13258]: messaging: created branch for Nuntium integration <http://dev.openmrs.org/changeset/13258>
20:59:48 *** mathiaslin has quit IRC
21:27:33 *** nribeka has quit IRC
21:28:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13260]: sync: added additional test case <http://dev.openmrs.org/changeset/13260> || OpenMRS Tickets: Ticket #2308 (defect closed): Error sync-ing person attributes that are simple strings. <http://dev.openmrs.org/ticket/2308#comment:4> || OpenMRS Changesets: Changeset [13259]: sync: fix for ticket #2308, plus additional test cases for ticket <http://dev.openmrs.org/changeset/13259>
21:43:55 *** Mkop has quit IRC
21:58:57 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [13261]: Fixed css colors for messages/errors to not use browser dependent names <http://dev.openmrs.org/changeset/13261>
22:11:03 *** zeshan has joined #openmrs
22:11:03 *** ChanServ sets mode: +v zeshan
22:14:13 *** r0bby|android has quit IRC
22:16:06 *** wluyima has quit IRC
22:17:54 *** wluyima has joined #openmrs
22:20:25 *** bwolfe has quit IRC
22:22:23 *** wluyima has quit IRC
22:45:07 *** nribeka has joined #openmrs
22:45:07 *** ChanServ sets mode: +v nribeka
22:47:35 *** nribeka has quit IRC
22:54:35 *** zeshan has quit IRC
23:28:21 *** robbyoconnor has joined #openmrs
23:28:21 *** robbyoconnor has quit IRC
23:28:22 *** robbyoconnor has joined #openmrs
23:28:22 *** ChanServ sets mode: +v robbyoconnor
23:32:36 *** jmiranda has quit IRC