Wiki Spaces


Get Help from Others

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

IRC Logs

Child pages
  • 2009-03-15 - OpenMRS
Skip to end of metadata
Go to start of metadata
01:42:00 *** vindyani has joined #openmrs
02:31:12 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Locating the graph code <>
02:41:59 <vindyani> can somebody please tell me why these two preconditions fail when starting tomcat?
02:42:15 <vindyani> liquibase-update-to-latest.xml : SQL Precondition failed. Expected 'database_version greater than' got 'The update-to-latest.sql file needs to be run on this db.'
02:42:19 <vindyani> and
02:42:32 <vindyani> liquibase-update-to-latest.xml : SQL Precondition failed. Expected 'no database_version property after v1.4.0.20' got 'a non-empty database_version global property'
02:43:11 <vindyani> mysql version installed in my machine is 5.0.67
02:44:03 <Keelhaul> that's the openmrs db version, not mysql's
02:44:27 <Keelhaul> sounds like your db version have to be before you can run the liquibase updates
02:45:09 <vindyani> how can I do that?
02:46:00 <Keelhaul> which version were you trying to install
02:46:18 <vindyani> latest version, trunk
02:46:44 <Keelhaul> trunk is 1.5.something
02:46:58 <Keelhaul> do you have any data in your db
02:47:04 <Keelhaul> or is it fresh
02:47:16 <vindyani> yes, it has data
02:47:38 <vindyani> I have logged in to the local system and add patients,etc
02:47:44 <Keelhaul> well i'd say you have to run update-to-latest-db.mysqldiff
02:47:53 <Keelhaul> but i'm not sure trunk has that anymore
02:47:56 <Keelhaul> bwolfe would know more
02:48:12 <Keelhaul> which version were you running before
02:48:39 <vindyani> same one
02:48:43 <vindyani> trunk
02:48:45 <bwolfe> Keelhaul is right, you need the most recent update-to-latest-db.mysqldiff file. you can get it from the downloads page for 1.4
02:48:55 <bwolfe> !downloads
02:48:55 <OpenMRSBot> bwolfe: "downloads" ---
02:49:06 <Keelhaul> i was also right about bwolfe knowing more =)
02:49:45 <vindyani> ok, thank you all
02:49:48 <vindyani> I will try
03:07:49 *** vindyani has quit IRC
03:18:53 *** bwolfe has quit IRC
03:35:19 *** jmiranda has quit IRC
04:26:41 *** openmrs_6487 has joined #openmrs
04:26:52 <openmrs_6487> hi
04:27:14 <Keelhaul> hi
04:27:29 <openmrs_6487> me working on JAVA API
04:28:04 <openmrs_6487> i need to contributre to Openmrs thru GSOC 2009
04:28:28 <Keelhaul> what api
04:28:43 <openmrs_6487> application platform interace
04:29:05 <openmrs_6487> programming interface
04:29:16 <Keelhaul> no, that's not what i asked lol
04:29:23 <Keelhaul> i mean what api in particular
04:29:38 <openmrs_6487> openmrs wok on java
04:29:53 <openmrs_6487> speech spi
04:29:56 <openmrs_6487> api
04:30:57 <openmrs_6487> and working on a project on OCGRR
04:31:01 <Keelhaul> ix
04:31:03 <Keelhaul> ic*
04:31:07 <openmrs_6487> wid the help of java networking API
04:31:17 <Keelhaul> is it listed on the project list?
04:31:40 <openmrs_6487> no
04:32:05 <openmrs_6487> what shud i do
04:32:09 <Keelhaul> you should suggest it to the ones responsible then
04:32:20 <Keelhaul> hang around in here till you see ops
04:32:25 <Keelhaul> people with @
04:32:27 <Keelhaul> and ask them
04:32:40 <openmrs_6487> kk
04:33:09 *** k_nishant has joined #openmrs
04:33:46 <k_nishant> hi
04:33:52 <Keelhaul> hi
04:33:57 <k_nishant> in this channel they are available
04:34:04 <k_nishant> or some other channel
04:35:30 <Keelhaul> they?
04:37:14 <k_nishant> who told abt @
04:37:41 <k_nishant> me the same guy wid openmrs_6487
04:37:49 <k_nishant> tlked abt API
04:37:50 <Keelhaul> oh
04:37:52 <Keelhaul> lol ok
04:37:57 <Keelhaul> yea
04:38:03 <Keelhaul> look out for bwolfe
04:38:14 <Keelhaul> or, you can as well email burke
04:38:59 *** openmrs_6487 has quit IRC
04:43:01 <k_nishant> who are they
04:43:22 <k_nishant> they are developers
04:44:31 <Keelhaul> well, not all of them
04:44:36 <Keelhaul> some are MDs
04:46:40 <k_nishant> ok
04:48:57 <Keelhaul> where are you from
04:49:58 <k_nishant> me from INDIA
04:50:30 <k_nishant> I need to submit my proposal to them
04:50:38 <Keelhaul> yes you do =)
04:50:51 <k_nishant> kk
05:22:55 *** Keelhaul has quit IRC
05:35:59 *** k_nishant has left #openmrs
06:16:12 *** amit8-89 has joined #openmrs
06:55:19 *** amit8-89 has left #openmrs
09:51:19 *** Echidna has quit IRC
09:51:33 *** Echidna has joined #openmrs
13:19:20 *** flyankur has joined #openmrs
13:53:47 *** Echidna has quit IRC
13:54:01 *** Echidna has joined #openmrs
14:36:00 *** knishant has joined #openmrs
15:08:06 *** flyankur has quit IRC
15:10:57 *** Keelhaul has joined #openmrs
15:10:57 *** ChanServ sets mode: +v Keelhaul
16:22:36 *** isurundt has joined #openmrs
16:29:38 *** isurundt[1] has joined #openmrs
16:31:20 *** isurundt[1] has quit IRC
16:31:52 *** isurundt[1] has joined #openmrs
16:50:42 *** isurundt has quit IRC
16:50:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1332 (task created): Rearrange concept numeric limits input fields (normal, critical, absolute) to better represent their meaning. <>
17:00:57 *** isurundt[1] has quit IRC
17:01:24 *** isurundt has joined #openmrs
17:19:20 <isurundt> keelhaul:i'm working in encounter type hierachy which is simillar to what you have done for location hieracy.. what is the need of having a separate method in the Location class to get the chid locations? can we have a service to get the child locations?
17:31:26 <Keelhaul> it's more convenient
17:31:54 <Keelhaul> you can do location.getChildLocations() instead of Context.getLocationService().getLocationsByParent(location);
17:32:04 <isurundt> yep.
17:32:09 <Keelhaul> the latter method doesnst exist though
17:32:21 <isurundt> yes. i see
17:32:21 <Keelhaul> so it's only via the location object itself
17:32:39 <isurundt> ok.
17:33:05 <Keelhaul> also, the get/set methods are required for spring to access the members of the object
17:33:10 <Keelhaul> you cant use it in forms otherwise
17:33:21 <isurundt> yes
17:33:50 <Keelhaul> so whats the point in a separate service method
17:34:02 <isurundt> ok.
17:34:25 <Keelhaul> you can still fetch all locations and then filter them manually, if really necessary
17:34:55 <Keelhaul> but feel free to add a ticket for it if you really need it =)
17:36:15 <isurundt> got it. when adding a particular Location can we specify the child locations before saving the Location?
17:37:04 <Keelhaul> i think so
17:37:38 <Keelhaul> not sure whether the child locations have to be already persisted in the db
17:37:48 <Keelhaul> or whether hibernate will cascade the save
17:59:29 <isurundt> keelhaul:is it possible to attach children to a location after selecting that
18:02:47 <Keelhaul> isurundt: what do you mean?
18:05:03 <Keelhaul> brb
18:05:50 <isurundt> lets say we have added some locations without setting the parent_location. can we attach some of those locations to a partiular location as children.
18:11:40 <Keelhaul> sure
18:12:08 <Keelhaul> your application will have to fetch the existing locations via the service, then add them to the new location as children and save the new location
18:15:25 <isurundt> ok. great. thanks.
18:22:43 *** flyankur has joined #openmrs
18:30:55 *** r0bby has quit IRC
18:31:16 *** r0bby has joined #openmrs
18:31:16 *** ChanServ sets mode: +v r0bby
18:31:22 *** bwolfe has joined #openmrs
18:31:22 *** ChanServ sets mode: +o bwolfe
18:32:54 *** knishant has quit IRC
18:33:08 *** knishant has joined #openmrs
18:35:22 <Keelhaul> hey bwolfe, you got an idea what could cause this:
18:36:45 <bwolfe> yeah, using ${commandObject.someStringProperty} first converts it to a string, then I'm assuming you're trying to pass that on to a taglib attribute
18:37:46 <bwolfe> if you're using spring bind, you can do ${status.editor.value} to get the original object
18:37:56 <Keelhaul> hm
18:38:55 <Keelhaul> i wish i knew what exactly throws it
18:46:22 <Keelhaul> bwolfe:
18:46:31 <Keelhaul> what do you think of this arrangement
18:47:09 <bwolfe> yeah, thats probably what it should be
18:47:18 <Keelhaul> ok
18:47:22 <Keelhaul> i added a ticket/patch already
18:49:19 *** flyankur has quit IRC
18:56:01 <Keelhaul> bwolfe: i think this might be the error
18:56:28 <Keelhaul> i cant have multiple selects with the same name which are shown or hidden depending on a value, can i
19:00:02 <bwolfe> I think you have to remove the object from the form
19:00:06 <bwolfe> (on submit)
19:01:53 <bwolfe> I think the concept form uses something like <form onsubmit="removeHiddenFields()"
19:10:36 *** knishant has quit IRC
19:13:07 <isurundt> bwolfe: i added a new patch to the EncounterType class(Ticket #1315). Has moved getChildEncounterTypes method from EncounterService to the EncounterType class. Can you please have a look at it and give me some feedback. I think this is enough for the Encounter Type class for the moment.
19:17:49 <Keelhaul> encounterservice has a getChildEncounterTypes method already? =o
19:19:32 <isurundt> keelhaul:I think now there is no need of that
19:20:12 <Keelhaul> no, i mean why is there a method like that if the encounter type hierarchy isnt implemented yet
19:20:45 <Keelhaul> hmm there is none in trunk
19:20:56 <isurundt> yep.
19:21:00 <Keelhaul> ah nm
19:21:02 <Keelhaul> in your patch
19:21:08 <isurundt> yes.
19:21:10 <isurundt> :)
19:21:10 <Keelhaul> =)
19:22:30 <Keelhaul> hmm
19:22:43 <Keelhaul> ticket #1337 is coming up soon
19:23:51 <Keelhaul> bwolfe: thanks, i found that function, not in the concept form but obs form
19:24:02 <Keelhaul> the concept form uses some inline form for that which i couldnt find
19:29:55 <r0bby> Keelhaul: concept form uses AJAX
19:30:03 <Keelhaul> o
19:30:51 <r0bby> it uses dojo
19:31:22 <r0bby> i'm gonna duplicate it in a sane way in the groovy forms module soonish
19:31:30 <r0bby> if they don't completely axe the project :(
19:31:42 <r0bby> I really wanna finish it
19:31:46 <r0bby> it's become my baby
19:31:48 <Keelhaul> i need to learn ajax
19:31:49 <r0bby> props ?: null
19:31:51 <Keelhaul> and jquery
19:31:51 <r0bby> come on
19:31:57 <r0bby> no jquery
19:32:06 <r0bby> not that i saw anyways
19:32:34 <r0bby> no jquery
19:33:05 <r0bby> web/WEB-INF/tags
19:33:09 <r0bby> contains all the logic Keelhaul
19:33:21 <r0bby> in openmrs trunk :)
19:34:27 <Keelhaul> those are just the input fields for different entity types
19:36:39 <Keelhaul> ha, my form works now
19:44:02 *** Echidna has quit IRC
19:44:16 *** Echidna has joined #openmrs
19:44:30 <r0bby> Keelhaul: yes..
19:58:34 *** isurundt has quit IRC
20:03:01 *** isurundt has joined #openmrs
20:05:08 *** isurundt has quit IRC
20:12:51 <Keelhaul> ("Wow! What a great client! Bersirc 2.2 [ - Open Source IRC ]")
20:12:51 <Keelhaul> lol
20:13:41 <bwolfe> yeah, that is an odd leaving tag line
20:13:47 <bwolfe> the client looks average
20:19:09 <r0bby> bwolfe: :)
20:19:18 <r0bby> bwolfe: they're not axing groovy forms are they?
20:19:25 <r0bby> :/
20:19:40 <r0bby> if they are i'll abandon it and add what I want to add to html forms
20:19:53 <r0bby> I'm bout to write a DSL for it
20:20:19 * r0bby finds darius
20:24:18 <bwolfe> r0bby: we'll never "axe" a project...more options are good
20:24:37 <bwolfe> but we'll probably only truly "support" a few data entry methods
20:25:13 <bwolfe> my personal preference would be adding groovy support to html forms
20:25:31 <bwolfe> but thats mainly because you haven't gotten to the "entry" portion yet but have done the groovy portion. :-)
20:25:54 <bwolfe> if there was a way to hook your module on top of htmlformentry
20:26:18 <bwolfe> so that people could either use a basic htmlformentry method, or download both htmlformentry and then groovyforms and have marvelous scripting options open to them
20:26:27 <bwolfe> I don't know how possible that is though
20:26:38 <r0bby> so I'm on my own with groovy forms?
20:26:50 <r0bby> if i wish to continue it?
20:26:51 <bwolfe> what do you mean on your own ?
20:26:57 <r0bby> I wanna continue it
20:27:00 <r0bby> personally
20:27:06 <r0bby> that's just me
20:27:11 <bwolfe> and thats just fine :-)
20:27:11 <r0bby> I don't like that it failed
20:27:19 <r0bby> it *KILLS* me
20:27:43 <r0bby> I don't know if it was me, poor mentoring, too ambitious, etc :(
20:27:51 <r0bby> I can't pinpoint *WHY* it failed :(
20:27:58 <r0bby> and it bugs me :(
20:29:10 <r0bby> would it be bad if i claimed the wysiwyg editor for html forms module now?
20:29:29 <bwolfe> as a student or a mentor ?
20:29:31 <r0bby> or is that definitely earmarked for soc?
20:29:35 <r0bby> student now
20:29:46 <r0bby> I want it
20:30:09 <r0bby> Can I do it under the OIP?
20:30:54 <bwolfe> I think OIP has other stipulations
20:31:01 <r0bby> what stipulations?
20:31:13 * r0bby sighs
20:31:31 <r0bby> Is there any way i can take that project?
20:31:37 <r0bby> now? or do I have to wait?
20:31:44 <bwolfe> the grant money that is provided for it says that it must be done by african devs
20:31:59 <r0bby> ... hrm
20:31:59 <bwolfe> r0bby: you could totally just do the project, but we probably wouldn't pay for it :-)
20:32:08 <bwolfe> money for projects only comes from soc or oip
20:32:16 <bwolfe> but we accept any/all patches/help/etc :-D
20:32:18 <r0bby> that's fine
20:32:43 <r0bby> if I apply grab it, then apply for it, and get accepted will I get paid?
20:32:58 <r0bby> or do I have to apply then get it?
20:33:15 <bwolfe> huh?
20:33:19 <bwolfe> "apply grab it" ?
20:33:38 <r0bby> nevermind
20:33:44 <r0bby> I want this project it's mine!
20:34:07 * r0bby hrm :/
20:34:09 <Keelhaul> poor mentoring heh
20:34:10 <r0bby> meh
20:34:13 <Keelhaul> who was your mentor
20:34:30 <r0bby> last summer? Burke
20:35:17 <bwolfe> r0bby: you do realize there are two parts to what you want to do ?
20:35:20 <Keelhaul> i think with form entry projects it's actually about who makes a usable module available first
20:35:42 <bwolfe> the project on there is to put a wysiwyg in. the other part would be adding (groovy) scripting behind it
20:36:41 <r0bby> yeh :)
20:37:15 <r0bby> I saw no groovy scripting
20:37:23 <r0bby> mentioned
20:37:32 <r0bby> but my knowledge of groovy makes me a shoe-in :)
20:37:54 <r0bby> should I claim it?
20:38:50 <bwolfe> r0bby: you can always suggest projects too :-)
20:38:52 <bwolfe> bbl
20:38:56 *** bwolfe is now known as bwolfe_away
20:39:21 <r0bby> I wanna claim it :)
20:39:31 <r0bby> do I need to check w/ people before doing so?
20:39:38 <r0bby> or do I just claim it?
20:39:42 <r0bby> add my name to it?
20:39:48 <r0bby> :x
20:57:29 <r0bby> I have the change made I just have to submit it
20:57:55 <Keelhaul> is it a gsoc project
20:58:00 <r0bby> i dunno
20:58:13 <r0bby> That is why i'm hesitant to claim it
20:58:25 <r0bby> I want it
20:58:35 <r0bby> I'll put groovyforms on the back burner and work on this
20:59:04 <Keelhaul> i dont think you can reserve projects for yourself so that no one else can work on them
20:59:06 <r0bby> I'm willing to be the sole programmer for groovy forms if need be
20:59:34 <Keelhaul> didnt the xforms module have a wysiwyg editor
20:59:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1333 (task created): Rebuild all OpenMRS plugins with Java 1.5 and release new versions on the update site <>
20:59:44 <Keelhaul> cant that be modded to be used with something else
20:59:52 * r0bby looks
21:00:00 <r0bby> there's a project for that
21:00:26 <r0bby> there's a second component that I will add to it
21:01:05 * r0bby saves the text from the wiki page to a text file
21:01:59 <r0bby> I'm not claiming it for that purpose im not that vindictivie
21:02:21 <r0bby> anybody can work on groovy forms if they wanted
21:02:32 <r0bby> In fact I welcome ideas/help
21:02:51 <r0bby> just don't butcher it :0
21:03:11 <r0bby> :)
21:03:45 <Keelhaul> i dont know anything about groovy
21:05:03 <r0bby> hmm
21:05:43 <r0bby> I'm not sure about the ethics behind this if i claim it now, can I apply for soc for it
21:05:55 <r0bby> I think so long as I don't write code for it i'm safe
21:06:34 <r0bby> If i dont get into soc for it, then I can work on it voluntarily :)
21:07:08 <Keelhaul> what if someone else gets that project via gsoc
21:07:18 <Keelhaul> and werent you gonna be a mentor anyway
21:08:45 <r0bby> I can't.
21:10:03 <Keelhaul> why not
21:11:08 <r0bby> they don't think I have the proven leadership track record they're looking for
21:11:17 <r0bby> (Both burke/paul are in sync on this)
21:11:26 <Keelhaul> =/
21:11:53 <r0bby> and like i said -- the failed groovy forms project is *KILLING* me :(
21:12:11 <r0bby> but I'd much rather divert energy to something that can immediately be used, then go back to it
21:12:38 <r0bby> worst case, i put the features i already put in groovy forms into htmlforms
21:12:55 <r0bby> I designed it pretty nicely where it's not too tightly coupled
21:15:17 <Keelhaul> what's proven leadership
21:17:48 <r0bby> helped out, contributed to openmrs
21:19:29 * r0bby sighs
21:36:00 <Keelhaul> dinner bbl
21:36:01 *** Keelhaul has quit IRC
21:51:57 <r0bby> bwolfe_away: when you get back highlight me
23:29:47 *** Keelhaul has joined #openmrs
23:29:47 *** ChanServ sets mode: +v Keelhaul
23:52:39 *** bwolfe_away is now known as bwolfe
23:52:42 <bwolfe> yes r0bby ?
23:53:50 <r0bby> bwolfe: would it be unethical for me to claim wysiwyg now?
23:53:57 <r0bby> or do I need to apply for it
23:54:01 <r0bby> I've started work on it
23:54:29 <bwolfe> r0bby: if you plan on doing it for soc, don't claim it. if you plan on just doing it now, go ahead and claim it...and do it :-)
23:55:12 <r0bby> I'll claim it right now what I'm doing is adding a DSL
23:55:48 * r0bby needs to grok darius' XML layout but if i can do it it'd be amazingly easy :)
23:55:56 <r0bby> to build it :0
23:56:33 <r0bby> once i claim it -- i _CANNOT_ apply for it for summer of code?
23:56:40 <r0bby> or is it once i start work on it?
23:57:00 * r0bby has a nasty habit of doing all the code in groovy :)
23:57:09 <r0bby> polyglot programming is where it's at :-)
23:58:30 <r0bby> I'm thinking of taking the original approach of the groovy controller
23:58:55 <r0bby> but I need to figure out how do it and darius' design
23:59:30 <r0bby> if i could figure out the starting point to look
  • No labels