| 00:05:06 | *** njero_ has joined #openmrs |
| 00:05:07 | *** njero has quit IRC |
| 00:07:38 | *** njero_ has quit IRC |
| 00:08:15 | *** njero has joined #openmrs |
| 00:08:15 | *** ChanServ sets mode: +v njero |
| 00:09:03 | *** njero has quit IRC |
| 00:09:36 | *** njero has joined #openmrs |
| 00:09:36 | *** ChanServ sets mode: +v njero |
| 00:10:04 | *** njero has quit IRC |
| 00:11:02 | *** njero has joined #openmrs |
| 00:11:02 | *** ChanServ sets mode: +v njero |
| 00:15:30 | *** njero has quit IRC |
| 00:17:03 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Problem with RemoteFormEntry Module Implementation <http://forum.openmrs.org/viewtopic.php?f=9&t=391#p1316> |
| 00:17:27 | *** njero has joined #openmrs |
| 00:17:27 | *** ChanServ sets mode: +v njero |
| 00:18:31 | *** njero_ has joined #openmrs |
| 00:20:53 | *** njero_ has quit IRC |
| 00:21:01 | *** njero_ has joined #openmrs |
| 00:22:08 | *** njero has quit IRC |
| 00:57:56 | *** Nzeyi has joined #openmrs |
| 01:03:15 | *** njero_ has quit IRC |
| 01:37:22 | *** njero has joined #openmrs |
| 01:37:22 | *** ChanServ sets mode: +v njero |
| 01:43:36 | *** Nzeyi has quit IRC |
| 02:14:25 | *** atomicturtle has joined #openmrs |
| 02:16:34 | *** nribeka-away has quit IRC |
| 03:07:08 | *** TorLye has joined #openmrs |
| 03:53:06 | *** upul has quit IRC |
| 04:43:27 | *** upul has joined #openmrs |
| 05:22:12 | *** njero has quit IRC |
| 06:21:50 | *** njero has joined #openmrs |
| 06:21:50 | *** ChanServ sets mode: +v njero |
| 06:44:26 | *** upul has quit IRC |
| 06:58:03 | *** TorLye has quit IRC |
| 06:58:06 | *** bwolfe has joined #openmrs |
| 06:58:06 | *** ChanServ sets mode: +o bwolfe |
| 07:37:09 | *** bmckown has joined #openmrs |
| 07:37:09 | *** ChanServ sets mode: +o bmckown |
| 07:38:24 | *** upul has joined #openmrs |
| 07:46:04 | <upul> a very good morning to you bwolfe |
| 07:46:17 | <bwolfe> good morning upul |
| 07:46:50 | <upul> this week was too longer than other weeks |
| 07:47:22 | <upul> it should have ended yesterday |
| 07:47:37 | <upul> did you get time to check the update |
| 07:51:21 | <bwolfe> ha! thats too bad. this week was short for me. :-) |
| 07:51:27 | <bwolfe> just three days of work. |
| 07:52:21 | <upul> we may get a holiday nextweek |
| 07:52:42 | <upul> there saarc summit in colombo next week |
| 07:53:21 | <bwolfe> saarc? |
| 07:53:25 | <upul> some main roads are closed permanently, no trains to the city |
| 07:53:54 | <upul> group of south asian countries |
| 07:54:25 | <upul> like EU or asean |
| 07:55:00 | <upul> even indian military is coming here :) |
| 07:55:09 | <bwolfe> ha |
| 07:55:16 | <bwolfe> can your island handle it all ? |
| 07:55:47 | <upul> you mean? |
| 07:56:01 | <bwolfe> they are all coming to sri lanka? |
| 07:56:32 | <bwolfe> is there room for all of them on the island? |
| 07:56:54 | <upul> the island is big, it's not like male islands |
| 07:57:25 | <upul> Male |
| 07:58:37 | <upul> it's a great island, but that's the curse, everybody wants the best |
| 07:59:13 | <bwolfe> heh |
| 08:00:01 | <bwolfe> upul: I haven't had a chance to load up your update war file yet |
| 08:00:15 | <upul> no problem |
| 08:00:30 | <bwolfe> upul: but do you need a second war file for it ? are you still thinking of doing the sql at war file startup ? |
| 08:01:11 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Problem with RemoteFormEntry Module Implementation <http://forum.openmrs.org/viewtopic.php?f=9&t=391#p1317> |
| 08:01:29 | <bwolfe> upul: if you are doing the sql at war startup, then you can simply drop the war file into tomcathome/webapps and let tomcat take care of the restarting |
| 08:02:29 | <upul> bwolfe then war lookup and download thing will not happen |
| 08:02:53 | <bwolfe> upul: ah, but war lookup and download could happen in a module |
| 08:03:35 | <bwolfe> an updateopenmrs.omod is easier for users to use than an updateopenmrs.war :-) |
| 08:03:43 | <upul> i think it won't be possible to replacing the it's own war with something else |
| 08:03:49 | <upul> that's like suicide |
| 08:03:56 | <bwolfe> haha |
| 08:04:02 | <bwolfe> :-) |
| 08:04:30 | <upul> i didn't try to do anything with the openmrs , putting sql there |
| 08:04:39 | <bwolfe> as long as it is quick, tomcat shouldn't start the reload until after processing |
| 08:04:41 | <upul> wanted to get "something done" first |
| 08:04:57 | <bwolfe> so download the war to a temp location, then copy to tomcathome/webapps, then tomcat does its reload thing |
| 08:05:08 | <bwolfe> upul: yep, thats fine |
| 08:05:11 | <upul> but the war replacing is doing by the replacing code itself |
| 08:05:47 | <bwolfe> upul: tomcat caches java class files, so its not replacing it directly. |
| 08:06:04 | <bwolfe> upul: and besides, 95% of users run off of an exploded war file |
| 08:06:36 | <bwolfe> upul: so as long as you replace tomcathome/webapps/openmrs.war instead of tomcathome/webapps/openmrs, you should be fine |
| 08:07:38 | <upul> i never though about that |
| 08:08:18 | <upul> i used mysql in the system to run the sql |
| 08:09:26 | <upul> also i extracted the current running openmrs version from index page |
| 08:13:08 | <bwolfe> upul: so you just sourced the update script ? |
| 08:13:35 | <upul> bwolfe yes otherwise delimiter command is not recognized |
| 08:13:57 | <bwolfe> ah, good point |
| 08:14:15 | <upul> i used the same files available in the downloads section |
| 08:48:16 | *** james_regen has joined #openmrs |
| 08:48:16 | *** ChanServ sets mode: +v james_regen |
| 09:25:35 | *** sprasanna has joined #openmrs |
| 09:27:13 | *** jmiranda has joined #openmrs |
| 09:27:13 | *** ChanServ sets mode: +o jmiranda |
| 09:31:40 | <OpenMRSBot> Recent updates in the world of openmrs: News Blog: OpenMRS 1.3.0 Released <http://blog.openmrs.org/?p=75> |
| 09:42:20 | *** sgrannis has joined #openmrs |
| 10:01:10 | *** upul_ has joined #openmrs |
| 10:03:47 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #939 (defect created): HL7 Processor loops through infinite attempts to process after JDBC rollback exception. <http://dev.openmrs.org/ticket/939> |
| 10:04:04 | *** upul__ has joined #openmrs |
| 10:04:46 | *** sioraiocht has quit IRC |
| 10:10:22 | *** njero has quit IRC |
| 10:19:16 | *** sprasanna has quit IRC |
| 10:20:17 | *** sioraiocht has joined #openmrs |
| 10:20:55 | *** sgrannis_ has joined #openmrs |
| 10:22:30 | *** upul has quit IRC |
| 10:25:50 | *** upul_ has quit IRC |
| 10:27:21 | *** sioraioc_ has joined #openmrs |
| 10:28:12 | *** sioraiocht has quit IRC |
| 10:29:56 | *** upul__ has quit IRC |
| 10:35:46 | *** sgrannis__ has joined #openmrs |
| 10:35:55 | *** sgrannis has quit IRC |
| 10:35:56 | *** sgrannis__ is now known as sgrannis |
| 10:36:55 | <jmiranda> r0bby, can we get some witty banter? |
| 10:37:04 | <jmiranda> or just some banter |
| 10:38:37 | *** sprasanna has joined #openmrs |
| 10:43:28 | *** sgrannis_ has quit IRC |
| 10:44:06 | <bwolfe> jmiranda: I thought irc distracted you too much...now you're inviting it?? |
| 10:49:42 | *** vdgreat has joined #openmrs |
| 10:51:31 | *** sgrannis has quit IRC |
| 10:54:38 | *** Nzeyi has joined #openmrs |
| 11:00:26 | *** njero has joined #openmrs |
| 11:00:26 | *** ChanServ sets mode: +v njero |
| 11:02:08 | *** Nzeyi has quit IRC |
| 11:04:50 | *** njero has quit IRC |
| 11:10:30 | *** nribeka has joined #openmrs |
| 11:16:02 | *** vdgreat has quit IRC |
| 11:22:59 | <sprasanna> bwolfe: hi ben |
| 11:23:10 | <bwolfe> hey sri |
| 11:23:23 | <sprasanna> bwolfe: so how was ur trip? |
| 11:23:51 | <sprasanna> bwolfe: last week i expected u at the dev conf |
| 11:24:22 | <sprasanna> bwolfe: but then i couldnt come online much since i was not feeling well |
| 11:25:38 | <bwolfe> the trip was good |
| 11:25:52 | <bwolfe> was able to see a lot of our extended family |
| 11:27:05 | <sprasanna> thats great |
| 11:27:50 | <sprasanna> bwolfe: the create db sql in the download page has some error at line 342 |
| 11:28:16 | <bwolfe> whats the error ? |
| 11:28:16 | <sprasanna> says syntax error |
| 11:28:45 | <sprasanna> no error number just it stops at 342 and says syntax error |
| 11:29:06 | <bwolfe> very odd |
| 11:29:18 | *** sioraioc_ has quit IRC |
| 11:29:52 | *** sioraiocht has joined #openmrs |
| 11:32:30 | *** jmiranda has quit IRC |
| 11:32:38 | <sprasanna> i think error 1064 |
| 11:32:41 | <sprasanna> it says "error: you have an error in your sql syntax;check the manual that corresponds to your mysql server version for the right syntac to use near "Diagno" at line 1(1064)" |
| 11:32:41 | *** jmiranda has joined #openmrs |
| 11:32:41 | *** ChanServ sets mode: +o jmiranda |
| 11:35:41 | <sprasanna> bwolfe: sorry at line 341 |
| 11:39:30 | <sprasanna> bwolfe: any clue abt the error? |
| 11:45:36 | *** sioraiocht has quit IRC |
| 11:45:43 | *** sioraiocht has joined #openmrs |
| 11:58:04 | *** sioraioc_ has joined #openmrs |
| 12:00:11 | *** sioraiocht has quit IRC |
| 12:05:07 | <bwolfe> sprasanna: its working fine for me |
| 12:05:21 | <bwolfe> both the download one and the one in /branches/openmrs-1.3.x |
| 12:16:43 | *** sioraioc_ has quit IRC |
| 12:18:07 | <sprasanna> bwolfe: but it shows error for me :( |
| 12:18:23 | <bwolfe> ok |
| 12:18:28 | <bwolfe> so look at 341 and see why :-p |
| 12:18:38 | <bwolfe> err at *line 341 |
| 12:21:56 | *** sgrannis has joined #openmrs |
| 12:22:04 | *** ChanServ sets mode: +v sgrannis |
| 12:22:30 | <sgrannis> nribeka: hey :) |
| 12:26:41 | <bwolfe> sprasanna: so, what does yours have at 341 that is making it fail ? |
| 12:26:44 | <bwolfe> how are you running it ? |
| 12:26:48 | <bwolfe> what version of mysql do you have ? |
| 12:27:07 | <sprasanna> im running it via mysql query browser |
| 12:27:11 | <sprasanna> in mac os x |
| 12:32:12 | *** sprasanna has left #openmrs |
| 12:39:21 | <nribeka> sgrannis: hello :D |
| 12:39:40 | *** sprasanna has joined #openmrs |
| 12:42:01 | *** sgrannis has quit IRC |
| 12:42:25 | <nribeka> ah, i missed sgrannis message ... |
| 12:42:33 | <nribeka> :( |
| 12:49:41 | <bwolfe> sprasanna: has that worked before ? |
| 12:49:51 | <bwolfe> sprasanna: I've always had to use the command line... |
| 12:49:57 | <bwolfe> sprasanna: what is at line 341 for you ? |
| 12:49:58 | <sprasanna> bwolfe: nope :( |
| 12:50:37 | <sprasanna> thats the insert statement for concept_name |
| 12:51:01 | <sprasanna> but the thing is the reason for the problem is the quotes |
| 12:52:51 | <bwolfe> sprasanna: odd |
| 12:53:00 | <bwolfe> so the query browser doesn't do things right |
| 12:53:09 | <bwolfe> because they should all be escaped |
| 12:53:19 | <sprasanna> yep... i dunno y only i get odd issues :( |
| 12:53:25 | <bwolfe> that file is created with mysqldump...so the query browser should know how to handle it :-p |
| 12:53:50 | <bwolfe> sprasanna: I've heard of others having issues with the file in either navicat or some other gui |
| 12:54:00 | <bwolfe> mysql command line is the only one that we recommend. :-) |
| 12:54:21 | <sprasanna> gonna migrate to command line right away |
| 12:59:15 | <bwolfe> sprasanna: real programmers use command line all the time ;-) |
| 12:59:16 | <bwolfe> hehe |
| 12:59:34 | *** bwolfe has quit IRC |
| 12:59:42 | <sprasanna> oh who said im a programmer?? |
| 12:59:49 | * sprasanna scrates head |
| 13:06:45 | <OpenMRSBot> Recent updates in the world of openmrs: Ben Wolfe: OpenMRS Metrics <http://blog.eflow.org/archives/60> |
| 13:11:54 | <r0bby> jmiranda: sorry, my brain isn't working yeh |
| 13:12:03 | <r0bby> sprasanna: you're doing soc! |
| 13:12:20 | <sprasanna> r0bby: y would you doubt that? |
| 13:12:23 | <r0bby> sprasanna: and real MEN use linux/bsd :) |
| 13:12:26 | *** james_regen has quit IRC |
| 13:12:43 | <r0bby> osx is included! |
| 13:12:57 | <sprasanna> oh i guess im a predator from the planet Berth in the galaxy Coffee way :P |
| 13:13:22 | <r0bby> OH MAN |
| 13:13:28 | <r0bby> i gotta move into that galaxy |
| 13:13:44 | <r0bby> sprasanna: real men also use vim |
| 13:14:00 | <nribeka> r0bby: real man use vista ... |
| 13:14:43 | <sprasanna> r0bby: but real programmer use eclipse :P |
| 13:14:43 | * r0bby falls off his chair |
| 13:14:54 | <r0bby> real programmers use intelliJ IDEA |
| 13:17:35 | <sprasanna> r0bby: trying to get on his chair back but couldn |
| 13:19:36 | <r0bby> http://ihasahotdog.files.wordpress.com/2008/07/funny-dog-pictures-dog-beverage-may-lick-your-face.jpg |
| 13:19:37 | <OpenMRSBot> <http://ln-s.net/25Db> (at ihasahotdog.files.wordpress.com) |
| 13:19:57 | <r0bby> http://icanhascheezburger.files.wordpress.com/2008/07/funny-pictures-your-cat-plots-your-divorce.jpg |
| 13:19:58 | <OpenMRSBot> <http://ln-s.net/25Dd> (at icanhascheezburger.files.wordpress.com) |
| 13:21:33 | <sprasanna> oh r0bby was that ur fiance? lol |
| 13:28:05 | *** nribeka is now known as nrib-away15mins |
| 13:35:31 | *** sgrannis has joined #openmrs |
| 13:40:55 | <sprasanna> bmckown: hi brian |
| 13:41:13 | <sprasanna> i have installed openmrs successfully in a mac os x |
| 13:41:28 | <sprasanna> it runs perfectly without the runtime property file i dunno how... |
| 13:41:29 | <bmckown> Hi, sprasanna |
| 13:41:55 | <sprasanna> but now i have a very big trouble... i dunno where to place that runtime property file |
| 13:41:59 | <sprasanna> please help me |
| 13:42:01 | <bmckown> excellent... hmm maybe because you're using default settings |
| 13:42:47 | <sprasanna> default settings?? oh... so where can i find the OpenMRS directory?? |
| 13:42:56 | <bmckown> let me remember in the mac... /etc/profile i think is where you can set a default classpath. |
| 13:42:57 | <bmckown> or |
| 13:43:24 | <bmckown> the mac puts things in ~/Application Data Directory/OpenMRS |
| 13:44:34 | <bmckown> so you can either tell openmrs where you want the OPENMRS-runtime.properties file, or you can try to put the file where openmrs wants to find it. |
| 13:44:39 | <r0bby> ugh |
| 13:44:46 | <bmckown> which would you like to do r0bby |
| 13:44:48 | <r0bby> why can't apple follow unix convewntion |
| 13:44:59 | <bmckown> yea, i dunno |
| 13:45:08 | <bmckown> which would you like to do sprasanna |
| 13:45:09 | <bmckown> ? |
| 13:45:19 | <sprasanna> the second one |
| 13:45:48 | <bmckown> Did you download the source code for openmrs? |
| 13:45:59 | <bmckown> and build it yourself? |
| 13:46:08 | <sprasanna> now i downloaded the war file and deployed |
| 13:47:52 | <bmckown> where is tomcat installed? |
| 13:47:52 | <r0bby> def greet = "hai"; |
| 13:47:57 | <r0bby> greet.each { println it } |
| 13:48:05 | <r0bby> iterate over a String painlessly :) |
| 13:48:31 | <bmckown> /usr/local/apache* ? /usr/opt/apache* ? |
| 13:48:32 | <sprasanna> in Library/Tomcat |
| 13:48:46 | <sprasanna> usr/username/Library/tomcat |
| 13:48:49 | <bmckown> do you have a Library/Tomcat/logs ? |
| 13:48:54 | <sprasanna> yep |
| 13:48:58 | <sprasanna> but nothing in there |
| 13:49:15 | <bmckown> if you look at the latest log file when you started openmrs search for ".properties" |
| 13:49:29 | <bmckown> and it will say where it tried to find the runtime properties file. |
| 13:49:36 | <bmckown> and you can put it there. |
| 13:50:45 | <sprasanna> yeah but the problem is it never searched for the runtime file http://pastebin.com/m334dd2e6 |
| 13:51:45 | <sprasanna> http://pastebin.com/df2a15d5 |
| 13:52:14 | <r0bby> openmrs-runtime.properties |
| 13:52:20 | <r0bby> ^^ name of the file |
| 13:52:36 | <bmckown> you might not be looking in the correct log file |
| 13:53:10 | <bmckown> well if you search for that, then do a case-insensitive search to be sure |
| 13:53:43 | <sprasanna> i think i got it |
| 13:53:54 | <sprasanna> its there in the catalina.out |
| 13:54:11 | <r0bby> sprasanna: it's in localhost-*.log |
| 13:54:14 | <r0bby> one of those |
| 13:54:17 | <bmckown> yea. so where it says it's trying to find the file... you can put it there. |
| 13:55:04 | <sprasanna> /Users/sriprasanna/.OpenMRS/openmrs-runtime.properties |
| 13:55:28 | <r0bby> sprasanna: that's not where it's looking |
| 13:55:39 | <r0bby> bmckown told you where Mac OSX looks for config files |
| 13:55:43 | * bmckown throws a Studio 17 laptop at r0bby |
| 13:55:50 | * r0bby owns one |
| 13:55:53 | <bmckown> no. i have a mac |
| 13:55:59 | <r0bby> http://mybawx.org/lappy |
| 13:56:05 | <r0bby> ALLLLLLLLLLLLLLLLLLLLLLLLLLl mine |
| 13:56:13 | * r0bby bought it himself |
| 13:56:15 | * r0bby flexes |
| 13:56:23 | * r0bby snickers |
| 13:57:06 | <bmckown> sprasanna, don't listen to robby. just put your openmrs-runtime.properties file in /Users/srprasanna/.OpenMRS/openmrs-runtime.properties |
| 13:57:28 | <sprasanna> yep doing it |
| 13:57:41 | <bmckown> 'sriprasanna' i meant |
| 13:58:21 | <bmckown> did you set your mac to see hidden files? |
| 13:58:22 | <r0bby> sprasanna: listen to me |
| 13:58:36 | <r0bby> "rm -rf ~" |
| 13:58:38 | * r0bby ducks |
| 13:58:39 | <sprasanna> lol |
| 13:58:54 | <r0bby> I did that to somebody on this shell hosting company's irc channel |
| 13:59:12 | <r0bby> they did it; lucky the owner actually liked me otherwise he'd have killed me |
| 13:59:13 | <bmckown> #rm -rf /home/wakawaka |
| 13:59:18 | <r0bby> hrm |
| 13:59:23 | <r0bby> username is rob ;p |
| 13:59:42 | <r0bby> wakawaka has been my ident for years |
| 14:32:46 | <sprasanna> bmckown: my runtime prop file looks like this http://pastebin.com/d17859471 even then i couldnt able to upload modules |
| 14:33:38 | <bmckown> .. |
| 14:34:53 | <bmckown> try changing the password of the runtime properties file and restarting openmrs. if it makes no difference then openmrs is not really reading this runtime properties file. |
| 14:34:54 | <sprasanna> help please :( |
| 14:35:28 | <bmckown> the module.allow_web_admin=true will allow you to upload modules. that is correct |
| 14:35:33 | <r0bby> I wonder when i'm gonna be yelled at for not blocking :S |
| 14:35:41 | <r0bby> er blogging |
| 14:35:49 | <r0bby> I like to wait for milestones |
| 14:35:59 | <bmckown> yea, cause i was like r0bby always blocks. |
| 14:36:22 | <sprasanna> but im not allowed to upload the modules :( |
| 14:36:33 | <bmckown> did you read my suggestion above? |
| 14:36:36 | <r0bby> bmckown: my threading code sucks :P |
| 14:37:17 | <bmckown> because you use hyper-threading |
| 14:39:01 | * r0bby is hyper |
| 14:39:12 | <bmckown> he got it. :-) |
| 14:39:13 | * r0bby waits for his servlet to print |
| 14:39:38 | <r0bby> im using tests |
| 14:39:48 | <r0bby> I have no idea how i'll test the generation |
| 14:39:56 | <bmckown> that's good. gunit tests |
| 14:40:03 | <r0bby> no junit |
| 14:40:10 | <bmckown> well it *is* groovy |
| 14:40:13 | <r0bby> specifically junit4. |
| 14:40:23 | <bmckown> it should be called gunit for groovy |
| 14:44:08 | * r0bby /jj |
| 14:44:10 | <r0bby> er |
| 14:46:50 | <bmckown> any luck sprasanna ? |
| 14:46:59 | <sprasanna> not yet |
| 14:48:48 | <bmckown> you can also try copying the openmrs-runtime.properties file to ~/ and you can try both upper and lower case of OPENMRS-runtime.properties and openmrs-runtime.properties. I know that's kind of a hack for an idea. |
| 14:49:51 | <bmckown> but it worked for me if/when openmrs doesn't actually catch the runtime properties file i set in my environment variable. |
| 14:51:20 | <bmckown> but an easy way to tell if it is not reading your runtime properties file is to change the database password in the file and restart openmrs - if openmrs won't start then that's the correct file. |
| 14:55:37 | <sprasanna> bmckown: in log it shows like this WARN - Listener.getRuntimeProperties(?) |2008-07-26 01:21:58,186| Using runtime properties file: /Users/sriprasanna/.OpenMRS/openmrs-runtime.properties |
| 14:56:24 | <bmckown> is that indeed exactly where your runtime properties file is located and the exact name (case sensitive)? |
| 14:56:54 | <sprasanna> yeah exactly same |
| 14:59:55 | *** sgrannis has quit IRC |
| 15:04:20 | <r0bby> httpunit++ |
| 15:04:21 | <r0bby> httpunit++ |
| 15:06:53 | <bmckown> did you try changing the root password of the runtime properties file? |
| 15:08:20 | <bmckown> and restarting tomcat |
| 15:08:25 | <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #940 (defect closed): Manage Relationships privilege is required to View Relationships <http://dev.openmrs.org/ticket/940#comment:1> || OpenMRS Tickets: Ticket #940 (defect created): Manage Relationships privilege is required to View Relationships <http://dev.openmrs.org/ticket/940> |
| 15:10:59 | *** nrib-away15mins is now known as nribeka |
| 15:23:38 | <sprasanna> bmckown: sorry i had a short nap |
| 15:24:05 | <sprasanna> yeah i tried changing the password even then openmrs starts successfully |
| 15:24:29 | <bmckown> then openmrs is not reading that file as the openmrs runtime properties file. |
| 15:24:55 | <sprasanna> hmmm so what do i do now? any suggestion |
| 15:25:24 | <bmckown> well i gave a lot of suggestions above, have you tried them? |
| 15:27:04 | <bmckown> you have read this page, correct? http://openmrs.org/wiki/Overriding_OpenMRS_Default_Properties |
| 15:27:05 | <OpenMRSBot> <http://ln-s.net/1iOw> (at openmrs.org) |
| 15:29:00 | <r0bby> god this is so much easier |
| 15:37:22 | <sprasanna> bmckown: i couldnt figure out the error but i set the env var even then i get this in my log WARN - Listener.getRuntimeProperties(?) |2008-07-26 02:04:46,521| Couldn't find an environment variable named OPENMRS_RUNTIME_PROPERTIES_FILE |
| 15:38:02 | *** sprasanna has quit IRC |
| 15:38:19 | <bmckown> yea. that's why i tried to walk you through doing it the other way. |
| 15:38:31 | *** sprasanna has joined #openmrs |
| 15:38:37 | <bmckown> yea. that's why i tried to walk you through doing it the other way. |
| 15:39:05 | <sprasanna> other way? |
| 15:40:09 | <bmckown> [15:48] |
| 15:41:15 | <bmckown> http://dev.openmrs.org/irclogs/2008/07/25#T14:48:48 |
| 15:41:20 | <OpenMRSBot> <http://ln-s.net/25Fo> (at dev.openmrs.org) |
| 15:42:24 | <bmckown> openmrs is obviously not reading your runtime properties file. |
| 15:43:00 | <bmckown> so you can either try setting your environment variable so that openmrs will actually find the runtime properties file |
| 15:43:03 | <bmckown> or |
| 15:43:29 | <bmckown> you can try to copy your runtime properties file to a different location where you think openmrs is trying to find it. |
| 15:43:37 | <bmckown> and |
| 15:43:59 | <bmckown> you can try renaming the runtime properties file to OPENMRS-runtime.properties |
| 15:44:27 | <bmckown> I'm sure by your log files that openmrs is running under your user name. |
| 15:45:20 | <bmckown> If you look in the web application here: http://localhost:8080/openmrs/admin/modules/moduleProperties.form |
| 15:45:29 | <bmckown> you can see where modules are being placed |
| 15:45:48 | <bmckown> be sure that you have permission to write to that directory. |
| 15:46:03 | <bmckown> you most likely do. |
| 15:46:47 | <sprasanna> the renaming thing failed |
| 15:49:01 | <bmckown> then try the environment variable thing |
| 15:52:24 | <sprasanna> the env var thing also failed... |
| 15:52:44 | <sprasanna> actually in system the openmrs first looks into ~/.Openmrs |
| 15:52:56 | <sprasanna> then in Tomcat/bin for runtime file |
| 15:53:12 | <sprasanna> i tried to set the var to tomcat/bin |
| 15:53:21 | <sprasanna> and it picked it correctly but no change |
| 15:53:42 | <sprasanna> then i tried renaming the password... even then openmrs loads fine |
| 15:54:22 | <sprasanna> this is how it looks in the log WARN - Listener.getRuntimeProperties(?) |2008-07-26 02:21:06,056| Using runtime properties file: openmrs-runtime.properties |
| 15:54:27 | <r0bby> hehe I just creative |
| 15:54:45 | <r0bby> assertTrue "Should be true", response.text.indexOf("String @ line 6, column 16") > 0 |
| 15:54:55 | <r0bby> I tested a portion of the exception message :) |
| 15:56:36 | <sprasanna> bmckown: where can i find the default runtime file.. i mean when there are no runtime file in the specified location then the openmrs loads itself with a default runtime properties na.. where can i find that |
| 15:57:35 | *** njero has joined #openmrs |
| 15:57:35 | *** ChanServ sets mode: +v njero |
| 15:58:16 | <bmckown> there is no default runtime file. there are default properties built into openmrs. to override them you need to use the runtime properties file. |
| 15:59:23 | <bmckown> you can copy and paste from the runtime properties file in the link i gave you above. |
| 16:01:45 | <bmckown> See: http://openmrs.org/wiki/Step-by-Step_Installation_for_Implementers#Runtime_Configuration |
| 16:01:47 | <OpenMRSBot> <http://ln-s.net/25GS> (at openmrs.org) |
| 16:01:56 | * r0bby throws his shoe at njero's head |
| 16:02:49 | *** bmckown has quit IRC |
| 16:03:31 | * njero gets hit.... passes out |
| 16:05:34 | * r0bby throws more |
| 16:05:47 | <r0bby> jmiranda: so a guy walks into a bar, right? |
| 16:05:50 | <r0bby> ouch |
| 16:05:53 | * r0bby snickers |
| 16:06:53 | * jmiranda olo'd |
| 16:07:39 | <jmiranda> but i applaud the effort to create some banter |
| 16:10:57 | *** sprasanna has quit IRC |
| 16:17:14 | *** njero has quit IRC |
| 16:18:13 | <r0bby> gawd httpunit is proving invaluable |
| 16:20:29 | <r0bby> jmiranda: you guys should look into converting to junit4 |
| 16:21:12 | <r0bby> http://papernapkin.org/pastebin/view/1942/ |
| 16:21:21 | <r0bby> Junit 4 test class =) |
| 16:22:36 | <r0bby> this is useful banter. |
| 16:23:12 | <jmiranda> what happened to all of the parentheses! |
| 16:23:51 | <r0bby> groovy makes them optional. |
| 16:24:05 | <r0bby> oh yeh, i write my tests in groovy |
| 16:24:16 | <r0bby> optional/ duck typing ftw! |
| 16:27:24 | <r0bby> the only time parenthesis are explicitly required are when it's a no-arg method, otherwise it'll do a property lookup |
| 16:31:26 | *** sgrannis has joined #openmrs |
| 16:31:48 | <sgrannis> nribkea: u there? |
| 16:38:21 | <r0bby> sgrannis: no sorry, I killed him |
| 16:38:50 | <r0bby> :> |
| 16:39:02 | <nribeka> hi sgrannis |
| 16:39:04 | <nribeka> :D |
| 16:39:13 | <nribeka> did you got my email? |
| 16:39:42 | <nribeka> no wonder my mibbit is not blinking :D |
| 16:40:51 | <nribeka> sgrannis: are u still there? |
| 16:42:20 | * r0bby kicks nribeka |
| 16:42:26 | <r0bby> didn't I just say i killed you |
| 16:42:34 | * nribeka running away |
| 16:42:49 | <nribeka> i missed sgrannis twice today ... |
| 16:43:35 | * r0bby sighs |
| 16:43:49 | * r0bby goes to track down the breakage |
| 16:49:11 | <nribeka> sgrannis: i will apply the patch if you don't stop me in 5 seconds ... lol :D |
| 16:52:36 | <nribeka> r0bby: what did u do to sgrannis |
| 17:02:10 | <jmiranda> nribeka, r0bby i'm telling on both of you |
| 17:02:11 | *** Phantal- has quit IRC |
| 17:02:34 | <nribeka> yes jmiranda. |
| 17:05:45 | <r0bby> jmiranda: what'd I do?!?! |
| 17:06:10 | <r0bby> jmiranda: I've had lh repremand me via email |
| 17:06:20 | <r0bby> cc'ing burke, nothing is worse than that |
| 17:06:47 | <jmiranda> r0bby, that's awesome |
| 17:06:55 | *** bwolfe has joined #openmrs |
| 17:06:55 | *** ChanServ sets mode: +o bwolfe |
| 17:07:15 | <jmiranda> she's a good reprimanderer |
| 17:07:34 | <r0bby> she is |
| 17:07:37 | <r0bby> hey bwolfe |
| 17:07:38 | <r0bby> =) |
| 17:07:42 | <bwolfe> yo |
| 17:07:44 | <r0bby> I got httpunit working :) |
| 17:07:46 | <jmiranda> she's also a lovely lovely person |
| 17:07:57 | <r0bby> http://papernapkin.org/pastebin/view/1942/ |
| 17:07:59 | <r0bby> ditto |
| 17:08:02 | <bwolfe> r0bby: nice |
| 17:08:04 | <r0bby> she is |
| 17:08:08 | *** sgrannis has quit IRC |
| 17:08:15 | <r0bby> I figured out how to check the view |
| 17:08:25 | <bwolfe> so now you'll document it for modules and then get it working in core, right? :-) |
| 17:08:26 | <r0bby> look for certain words that are relevent to the success |
| 17:08:43 | <r0bby> assertTrue "Should contain a textarea", view.toString().indexOf("textarea") > 0 |
| 17:08:52 | <r0bby> :D |
| 17:08:57 | <r0bby> bwolfe: maybe |
| 17:09:02 | <r0bby> what's in it for me? |
| 17:09:09 | <bwolfe> r0bby: fame and fortune |
| 17:09:10 | <r0bby> I'm gonna blog it |
| 17:09:14 | <bwolfe> minus the fortune part |
| 17:09:17 | <r0bby> then i'll document it |
| 17:09:27 | <bwolfe> and the fame isn't really fame |
| 17:09:33 | <bwolfe> but other than that, fame and fortune |
| 17:10:01 | <r0bby> so in essence nothing but respect |
| 17:11:14 | <r0bby> bwolfe: like the way I check for invalid code in the unit test :-) -- testing the entire message is annoying -- so check for key words that are only present when the condition is encountered |
| 17:11:24 | <r0bby> :) |
| 17:11:34 | <bwolfe> r0bby: that doesn't seem right |
| 17:11:46 | <r0bby> well in my case it works |
| 17:11:47 | <bwolfe> is that all httpunit does for you? wget a url and then you have the text there ? |
| 17:11:59 | <r0bby> bwolfe: no, it posts to it |
| 17:12:12 | <r0bby> basically, mocks up a session |
| 17:12:38 | <r0bby> bwolfe: i'm posting to a live deployed servlet. |
| 17:14:38 | <r0bby> ugh |
| 17:17:01 | <r0bby> bwolfe: why? |
| 17:17:14 | <bwolfe> why what ? |
| 17:18:18 | <r0bby> why doesn't it seem right |
| 17:18:40 | <r0bby> it's progammatically posting to the servlet and testing what it returns |
| 17:21:44 | <r0bby> accomplishing what I need -- showing me what's busted |
| 17:21:51 | <bwolfe> right, I got that. that seems fine. its just that I thought it would do more with the asserting. Like help you determine what html elements are there more than you just doing a .indexOf() |
| 17:22:07 | <r0bby> I could do that |
| 17:22:26 | <r0bby> But i don't feel like doing it -- I just need to ensure the XML returned is correct |
| 17:22:45 | <r0bby> I'm not returning html; i'm returning XML -- the sole purpose of this servlet is to return xml |
| 17:23:56 | <bwolfe> since when does xml have a textarea ? |
| 17:25:15 | <r0bby> oh that's not for XML |
| 17:25:17 | <r0bby> that's for HTML |
| 17:25:30 | <r0bby> that was testing the Generation method |
| 17:25:57 | <r0bby> seperate test altogether :) |
| 17:26:56 | <r0bby> I try to delegate to backend classes as much as possible |
| 17:27:03 | <r0bby> If you saw my design :) |
| 17:27:33 | <r0bby> I've done refactoring as well |
| 17:27:41 | <r0bby> I have a *MAJOR* commit coming in soon |
| 17:28:30 | <nribeka> !ticket 937 |
| 17:28:30 | <OpenMRSBot> nribeka: Ticket #937: http://dev.openmrs.org/ticket/937 |
| 17:32:57 | <r0bby> heh burke is out of the country? |
| 17:33:15 | <r0bby> Burke is out of the country until August 4th. He could talk to you on Monday, Aug. 4th between 1:30 and 4:30 or Wednesday, Aug. 6th between 10:00-11:30 or 3:00-4:30. Let me know if any of this works for you. |
| 17:33:20 | <r0bby> haha |
| 17:35:10 | <nribeka> hehe ... |
| 17:35:26 | <r0bby> I understand im a difficult intern but damn! |
| 17:36:25 | <r0bby> where is burke anyways? |
| 17:36:28 | <r0bby> bwolfe: ^ |
| 17:37:17 | *** nribeka has quit IRC |
| 17:37:44 | *** nribeka has joined #openmrs |
| 17:39:00 | <bwolfe> r0bby: burke is on a plane towards italy right now |
| 17:39:08 | <r0bby> ah ok |
| 17:39:11 | <r0bby> vacation |
| 17:39:21 | <nribeka> wow .. italy |
| 17:39:29 | <bwolfe> nope, conference |
| 17:39:34 | <bwolfe> with the WHO |
| 17:39:44 | *** nribeka has quit IRC |
| 17:39:49 | <r0bby> ah |
| 17:39:50 | <r0bby> cool |
| 17:39:52 | <bwolfe> the WHO is based in switzerland I think...so they have conferences over near them |
| 17:40:11 | <r0bby> this is what I get for choosing to do this project |
| 17:41:18 | <bwolfe> r0bby: what do you desparately need burke for now ? |
| 17:41:22 | <r0bby> nothing |
| 17:41:48 | <r0bby> just useful to touch base |
| 17:43:34 | <r0bby> the basic functions work here :| |
| 17:46:18 | *** nribeka has joined #openmrs |
| 17:47:30 | *** Nzeyi has joined #openmrs |
| 17:47:49 | <r0bby> ugh /jj |
| 17:47:51 | <r0bby> er |
| 17:57:34 | *** bwolfe has quit IRC |
| 18:12:45 | <OpenMRSBot> Recent updates in the world of openmrs: Nzeyimana Antoine: GSOC MIDTERM REVIEW AND OTHER UPDATES <http://nzeyi.wordpress.com/2008/07/26/gsoc-midterm-review-and-other-updates/> |
| 18:28:45 | *** Nzeyi has quit IRC |
| 18:32:10 | *** sgrannis has joined #openmrs |
| 18:36:41 | <nribeka> sgrannis, i already commit the latest patch :D |
| 18:37:34 | <sgrannis> nribeka: thx .. after things calm down I'l try to test tonight (sad when software testing i the most fun you can find on a Friday night! :0 |
| 18:38:22 | <nribeka> haha lol ... |
| 18:38:38 | <nribeka> just wanna let u know sgrannis :D |
| 18:38:47 | <nribeka> you don't have to test it right away :P |
| 18:39:33 | <nribeka> going for the next one now. requirements for the new gui :D |
| 18:40:43 | <sgrannis> alright! |
| 18:41:14 | <nribeka> hehe ... |
| 18:42:51 | <nribeka> friday night is chicken wings night :D |
| 18:43:04 | <r0bby> I hate testing mine |
| 18:43:19 | <r0bby> I have a servlet that;s bombing out and I dontr know why |
| 18:43:24 | <r0bby> it's not my backend code that's solid |
| 18:45:26 | <nribeka> dinner time rob :D |
| 19:07:36 | *** sgrannis has quit IRC |
| 19:22:55 | <r0bby> nribeka: what you making me? |
| 19:36:15 | <nribeka> salad ... :D |
| 19:39:45 | *** sgrannis has joined #openmrs |
| 19:39:54 | *** ChanServ sets mode: +v sgrannis |
| 19:44:47 | <sgrannis> nribeka: the ransom sampling samples each block twice -- e.g., for 3 blockign runs it generates 6 windows ... thoughts? |
| 19:44:59 | <sgrannis> random, not ransom |
| 19:52:43 | <nribeka> ransom ... |
| 19:52:45 | <nribeka> checking |
| 19:58:34 | <nribeka> sgrannis, mine only create 3 window ... |
| 19:59:00 | <sgrannis> hmmmm ... lemme check |
| 19:59:30 | <nribeka> mine: load config (the one that you gave me) --> perform random sampling |
| 19:59:59 | <sgrannis> that's what i'm doing -- I may have left a previous rand sample up --lemme re-run. |
| 20:00:11 | <sgrannis> running .... 1 min |
| 20:01:50 | <sgrannis> my bad ... it runs as expected. i must have clicked the rand sam button twice ... |
| 20:02:02 | <sgrannis> good work! |
| 20:02:41 | <nribeka> hehe ... :D |
| 20:02:50 | <nribeka> kewl ... |
| 20:03:15 | <sgrannis> :) |
| 20:03:47 | <nribeka> any other unusual thing sgrannis? |
| 20:04:03 | <nribeka> i thought you're not going to work on friday night sgrannis :) |
| 20:04:11 | <sgrannis> nothing that I've seen ... need to start from scratch and see what I can find |
| 20:04:45 | <sgrannis> Friday night s are some of teh quietest ... can get soem real work done ... :( I'm actually about to sign off and watch a movie :) |
| 20:05:12 | <sgrannis> I've already watched a movie with my kids tongith, now some quiet time ... :) |
| 20:05:21 | <nribeka> haha what kind of movie sgrannis? |
| 20:05:28 | <nribeka> dark knight? |
| 20:05:55 | <sgrannis> already seen dark knight ... last Sat. No, tonight will watch Atonement with my wife |
| 20:06:21 | <sgrannis> d/l'ing onto our TiVo from Amazon unbox |
| 20:07:46 | <nribeka> wow ... have fun then sgrannis :) |
| 20:07:53 | <nribeka> i will watch movies too probably :P |
| 20:08:18 | <sgrannis> havea good night and a good weekend. |
| 20:09:48 | <nribeka> u2 sgrannis :D |
| 20:10:00 | <sgrannis> g'night |
| 20:10:00 | <nribeka> thank you ... |
| 20:10:08 | <nribeka> gnite sgrannis :) |
| 20:10:17 | *** sgrannis has quit IRC |
| 23:34:20 | <r0bby> ugh I can't see where the problem is |
| 23:51:09 | *** rfoecking has quit IRC |