IRC Chat : 2011-06-06 - OpenMRS

00:13:23 *** czakian has joined #openmrs
00:14:52 *** Tarek_ has joined #openmrs
00:32:56 <Tarek_> Hi wyclif
00:40:10 *** Tarek1 has joined #openmrs
00:41:15 *** Tarek_ has quit IRC
00:41:42 <Tarek1> Hi Wyclif
00:42:39 <Tarek1> I did more analysis on the Locale conversion issue we had this morning
00:43:11 <Tarek1> I believe we should add it to ConversionUtils for now
00:43:19 <Tarek1> until we figure out a better solution
00:43:32 <Tarek1> please ping me if you'd like to discuss this further
01:01:19 <czakian> What was the conversion issue
01:01:29 <czakian> because I am trying to update openmrs's hibernate
01:01:41 <czakian> and I am wading through a bunch of String to locale conversion errors
01:05:54 <Tarek1> Hi czakian
01:06:29 <Tarek1> this was part of implementing https://tickets.openmrs.org/browse/RESTWS-131
01:06:38 <Tarek1> the code is not checked in yet
01:08:12 *** vlad__ has quit IRC
01:10:19 <czakian> ok that seems unrelated
01:10:27 <czakian> *breathes a sigh of relief*
01:10:31 <Tarek1> agree
01:10:35 <Tarek1> :)
01:17:08 *** czakian has quit IRC
01:31:54 *** muthah has joined #openmrs
01:36:07 *** vlad__ has joined #openmrs
01:38:49 *** Tarek1 has left #openmrs
01:56:33 *** muthah has quit IRC
02:25:24 *** vlad__ has quit IRC
02:57:53 *** morristic has joined #openmrs
02:58:05 <morristic> anyone around this evening?
03:06:07 *** dkayiwa has joined #openmrs
03:06:11 *** dmexs has joined #openmrs
03:06:24 <dmexs> dkayiwa: heyo
03:06:26 <morristic> Hello there
03:06:32 <dkayiwa> hey
03:06:41 <dmexs> what's up
03:06:50 <dkayiwa> nothing much
03:06:50 <morristic> Any chance you could help with some implementation questions?
03:06:52 <dkayiwa> whats up
03:06:55 <dkayiwa> ok
03:07:07 <morristic> i just setup a testing server to openMRS
03:07:27 <dmexs> nothing, just enjoying the fruits of your labor in Peru, so far so goo
03:07:27 <dkayiwa> ok
03:07:28 <morristic> and I was just wondering if the database the the installer comes with is the most up to date with respect to concept dictionary
03:07:29 <dmexs> d
03:07:33 <dmexs> but I did find a majorbug
03:07:48 <morristic> or are there updates or additional packages available for download
03:08:20 <morristic> Is there a place to report bugs/documentation issues?
03:08:27 <dkayiwa> morristic: the answer to you question is NO
03:08:29 <morristic> I'd like to update the wiki for ubuntu installations.
03:08:38 <dkayiwa> the MVP dictionary has more concepts
03:08:43 <dkayiwa> but you may not need all
03:09:00 <morristic> the openMRS wiki doesn't support ubuntu as well as it could I think. I ran into some problems that I was able to solve and i'd like to post.
03:09:10 <morristic> where is the MVP dictionary?
03:09:47 <dkayiwa> morristic you can ask Andy Canter on the implementers list and he will send it to you
03:09:58 <dkayiwa> dmexs: which major bug is that?
03:10:03 <morristic> sure
03:10:41 <dmexs> dkayiwa: in the 4.0.3.1 version of xforms
03:10:48 <morristic> I was having some issues with the mailing list. I'm using gmail and receive emails in html all of the time, but the html mailing list doesn't show up properly.
03:11:02 <dmexs> when you pull new elements it resets the upper limit of validation for numeric values
03:11:34 <dkayiwa> oh sorry the Jembi guys experienced that too
03:11:37 <dkayiwa> But i fixed it
03:12:00 <dkayiwa> let me send you the fixed version
03:13:08 <dmexs> lol ok
03:13:21 <dmexs> could you email it to emeka@emeka.ca?
03:13:28 <dmexs> the hotel lobby is about to close I have to run
03:13:35 <dkayiwa> ok
03:14:11 <dmexs> thanks a lot, I'll be in touch, OpenMRS is really taking off for my group!
03:15:02 <dkayiwa> oh thats so col
03:15:03 <dkayiwa> sent
03:15:11 <dkayiwa> you can check your mail now
03:15:11 *** dmexs has quit IRC
03:25:38 <morristic> Is the PIH-EMR a separate trunk from openMRS, or is it merely openMRS heavily modified to fit their specific needs?
03:26:14 <morristic> I have been reading lots of material on their site and I'm trying to decide if I should wait until they release their pih-emr 2.0 or if I will be able to add elements from it to openMRS if we like them.
03:27:45 <dkayiwa> morristic: PIH has customizations specific to their needs
03:28:08 <dkayiwa> while openmrs trunk is general to every one
03:28:34 <dkayiwa> i think you would use openmrs trunk and install the modules that you need
03:28:48 <morristic> ok, perfect. so if they have a specific feature that we like, we should be able to incorporate the modules into our openmrs
03:28:57 <dkayiwa> yes
03:29:03 <morristic> perfect.
03:29:13 <morristic> thanks for help with my questions.
03:29:23 *** surangak has joined #openmrs
03:29:33 <morristic> one more--might be kind of silly, but is there a way to add a new encounter from the patient encounter page?
03:29:46 <morristic> the way that I am currently doing it is to go to administration
03:29:52 <morristic> and then manage encounters
03:30:07 <morristic> but that seems like it might be a little unintuitive to end user providers
03:30:07 <dkayiwa> you can add encounters using the patient dashboard
03:30:19 <dkayiwa> using the FormEntry tab
03:30:23 <morristic> is there a specific module that you need for that?
03:30:29 <dkayiwa> yes
03:30:44 <morristic> Ok, thanks. we just have the basic form setup right now.
03:30:49 <dkayiwa> three modules available so far, formentry, htmlformentry & xforms
03:30:59 <dkayiwa> either of the three
03:31:04 <dkayiwa> you dont need them all
03:31:07 <morristic> Ok
03:31:25 <dkayiwa> so you choose whichever is easier or best fits your needs
03:32:09 <morristic> So the forms that we have should appear when we type a form name into the search in the enter form field?
03:32:25 <dkayiwa> yes
03:32:31 <morristic> is there a way to view all forms?
03:32:37 *** surangak_ has joined #openmrs
03:32:38 <dkayiwa> so that means you need to first create or design the form
03:32:46 <morristic> Ok.
03:32:47 <dkayiwa> they will all get listed
03:33:08 <morristic> ok, we have the form that comes with the default install
03:33:11 <morristic> the Basic Form
03:33:19 <morristic> but it doesn't appear there. is that normal?
03:33:34 <dkayiwa> yes thats normal
03:33:44 <dkayiwa> you are not supposed to use it for data entery
03:33:54 <dkayiwa> you instead create copies (duplicates) for it
03:34:02 <morristic> Ah I see.
03:34:05 <morristic> Thank you.
03:34:09 <dkayiwa> yo welcome
03:34:37 <morristic> probably more questions to come hehe. I really appreciate everyone's help.
03:35:47 <dkayiwa> yo welcome :)
03:43:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: XForms 4.0.4 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=xforms&version=&4.0.4>
03:47:48 <morristic> One more question for tonight.
03:48:05 <dkayiwa> morning here :D
03:48:24 <morristic> is there a "best practices" document somewhere for creation of concepts and forms
03:48:53 <morristic> I hope that as we create them, we can make sure to create them in a way that is useful to others for sharing.
03:49:55 <dkayiwa> have you read this?
03:49:56 <dkayiwa> https://wiki.openmrs.org/display/docs/Concept+Dictionary
03:50:02 <OpenMRSBot> <http://ln-s.net/8stL> (at wiki.openmrs.org)
03:50:30 <morristic> perfect, thanks
03:50:52 <morristic> ah, good morning then!
03:51:13 <dkayiwa> you can also read its child pages for more concept information
03:51:38 <dkayiwa> child pages like: Modeling Concepts
03:51:40 <dkayiwa> etc
03:52:59 <morristic> yes, I'm reading that now
03:53:03 <dkayiwa> ok
03:53:05 <morristic> that's exactly what I was looking for.
03:53:14 <dkayiwa> 8)
03:59:00 <morristic> could you explain the difference between #2 and #3 a little more?
03:59:26 <dkayiwa> under which page?
03:59:34 <morristic> Modeling Concepts
04:01:30 <dkayiwa> hahaha
04:01:53 <dkayiwa> i think asking the implementers list may give you a better answer on that :)
04:02:10 <morristic> ok :D
04:03:03 <surangak_> dkayiwa, hi, am a little unsure about times zones, wanted to know if darus will be returning from vacation today
04:03:28 <dkayiwa> surangak_: am not very sure. but you can send him mail
04:04:03 <surangak_> dkayiwa, aha, will do that umm... by any chance, did you have anything to do with visits development :)
04:04:42 <dkayiwa> was part of the sprint. so did some bits but not all :)
04:05:31 <surangak_> dkayiwa, are you free to anwer a question on that :P
04:05:49 <dkayiwa> if i have an answer for it :)
04:06:29 <surangak_> dkayiwa, the visit class looks like this public class Visit extends BaseCustomizableData<VisitAttribute> implements Auditable, Customizable<VisitAttribute> {
04:07:19 <surangak_> dkayiwa, i note that some of the interfaces were introduced specifically because you need to handler multiple instnces of multiple types of visit attributes
04:07:34 <surangak_> dkayiwa, that is, there may be several instances of same visit attribute
04:08:14 <surangak_> dkayiwa, in my case, for obs, i cant call these attributes at all, and theres gonna be only one attribute ( in my code its a value) per each obs
04:08:44 <surangak_> dkayiwa, i was told to follow darius method, but i cant see any use in having such a lot of interfaces for my system
04:09:33 <surangak_> i also see no need to have <E> etc for my Obs classs...
04:09:42 <dkayiwa> following Darius's method, does that mean his design for visit attributes?
04:10:35 <surangak_> yeps
04:11:05 <surangak_> i see a lot of merit is useing his system for validation stuff
04:11:17 <surangak_> as in using the handler config strings as he has done
04:11:33 <surangak_> but stuff like a customizable interface is looking overkill
04:12:12 <surangak_> becoz obs has a concept, which has a value... that s that, basically
04:13:10 <dkayiwa> what i would say is that, unless you understand the need and value for the more complicated style, keep it simple and stupid (KISS)
04:13:47 <surangak_> i agree...
04:14:07 <surangak_> i was worryin g over some of the stuff.. and was thinkin in the same lines
04:14:16 <dkayiwa> sure
04:14:48 <surangak_> for instance using BaseCustomizableData instead of BaseOpenmrsData is usefull here,
04:14:51 <surangak_> but not in my case
04:15:17 *** gbastien has quit IRC
04:16:05 <dkayiwa> ok
04:17:23 *** batkinson has quit IRC
04:19:12 *** pascal` has quit IRC
04:33:01 *** pascal` has joined #openmrs
05:01:27 *** goutham has joined #openmrs
05:16:47 *** dkayiwa has quit IRC
05:19:14 *** robbyoconnor has joined #openmrs
05:19:14 *** ChanServ sets mode: +v robbyoconnor
05:29:31 *** goutham has quit IRC
05:30:32 *** muthah has joined #openmrs
05:35:57 *** saimanohar has joined #openmrs
05:37:22 <saimanohar> hey people..i have problems in running liquibase.xml can anybody help me out! it gives me this error while module upload - Unable to update data model using liquibase.xml
05:38:27 <saimanohar> its just a very basic createtable tag in the changeset but it still gives that error!
05:40:15 *** pascal` has quit IRC
05:56:17 *** bryq has joined #openmrs
05:56:17 *** ChanServ sets mode: +v bryq
06:22:53 *** saimanohar has quit IRC
06:26:21 *** bwolfe has joined #openmrs
06:26:21 *** ChanServ sets mode: +o bwolfe
06:42:58 *** vlad___ has joined #openmrs
06:55:59 *** bryq has quit IRC
07:15:00 <surangak_> hi when updating my branch to trunk
07:15:07 <surangak_> i go to svn merge
07:15:14 <surangak_> and then i am supposed to set from url to /trunk and to url to the branch
07:15:24 <surangak_> the to revision should be set to HEAD
07:15:34 <surangak_> but am unsure which revision i should set to the from url
07:15:41 <surangak_> I have not updated my branch before, this is my first time.. so
07:24:11 <bwolfe> surangak_ / surangak, search google for "svn merging". one of the top ten pages is a page I wrote on the openmrs wiki :-)
07:24:54 <bwolfe> and apparently the next result down is a blog post of mine. :-)
07:32:20 *** vlad___ has quit IRC
07:39:43 *** upul` has joined #openmrs
07:39:43 *** ChanServ sets mode: +v upul`
07:56:55 <surangak_> hmm... hi
07:57:05 <surangak_> my branch was created with revision number 20200... therefore should 20201 be the revision number i need to set in the 'from' revision field ?
07:57:53 <surangak_> although i cannot find a revision with the number 20201 in either of the branches...
07:58:33 <surangak_> maybe it is the closest existing revision id in trunk that i need..
08:18:37 <bwolfe> surangak_, svn uses global revision numbers
08:18:55 <bwolfe> so 20201 is probably a commit to some other place
08:19:06 <surangak_> bwolfe, umm... sorry, but that u mean the ones that are displayed on the log files, is it ?
08:19:08 <bwolfe> if the version doesn't exist, svn will automatically find the next closes
08:19:18 <bwolfe> *closest
08:19:23 <surangak_> i note that there is no 20201 in the trunk...
08:19:31 <bwolfe> so just use 20200 or 20201, whichever the wiki page I pointed you to recommends
08:19:48 <bwolfe> no 20201 in trunk is not a problem, use 20201 anyway
08:20:02 <surangak_> aha, let me do that Ben
08:20:06 <surangak_> thanks a lot.. :)
08:39:02 *** r0bby has joined #openmrs
08:39:02 *** ChanServ sets mode: +v r0bby
08:39:25 *** robbyoconnor has quit IRC
08:44:40 *** muthah has quit IRC
08:47:11 *** muthah has joined #openmrs
09:59:16 *** rafa has joined #openmrs
09:59:16 *** ChanServ sets mode: +v rafa
10:06:19 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Add uuid search to all PropertyEditors - TRUNK-2294... <http://feedproxy.google.com/~r/OMRStrunk/~3/oCDuYibQW3o/OpenMRS>
10:22:53 *** bryq has joined #openmrs
10:22:53 *** ChanServ sets mode: +v bryq
10:26:45 *** Hazamonzo has joined #openmrs
11:03:05 *** james_regen has joined #openmrs
11:03:05 *** ChanServ sets mode: +v james_regen
11:12:29 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (obs-codes-expanded): Updating Branch to Revision no. 20492 of trunk <http://feedproxy.google.com/~r/OMRStrunk/~3/TbIwyYuWSX4/OpenMRS>
11:16:30 *** surangak has quit IRC
11:16:36 *** surangak_ has quit IRC
11:25:08 *** dkayiwa has joined #openmrs
11:28:42 *** upul` has quit IRC
12:00:58 <bwolfe> dkayiwa, have you looked into the demo data problem in trunk yet?
12:03:32 <dkayiwa> bwolfe: looks like the observations are added by a separate script
12:03:47 <dkayiwa> instead of the default automatic database setup
12:05:49 <bwolfe> right
12:05:58 <bwolfe> its supposed to be only if you choose to add demo data
12:07:12 <dkayiwa> bwolfe: if you chose yes to demo data, it adds the patients but not the observations
12:07:21 <bwolfe> ah, I see
12:07:27 <bwolfe> but why only 2 patients in my system?
12:07:42 <dkayiwa> same all over
12:10:07 <bwolfe> just looking at the liquibase-demo-data.xml now, I don't see anything but the two patients. and no obs
12:10:11 <bwolfe> which file are you looking at?
12:11:29 <bwolfe> hmm, no encounters either
12:11:33 <bwolfe> did you ever have those in there?
12:11:37 <dkayiwa> never
12:11:39 <bwolfe> err, you == we
12:11:46 <bwolfe> odd
12:12:02 <dkayiwa> i have only had them when i run separate script which insert many obs
12:12:15 <bwolfe> right
12:14:27 <dkayiwa> bwolfe: i think this has always been so by design
12:14:29 <bwolfe> so we need to split "demo data" into "concept data" (which is essentially what we have now) and "patients/encounters/obs/otherobjects demo data" in a sep file
12:14:45 <dkayiwa> yes
12:15:45 <bwolfe> I'd favor something like 100 patients, 5 encs each, 1-10 obs per encounter
12:16:05 <bwolfe> and then a few orders, some programs, some allergies, etc
12:16:13 * bwolfe wonders if there is a ticket for this already
12:16:27 <dkayiwa> i do not think there is one
12:16:57 <dkayiwa> Burke was the first to complain
12:17:53 <bwolfe> right
12:18:03 <bwolfe> he's always complaining though...
12:18:04 <bwolfe> :-0
12:18:07 <bwolfe> :-)
12:18:20 <dkayiwa> :D
12:41:23 *** wyclif has quit IRC
12:46:40 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @Medic: We just announced the first mobile SIM app for healthcare. Read more in our release! http://bit.ly/medicSIMapps #mhealth <http://twitter.com/OpenMRS/statuses/77710161174736896>
12:48:02 *** muthah_ has joined #openmrs
12:51:11 *** muthah has quit IRC
12:51:11 *** muthah_ is now known as muthah
12:51:27 *** dkayiwa has quit IRC
12:55:02 *** dkayiwa has joined #openmrs
13:07:14 *** muthah has quit IRC
13:22:49 *** wyclif has joined #openmrs
13:30:16 *** downeym has joined #openmrs
13:30:16 *** ChanServ sets mode: +o downeym
13:30:16 *** OpenMRSBot sets mode: +o downeym
13:33:34 *** dkayiwa has quit IRC
13:41:45 *** dkayiwa has joined #openmrs
13:44:50 *** muthah has joined #openmrs
14:18:27 *** gbastien has joined #openmrs
14:22:00 *** dkayiwa has quit IRC
14:26:06 *** dkayiwa has joined #openmrs
14:29:30 *** gbastien has quit IRC
14:40:34 *** dkayiwa has quit IRC
14:42:49 *** gbastien has joined #openmrs
14:49:54 *** gbastien has quit IRC
15:00:18 *** downeym has quit IRC
15:02:30 *** gbastien has joined #openmrs
15:07:47 *** Raman has joined #openmrs
15:16:24 *** Raman has quit IRC
15:18:04 *** dkayiwa has joined #openmrs
15:18:10 *** jwishnie has joined #openmrs
15:19:04 *** gbastien has quit IRC
15:23:41 *** lh has joined #openmrs
15:31:56 *** gbastien has joined #openmrs
15:41:54 *** dkayiwa has quit IRC
15:49:30 *** czakian has joined #openmrs
15:52:19 *** gbastien has quit IRC
15:54:53 *** bwolfe has quit IRC
15:55:01 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Followup fix to dashboard Slow to Load for Patients with Many Encounters - TRUNK-1375 <http://feedproxy.google.com/~r/OMRStrunk/~3/sy45drcSOUQ/OpenMRS>
15:55:51 *** dkayiwa has joined #openmrs
15:56:04 *** bwolfe has joined #openmrs
15:56:04 *** ChanServ sets mode: +o bwolfe
16:05:06 *** gbastien has joined #openmrs
16:06:41 *** downeym has joined #openmrs
16:06:41 *** ChanServ sets mode: +o downeym
16:06:41 *** OpenMRSBot sets mode: +o downeym
16:10:14 *** muthah has quit IRC
16:16:51 *** djazayeri has joined #openmrs
16:16:51 *** ChanServ sets mode: +o djazayeri
16:23:52 *** bwolfe has quit IRC
16:37:06 *** Suranga has joined #openmrs
16:39:16 *** suranga has joined #openmrs
17:00:07 *** mandric has joined #openmrs
17:06:13 *** jwishnie has quit IRC
17:41:04 *** suranga has quit IRC
17:43:13 *** dkayiwa has quit IRC
17:52:36 *** dkayiwa has joined #openmrs
18:08:40 *** downeym_ has joined #openmrs
18:08:40 *** ChanServ sets mode: +o downeym_
18:10:38 *** dlawson has joined #openmrs
18:10:38 *** ChanServ sets mode: +v dlawson
18:10:43 *** downeym has quit IRC
18:10:44 *** downeym_ is now known as downeym
18:12:47 *** umashanthi has joined #openmrs
18:12:47 *** ChanServ sets mode: +v umashanthi
18:20:18 *** dlawson has left #openmrs
18:22:56 *** bwolfe has joined #openmrs
18:22:56 *** ChanServ sets mode: +o bwolfe
18:38:20 *** dkayiwa has quit IRC
18:44:04 *** asgoyal has joined #openmrs
18:44:14 <downeym> Hi asgoyal and welcome to the #openmrs IRC channel.
18:44:36 <asgoyal> Hello all, Thank you
18:45:08 <asgoyal> I am new to this project and facing a problem in creating my first module
18:47:34 <asgoyal> May I ask for someone's guidance if he or she is not busy?
18:47:50 <downeym> Hi. :)
18:47:59 <asgoyal> Hi downeym :)
18:48:03 <downeym> asgoyal: Is this Ankur?
18:48:05 <djazayeri> asgoyal: what problem are you running into?
18:50:26 *** downeym sets mode: +v wyclif
18:50:30 *** downeym sets mode: +v czakian
18:54:29 <djazayeri> asgoyal: please go ahead and ask the question here
18:56:13 <asgoyal> ok so I was trying to create my first module in the getting started as a developer section and got little confused with the first step
18:56:24 <asgoyal> Check out a local copy of the basicmodule using Maven (view source or view source in svn) 1. (assumes you have m2eclipse installed in maven. see ?Using the M2Eclipse Maven Plugin In Eclipse 2. Right click on openmrs-modules/basicmodule/trunk openmrs svn repo, choose Check out as Maven Project 1. Under advanced, uncheck 'separate projects for modules' 2. Next to 'name template': enter your project/folder na
18:57:21 <asgoyal> i checked out in my eclipse the link that i accessed through "view source in svn"
18:57:46 *** rafa has quit IRC
18:58:32 <djazayeri> asgoyal: that won't work
18:58:57 <djazayeri> do you have the m2eclipse plugin installed, and also the "extras" SCM provider for SVN (or something like that)?
18:59:36 *** asgoyal_ has joined #openmrs
18:59:49 <downeym> Hi asgoyal_ and welcome to the #openmrs IRC channel.
18:59:52 <asgoyal_> I am sorry, my connection got lost earlier
19:00:07 <djazayeri> asgoyal: that won't work
19:00:08 <djazayeri> do you have the m2eclipse plugin installed, and also the "extras" SCM provider for SVN (or something like that)?
19:00:19 <asgoyal_> yes
19:00:38 <asgoyal_> i followed the instructions that was given in step by step for linux users
19:00:47 <asgoyal_> for setting up eclipse environment
19:00:54 <djazayeri> hmm…what's the url for those?
19:01:02 <asgoyal_> lemme see
19:01:13 <djazayeri> the linux instructions, I mean. The non-OS-specific instructions are probably more up-to-date.
19:01:32 <asgoyal_> https://wiki.openmrs.org/display/docs/Step+By+Step+Developer+Setup+Guide+%28Linux%29
19:01:43 <OpenMRSBot> <http://ln-s.net/8t1q> (at wiki.openmrs.org)
19:02:06 *** asgoyal has quit IRC
19:03:00 <asgoyal_> http://ln-s.net/8t1q
19:03:18 <djazayeri> So, the important point is that you check out the code using "Checkout Maven Projects from SCM"
19:03:30 <djazayeri> Don't use svn repository explorer -> checkout
19:03:32 <asgoyal_> yes that's what i did
19:03:35 *** james_regen1 has joined #openmrs
19:03:57 <djazayeri> okay, so what went wrong?
19:05:07 <asgoyal_> now I am confused with the 2nd step which states that Right click on openmrs-modules/basicmodule/trunk openmrs svn repo, choose Check out as Maven Project
19:06:41 <asgoyal_> right now i have 4 folders in my eclipse: basicmodule, basicmodule-api, basicmodule-parent and openmrs-trunk
19:07:17 *** james_regen has quit IRC
19:07:18 <djazayeri> How recently did you install the m2eclipse plugin?
19:07:46 <asgoyal_> I did that yesterday
19:08:47 <djazayeri> okay, so since those instructions were written, m2eclipse removed the option to have a simplified project layout
19:08:59 <djazayeri> now it only supports having one eclipse project per each maven module
19:09:21 <asgoyal_> oh ok
19:09:26 <djazayeri> plus one "parent" project
19:09:31 <asgoyal_> oh yes!
19:09:44 <asgoyal_> so i need to follow the steps with the parent project
19:09:53 <asgoyal_> that is disconnecting it from database
19:09:57 <asgoyal_> am i right?
19:10:13 <djazayeri> yes
19:10:16 <djazayeri> that sounds right.
19:10:58 <asgoyal_> oh ok, thanks a lot! i will take on from here :)
19:41:51 *** james_regen1 has quit IRC
19:42:28 *** umashanthi has quit IRC
19:43:27 *** bwolfe has quit IRC
19:43:30 *** bwolfe_ has joined #openmrs
19:43:30 *** ChanServ sets mode: +o bwolfe_
19:46:24 *** bwolfe_ is now known as bwolfe
19:46:48 <bwolfe> lh, aren't you going to mauritius? they have some of the best connectivity in Africa!!
19:47:09 <lh> bwolfe: sechyelles, but we may end up in mauritius too
19:47:14 <lh> and i can't spell sechyelles
19:47:55 <bwolfe> seychelles?
19:47:59 * bwolfe isn't sure either
19:48:42 <bwolfe> I'm sure the seychelles have just as good of a connection. :-) At the very least you'll be able to get a signal with that wonderful android of yours...
19:49:12 <bwolfe> hehe, but if you want to disconnect, thats fine. I won't call you out (on twitter at least)
19:49:15 <lh> bwolfe: lol. i plan to not try to connect. sanity. :)
19:49:59 <downeym> seashells?
19:50:32 <bwolfe> suzy sells seashells on the seashore of the seychelles.
19:52:17 * downeym takes the rope, diet coke, and seashells
19:53:51 *** dkayiwa has joined #openmrs
19:55:19 <lh> i wanted the diet coke.
19:57:45 *** dkayiwa has quit IRC
20:08:01 <downeym> dietcoke >> *
20:08:13 <downeym> dietcoke++
20:08:16 <downeym> !karma dietcoke
20:08:16 <OpenMRSBot> downeym: Karma for "dietcoke" has been increased 21 times and decreased 5 times for a total karma of 16.
20:08:26 <downeym> hmm, maybe not
20:08:27 <downeym> !karma bwolfe
20:08:27 <OpenMRSBot> downeym: Karma for "bwolfe" has been increased 112 times and decreased 28 times for a total karma of 84.
20:08:44 <downeym> bwolfe >> dietcoke > *
20:14:28 <bwolfe> fo sho
20:16:40 *** dkayiwa has joined #openmrs
20:24:47 *** dkayiwa has quit IRC
20:36:39 *** dkayiwa has joined #openmrs
20:46:10 *** wyclif has quit IRC
20:46:50 *** downeym_ has joined #openmrs
20:46:50 *** ChanServ sets mode: +o downeym_
20:49:50 *** downeym has quit IRC
20:49:51 *** downeym_ is now known as downeym
20:57:48 *** bwolfe has quit IRC
20:58:29 *** asgoyal_ has quit IRC
20:59:09 *** wyclif has joined #openmrs
21:12:43 *** bryq has quit IRC
21:12:56 *** wyclif has quit IRC
21:21:22 *** djazayeri1 has joined #openmrs
21:21:27 <downeym> Hi djazayeri1 and welcome to the #openmrs IRC channel.
21:21:32 *** djazayeri has quit IRC
21:22:45 *** djazayeri1 has quit IRC
21:24:02 *** djazayeri has joined #openmrs
21:24:02 *** ChanServ sets mode: +o djazayeri
21:28:28 *** wyclif has joined #openmrs
21:37:26 *** dkayiwa has quit IRC
21:39:26 *** czakian has quit IRC
21:49:19 *** wyclif has quit IRC
21:49:28 *** downeym has quit IRC
22:11:18 *** czakian has joined #openmrs
22:15:32 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (localize-setup-wizard): TRUNK-2055 : fixed language detection on startup of DB update wizard <http://feedproxy.google.com/~r/OMRStrunk/~3/HnxcNJ7g2y0/OpenMRS> || New Changeset: OpenMRS (localize-setup-wizard): TRUNK-2055 : fixed wrong locale parsing <http://feedproxy.google.com/~r/OMRStrunk/~3/TZ_WsUkRrLI/OpenMRS>
22:28:19 *** wyclif has joined #openmrs
22:36:12 <czakian> hey there, I have a question about locales in Concepts
22:36:35 <czakian> After switching to hibernate 3.6 I am getting many class cast exceptions
22:36:36 <czakian> from
22:36:48 <czakian> java.lang.String cannot be cast to java.util.Locale
22:37:23 <czakian> and I was wondering if you were doing anything special with the locale's
22:37:29 <czakian> or if I am just missing something
22:37:47 <djazayeri> czakian: I'm not sure. But things are working with our current hibernate, right?
22:37:56 <djazayeri> (by the way, briefly why are we looking at upgrading hibernate?)
22:38:27 <czakian> we are looking at upgrading it because we are going to add hibernate search
22:38:37 <djazayeri> ok
22:38:43 <czakian> which will let us do full text searching on the database
22:39:10 <czakian> The thing that is confusing me, is that none of the migration guides mentioned a datatype change
22:39:23 <czakian> for locale
22:40:00 <czakian> so i figured before i dug deeper, it'd be a good idea to make sure it was not that we were doing something different with the locale
22:40:37 <djazayeri> this line has been in ConceptName.hbm.xml since at least OpenMRS 1.6
22:40:38 <djazayeri> <property name="locale" type="java.util.Locale" length="50" not-null="true"/>
22:40:42 <djazayeri> I didn't look further back than that.
22:41:05 <djazayeri> perhaps hibernate 3.6 doesn't automatically do locale/string conversion
22:42:39 <czakian> well that was what I was looking for, but by the time we get to the DAO we shouldn't be doing any casting correct?
22:43:08 <czakian> because the Locale would have gotten set with setLocale in ConceptName
22:43:52 *** asgoyal has joined #openmrs
22:44:48 <asgoyal> Hi
22:44:55 <czakian> hi
22:45:23 <asgoyal> I am facing a problem while i am trying to upload my module to openmrs website
22:45:28 <djazayeri> czakian: oh, you're getting class cast exceptions?
22:45:37 <djazayeri> what's an example of one?
22:45:47 <djazayeri> asgoyal: your own local openmrs?
22:45:56 <asgoyal> yes
22:46:07 <djazayeri> asgoyal: what error message?
22:46:19 <asgoyal> i am pasting it
22:46:29 <asgoyal> Error while trying to start module Unable to load/find moduleActivator: 'org.openmrs.module.basicmodule.myfirstActivator' Module: My first Module ** org.openmrs.module.Module.getModuleActivator(Module.java:192) ** org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:585) ** org.openmrs.api.context.Daemon$1.run(Daemon.java:57)
22:46:43 <asgoyal> i changed the names as instructed on the manual
22:47:03 <asgoyal> basicmodule to myfirst
22:48:16 <djazayeri> asgoyal: the class name for your module activator is wrong. (at least it's bad java style)
22:48:43 <djazayeri> Did you both change the name of the activator line in config.xml _and_ rename the existing BasicModuleActivator class?
22:48:55 <asgoyal> oh... i was just trying out for the time being so didn't care about the conventions
22:49:09 <czakian> yes, I am getting the this exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Locale
22:49:13 <asgoyal> yes
22:49:33 <djazayeri> czakian: what is a line of code that has that error?
22:50:10 <djazayeri> asgoyal: did you rename the folder/package the activator is in? because the error message says it's still looking in "basicmodule"
22:50:11 <czakian> line 56 of the ConceptValidator test specifically
22:50:21 <czakian> however, there are about 20 errors
22:50:23 <asgoyal> yes i did
22:50:27 <czakian> caused by the exact same thing
22:51:03 <djazayeri> please paste the line of code here
22:51:28 <czakian> here is the bactrace
22:52:02 <czakian> http://pastebin.com/4TdLEwnG
22:52:09 <czakian> the line is
22:52:18 <czakian> new ConceptValidator().validate(conceptToUpdate, errors);
22:52:34 <czakian> from ConceptValidatorTest.java
22:54:26 *** djazayeri has left #openmrs
22:54:39 *** djazayeri has joined #openmrs
22:54:39 *** ChanServ sets mode: +o djazayeri
22:57:24 <djazayeri> czakian: for what it's worth, the real line is HibernateConceptDAO:557
22:57:35 <djazayeri> I don't know what's causing this.
22:58:40 <djazayeri> perhaps it has something to do with the fact that ther are criteria expression around line 543-547 that seem to treat locale as a sring
22:58:44 <djazayeri> (string)
23:01:39 <czakian> ok
23:01:47 <czakian> I'll hack at it
23:01:52 <czakian> thanks :)
23:04:05 <asgoyal> Do i have to change the artifact id in pom.xml also to the name i kept?
23:33:57 *** lh has quit IRC
23:34:04 <asgoyal> I figured out, thank you :)
23:42:15 *** mandric has quit IRC
23:43:49 *** czakian has quit IRC
23:54:18 *** Echidna has quit IRC