IRC Chat : 2009-05-12 - OpenMRS

00:03:42 *** atomicturtle has joined #openmrs
00:07:13 *** atomicturtle has left #openmrs
00:12:09 *** jmiranda has joined #openmrs
00:12:09 *** ChanServ sets mode: +o jmiranda
00:31:16 <Keelhaul> jmiranda
00:31:36 <Keelhaul> are you familiar with the javascript code for making voided rows invisible
00:32:14 <jmiranda> Keelhaul: i stay as far away from javascript as possible
00:32:19 <Keelhaul> yea me too
00:32:22 <jmiranda> but ask your question
00:32:23 <Keelhaul> thats why i need help =/
00:32:31 <Keelhaul> well it works for obs but not for encounters etc
00:32:33 <Keelhaul> on my page
00:32:36 <Keelhaul> code is the same
00:32:38 <jmiranda> i might no someone who knows something
00:32:40 <Keelhaul> the tables have correct ids
00:32:53 <Keelhaul> <a href="#" id="showVoidedEncounters" onClick="return toggleRowVisibilityForClass('encounters', 'voided', true);"><spring:messagecode="general.toggle.voided"/></a> |
00:33:03 <jmiranda> s/no/know (embarrassing)
00:33:03 <Keelhaul> thats link that toggles it
00:33:17 <jmiranda> do you have a link to something on svn
00:33:17 <Keelhaul> 'encounters' is the id of the table
00:33:29 <Keelhaul> hold on
00:33:37 <jmiranda> so i can see the big picture
00:33:49 <jmiranda> where is the javascript code (openmrs.js or something like that)?
00:34:00 <Keelhaul> hmm
00:34:08 <Keelhaul> how do i get the svn view with line n umbers
00:34:14 <Keelhaul> yes, in openmrs.js
00:34:17 <jmiranda> trac
00:34:23 <jmiranda> Browse Source
00:34:54 <Keelhaul> http://svn.openmrs.org/openmrs/trunk/web/openmrs.js
00:34:56 <OpenMRSBot> <http://ln-s.net/3B9K> (at svn.openmrs.org)
00:35:53 <jmiranda> http://dev.openmrs.org/browser/openmrs/trunk/web/openmrs.js
00:35:56 <OpenMRSBot> <http://ln-s.net/3B9L> (at dev.openmrs.org)
00:36:14 <Keelhaul> http://dev.openmrs.org/browser/openmrs/trunk/web/WEB-INF/view/admin/encounters/encounterForm.jsp
00:36:16 <Keelhaul> heres an example
00:36:23 <OpenMRSBot> <http://ln-s.net/3B9M> (at dev.openmrs.org)
00:36:29 <Keelhaul> line 230
00:36:41 <Keelhaul> and the call to that function is also in onLoad
00:36:49 <Keelhaul> which doesnt work for me either
00:37:31 <Keelhaul> when the page is first loaded, the odd/even coloring is broken
00:37:41 <Keelhaul> clicking on the "toggle voided" link fixes the coloring
00:37:51 <Keelhaul> second click and on actually does the toggling
00:37:52 <Keelhaul> weird
00:40:45 <jmiranda> could you send me your page
00:40:49 <jmiranda> maybe as HTML
00:42:12 <Keelhaul> the browser show source?
00:42:22 <Keelhaul> the html generated by spring is ugly
00:42:24 <Keelhaul> lots of gaps
00:43:34 <Keelhaul> jmiranda: http://keelhaul.homeip.net/misc/problemForm.jsp
00:44:02 <jmiranda> can you run it once
00:44:05 <jmiranda> and send me the html
00:44:11 <Keelhaul> ok
00:45:04 <Keelhaul> http://keelhaul.homeip.net/misc/problemForm.html.txt
00:45:10 <OpenMRSBot> <http://ln-s.net/3B9P> (at keelhaul.homeip.net)
00:49:27 <Keelhaul> i might have broken jsp code somewhere
00:49:32 <Keelhaul> because it doesnt show the patient
00:59:16 <jmiranda> i'm not even sure what it's supposed to do
01:00:33 <Keelhaul> jmiranda: what what's supposed to do
01:00:44 <jmiranda> toggle voided
01:01:22 <Keelhaul> make all voided rows invisible
01:01:27 <jmiranda> my gut tells me that it's supposed to show/hide voided encounters
01:01:39 <Keelhaul> and visible again, yea
01:04:09 <Keelhaul> <br />
01:04:10 <Keelhaul> <input type="submit" id="saveProblemButton" value='<spring:message code="general.save"/>'>
01:04:10 <Keelhaul> <br />
01:04:11 <Keelhaul> er
01:04:17 <Keelhaul> toggleRowVisibilityForClass("relatedProblems", "voided", true);
01:04:17 <Keelhaul> toggleRowVisibilityForClass("patientPrograms", "voided", true);
01:04:17 <Keelhaul> toggleRowVisibilityForClass("encounters", "voided", true);
01:04:36 <Keelhaul> these 3 rows in onLoad() seem to have broken the entire javascript stuff
01:04:44 <Keelhaul> it wouldnt show the patient or the concept anymore
01:04:45 <Keelhaul> wth
01:05:05 <Keelhaul> are the class ids for that function defined somewhere, maybe?
01:05:10 <Keelhaul> so i cant choose any name
01:07:53 *** nribeka has joined #openmrs
01:07:53 *** ChanServ sets mode: +v nribeka
01:11:22 <jmiranda> Keelhaul: yeah, i have no idea
01:11:49 <Keelhaul> weird stuff
01:12:02 <Keelhaul> i removed those lines and obs rows are colored properly now
01:12:04 <Keelhaul> go figure
01:12:09 <jmiranda> run this through a debugger
01:12:18 <jmiranda> hmm
01:12:41 <Keelhaul> i'm not that good with debuggers
01:12:48 <Keelhaul> when its a web app
01:13:12 <jmiranda> sorry, use a javascript debugger
01:13:20 <jmiranda> firebug is pretty good
01:13:37 <Keelhaul> o lol
01:13:39 <jmiranda> there's another one (i think it's called venkman)
01:13:42 <Keelhaul> i actually have firebug installed
01:13:43 <jmiranda> which is awesome
01:14:08 <jmiranda> just set some breakpoints in the code
01:14:12 <jmiranda> (with firebug)
01:14:30 <jmiranda> then refresh the page
01:14:35 <jmiranda> it's really simply
01:14:57 <Keelhaul> hmm
01:15:01 <Keelhaul> i cant find any relevant code
01:15:01 <jmiranda> at least the first part of the debugging process is easy
01:15:12 <jmiranda> actually finding the bug is still a pain
01:17:08 <jmiranda> i just clicked options
01:17:14 <jmiranda> checked all three
01:17:22 <jmiranda> and refreshed the page
01:17:37 <jmiranda> firebug stopped at a DWR exception
01:17:50 <jmiranda> (this is within a random page in the webapp, by the way)
01:18:05 <jmiranda> and was able to step into the openmrs.js script
01:18:40 <jmiranda> at which point i added a breakpoint at toggleRowVisibility
01:19:29 *** Mkop has joined #openmrs
01:19:30 <jmiranda> oh nevermind
01:19:35 <jmiranda> when you load the page
01:20:05 <jmiranda> you'll see a dropdown with the value index.html#
01:20:08 <jmiranda> click on that
01:20:19 <jmiranda> you should be able to get into the openmrs.js script
01:20:47 <Keelhaul> nope =/
01:20:59 <jmiranda> if not, select "show static scripts" from the other dropdown
01:21:08 <jmiranda> or "all"
01:22:02 <jmiranda> when you open firebug
01:22:18 <jmiranda> what do you see in the top toolbar (next to the little bug)
01:23:59 <Keelhaul> yey
01:24:01 <Keelhaul> yes*
01:25:01 <Keelhaul> Inspect
01:27:18 <jmiranda> ok
01:27:22 *** luzhuangwei has joined #openmrs
01:27:30 <jmiranda> the next menu down has Script
01:27:33 <jmiranda> click that
01:27:43 *** nribeka has quit IRC
01:27:46 <Keelhaul> ok
01:27:47 <jmiranda> then the top menu will change
01:27:48 *** nribeka has joined #openmrs
01:27:48 *** ChanServ sets mode: +v nribeka
01:28:00 <Keelhaul> i enabled the debugger for the domain
01:28:02 <Keelhaul> is that correct?
01:28:07 <jmiranda> now click on index.html and select "openmrs.js"
01:28:08 <jmiranda> yes
01:28:36 <Keelhaul> wheres index.html
01:28:52 <jmiranda> what do you see in the top menu
01:28:59 <jmiranda> after you select the script tab
01:29:13 *** nribeka has quit IRC
01:29:26 <Keelhaul> it shows the current link name
01:29:35 <Keelhaul> if i click on it, i can seleect script libraries
01:32:44 <Keelhaul> jmiranda: do i set the breakpoint at the function signature?
01:33:01 <jmiranda> you can
01:33:18 <jmiranda> and then you can step through the code
01:33:24 <jmiranda> but you can put the breakpoint anywhere
01:33:59 <Keelhaul> it doesnt stop at the breakpoint if i click on a link that calls that function
01:34:03 <Keelhaul> only when the page is first loaded
01:37:09 <jmiranda> yeah, i see what you mean
01:37:14 <jmiranda> not sure why that is
01:42:36 <Keelhaul> argh
01:42:43 <Keelhaul> now it wont even stop at the breakpoint anymore
01:42:45 <Keelhaul> i hate debuggers
01:43:42 <Keelhaul> ok i'll try tomorrow more
01:43:44 <Keelhaul> thanks
01:47:17 <jmiranda> :)
01:47:32 <jmiranda> Keelhaul: run through a quick tutorial for the debugger
01:47:37 <Keelhaul> ok
01:47:40 <jmiranda> and maybe try venkman
01:47:43 <jmiranda> last time i used it
01:47:45 <jmiranda> it was awesome
01:47:56 <jmiranda> it's basically it's own little IDE
01:48:05 <jmiranda> but within a browser plugin
01:48:16 <Keelhaul> heh
01:49:02 <Keelhaul> Venkman is named after the character Dr. Peter Venkman played by Bill Murray in the movies Ghostbusters and Ghostbusters II.
01:49:02 <Keelhaul> hah
01:51:15 <jmiranda> :)
02:09:23 *** Mkop1 has joined #openmrs
02:23:04 *** Mkop has quit IRC
02:37:52 *** openmrs_2499 has joined #openmrs
02:38:16 *** openmrs_2499 has quit IRC
02:42:02 *** upul has joined #openmrs
02:42:02 *** ChanServ sets mode: +v upul
02:42:10 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7705]: Moving testathon into its rightful place amongst the other branches. Yes, … <http://dev.openmrs.org/changeset/7705> || OpenMRS Changesets: Changeset [7704]: Creating testathon branch for all developers participating in the JUnit … <http://dev.openmrs.org/changeset/7704>
02:54:04 *** openmrs_6276 has joined #openmrs
02:54:27 *** openmrs_6276 has quit IRC
02:56:36 *** atomicturtle1 has joined #openmrs
03:13:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1485 (task created): Implement a maintenance page to allow administrators to upgrade database manually <http://dev.openmrs.org/ticket/1485>
03:25:30 *** nribeka has joined #openmrs
03:25:30 *** ChanServ sets mode: +v nribeka
03:27:02 *** nribeka has quit IRC
03:27:08 *** nribeka has joined #openmrs
03:27:08 *** ChanServ sets mode: +v nribeka
03:27:46 *** nribeka has left #openmrs
04:16:49 *** r0bby has quit IRC
04:16:49 *** atomicturtle1 has quit IRC
04:16:49 *** luzhuangwei has quit IRC
04:17:02 *** atomicturtle1 has joined #openmrs
04:17:02 *** luzhuangwei has joined #openmrs
04:17:22 *** r0bby has joined #openmrs
04:17:22 *** irc.freenode.net sets mode: +v r0bby
05:03:42 *** Keelhaul has quit IRC
05:12:37 *** luzhuangwei has quit IRC
05:47:32 *** openmrs_77 has joined #openmrs
05:47:49 *** openmrs_77 is now known as Mkop
05:55:17 *** atomicturtle has joined #openmrs
05:55:17 *** atomicturtle1 has quit IRC
05:57:36 *** Mkop has quit IRC
06:55:10 *** pascal` has joined #openmrs
07:58:16 *** Mkop1 has quit IRC
08:55:43 *** atomicturtle1 has joined #openmrs
08:55:43 *** atomicturtle has quit IRC
09:34:18 <pascal`>
09:44:38 * upul
10:14:12 *** dfuterman has joined #openmrs
10:14:46 <pascal`> hey upul
10:15:04 <upul> hey pascal`
10:20:50 *** bwolfe has joined #openmrs
10:20:50 *** ChanServ sets mode: +o bwolfe
10:30:50 *** deadpool_ has joined #openmrs
10:46:26 *** dfuterman has quit IRC
11:01:02 *** deadpool_ has quit IRC
11:02:44 *** luzhuangwei has joined #openmrs
11:06:49 *** dfuterman has joined #openmrs
11:11:31 *** atomicturtle1 has left #openmrs
11:26:34 *** upul has quit IRC
11:34:19 *** james_regen has joined #openmrs
11:34:19 *** ChanServ sets mode: +v james_regen
11:34:28 *** deadpool_ has joined #openmrs
11:34:42 <deadpool_> hello
11:35:06 <pascal`> hi
11:39:04 <deadpool_> so i have a question
11:39:15 <deadpool_> i would like to help out on development and all
11:39:28 <deadpool_> i was wondering if someone could help me get started
11:39:32 <deadpool_> like what to do and all
11:40:02 <pascal`> sure
11:40:28 <pascal`> you got here, so i assume you're aware of the wiki?
11:40:33 <deadpool_> yeah i am
11:40:49 <pascal`> http://openmrs.org/wiki/Developers
11:40:49 <deadpool_> i have also deployed openmrs too soo
11:40:54 <pascal`> i suggest starting there
11:41:08 <pascal`> happy reading (=
11:41:59 <pascal`> well, what exactly do you need to know?
11:43:36 <deadpool_> well i am just out of school and haven't really found a job yet so i thought i would spend some time on this and hopefully get some experience and all
11:44:05 <pascal`> good plan
11:44:28 <pascal`> well, i'd suggest reading as much as you can starting from that page i pasted
11:44:50 <deadpool_> yeah i am thanks a lot
11:45:21 <pascal`> install eclipse, the svn plugin... sync out the source code (maybe first learn about subversion
11:45:21 <pascal`> )
11:45:21 <pascal`> learn about spring, tomcat, jsp, mysql
11:45:21 <pascal`> read the code
11:45:33 <pascal`> have a look at our Trac tickets.... find a trivial ticket and try and implement it
11:46:29 <pascal`> also read about hibernate
11:46:58 <deadpool_> hibernate?
11:48:59 *** lzw_ has joined #openmrs
11:49:10 *** luzhuangwei has quit IRC
11:49:40 <bwolfe> !trivialtickets
11:49:40 <OpenMRSBot> bwolfe: "trivialtickets" --- http://dev.openmrs.org/report/16
11:49:43 <bwolfe> !introtickets
11:49:43 <OpenMRSBot> bwolfe: "introtickets" --- http://dev.openmrs.org/report/20
11:50:03 <bwolfe> those are good places to easily get involved
11:51:23 <bwolfe> they are meant to be less than 3 day projects for people that have never seen openmrs before
11:51:42 <bwolfe> (some are larger and could be week long for newbies though)
11:54:39 <pascal`> mk
11:55:57 *** atomicturtle has joined #openmrs
11:56:45 <deadpool_> thanks
11:58:04 <bwolfe> deadpool_: if you have any questions, let us know. we're happy to help you help us. :-)
11:58:44 <deadpool_> thanks i am sure to have many questions
12:00:43 *** atomicturtle has left #openmrs
12:06:02 <pascal`> bwolfe, you dont happen to have any documentation for the version of dojo we're using do you?
12:07:18 <bwolfe> its v .22 or so
12:07:24 <bwolfe> does the dojo site not have any anymore?
12:07:54 <pascal`> no
12:08:11 <pascal`> i think everyone who had anything to do with that version has long since passed on...
12:08:16 <bwolfe> heh
12:08:20 <bwolfe> its possible
12:08:24 <pascal`> (=
12:08:29 <bwolfe> and jquery isn't good enough for you ?
12:09:29 <pascal`> i'm sure it is
12:09:37 <pascal`> i just start off with dojo and now i'm basically done
12:10:01 <pascal`> i just have issue to sort out, but it's something i need the documentation for i think
12:11:09 <pascal`> *started, */one/ issue
12:11:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7706]: 1.4.x: Backported fix for concept stats page - #1244 <http://dev.openmrs.org/changeset/7706>
12:18:13 <bwolfe> pascal`: what issue do you have to sort out ?
12:19:16 <pascal`> i can't select text in a textfield generated by an <input> tag
12:19:16 <pascal`> it's in a tree tho
12:19:16 <pascal`> so i'm sure that's the problem, i just have no idea where to look next
12:20:29 <pascal`> i'll submit something now, and you can take a look if you want to see the problem
12:20:35 <bwolfe> its probably under another div
12:20:55 <bwolfe> can you click on it to give it focus?
12:21:02 <bwolfe> or can you only tab to it?
12:21:35 <pascal`> it is
12:22:07 <pascal`> trees are implemented using div's
12:22:07 <pascal`> what can i do about it thought?
12:22:50 <pascal`> it's so weird, because i do everything else to the text except select it with the mouse or keyboard
12:24:13 *** upul has joined #openmrs
12:24:13 *** ChanServ sets mode: +v upul
12:24:16 <pascal`> i can rightclick select all and copy and paste and everything
12:24:16 <pascal`> bizarre
12:25:13 <pascal`> i can click on it
12:25:18 <pascal`> http://modules.openmrs.org/modules/view.jsp?module=globalpropertyeditor
12:25:20 <OpenMRSBot> <http://ln-s.net/3BBZ> (at modules.openmrs.org)
12:25:22 <pascal`> i upped it
12:26:23 <pascal`> hi upul
12:26:37 <upul> Hi pascal`
12:35:58 <upul> BBC is pro-terrorist headlines always say 'government killed' and next say terrorist said so then a footnote 'also government claimed...'
12:40:23 *** upul has quit IRC
12:40:23 *** upul_ has joined #openmrs
12:40:23 *** ChanServ sets mode: +v upul_
12:41:22 <pascal`> you should rather get your news from The Onion
12:41:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7707]: globalpropertyeditor: Implemented adding new properties <http://dev.openmrs.org/changeset/7707> || OpenMRS Modules: Global Property Editor 0.1.2 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=globalpropertyeditor&version=&0.1.2>
12:42:41 *** upul has joined #openmrs
12:42:41 *** ChanServ sets mode: +v upul
12:44:22 *** upul_ has quit IRC
12:46:16 *** Keelhaul has joined #openmrs
12:46:16 *** ChanServ sets mode: +v Keelhaul
12:47:50 *** pascal` has quit IRC
12:52:36 <upul> bwolfe, "Sri Lanka is deeply concerned about the plight of innocent civilians caught up in the conflict between the government of United States and the Al Qaeda, and the mounting death toll. We call on both sides to stop fighting immediately and start negotiating for a peaceful settlement."
12:52:58 <upul> I just changed some wording from a US statment :-D
12:54:19 <bwolfe> yeah, for some reason its ok when the US does it... :-/
12:54:46 <Keelhaul> does what
12:54:59 <upul> actually after that US is silent about lank
12:55:49 <upul> Lankan embassy in germany was attacked twice Keelhaul
12:55:55 <Keelhaul> o
12:55:56 <Keelhaul> by whom
12:56:35 <upul> terrorist supporters, temple in paris was attacked couple of days ago
12:56:57 <Keelhaul> o
12:57:01 <Keelhaul> temple =o
12:57:33 <upul> buddhist temple
12:57:56 *** pascal` has joined #openmrs
12:58:12 <Keelhaul> being religious is just wrong =(
12:59:08 *** pascal` has quit IRC
12:59:56 <upul> it's not a religion, buddha, just a person found path the end suffering and told others, go same way if want, that's it
13:00:25 <Keelhaul> thats how religion works..
13:00:37 <upul> it's a guide book only, but nowdays people worship the book, that's the religion
13:00:53 <upul> they don't read and follow it
13:01:58 <Keelhaul> same can be said for christianity, islam
13:06:04 <upul> nope, there are no gods to ask for anything, only just you, simply he said, suffering is because of attachments, if you brake those attachments you are free
13:07:31 <Keelhaul> http://upload.wikimedia.org/wikipedia/commons/2/2b/Central_province1.jpg
13:07:33 <OpenMRSBot> <http://ln-s.net/3BCQ> (at upload.wikimedia.org)
13:07:33 <Keelhaul> this looks nice
13:07:38 <Keelhaul> are there any poisonous snake?
13:07:41 <Keelhaul> s*
13:08:27 <upul> very rare, i think about 4 species, but you die only if you run around for hours without medication
13:08:52 <Keelhaul> o
13:09:05 <Keelhaul> i dreamed about getting bitten last night =/
13:09:20 <upul> may be that place is already polluted and destroyed by people :-)
13:10:03 <upul> ah I can see a plastic bottle or somethng in the picture
13:10:34 <Keelhaul> yea lol
13:10:58 <Keelhaul> Moro Islamic Liberation Front (MILF)
13:10:59 <Keelhaul> lol
13:12:10 *** pascal` has joined #openmrs
13:12:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7708]: idcards: Added printed template option <http://dev.openmrs.org/changeset/7708>
13:12:18 *** pascal` has quit IRC
13:13:04 *** deadpool_ has quit IRC
13:13:11 *** deadpool__ has joined #openmrs
13:14:02 <upul> couple of weeks ago lanka army found the newest suicide bomb packed in an underwear
13:14:07 *** pascal` has joined #openmrs
13:14:33 <upul> security never check that close normally
13:15:03 <Keelhaul> hm
13:15:07 <upul> ltte used to use pregnant women for that earlier
13:15:10 <Keelhaul> are the rebels islamic?
13:15:13 <Keelhaul> or just separatists
13:15:15 <upul> nope
13:16:52 <upul> they want a state just like everyother person who came here, british, dutch, portuguese, south indian
13:18:57 <Keelhaul> Government Democratic Socialist Republic
13:19:00 <Keelhaul> what's this like
13:19:14 <upul> :-) it has everything
13:19:31 <deadpool__> it is a parlimentary system but i would have to say it is like israel
13:19:45 <Keelhaul> from what i know, country who've been using words like "democratic" or "people's" in their name, tended to be the opposite
13:19:49 <Keelhaul> countries*
13:20:01 <deadpool__> the ltt is like hamas and the srilankan government is like israel
13:20:08 <upul> it is a parliamentary system
13:20:22 <Keelhaul> but the hamas are islamic fundamentalists
13:20:33 <deadpool__> not really
13:21:04 <deadpool__> when they originally started they wanted what was theirs and israel just basically said no
13:21:32 <deadpool__> they used islamic doctrine to get more recruits and it turned out that way
13:22:29 <upul> it's not that simple, let's say your grand ... grand fathers were annihilated and now you come back
13:22:31 <deadpool__> actually the better analogy is that there are tamils and the singhalese
13:22:59 <deadpool__> like there are palestinians and isralis
13:23:23 *** kane77 has joined #openmrs
13:23:50 <deadpool__> it is messed up there and both sides have committed atrocities
13:25:04 <deadpool__> well that is my two cents
13:25:33 <upul> sinhalese (thugs among them really) did a mistake in 1983, ltte killed soldiers for first time, and sinhala people hit tamils
13:26:03 <pascal`> hi jmiranda
13:26:03 <pascal`> bwolfe, do you have a second?
13:26:21 <jmiranda> hey pascal`
13:27:21 <bwolfe> sure
13:30:28 *** deadpool__ is now known as deadpool_
13:37:05 <pascal`> well, when you have a little time I'd just like someone to try out my module
13:37:05 <pascal`> just to make sure it works...
13:39:03 *** nribeka has joined #openmrs
13:39:03 *** ChanServ sets mode: +v nribeka
13:43:56 <bwolfe> are there big changes from the last one?
13:49:43 <pascal`> well, I implemeted adding new properties
13:49:43 <pascal`> if the last one worked, this one probably will too
13:57:09 *** dfuterman has quit IRC
13:59:26 *** rryan has quit IRC
13:59:29 *** rryan has joined #openmrs
14:00:04 *** lzw_ has quit IRC
14:00:47 *** luzhuangwei has joined #openmrs
14:14:46 *** nribeka1 has joined #openmrs
14:19:31 *** pascal` has quit IRC
14:24:39 <upul> Sri Lankan embassy in Netherlands attacked
14:25:36 *** nribeka has quit IRC
14:38:46 *** pascal` has joined #openmrs
14:45:02 <pascal`> meh internet
14:47:17 <upul> my router resets all the time
14:49:07 <pascal`> well in south africa they call 384kbps broadband...
14:49:07 <pascal`> my router is ok tho, sometimes i have to reset it... well, i'm not sure that i have to... but it usually helps
14:55:20 *** atomicturtle1 has joined #openmrs
14:56:36 *** atomicturtle1 has left #openmrs
15:14:30 <Keelhaul> bwolfe: are you familiar with how showing/hiding voided rows works?
15:14:40 <Keelhaul> i cant get it to work for anything but obs
15:15:46 <Keelhaul> http://dev.openmrs.org/browser/openmrs/trunk/web/openmrs.js
15:15:46 <OpenMRSBot> <http://ln-s.net/3B9L> (at dev.openmrs.org)
15:15:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7709]: Deleting the uuids branch. It was merged to trunk in [7606] <http://dev.openmrs.org/changeset/7709>
15:16:30 <Keelhaul> http://rafb.net/p/yPiRVS31.html
15:16:38 <Keelhaul> if i comment the first 3 lines back in, the form breaks
15:16:48 <Keelhaul> the patient and concept widgets dont appear
15:17:13 <Keelhaul> the ids do exist
15:38:33 <pascal`> which one of the three makes it break?
15:38:43 <pascal`> or is it any/all?
15:40:21 <Keelhaul> not sure, actually
15:40:25 <Keelhaul> havent tried them separately
15:40:34 <Keelhaul> and debugging js last night didnt quite work out
15:41:13 <pascal`> you use firebug i assume?
15:42:21 <Keelhaul> yea
15:42:42 <pascal`> ok, well what error do you get?
15:43:09 *** atomicturtle has joined #openmrs
15:43:59 *** atomicturtle has left #openmrs
15:44:34 <pascal`> btw, do you have any dojo documentation?
15:44:43 <Keelhaul> nope
15:44:52 <Keelhaul> i dont get an error
15:44:57 <Keelhaul> it wont even stop at the breakpoint anymore
15:45:04 <Keelhaul> i must be doing something wrong
15:45:10 <pascal`> ok, yeah, i had that
15:45:28 <pascal`> it seems to only stop at breakpoints if they occur on page load
15:46:10 <pascal`> so you've uncommented them out one at a time?
15:46:47 <Keelhaul> not yet
15:46:50 <Keelhaul> i was tired last night
15:49:53 <upul> pascal`, have you seen this http://trac.dojotoolkit.org/browser/tags/release-0.2.2/documents/manual/rest
15:50:20 <pascal`> no i haven't
15:50:22 <pascal`> thanks upul
15:50:35 *** deadpool_ has quit IRC
15:52:17 *** vanmh has joined #openmrs
15:52:18 <upul> it's here http://svn.dojotoolkit.org/src/tags/release-0.2.2/
15:52:21 <OpenMRSBot> <http://ln-s.net/3BFJ> (at svn.dojotoolkit.org)
15:52:51 <upul> there's a htmlify.py script in the docs folder, it should work
15:54:41 <pascal`> kewl
16:12:18 *** nribeka1 has quit IRC
16:16:43 <OpenMRSBot> Recent updates in the world of openmrs: Felicia Rosemond: I Survived Finals <http://frosemond.wordpress.com/2009/05/12/i-survived-finals/> || OpenMRS Tickets: Ticket #1486 (enhancement created): Need an option to disable IP-based lockout for failed logins <http://dev.openmrs.org/ticket/1486>
16:18:14 *** upul has quit IRC
16:20:24 *** deadpool_ has joined #openmrs
16:27:09 *** Mkop has joined #openmrs
16:34:16 <Keelhaul> how the hell could a file disappear from /metadata D=
16:48:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7714]: fixed discharge letter generation (missing stylesheet) <http://dev.openmrs.org/changeset/7714> || OpenMRS Changesets: Changeset [7713]: -- chica * changed some chica_error table messages <http://dev.openmrs.org/changeset/7713> || OpenMRS Changesets: Changeset [7712]: -- atd * fixed a bug in the state retirement code. The retired states … <http://dev.openmrs.org/changeset/7712> || OpenMRS Changesets: Changeset [7711]: --sockethl7listener * Create encounter type for hl7 message encounter if … <http://dev.openmrs.org/changeset/7711> || OpenMRS Changesets: Changeset [7710]: --nbsmodule *updates to latest openmrs api * remove cast to User in … <http://dev.openmrs.org/changeset/7710>
16:50:18 *** nribeka has joined #openmrs
16:50:18 *** ChanServ sets mode: +v nribeka
16:52:47 *** omar has joined #openmrs
17:04:45 *** deadpool_ has quit IRC
17:28:28 <bwolfe> Keelhaul: figure out your js problem ?
17:28:34 <Keelhaul> bwolfe: no
17:28:49 <Keelhaul> i've been struggling with another one
17:28:53 <Keelhaul> not js
17:29:04 <Keelhaul> org.hibernate.HibernateException
17:29:05 <Keelhaul> collection is not associated with any session
17:29:14 <Keelhaul> only occurs when loading one particular problem
17:30:00 <Keelhaul> happens when there's a generic call to EncounterService.getEncounters
17:30:14 <Keelhaul> List<Encounter> allEncounters = Context.getEncounterService().getEncounters(problem.getPatient(), null,
17:30:15 <Keelhaul> problem.getDateOpened(), problem.getDateClosed(), null, null, false);
17:30:52 <bwolfe> thats the line its erroring on?
17:31:19 <Keelhaul> http://rafb.net/p/Xcdejz35.html
17:31:30 <bwolfe> is that encounter at some point in the same call being loaded by both EncounterSerivce.getEncounter and YourCustomEncounterService.getEncounter ?
17:31:49 <bwolfe> or rather, createCritiera(encounter.class) and then a later createCriteria(yourencounter.class) ?
17:31:55 <Keelhaul> not by my custom service
17:32:15 <Keelhaul> the error does only occur when the inpatientcare module is sitting on top, though
17:32:26 <Keelhaul> the form controller loads generic encounters
17:33:38 <Keelhaul> the inpatientcare module overrides the problem.form jsp but uses the same controller
17:33:48 <Keelhaul> the controller is unaware of extended encounters
17:34:00 <Keelhaul> until now, this hasnt been a problem
17:34:14 <Keelhaul> and for some reason it only occurs when loading that particular problem
17:51:11 <bwolfe> Keelhaul: no idea
17:51:16 <Keelhaul> =/
17:51:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7715]: groovy module: commiting what I have; it *DID* work; i don't remember what … <http://dev.openmrs.org/changeset/7715>
17:51:26 <bwolfe> try making obs not lazy loaded and see if that helps
17:51:54 <Keelhaul> they were not lazy
17:52:14 <Keelhaul> or do you mean the obs of the encounters
17:52:23 <Keelhaul> that setting is in trunk
17:55:11 <bwolfe> Keelhaul: yeah, in trunk
17:55:16 <Keelhaul> bwolfe: can you help me with the js problem?
17:55:27 <Keelhaul> toggleRowVisibilityForClass("relatedProblems", "voided", true);
17:55:28 <Keelhaul> toggleRowVisibilityForClass("patientPrograms", "voided", true);
17:55:28 <Keelhaul> toggleRowVisibilityForClass("encounters", "voided", true);
17:55:28 <Keelhaul> toggleRowVisibilityForClass("obs", "voided", true);
17:55:40 <Keelhaul> first of all, the top line causes the concept and patient widgets to break
17:55:49 <Keelhaul> hold on
17:56:34 <Keelhaul> http://pastebin.com/m325e8a65
17:57:08 <Keelhaul> ah
17:57:14 <Keelhaul> thx pastebin
17:57:30 <Keelhaul> i see the wellformedness is somewhere in the middle of the doc
17:59:37 <Keelhaul> ah nm
17:59:41 <Keelhaul> it's just dumb highlighting
18:01:15 <Keelhaul> well anyway
18:01:24 <Keelhaul> a table with the id "relatedProblems" exists
18:01:29 <Keelhaul> just like all the others
18:01:45 <bwolfe> Keelhaul: it should be class relatedProblems
18:02:03 <Keelhaul> table class?
18:02:19 <Keelhaul> because the obs table has the id "obs" and the toggle link works
18:02:59 <nribeka> bwolfe, question
18:03:02 <nribeka> hi all
18:03:29 <Keelhaul> hi
18:04:32 <nribeka> hi Keelhaul
18:04:51 <nribeka> nvm
18:06:10 <bwolfe> glad I could help nribeka :-p
18:06:30 <bwolfe> Keelhaul: can you paste/link where is used that you're looking at?
18:07:09 <Keelhaul> bwolfe: in openmrs?
18:07:13 <bwolfe> yeah
18:07:15 <Keelhaul> hm
18:07:25 <Keelhaul> you'll need a login
18:07:30 <bwolfe> to the code
18:07:43 <Keelhaul> o
18:08:05 <Keelhaul> didnt i just paste the code
18:08:14 <nribeka> :P
18:08:20 <Keelhaul> that file in the repository isnt up to date
18:11:42 <bwolfe> Keelhaul: you probably want to pass a "false" as the last parameter unless you are putting two rows per object in
18:11:57 <Keelhaul> o
18:19:27 <Keelhaul> bwolfe: i renamed "relatedProblems" to something else, then renamed it back
18:19:33 <Keelhaul> and now it no longer breaks the widgets
18:19:35 <Keelhaul> no idea why
18:21:50 <bwolfe> um, odd
18:21:56 <Keelhaul> yea
18:22:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7716]: Creating the logic-cache branch for frosemond off of the current logic … <http://dev.openmrs.org/changeset/7716>
18:24:40 <Keelhaul> bwolfe: is it allowed to replace omods in the repository w/o increasing their version number
18:25:35 <bwolfe> no
18:25:52 <bwolfe> well, svn, yes, modules.openmrs.org, no
18:26:13 <Keelhaul> damn
18:26:58 <Keelhaul> bwolfe: what about letters
18:27:00 <Keelhaul> like 1.0a
18:27:21 *** luzhuangwei has quit IRC
18:27:32 <bwolfe> what does it matter?
18:27:36 <bwolfe> just make it 1.01 or 1.1
18:28:15 <Keelhaul> 1.1 would be too big of an increase
18:28:32 <Keelhaul> basically, i forgot to include an xsl stylesheet file
18:28:39 <Keelhaul> so discharge letter generation doesnt work
18:30:44 <bwolfe> then do 1.01
18:30:48 <Keelhaul> ok
19:02:45 <Keelhaul> bwolfe: one particular encounter seems to be causing the hibernate exception
19:02:57 <Keelhaul> not just on problem.form, also the dashboard
19:03:03 <Keelhaul> i voided it and it worked again
19:05:51 <Keelhaul> that encounter has a single observation
19:12:33 <Keelhaul> oh, i forgot a whitespace!
19:12:34 <nribeka> jmiranda are you there?
19:12:38 <Keelhaul> gotta increase to 1.02 =P
19:12:53 <nribeka> just for a whitespace Keelhaul
19:12:53 <jmiranda> nribeka: yes, what's up
19:13:15 <Keelhaul> nribeka: i was mocking r0bby =)
19:13:35 <nribeka> do you happen to still remember the original plan with TokenTag?
19:14:04 <nribeka> i see the token definition has some method to set and get the token tags
19:14:24 <nribeka> but i can find any reference to it in the logic-a-thon project
19:14:27 <Mkop> Keelhaul: maybe don't update the module repo more than once a day so you don't have tons of versions?
19:14:55 <Mkop> s/more than once a day/while you're actively trying to find the bug/
19:14:59 <jmiranda> can't find a reference to what?
19:15:03 <jmiranda> nribeka: ?
19:15:25 <nribeka> i can't find a call to that methods
19:15:34 <nribeka> which i assume the token tag is never used
19:16:06 <jmiranda> yeah, you probably won't find any references
19:16:15 <jmiranda> we didn't build any user interfaces for token tags
19:17:08 <Keelhaul> Mkop: i updated when i found and fixed the error
19:17:21 <Keelhaul> and a few minor changes that were in the code also went in
19:17:38 <Keelhaul> the repo only gets a new version if there's a serious bug or new features
19:17:42 <Mkop> Keelhaul: when you updated to 1.01, you still had the hibernate exception issue
19:17:47 <jmiranda> nribeka: look at the logicws module for a potential client
19:18:07 <jmiranda> at least one that "uses" token tags
19:18:09 <Keelhaul> Mkop: thats not related
19:18:26 <jmiranda> nribeka: it doesn't create them though
19:18:42 <Mkop> whatever, you're taking a side comment I made and discussing it too far
19:18:52 <Mkop> I'm going to sleep
19:18:55 <Mkop> good night
19:18:57 <Keelhaul> lol
19:18:59 <Mkop> /day
19:19:05 <Mkop> /whatever it is now
19:19:06 <Keelhaul> "kthxbye"?
19:19:17 <nribeka> there's should be a call from the service level right jmiranda?
19:19:19 <Mkop> kthxbai*, right?
19:19:57 <jmiranda> was that a fight?
19:20:08 <jmiranda> Mkop, Keelhaul: are you two fighting?
19:20:11 <jmiranda> tsk tsk
19:20:20 <Mkop> no, not at all
19:20:22 <nribeka> *watching*
19:20:25 <Mkop> jmiranda: what are you smoking?
19:20:29 <Mkop> lol
19:20:30 <jmiranda> :)
19:21:00 <Mkop> jmiranda: check PM
19:21:05 <nribeka> tty in a minutes jmiranda
19:21:14 *** nribeka has quit IRC
19:22:28 <Mkop> I had my last final this morning
19:22:35 * jmiranda is waiting for nribeka returns so he can finish his thought ...
19:22:55 <Mkop> now I just have to finish a final paper for my image analysis class, and maybe do an optional assignment for that, and then I'm DONE!
19:22:56 <jmiranda> Mkop: how did you do?
19:23:06 <Mkop> but first, sleep
19:23:09 <Mkop> not too bad
19:23:15 <Mkop> I probably passed the class
19:23:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7717]: minor fixes to encounter.form and problem.form, increased version to 1.0.1 <http://dev.openmrs.org/changeset/7717> || OpenMRS Modules: Inpatient Care 1.0.1 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=inpatientcare&version=&1.0.1>
19:23:27 <Mkop> but if I get a B, I'll be pleasantly surprised
19:25:56 <Keelhaul> dinner time
19:25:57 <Keelhaul> bbl
19:25:58 *** Keelhaul has quit IRC
19:28:14 <Mkop> ow ow ow burn burn burn ow
19:28:42 <Mkop> (putting lotion on an owie)
19:48:52 *** nribeka has joined #openmrs
19:48:52 *** ChanServ sets mode: +v nribeka
19:57:22 <Mkop> jmiranda: nribeka's back, if you want to finish telling him your piece
19:57:37 <jmiranda> Mkop: thanks
19:57:45 <nribeka> jmiranda
19:57:47 <nribeka> i'm here
19:58:14 <jmiranda> nribeka: the logic ws module calls the logic service to get the token tags
19:58:17 <jmiranda> nothing else does
19:58:30 <jmiranda> (as far as i know)
19:58:51 <nribeka> ooo ok ok
19:58:58 <nribeka> i will check out the ws then
19:59:33 <jmiranda> logicws does NOT use the version of logic in that branch you're looking at though
19:59:43 <jmiranda> but it does give you a sense of how it would use it
20:01:38 <nribeka> ooo ok ok
20:05:40 <nribeka> check out
20:05:47 <nribeka> in progress
20:10:22 *** james_regen has quit IRC
20:24:25 *** omar has quit IRC
20:25:37 *** nribeka has quit IRC
20:25:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7720]: reporting module: Changes to indicator and dimension <http://dev.openmrs.org/changeset/7720> || OpenMRS Changesets: Changeset [7719]: reporting module: Changes to indicator and dimension <http://dev.openmrs.org/changeset/7719> || OpenMRS Changesets: Changeset [7718]: reporting module: Configure log4j <http://dev.openmrs.org/changeset/7718>
20:26:09 *** nribeka has joined #openmrs
20:26:09 *** ChanServ sets mode: +v nribeka
20:57:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7722]: reporting module: Fix parameter evaluation format back to ${} <http://dev.openmrs.org/changeset/7722> || OpenMRS Changesets: Changeset [7721]: reporting module: Fix parameter evaluation format back to ${} <http://dev.openmrs.org/changeset/7721>
21:36:51 *** Keelhaul has joined #openmrs
21:36:51 *** ChanServ sets mode: +v Keelhaul
21:41:23 <Keelhaul> hi
22:01:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7723]: reporting module: Removed ability for Dimensions to be generic. Removed … <http://dev.openmrs.org/changeset/7723>
22:25:23 *** kane77 has quit IRC
22:27:04 *** nribeka has quit IRC
23:49:13 *** nribeka has joined #openmrs
23:49:13 *** ChanServ sets mode: +v nribeka
23:54:29 *** omar has joined #openmrs
23:55:12 *** nribeka1 has joined #openmrs