IRC Chat : 2009-03-04 - OpenMRS

00:06:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1307 (defect closed): BIRT Report Module throws NoClassDefFoundError when rendering HTML within PDF report <http://dev.openmrs.org/ticket/1307#comment:2>
00:12:23 *** nribeka has joined #openmrs
00:16:04 * r0bby looks around
03:11:46 *** bwolfe has quit IRC
03:14:01 *** isurundt has joined #openmrs
03:53:58 *** atomicturtle has joined #openmrs
03:54:20 *** atomicturtle has left #openmrs
05:11:40 *** isurundt has quit IRC
06:29:48 *** flyankur has joined #openmrs
12:20:46 *** james_regen has joined #openmrs
12:20:46 *** ChanServ sets mode: +v james_regen
12:55:04 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7043]: xforms module: added support of creating new patient and their encounters … <http://dev.openmrs.org/changeset/7043>
13:23:51 *** bwolfe has joined #openmrs
13:23:51 *** ChanServ sets mode: +o bwolfe
13:31:53 *** sprasanna has joined #openmrs
13:32:02 <sprasanna> bwolfe: hi ben
13:32:08 <bwolfe> hey sri
13:32:35 *** puchuu has joined #openmrs
13:34:03 <sprasanna> bwolfe: i dunno wats wrong with my new macbook... i installed a new copy of openmrs and when i try to run the initial setup it gives http://pastebin.com/d51f412b1
13:34:12 <sprasanna> i ve been meddling with this for past one hour
13:34:35 <bwolfe> sprasanna: you're on the latest trunk I presume ?
13:34:50 <sprasanna> bwolfe: yeah on the latest trunk
13:35:12 <bwolfe> sprasanna: look in your tomcathome/webapps/classes/org/openmrs/web/filter/initialization
13:35:16 <bwolfe> do you see the .vm files ?
13:35:51 <sprasanna> bwolfe: yeah i see
13:35:57 <sprasanna> I can see the vm file
13:36:45 <bwolfe> hmm
13:36:56 <bwolfe> what version of tomcat are you using ?
13:37:06 <sprasanna> bwolfe: 5.5.25
13:37:34 <bwolfe> is that the latest ?
13:37:41 <bwolfe> (in the 5.5 line)
13:37:57 <sprasanna> i dont think so
13:38:35 <sprasanna> 5.5.27 is the latest
13:44:31 <bwolfe> hmm
13:45:03 <bwolfe> sprasanna: is there anything after that stacktrace in your logs ?
13:45:10 <bwolfe> can you pastebin the whole thing for me ?
13:50:38 *** flyankur has quit IRC
13:57:01 *** bmckown has joined #openmrs
13:57:02 *** ChanServ sets mode: +o bmckown
14:01:08 <sprasanna> bwolfe: i think i got the log file correctly http://pastebin.com/d2610aac7
14:01:18 <sprasanna> biggest mistake is i installed tomcat with macports
14:03:21 <bwolfe> sprasanna: whats macports ?
14:03:35 <bwolfe> sprasanna: I don't see databasesetup.vm anywhere in your second pastebin
14:03:56 <bwolfe> sprasanna: can you copy/paste the whole stacktrace from the webapp ? (I'm assuming its one of those errors that only prints there)
14:06:11 <sprasanna> bwolfe: its kinda command line tool for macs... which makes installing stuffs easy much more easy http://www.macports.org/ we can avoid the usual headaches... we can even re edit the developers guide for installing for mac os x and suggest macusers to install stuff via macports
14:06:35 <bwolfe> sprasanna: is macports installed by default ?
14:06:52 <bwolfe> sprasanna: e.g. is it something that some people will want to /not/ do ?
14:07:06 <sprasanna> bwolfe: no but developers with macs will ve macports installed
14:07:35 <bmckown> macports is the x11 environment set of ports for mac
14:07:56 <sprasanna> say for example i needed to install this cabextract... i need not go and download... all i need to do is sudo port install cabextract thats all it will install it configure it does everything
14:08:04 <bmckown> so you can put linux stuff on a mac
14:08:50 <sprasanna> bmckown: i never tried to put linux stuff in my mac... so im not sure about that
14:09:17 <bmckown> yea, just meant that you can put things like gnome environment stuff on the mac using macports
14:09:30 <sprasanna> but good thing u can suggest for some users who is sick of downloading and installing stuffs like mysql and all macports is the best solution...
14:09:59 <bwolfe> hey there brian, welcome back to the land of the, um, irc
14:10:51 <sprasanna> i thought i was the only one who was missing here for along time
14:12:25 <bwolfe> sprasanna: you've been missing for a /really/ long time :-)
14:12:34 <bwolfe> sprasanna: brian has been missing for just a short time
14:13:13 <bmckown> hi. :-D
14:13:14 <sprasanna> bwolfe: hehehe yeah im kinda stuck with loads of works on my head... big problem is i dont ve internet in my new place... :(
14:13:21 <bwolfe> bmckown: your ip says you're in NBO. are you at the iu house or in the airport ?
14:13:30 <bmckown> iu house.
14:13:41 <bmckown> our service provider must be in NBO
14:13:47 <bwolfe> sprasanna: oooo, thats painful. can you steal any neighbors wifi network? :-)
14:14:02 <bwolfe> bmckown: yeah, I know the ampath hospital's is in the UK
14:14:33 <sprasanna> bwolfe: the place i reside is kinda outta city like a village... so u cant even get a dialup connection
14:14:53 <bwolfe> ah
14:14:54 <bmckown> ouch. sorry, sprasanna
14:15:11 <sprasanna> bmckown: its all fate :(
14:15:20 <bmckown> :-|
14:15:38 <sprasanna> in my office i have 2.5 mbps connection but in my room i dont ve internet at all...
14:15:50 <sprasanna> so i stay back at office till 8pm and leave
14:16:03 <bmckown> not so fun.
14:17:27 <sprasanna> big problem is im scared of dogs... seriously :( so if i go late to my place some dogs might chase me :(
14:17:42 <bmckown> do they bite?
14:18:11 <bmckown> well, i guess dogs like to bite if they know you're afraid of em.
14:19:06 <bmckown> so.... i did join irc for selfish reasons... kind of stuck on a formentry module taskpane problem.
14:19:12 <bmckown> :-D
14:19:12 <bwolfe> sprasanna: carry some old meat with you and throw it to them :-)
14:19:35 <bmckown> hey, that's a good idea. maybe cut it into small chunks for more dogs.
14:20:10 <nribeka> dogs in asia eat rice bwolfe and bmckown lol
14:20:16 <nribeka> j/k
14:24:42 <bwolfe> bmckown: whats the sticking issue ?
14:25:00 <bwolfe> bmckown: are you trying to extend infopath's capabilities yet again ? :-)
14:25:06 <nribeka> hi bmckown
14:26:26 <bmckown> what??!!
14:26:29 <bmckown> trying to push person relationships through the taskpane onto the form xml.
14:26:33 <bmckown> can ya help a guy out?
14:26:41 <bmckown> so i created fields in the exact same fashion as the PATIENT_IDENTIFIER fields so that there is a set (0-n) and then the table attributes i want on the form.
14:26:46 <bmckown> and we have the relationship.htm in the taskpane that shows the relationships widget
14:26:50 <bmckown> but how to get the selected item from the relationships widget onto the fields i put in the form.
14:26:58 <bmckown> yes, i am. :-/
14:27:07 <bmckown> if i can get the relationships onto the form i can easily get them into an NK1 section in HL7 and I'm home free.
14:27:16 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #799 (defect closed): Setting guid field as NOT NULL and DEFAULT NULL throws an SQLException <http://dev.openmrs.org/ticket/799#comment:2> || OpenMRS Forum: Can't run openmrs <http://forum.openmrs.org/viewtopic.php?f=9&t=422#p1480>
14:27:26 <bwolfe> bmckown: patient_identifier is only one, you'll want multiple relationships, right ?
14:28:46 <bmckown> yes, patient_identifier is one on many forms, but it's a (0-n) set in the schema... so ideally it would repeat just the same way as the problem_list i think.
14:30:06 <bmckown> So i've begun designing a form and added a repeating table just like the "Problems Added" and "Problems Removed" sections on the adult return forms.
14:30:49 <bmckown> Where I'm stuck is how to get the selected relationship to get put into the fields I've created on the form.
14:31:21 <bmckown> (the selected relationship from relationship.htm and relationship widget)
14:31:40 <bwolfe> bmckown: have you looked at the concept.htm and user.htm files ?
14:31:54 <bwolfe> bmckown: I think you access the dom for the infopath page and then write it into the elements that way
14:32:02 <bwolfe> (using javascript)
14:32:09 <bmckown> yea... i've /looked/ at them. okay.
14:32:25 <bmckown> so kind of like open up an example Page1.xml and find where they should go?
14:33:11 <bwolfe> bmckown: yeah, I think thats the xml to look at
14:33:38 <bwolfe> and that have the element and attribute names you use to get the xml node
14:33:55 <bmckown> okay... probably no better way to do this. yes.
14:40:39 <bmckown> hi, nribeka :-D
14:40:41 *** james_k has joined #openmrs
14:41:04 <james_k> help
14:41:20 <nribeka> haven't seen bmckown for ages :)
14:41:41 <bmckown> :-D
14:42:01 <bmckown> was /so/ looking forward to your person/user hibernate fix.
14:42:09 <nribeka> lol
14:42:10 <bwolfe> hey james_k
14:42:17 <bmckown> hi, james_k
14:42:21 <james_k> Hi Ben
14:42:29 <nribeka> why bmckown? :D
14:42:43 <bmckown> cause we *need* it in kenya
14:42:50 <nribeka> need that fix too? bwolfe reopen the ticket :D
14:42:55 <bmckown> people keep asking for it.
14:43:03 <bmckown> yea i saw.
14:43:41 <nribeka> fifo bmckown. i have three. almost done with the second one now. the last one is the user/person/patient :D
14:43:50 <bwolfe> nribeka: now that you have a nice little unit test, it should be easier to debug that one. :-)
14:44:09 <bmckown> can we help, james_k ?
14:44:22 <nribeka> haha true bwolfe ;)
14:44:35 <bwolfe> nribeka: Echidna has a module unit test that I think proves the same bug. we can test it after you have the fix for this one. :-)
14:44:39 <james_k> no Brian
14:44:52 <bmckown> :-/ okay.
14:44:58 <james_k> was trying the help command
14:45:07 <bmckown> oh, i get it.
14:45:32 <bwolfe> ah, that makes sense! I was worried about you. you show up and the first thing you say is "help". :-)
14:45:38 <bmckown> so you've been on irc these days, eh? that's great.
14:45:39 <bwolfe> did you do /help james_k ?
14:45:42 <nribeka> !help
14:45:42 <OpenMRSBot> nribeka: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
14:45:51 <nribeka> i think it ! and help
14:45:57 <nribeka> oh no
14:46:00 <nribeka> help
14:46:05 <bwolfe> nribeka: thats for the bot
14:46:31 <nribeka> i need to learn how to use irc
14:46:59 <bwolfe> !google "how to use irc"
14:46:59 <OpenMRSBot> bwolfe: http://www.google.com/search?q=how to use irc
14:47:06 <james_k> Ben helped me when he was in Kenya
14:47:49 <james_k> i hope to use this to get in touch with other openmrs programmers
14:48:30 <bwolfe> hmm. that didn't work.
14:48:30 <bwolfe> !google how%20to%20use%20irc
14:48:31 <OpenMRSBot> bwolfe: http://www.google.com/search?q=how%20to%20use%20irc
14:48:50 <bwolfe> !tell nribeka [!google how%20to%20use%20irc]
14:48:50 <OpenMRSBot> bwolfe: Error: "!google" is not a valid command.
14:48:55 <bwolfe> !tell nribeka [google how%20to%20use%20irc]
14:49:20 <nribeka> pm-ed by bot
14:49:32 <bwolfe> !say nribeka [!google how%20to%20use%20irc]
14:49:32 <OpenMRSBot> bwolfe: Error: "!google" is not a valid command.
14:49:38 <bwolfe> !say nribeka [google how%20to%20use%20irc]
14:49:38 <OpenMRSBot> bwolfe: Error: "say" is not a valid command.
14:50:19 <bwolfe> !refer nribeka [google how%20to%20use%20irc]
14:50:19 * OpenMRSBot refers nribeka to http://www.google.com/search?q=how%20to%20use%20irc
14:50:24 <bwolfe> ah, there we go!
14:50:29 <bwolfe> thats what I was looking for :-)
14:51:10 <nribeka> haha thank you bwolfe :)
14:54:01 <nribeka> bwolfe, what does the OptionsFormController do?
14:54:52 <bwolfe> nribeka: manages the "My Profile" page (which used to be called "Options")
14:55:06 <nribeka> ah ic ic
14:57:23 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1257 (enhancement closed): Change Default Locale and Make it Customizable <http://dev.openmrs.org/ticket/1257#comment:3> || OpenMRS Changesets: Changeset [7044]: Added user definable global default locale - #1257 Changed default openmrs … <http://dev.openmrs.org/changeset/7044>
14:58:19 *** puchuu is now known as flyankur
15:02:39 *** james_k has quit IRC
15:10:55 <flyankur> bwolfe, bmckown, i am participating in gsoc, i want to apply for openmrs. Need your suggesting to start .
15:11:42 <bmckown> hi, flyankur
15:12:00 <flyankur> hi bmckown
15:12:00 <bmckown> not sure if we have updated our projects page
15:12:10 <bwolfe> flyankur: gsoc hasn't started yet, so we don't know if we'll be in for 2009 yet.
15:12:18 <flyankur> ya, i tried searching it !
15:12:50 <bwolfe> I updated the projects page last week some time (took out old projects, added 1 or 2 more, etc)
15:12:50 <bmckown> okay.
15:12:55 <bwolfe> but it needs more loving
15:13:29 <bwolfe> flyankur: http://openmrs.org/wiki/Developers is a good place to start
15:13:50 <flyankur> ok
15:14:02 <bwolfe> flyankur: they http://openmrs.org/wiki/Summer_Of_Code_2009
15:15:01 <bwolfe> flyankur: bonus points for you if you add the 2009 gsoc logo to http://openmrs.org/wiki/Summer_Of_Code_2009 like the 2008 logo on the 2008 page! :-D
15:16:02 <flyankur> :) will make it for sure ..
15:16:41 <bmckown> flyankur, lot's of points if you tackle a few reasonable openmrs tickets you find.
15:17:15 <bwolfe> flyankur: ooo, yeah, good idea bmckown. I think there are some helpful links on our 2009 wiki page about that too
15:18:56 <flyankur> hey i would love to handle them. I'll get on to check out the links
15:19:01 <bmckown> really it's a must to have students have openmrs installed and running and ready to code on day 1 to be able to complete a project in the time frame (i think)
15:21:39 <bmckown> flyankur, bwolfe I haven't looked into the eclipse openmrs development studio but it's probably ideal to get set up quickly (/me using intellij)
15:22:40 <flyankur> right ! i guess have a enough of things to start !!
15:22:50 <bmckown> okay. :-D
15:23:09 <bmckown> thanks for inquiring, flyankur !
15:23:12 <flyankur> thnx
15:23:27 <bwolfe> flyankur: and we'll be here to answer any questions you have
15:23:46 <bwolfe> more of the people in here have coded for openmrs at one point, so anyone should be able to answer :-)
15:24:40 <flyankur> ya, ill get back to you as soon as i work on the prequisites.. :D
15:26:16 *** sprasanna has quit IRC
15:27:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7046]: Removing unnecessary warning message in logs from graph servlet. Followup … <http://dev.openmrs.org/changeset/7046> || OpenMRS Changesets: Changeset [7045]: Cleaned up the locale utility tests to use @verifies for all methods <http://dev.openmrs.org/changeset/7045>
16:12:35 * bmckown opens lunch bag with sound of eating a sandwich to make bwolfe slightly hungry and annoyed.
16:12:57 <bmckown> :-D
16:13:43 <bwolfe> bmckown: argh!
16:13:52 <bmckown> you missed me didn't you?
16:13:58 <bwolfe> bmckown: even from 5000 miles away you make me hungry!
16:14:01 <bwolfe> :-p
16:14:09 <bmckown> :-D
16:14:34 *** atomicturtle has joined #openmrs
16:14:40 *** atomicturtle has left #openmrs
16:17:07 <nribeka> where's bmckown right now?
16:17:27 <bmckown> I'm in Kenya, nribeka
16:17:43 <nribeka> ah ic ic :)
16:24:24 <bmckown> bwolfe, do you think I can hook into the select relationship event that happens in the relationship widget... hook it from the relationship.jsp on the taskpane without having to call the personSearch widget in the relationship.jsp on the taskpane?
16:25:05 <bmckown> That is, avoid rewriting the relationship.jsp on the taskpane like the concept.jsp?
16:26:41 <bmckown> And instead just somehow grab the event... ah... maybe from within the script.js inside the form I could write the javascript that goes to fetch the selected relationship on the relationship widget and add it to the xml in the form?
16:27:45 <bwolfe> bmckown: you should be able to override any of the javascript search methods in the taskpane.
16:28:33 <bwolfe> bmckown: I don't think script.js can copy from taskpane to xml (or at least I haven't done it)
16:28:47 <bwolfe> I have only used script.js to get stuff from xml and pass to the taskpane via url
16:29:37 <bmckown> hmm. okay... you mean override the dojo method of the relationship widget?
16:29:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Can't run openmrs <http://forum.openmrs.org/viewtopic.php?f=9&t=422#p1481> || OpenMRS Changesets: Changeset [7047]: --chica * Create new column on greaseboard for reprint status * Resize … <http://dev.openmrs.org/changeset/7047>
16:29:49 <bwolfe> bmckown: yep, thats what I meant
16:30:03 <bmckown> okay. i'll try that.
16:30:51 *** jmiranda has joined #openmrs
16:30:51 *** ChanServ sets mode: +o jmiranda
16:56:19 *** nribeka has quit IRC
17:01:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Patient Summary 1.3 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=patientsummary&version=&1.3>
17:07:06 <r0bby> ffas
17:08:20 <r0bby> :'(
17:14:27 <bwolfe> r0bby: ffas?
17:31:03 *** pascal has joined #openmrs
17:33:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7048]: openmrs-reports: Added a report for a WHO study <http://dev.openmrs.org/changeset/7048>
17:45:31 *** nribeka has joined #openmrs
17:51:03 <nribeka> bwolfe, what is UserFormValidator? :D
17:51:21 <bwolfe> validates the UserForm.jsp :-)
17:52:00 <nribeka> UserFormValidator.java? i can't find it. or is it xml file like struts style?
17:55:51 <bwolfe> nribeka: do control-shift-t then type in UserFormValid and it should come up
17:56:17 <bwolfe> or are you trying to find where its mapped to the UserForm ?
17:57:25 <nribeka> i'm looking for the class that you mention in the ticket comment :P
17:57:32 <nribeka> but i can't find it
17:58:00 <nribeka> only able to find FormValidator, ConceptFormValidator, SchedulerFormValidator :)
17:58:19 <bwolfe> maybe just ConceptValidator
17:58:22 <bwolfe> or UserValidator
17:59:32 <bwolfe> nribeka: check openmrs-servlet.xml to see what validators are registered with what controllers
17:59:36 <bwolfe> nribeka: meeting, bbl
18:07:59 <nribeka> ok
19:09:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1308 (defect created): BIRT ignores aliases on a SQL query <http://dev.openmrs.org/ticket/1308>
19:12:57 *** puchuu has joined #openmrs
19:16:41 *** flyankur has quit IRC
19:41:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1310 (task created): person name layout doesn't work with global property layout.name.format = long <http://dev.openmrs.org/ticket/1310> || OpenMRS Changesets: Changeset [7050]: modulerepository: Added option to define super users that can edit all … <http://dev.openmrs.org/changeset/7050> || OpenMRS Tickets: Ticket #1309 (task created): Broken numeric normal high range for concept dictionary <http://dev.openmrs.org/ticket/1309> || OpenMRS Changesets: Changeset [7049]: modulerepository: Added option to define super users that can edit all … <http://dev.openmrs.org/changeset/7049>
19:43:52 *** james_rege1 has joined #openmrs
19:45:33 *** james_regen has quit IRC
19:55:37 *** james_rege1 has quit IRC
19:55:52 *** pascal has quit IRC
20:45:53 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1310 (task closed): person name layout doesn't work with global property layout.name.format = long <http://dev.openmrs.org/ticket/1310#comment:1> || OpenMRS Changesets: Changeset [7051]: #1310 trunk. fix is for layout.name.format = long. <http://dev.openmrs.org/changeset/7051>
21:19:38 *** bmckown has quit IRC
21:49:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1312 (task created): Add Statistics Graphs to Module Repository <http://dev.openmrs.org/ticket/1312> || OpenMRS Changesets: Changeset [7052]: modulerepository: Fixed stats page and link <http://dev.openmrs.org/changeset/7052> || OpenMRS Tickets: Ticket #1311 (defect created): OpenMRS Development Studio: Resource Already Exists <http://dev.openmrs.org/ticket/1311>
22:38:47 *** nribeka has quit IRC
22:50:05 *** bwolfe has quit IRC
23:26:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7053]: Fixed concept form controller to show the right hi normal value numeric … <http://dev.openmrs.org/changeset/7053>
23:34:42 *** [mharrison] has quit IRC
23:35:26 *** [mharrison] has joined #openmrs
23:49:41 *** atomicturtle has joined #openmrs
23:49:50 *** atomicturtle has left #openmrs
23:51:16 *** [mharrison] has quit IRC
23:56:37 *** jmiranda has quit IRC