Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

IRC Logs

Child pages
  • 2008-08-11 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:11:25 *** njero has joined #openmrs
00:11:25 *** ChanServ sets mode: +v njero
00:33:28 *** njero has quit IRC
01:11:17 *** njero has joined #openmrs
01:11:17 *** ChanServ sets mode: +v njero
01:49:38 *** nribeka has quit IRC
02:06:34 *** [mharrison] has joined #openmrs
02:16:39 *** sioraiocht has quit IRC
02:19:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Problem with RemoteFormEntry Module Implementation <>
04:14:26 *** sioraiocht has joined #openmrs
04:49:16 *** atomicturtle has quit IRC
05:58:49 *** james_regen has joined #openmrs
05:58:49 *** ChanServ sets mode: +v james_regen
06:06:00 *** sioraiocht has quit IRC
06:06:26 *** sioraiocht has joined #openmrs
06:07:38 *** sioraiocht has quit IRC
06:08:04 *** sioraiocht has joined #openmrs
06:09:37 *** sioraiocht has quit IRC
06:10:18 *** sioraiocht has joined #openmrs
06:11:53 *** sioraiocht has quit IRC
06:12:04 *** sioraiocht has joined #openmrs
06:12:44 *** sioraioc_ has joined #openmrs
06:28:07 *** sioraiocht has quit IRC
06:33:09 *** upul has quit IRC
07:01:30 *** [mharrison] has quit IRC
07:39:09 *** upul has joined #openmrs
07:59:22 *** bwolfe has joined #openmrs
07:59:22 *** ChanServ sets mode: +o bwolfe
08:04:36 <r0bby> weeeee
08:10:47 *** sprasanna has joined #openmrs
08:10:56 <sprasanna> bwolfe: Hi Ben
08:11:14 <sprasanna> bwolfe: I dint get any response for my mail to the dev list :(
08:11:19 <bwolfe> not yet
08:11:38 <bwolfe> I didn't want to type everythign I had to say on my phone this I was waiting until I had my computer on again. :-)
08:12:42 <sprasanna> bwolfe: so when will you reply for my mail ?? :(
08:13:50 *** TorLye has joined #openmrs
08:14:05 <bwolfe> this morning
08:14:52 <sprasanna> its already 9.15 AM there ;)
08:16:18 <bwolfe> heh
08:16:32 <bwolfe> yeah, I got in about 9 this morning...give me some time :-)
08:16:43 <sprasanna> bwolfe: i successfully did the enhacements except that plus symbol in the tree... but i have done everything for bulk imports and a dynamic table to manage the hierarchy...
08:17:03 <sprasanna> bwolfe: but the only prob I face is with the overriding the portlet
08:17:44 <sprasanna> bwolfe: i found out one thing that the portlet is not loading for the second time... if you want to get the portlet overridden again you have to restart the server
08:17:58 <bwolfe> what do you mean by second time ?
08:18:02 <bwolfe> after reloading?
08:18:06 <bwolfe> after viewing again ?
08:18:15 <sprasanna> bwolfe: so what would be the reason?
08:19:02 <sprasanna> after reloading... page loading again if it has some errors... or creating a record for another patient on successfully completing for the first patient
08:19:31 <bwolfe> thats very weird sprasanna
08:19:37 <sprasanna> bwolfe: to put in a single line... the portlet is overridden for only one time
08:19:38 <bwolfe> are you seeing any errors in the tomcat logs ?
08:19:50 <bwolfe> do you have any static variables in your portlet ?
08:19:53 <bwolfe> or your controller ?
08:20:51 <sprasanna> hmmm.. no static variables
08:21:40 <bwolfe> sprasanna: is your controller being called again ?
08:21:49 <bwolfe> put some debug/error statements in all the methods to see if it is
08:25:32 <sprasanna> bwolfe: called again in the sense?? next time when the page loads due to validation error in the page??
08:26:06 <bwolfe> sprasanna: yes, your portlet controller is called every time a page is loaded with your portlet
08:28:05 <sprasanna> bwolfe: yeah its called everytime it loads
08:29:50 <sprasanna> bwolfe: you must see this log
08:30:06 <sprasanna> when i get "Failed to find class: 'DWRAddressHierarchy' from <signature> block."
08:30:23 <sprasanna> the page loads properly and when i dont get this the page is not loaded
08:31:47 <bwolfe> why are you getting that error ?
08:32:02 <bwolfe> is your tomcathome/webapps/openmrs/web-inf/dwr-modules.xml file messed up?
08:32:16 <bwolfe> do you have a dwr element defined for your stuff ?
08:32:49 <bwolfe> it might be a javascript error. does the rest of the page load correctly when your portlet doesn't load? (Check for the existance of the footer to see if the page fully loads)
08:34:31 <sprasanna> bwolfe: yeah the other stuffs in the page loads well except this
08:34:47 * r0bby sighs
08:34:51 <sprasanna> the thing is when i get that error the page loads well...
08:41:39 <r0bby> ben
08:41:52 <bwolfe> r0bby:
08:42:02 <r0bby> as soon as things settle down around me, i need help w/ some DWR stuff
08:42:18 <r0bby> (I assume you saw my email)
08:42:38 <r0bby> right now im so not in the mood to work
08:42:59 <r0bby> basically the DWR calls aren't happening right
08:43:14 <r0bby> the method works and such -- if i do it via firebug
08:43:43 <r0bby> bwolfe: if you guys get an Open Source IDEA license, any way i could get my hands on it?
08:44:03 <r0bby> (dont worry i plan on sticking around, i love hanging around here
08:44:15 * r0bby ties TorLye and upul up
08:44:22 <r0bby> you guys are staying too
08:44:24 <bwolfe> r0bby: I have no idea. I'm not in on those discussions
08:44:30 <bwolfe> sprasanna: very odd
08:44:40 <sprasanna> :(
08:44:41 <bwolfe> sprasanna: no javascript errors ?
08:44:46 <r0bby> bwolfe: I sent the email
08:44:50 <r0bby> oh right
08:44:56 <bwolfe> sprasanna: any error otuput in the html source ?
08:45:09 <sprasanna> bwolfe: but im gonna get this done ;) for sure
08:45:12 <r0bby> -> reboot
08:46:31 <sprasanna> bwolfe: no error in html
08:46:56 <bwolfe> sprasanna: very odd
08:47:07 <bwolfe> sprasanna: are you all checked in to svn ?
08:47:22 <sprasanna> no im gonna do it today to show to Daniel
08:48:16 <r0bby>
08:48:19 <OpenMRSBot> <> (at
08:48:48 *** nribeka has joined #openmrs
08:59:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Problem with RemoteFormEntry Module Implementation <>
09:13:58 *** sioraioc_ has quit IRC
09:14:14 *** sioraiocht has joined #openmrs
09:14:14 *** ChanServ sets mode: +v sioraiocht
09:30:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #971 (task created): FormEntry Processing Error <>
10:32:22 *** atomicturtle has joined #openmrs
10:32:36 *** upul has quit IRC
10:38:53 <r0bby> bwolfe: sorry for machine gun commits -- im going to brooklyn and i didn't wanna lose my work
10:39:22 <bwolfe> r0bby: why not just commit the parent folder?
10:39:49 <r0bby> because i was commiting small changes at first then i decided to commit everything afterwards
10:40:32 <r0bby> one change was using a GString over String concatenatiopn..>String concatenation is sooo too yesterday
11:03:02 *** sunbiz has joined #openmrs
11:15:48 *** njero has quit IRC
11:20:30 *** sioraiocht has quit IRC
11:32:40 *** njero has joined #openmrs
11:32:40 *** ChanServ sets mode: +v njero
13:01:47 *** sioraiocht has joined #openmrs
13:01:47 *** ChanServ sets mode: +v sioraiocht
13:15:33 <r0bby> bwolfe: modules can define tags?
13:15:42 <bwolfe> r0bby: I think so
13:15:56 <r0bby> I'm thinking of making one for rendering the form
13:15:58 <bwolfe> there was a discussion on the dev list about it a few weeks back
13:16:17 <r0bby> <gf:formid="id"/>
13:16:55 <r0bby> I'm gonna appreciate grails soonish :)
13:17:06 <r0bby> grails dynamic taglib support++
13:17:30 <r0bby> soon as it's seperated -- i'm moving it into the groovyforms module
13:18:20 <sunbiz> bwolfe: did u see my mail about adding jaxen.jar to dom4j
13:18:46 <sunbiz> jaxen is required by dom4j for XPath queries...
13:19:18 <bwolfe> sunbiz: did you see burke's reply ?
13:19:25 <bwolfe> you can use saxon that is in there already
13:19:38 <bwolfe> the formentry, clinicalsummary, remoteformentry modules all use saxon
13:20:34 <sunbiz> yes... but saxon needs to be created separately
13:20:47 <sunbiz> I can use Xpath inside dom4j directly
13:21:15 <sunbiz> Saxon only complexifies things and its kindof slower on large trees
13:21:33 <r0bby> def controller = GroovyFormsClassUtil.getClassLoader(formid).parseClass(GroovyFormsUtil.getControllerClazzFile(id).text)
13:21:40 <r0bby> this is what good OO looks like :D
13:21:47 <sunbiz> I tried one with 100000 nodes and its slower by some milliseconds
13:22:04 <r0bby> sunbiz: you sticking around?
13:22:05 <sunbiz> I mean some seconds...
13:22:14 <r0bby> if so, i'm running for the hills :)
13:22:24 <sunbiz> r0bby: sticking around ... meaning ??
13:22:33 <sunbiz> after the GSoC u ask ??
13:22:35 <r0bby> continuing to maintain your module
13:22:38 <r0bby> yeh
13:22:39 <bwolfe> sunbiz: well, you should be able to add the jaxen to your module if you want to use it. I don't /think/ it will mess things up. my only concern is if someone has formentry installed at the same time...would having two xpath parsers do bad things ?
13:22:39 <sunbiz> yes
13:22:53 <sunbiz> I have 2-3 more projects in mind...
13:23:09 <r0bby> I wanna try and write a grails front-end for openmrs
13:23:10 <bwolfe> already some more projects sunbiz ? :-)
13:23:13 <sunbiz> bwolfe: I've had problems to run it from my module
13:23:29 <sunbiz> jaxen.jar has to be in the same path as dom4j
13:23:35 <r0bby> would you oppose that ben?
13:23:47 <bwolfe> oppose what r0bby ?
13:23:55 <sunbiz> so.. either dom4j has to be loaded from my module only... or jaxen from openmrs
13:23:56 <r0bby> writing a grails front-end
13:24:14 <bwolfe> sunbiz: it has to be right next to it? what do you mean by same path ?
13:24:29 <bwolfe> r0bby: um, I feel fine I suppose. I have no idea what that means/entails
13:24:45 <sunbiz> yes...same path
13:25:11 <r0bby> bwolfe: not too much work I can copy the current openmrs code more or less
13:25:11 <sunbiz> I put it in the dom4j folder of openmrs/lib/dom4j and it works fine
13:26:18 <r0bby> burke is amazing
13:26:49 <sunbiz> bwolfe: could u tell me how to add smething to the OpenMRS classpath ??
13:27:17 <r0bby> sunbiz: add it to ant :P
13:27:35 <sunbiz> bwolfe: I was thinking adding it to module's lib (registration/lib) or OpenMRS lib (openmrs/lib/dom4j/) will add it right ??
13:27:53 <sunbiz> hmm... ant plainly uses a * on those folder right ??
13:28:03 <bwolfe> sunbiz: adding it to your modules lib and clean compiling your module should make that lib available
13:28:50 <sunbiz> available to all other modules and OpenMRS as well ??
13:28:53 <bwolfe> sunbiz: yeah, those ant war tasks is what you want to look at
13:29:14 * r0bby dances
13:29:15 <bwolfe> sunbiz: if its in your module/lib, its available to your module any module that "requires" yours
13:29:28 <bwolfe> errr to your module _and_ any module
13:30:34 <sunbiz> any module (no "requires my proj") and openmrs as well right ???
13:32:10 <sunbiz> bwolfe: can I (and other GSoC'ers) commit to OpenMRS-trunk ???
13:32:26 <bwolfe> sunbiz: the lib will be available to any module that has marked your module as "required" in their module's config.xml
13:32:33 <sunbiz> bwolfe: I know tickets and patches is the right way... but then just asking
13:33:18 <bwolfe> sunbiz: any developer can commit "obvious fixes" (spelling, comments, etc) to trunk.
13:33:30 <bwolfe> sunbiz: only some developers can commit code to trunk
13:33:56 <bwolfe> sunbiz: eventually, after a lot patches come through by a developer, a developer is graduated to one that can commit to trunk
13:34:07 <bwolfe> sunbiz: non of the gsoc'ers are at that level yet. :-)
13:34:19 <bwolfe> sunbiz: if you make a ticket and patch file I can take a look at it
13:34:47 <sunbiz> bwolfe: what patch do u want me to make ??
13:34:58 <sunbiz> bwolfe: for the jaxen.jar ??
13:34:58 <bwolfe> sunbiz: can we replace saxon with jaxen ? I don't really want two of those jars in there making the webapp bigger....
13:35:22 <sunbiz> nope... jaxen doesn't support XPath 2.0
13:35:31 <bwolfe> ah yes, thats right
13:35:32 <sunbiz> burke said we were using XPath 2.0 queries
13:36:37 <bwolfe> sunbiz: I'd rather you just switch to using saxon...or we switch both to something better
13:36:55 <bwolfe> sunbiz: does the method that jim manico sent to the list help you at all ?
13:37:32 <sunbiz> hmmm... not much actually!!
13:37:44 <sunbiz> coz... xerces isn't really good at Xpath...
13:37:54 <sunbiz> I mean if u r using Xalan or something with xerces
13:44:18 <r0bby> bwolfe: =D i just found a way to do the params
13:45:01 <r0bby> params.each { k,v -> if(k != "formId") { model."$k" = v } }
13:45:11 <r0bby> :D
13:45:34 <r0bby> setting the model's state :D
14:36:10 *** sioraioc_ has joined #openmrs
14:36:19 *** sunbiz has left #openmrs
14:36:30 *** bmckown has joined #openmrs
14:36:30 *** ChanServ sets mode: +o bmckown
14:37:11 *** sioraiocht has quit IRC
14:37:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Proposal for a new OpenMRS logo <> || OpenMRS Forum: Re: Proposal for a new OpenMRS logo <>
15:50:41 *** [mharrison] has joined #openmrs
15:58:14 *** sioraioc_ is now known as sioraiocht
15:58:32 *** ChanServ sets mode: +v sioraiocht
16:03:15 <r0bby> /js
16:11:49 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #972 (task closed): Cannot edit drug order <> || OpenMRS Tickets: Ticket #972 (task created): Cannot edit drug order <> || OpenMRS Forum: Re: Proposal for a new OpenMRS logo <>
16:25:51 *** bmckown has quit IRC
16:42:08 *** atomicturtle has quit IRC
16:42:18 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Proposal for a new OpenMRS logo <>
16:57:28 *** TorLye has quit IRC
16:58:44 *** bwolfe has quit IRC
17:31:22 *** Echidna has joined #openmrs
17:44:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Form Import Export 1.5.2 uploaded to OpenMRS Module Repository <>
18:18:23 *** bwolfe has joined #openmrs
18:18:23 *** ChanServ sets mode: +o bwolfe
18:18:40 *** njero has quit IRC
18:47:42 *** atomicturtle has joined #openmrs
19:13:09 <jacobb> bwolfe, around still?
19:13:34 <bwolfe> jacobb: not technically :-P
19:14:17 <jacobb> haha
19:14:27 <jacobb> i did a clean install of openmrs from trunk on thursday-ish
19:14:41 <jacobb> i tried to add a user and got: No row with the given identifier exists: [org.openmrs.Privilege#Form Entry]
19:14:53 <jacobb> (i don't have the formentry module)
19:15:34 <bwolfe> probably from one of the sql diff updates
19:15:39 <bwolfe> whats your db version number jacobb ?
19:15:49 <jacobb> i ran straight from the trunk create core
19:16:00 <jacobb> database version is
19:16:09 <jacobb> says my openmrs version is now
19:30:26 *** sprasanna has quit IRC
19:37:04 <bwolfe> jacobb: ah yes. it seems that I cleaned that out of the createdb-from-scratch but not the other two files
19:39:05 <jacobb> ah alright, cool
19:39:20 <jacobb> let me know when you commit that fix :)
19:41:25 <bwolfe> jacobb: I fixed the scripts
19:41:34 <jacobb> thanks
19:41:59 <bwolfe> but you can just go into your db and do a "delete from role_privilege where privilege like '%Form Entry%'; "
19:42:13 <jacobb> perfect
19:42:48 <jacobb> though what about "accession_number"
19:43:20 <jacobb> when viewing a patient I get Caused by: java.sql.SQLException: Unknown column 'this_1_.accession_number' in 'field list'
19:43:28 <jacobb> is that because teh script wasn't updated as well?
19:46:20 <bwolfe> odd
19:47:31 <bwolfe> jacobb: do you have an obs.accession_number in you db ?
19:47:46 <jacobb> yeah
19:48:17 <jacobb> should there not be anymore?
19:49:06 <jacobb> actually, one sec...was looking at a diff db...
19:51:01 <jacobb> yeah i do have it
19:51:14 <jacobb> in the one from the script on thursday
20:00:48 <bwolfe> jacobb: and is that the db thats giving the error ?
20:00:52 <bwolfe> or a different db ?
20:00:59 <jacobb> yeah
20:01:03 <jacobb> that's the db that's giving the error
20:01:17 <jacobb> is accession number supposed to be there?
20:01:25 <jacobb> did there used to be an accession number outside of obs?
20:01:53 <bwolfe> jacobb: its supposed to be there
20:02:04 <jacobb> oh ok
20:02:05 <jacobb> hm
20:02:30 <bwolfe> jacobb: looks like order expects it too
20:03:05 <bwolfe> jacobb: its in the latest db. run your db diff! :-)
20:03:38 <jacobb> i didn't run the diff, but i created the db from scratch
20:04:07 <jacobb> i have it in all those places
20:04:08 <jacobb> very odd..
20:04:21 <jacobb> maybe it's one of these modules
20:04:47 <jacobb> hm nope, same problem with no moudles
20:05:23 <jacobb> at org.openmrs.web.OpenmrsFilter.doFilter(
20:06:03 <jacobb>
20:07:27 <bwolfe> jacobb: if you're running v and your code is, you need to run the db diff
20:08:06 <bwolfe> jacobb: I don't keep the trunk sql scripts up to date with the dbdiff
20:08:12 <bwolfe> so you should always run the dbdiff
20:08:12 <jacobb> oh ok
20:08:20 <jacobb> got it
20:08:22 <jacobb> thanks
20:08:28 <jacobb> i assumed trunk was up to date
20:08:50 <jacobb> instructions for running the latest dbdiff?
20:09:13 <jacobb> just run that update-to-latest-db.mysqldiff.sql file?
20:09:22 <bwolfe> jacobb: yep
20:09:25 <jacobb> great
20:09:26 <jacobb> thanks
20:09:27 <bwolfe> have you never done that before ??
20:09:31 <jacobb> yeah
20:09:37 <bwolfe> source the .sql file at the msyql command line
20:09:40 <jacobb> but only when i don't want to re-create the db
20:09:48 <jacobb> yeah, i've run it before
20:09:48 <bwolfe> navicat and mysql query browser choke on it
20:10:02 <jacobb> but just assumed the create scripts had all the updates as well
20:10:23 <jacobb> usually i don't re-create from scratch and i run the script, but i wanted a clean install and it blew up :)
20:13:29 <jacobb> thanks
20:13:32 <jacobb> have a good evening!
21:16:21 *** bwolfe has quit IRC
21:18:14 *** upul has joined #openmrs
22:08:57 *** sgrannis has joined #openmrs
22:10:59 *** ChanServ sets mode: +v sgrannis
22:11:24 <sgrannis> nribeka: how's it going?
22:12:13 <nribeka> hi sgrannis
22:12:26 <nribeka> sorry for being MIA for the last three or four days
22:12:27 <sgrannis> hey :)
22:12:40 <nribeka> my friend is heading back for good to home
22:12:48 <nribeka> so i need to help him out
22:12:57 <sgrannis> no worries how're things?
22:12:58 <nribeka> he missed his flight today btw
22:13:03 <sgrannis> uh oh.....
22:13:15 <sgrannis> that'll be costly
22:13:23 <sgrannis> :(
22:13:26 <nribeka> yeah, they said the weather in newark is pretty bad
22:13:43 <nribeka> all flight to newark is either delayed or cancelled today
22:14:05 <nribeka> at least until 8pm. dunno right now
22:14:21 <sgrannis> hope that works out for him
22:14:24 <nribeka> i'm still trying to catch everything up
22:14:38 <nribeka> start with email from james
22:14:50 <nribeka> yeah, i hope it works for him
22:16:45 <sgrannis> which email?
22:17:04 <sgrannis> (I'm still catching up today)
22:17:49 <nribeka> patient2Record
22:18:11 <sgrannis> one sec...
22:22:40 <nribeka> ok
22:26:12 *** njero has joined #openmrs
22:26:12 *** ChanServ sets mode: +v njero
22:38:36 <sgrannis> I'm not sure if James copied me on that email. He and I reviewed some issues that need to be worked on with the random sample FormPairs object
22:38:53 <sgrannis> is patient2Record functional?
22:43:20 <nribeka> the method throw expeiton
22:43:26 <nribeka> exeption
22:59:38 <sgrannis> (sorry -- had to get baby daughter back to sleep) ... do we know the cause of exception ?
23:00:25 <nribeka> yep
23:00:40 <nribeka> janes mention it in his email
23:00:48 <sgrannis> good
23:01:12 <nribeka> changing it right now
23:04:42 <sgrannis> Thanks :) Let me know if there's anything I can do to help (besides stay out of your way!) ;)
23:05:46 <nribeka> haha lol :D
23:06:07 <nribeka> jodi said you won't be available for next week call?
23:06:19 <nribeka> you have another conference or seminar sgrannis?
23:06:35 <sgrannis> Hmmm, you mean tomorrow, or a week from tomorrow?
23:07:13 <sgrannis> ahh - just looked at my calendar
23:07:28 <sgrannis> next week I'm in an all-day conference.
23:07:40 <sgrannis> won't be able to make that day. Maybe Wendesday?
23:08:03 <nribeka> ah ic ic
23:08:12 <nribeka> i'm fine any day lolz
23:08:22 <sgrannis> I'll email Jodi right now.
23:08:51 <nribeka> class begins on 25. after 25 maybe we need to reschedule the weekly meeting sgrannis :)
23:10:01 <sgrannis> sure
23:10:43 <nribeka> cool :D
23:17:43 <nribeka> i still can't debug and see why i got exception from the web
23:21:08 <nribeka> ah finally got the message
23:26:41 <sgrannis> what was the issue/message?
23:28:52 <nribeka> hmm i put it didn't come out in the log file
23:29:08 <nribeka> i think it's related to log4j config file
23:30:22 <sgrannis> ahh... thanks for digging into this. I'll sign off. We'll talk with you tomorrow.
23:30:26 <sgrannis> g'night
23:31:50 <nribeka> ok ok sgrannis
23:31:53 <nribeka> gnite
23:32:03 <nribeka> cya tomorrow
23:32:04 <nribeka> :D
23:32:06 <sgrannis> bye
23:32:11 *** sgrannis has quit IRC
  • No labels