IRC Chat : 2010-10-21 - OpenMRS

00:37:55 *** bwolfe has joined #openmrs
00:37:55 *** ChanServ sets mode: +o bwolfe
02:47:02 *** pascal` has joined #openmrs
02:50:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Error in Flowsheet Module <http://forum.openmrs.org/viewtopic.php?f=8&t=705#p2643>
03:01:14 *** misha680 has quit IRC
03:01:33 *** misha680 has joined #openmrs
03:02:00 *** pascal` has quit IRC
03:15:11 *** bwolfe has quit IRC
03:16:46 *** pascal` has joined #openmrs
03:22:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Relating to Person and Patient class <http://forum.openmrs.org/viewtopic.php?f=4&t=703#p2646> || OpenMRS Forum: Re: webservices.jaxws questions <http://forum.openmrs.org/viewtopic.php?f=8&t=489#p2645> || OpenMRS Forum: Re: Web Service Test Module <http://forum.openmrs.org/viewtopic.php?f=8&t=704#p2644>
03:34:51 *** pascal` has quit IRC
04:26:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Relating to Person and Patient class <http://forum.openmrs.org/viewtopic.php?f=4&t=703#p2647>
05:26:56 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16060: [wyclif] Adding automatic setting of a preferred conceptName in each locale for a given concept - TRUNK-117 <http://feedproxy.google.com/~r/OMRStrunk/~3/--rTo1fqhjU/>
05:39:19 *** upul` has joined #openmrs
05:39:19 *** ChanServ sets mode: +v upul`
06:36:11 *** upul` has quit IRC
07:16:16 *** Pkirwa has joined #openmrs
07:53:51 *** Pkirwa has quit IRC
07:53:52 *** misha680 has quit IRC
07:55:45 *** robota has joined #openmrs
07:55:56 *** Pkirwa has joined #openmrs
07:55:56 *** misha680 has joined #openmrs
08:03:10 *** robota has quit IRC
08:06:53 *** robota has joined #openmrs
08:57:17 *** Hazamonzo has joined #openmrs
09:09:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Web Service Test Module <http://forum.openmrs.org/viewtopic.php?f=8&t=704#p2648>
09:10:21 *** robota has quit IRC
09:14:28 *** fixl has joined #openmrs
09:18:45 *** robota has joined #openmrs
09:18:57 *** fixl has quit IRC
09:40:07 *** fixl has joined #openmrs
10:38:08 *** robota has quit IRC
10:55:00 *** robota has joined #openmrs
11:21:49 *** bwolfe has joined #openmrs
11:21:49 *** ChanServ sets mode: +o bwolfe
11:22:05 *** kmit has joined #openmrs
11:22:09 <kmit> hi all
11:22:24 <kmit> jst need to know some things
11:28:24 <bwolfe> kmit: what are those?
11:29:33 *** stundents has joined #openmrs
11:30:03 <stundents> !list
11:30:03 <OpenMRSBot> stundents: Admin, Alias, AutoMode, Channel, ChannelLogger, ChannelStats, Config, Factoids, Herald, Karma, Misc, NickCapture, Owner, RSS, Reply, Seen, Services, ShrinkUrl, Status, and User
11:31:02 <stundents> !help Reply
11:31:02 <OpenMRSBot> stundents: (reply <text>) -- Replies with <text>. Equivalent to the alias, 'echo $nick: $1'.
11:37:00 <stundents> Hello
11:41:31 <stundents> @bwolfe: I have compared the files messages.properties with messages_es.properties. The files are not exactly alike. What should I do to translate the file entirely messages.properties? or should I correct the translation of messages_es.properties? thanks for the help me
11:43:31 <bwolfe> stundents: you can correct the words/translations in messages_es.properties as they are now, that would be great!
11:43:58 <bwolfe> but you should also copy the keys (the words to the left of the "=") to the messages_es.properties that are in messages.properties
11:44:07 <bwolfe> then translate those
11:56:11 <kmit> in page Manage Encounter Types Add Observation
12:02:27 <bwolfe> kmit: what is the concept that is causing the error (how is it defined in the concept dictionary)
12:02:36 <bwolfe> and what else is on the obs form ?
12:03:08 <bwolfe> fyi: typically you get obs into the system by using a formentry module. either htmlformentry, formentry, or xforms
12:03:19 <bwolfe> (those all have wiki pages on wiki.openmrs.org telling about them)
12:05:35 <kmit> thanks a lot....!!!!
12:08:57 <stundents> I prefer to translate the file entirely messages.properties and create a new file messages.properties entirely traslate, what do you think?
12:18:19 <bwolfe> stundents: thats fine
12:20:48 <bwolfe> bbl
12:20:56 <stundents> ok
12:21:53 <stundents> when I finished the translation I'll tell you...
12:25:08 *** bwolfe has quit IRC
12:28:31 *** fixl has quit IRC
12:29:08 *** Pkirwa has quit IRC
12:46:02 *** fixl has joined #openmrs
12:51:19 *** bwolfe has joined #openmrs
12:51:19 *** ChanServ sets mode: +o bwolfe
12:57:01 *** stundents has quit IRC
13:26:46 *** kmit has quit IRC
13:27:37 *** upul` has joined #openmrs
13:27:37 *** ChanServ sets mode: +v upul`
13:31:36 *** robota has quit IRC
13:36:06 *** mccallumg has joined #openmrs
13:38:03 *** upul`` has joined #openmrs
13:38:03 *** ChanServ sets mode: +v upul``
13:40:58 *** upul` has quit IRC
13:43:07 *** robota has joined #openmrs
13:50:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Web Service Test Module <http://forum.openmrs.org/viewtopic.php?f=8&t=704#p2650> || OpenMRS Forum: Re: Relating to Person and Patient class <http://forum.openmrs.org/viewtopic.php?f=4&t=703#p2649>
13:55:49 *** upul`` is now known as upul`
14:02:53 <upul`> hey bwolfe
14:03:21 <bwolfe> hi upul`
14:03:36 <upul`> bwolfe, have you heard of java posse?
14:03:56 <bwolfe> no, do you have a link?
14:04:32 <upul`> bwolfe, it's a podcast, some java people talking about the latest java news
14:04:40 <upul`> http://javaposse.com/java-posse-324-live-from-java-one-2010
14:04:46 <OpenMRSBot> <http://ln-s.net/7w82> (at javaposse.com)
14:05:20 <bwolfe> is it worth subscribing to?
14:05:25 <upul`> this one is funny, was from javaone conference day, they go on a time machine to the past and the future
14:05:44 <upul`> try that and see
14:06:56 <mccallumg> no dev call today?
14:07:21 <bwolfe> mccallumg: we're just getting over there now
14:07:32 <mccallumg> thanks: bwolfe
14:09:44 *** fixl has quit IRC
14:11:37 *** wyclif has joined #openmrs
14:14:01 *** bwolfe_ has joined #openmrs
14:14:08 *** ChanServ sets mode: +o bwolfe_
14:17:02 *** bwolfe has quit IRC
14:18:57 <bwolfe_> mccallumg: we're all on the call now, if you want to join
14:18:58 *** chopin has joined #openmrs
14:18:58 *** ChanServ sets mode: +v chopin
14:19:00 *** bwolfe_ is now known as bwolfe
14:19:10 <chopin> hey-o ... meeting time
14:19:18 <chopin> mccallumg: you were on ... are you coming back?
14:21:49 <mccallumg> hey chopin. I just got pulled out for another meeting : ( Sorry.
14:25:10 <chopin> mccallumg: ah, ok
14:25:12 <chopin> n
14:25:13 <chopin> o
14:25:15 <chopin> problem
15:23:35 *** muthah has joined #openmrs
15:47:12 *** robota has quit IRC
15:49:06 *** mblanchette has joined #openmrs
15:49:06 *** mblanchette has quit IRC
15:49:37 *** mblanchette has joined #openmrs
16:02:26 *** wyclif has quit IRC
16:03:53 *** r0bby|android has joined #openmrs
16:03:53 *** ChanServ sets mode: +v r0bby|android
16:05:39 *** mblanchette has left #openmrs
16:06:53 *** misha680 has quit IRC
16:08:49 *** bwolfe has quit IRC
16:12:14 *** chopin has quit IRC
16:22:01 *** bwolfe has joined #openmrs
16:22:01 *** ChanServ sets mode: +o bwolfe
16:22:56 *** muthah has quit IRC
16:25:36 *** chopin has joined #openmrs
16:25:36 *** ChanServ sets mode: +v chopin
16:25:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Web Service Test Module <http://forum.openmrs.org/viewtopic.php?f=8&t=704#p2651>
16:32:53 *** misha680 has joined #openmrs
16:35:44 *** upul` has left #openmrs
16:37:55 *** r0bby|android has quit IRC
16:39:52 *** pascal` has joined #openmrs
16:46:44 *** mccallumg has quit IRC
17:04:24 *** r0bby|android has joined #openmrs
17:04:24 *** ChanServ sets mode: +v r0bby|android
17:11:11 *** pascal` has quit IRC
17:11:23 *** r0bby|android has quit IRC
17:24:58 *** r0bby|android has joined #openmrs
17:24:58 *** ChanServ sets mode: +v r0bby|android
17:36:32 *** r0bby|android has quit IRC
17:41:58 *** wyclif has joined #openmrs
17:53:07 *** wyclif has quit IRC
17:53:12 *** chopin has quit IRC
17:55:29 *** wyclif has joined #openmrs
17:55:35 *** wyclif has quit IRC
18:03:53 *** pascal` has joined #openmrs
18:15:34 *** aja has joined #openmrs
18:16:55 *** pascal` has quit IRC
18:18:03 <aja> hi bwolfe,i wrote a empty hl7SourseList.java and did all mapping to cotroller.but i got No mapping found for HTTP request with URI [/openmrs/admin/hl7/hl7Source.list] in DispatcherServlet with name 'openmrs'
18:18:56 <bwolfe> usually is a problem with either your return value from the method or the annotation for the url on the method
18:19:02 <bwolfe> pastebin your controller for me
18:29:41 <aja> bowlfe :have u got hl7sourceController?
18:30:42 <bwolfe> aja: no, where would I get it from? isn't that what you have written already?
18:32:35 <aja> at pastbin http://pastebin.com/WgyY6ifn
18:36:55 <aja> i think the problem with the mapping at openmrs-servlet.xml
18:43:44 <bwolfe> aja: ah yes, I see. you are not using annotations.
18:43:57 <bwolfe> yes, pastebin the changes you put into openmrs-servlet.xml
18:48:52 <aja> i have looked at the encounterTypeListController.there are no annotations.
18:49:25 <aja> you can view my openmrs-servlet.xml
18:49:29 <bwolfe> right, we only have a few pages in core that have annotations
18:49:33 <bwolfe> link?
18:50:04 <aja> at http://pastebin.com/pEQQgA10
18:52:44 <bwolfe> aja: you need to add a url mapping near the top of the file too
18:54:00 <aja> is this <prop key="admin/hl7/hl7Source.list">hl7SourceList</prop>
18:54:28 <aja> that mapping?
18:55:39 <bwolfe> yeah
18:56:06 <aja> under bean id urlMapping i did
18:56:42 <bwolfe> and <property name="formView"><value>/admin/hl7/hl7SourceList</value></property> means your file is called /admin/hl7/hl7SourceList.jsp, right? (must match exactly to folder and name)
18:57:43 <aja> yes i have all
18:58:44 <aja> server log says: No mapping found for HTTP request with URI [/openmrs/admin/hl7/hl7Source.list]
19:11:45 <aja> it means server could not find the mapping not the jsp.am i correct
19:18:00 <bwolfe> aja: yes, thats usually what it means
19:18:13 <bwolfe> can you send me a patch file of your changes?
19:18:38 <bwolfe> http://wiki.openmrs.org/display/docs/Patches
19:18:40 <aja> via mail?
19:19:00 <bwolfe> sure. ben at openmrs org
19:39:13 <aja> i have sent.
19:40:21 <bwolfe> aja: strange, not sure whats wrong :-/
19:44:39 <aja> some time server dosen't load that file.may be cached one.i am using maven jetti?
19:46:59 <bwolfe> did you try an mvn clean jetty:run ?
19:47:47 <aja> no ctr + c and restart
19:49:24 <aja> i am trying..
19:52:40 <aja> mvn clean -Djetty.port=9999 jetty:run => same result
19:54:35 *** me__ has joined #openmrs
19:54:48 <me__> hi
19:55:11 <me__> who's in da house?
19:56:30 <bwolfe> me__: no one ;-)
19:56:35 <bwolfe> no one but us chickens
19:56:45 <bwolfe> aja: weird
19:56:54 <bwolfe> but it works if you leave the hl7form one in there?
19:56:58 <bwolfe> or does that also break?
20:02:10 *** me__ has quit IRC
20:04:21 <aja> what do you mean ;if i remove mapping it is saying same thing.other links eg-manage user working
20:06:54 <aja> in the mapping if i change some thing it dosen't affect any thing.for example changing address of the manage user previlage in mapping
20:16:36 <bwolfe> aja: are you restarting jetty after you edit openmrs-servlet.xml ?
20:16:57 <bwolfe> you could try using jetty:run-war instead. maybe that will work better?
20:17:16 <bwolfe> are you running off of the latest and greatest trunk? when did you last svn update?
20:17:52 <aja> yes.last sun day
20:25:31 <aja> jetty:run-war => no change!
20:26:39 <bwolfe> weird
20:27:06 <bwolfe> guess its time to use annotations on the controller object instead of using openmrs-servlet.xml :-)
20:32:34 <aja> yeah.
20:33:59 <aja> did you apply my patch your local machine?
20:36:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Web Service Test Module <http://forum.openmrs.org/viewtopic.php?f=8&t=704#p2652>
20:48:29 <bwolfe> aja: I get nested exception is java.lang.ClassNotFoundException: org.openmrs.web.controller.hl7.hl7SourceListController when I apply your patch and openmrs does not start
20:48:57 <bwolfe> aja: can you include that file in a new patch for me?
20:50:19 <aja> i created that outside eclipse manually.is it the reason?
20:50:37 <aja> i mean controller
20:52:15 <aja> but apears in eclipse explorer
20:54:28 <aja> i have send my new patch
20:56:42 <bwolfe> dunno
20:57:38 <bwolfe> aja: that controller has compile problems
20:57:51 <bwolfe> eclipse should be telling you that if you open it
20:57:59 <bwolfe> the filename shoudl start with a capital letter
20:58:04 <bwolfe> the class name shoudl match the file name
20:58:20 <bwolfe> and you need an import for hte Hl7Service (control-shift-o in eclipse will do the import for you)
21:03:46 <aja> my eclipse dosent show even syntax problem.why?
21:05:55 <bwolfe> aja: did you check out the source thrown maven?
21:06:12 <bwolfe> aja: http://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+In+Eclipse
21:06:13 <OpenMRSBot> <http://ln-s.net/7WSJ> (at wiki.openmrs.org)
21:06:28 <bwolfe> it generates your .classpath and .project files (that eclipse needs) automatically
21:06:40 <aja> yes
21:06:41 <bwolfe> otherwise eclipse does nothing with the svn checked out code
21:07:09 <bwolfe> aja: you have a .classpath and .project file?
21:07:15 <bwolfe> does the .project file say that its a java nature project?
21:09:54 <aja> there are .project .svn and .setting
21:10:49 <aja> no .classpath?
21:10:56 <bwolfe> that could be a problem
21:11:30 <bwolfe> aja: this is my .classpath for trunk: http://pastebin.com/TkS6HZ9E
21:20:30 <aja> i copied and restated the eclipse.same problem is there
21:25:14 <bwolfe> click on the project and then go to the menu --> project --> clean
21:38:04 <aja> it is not working .i am going to do new check out
21:45:07 *** aja has quit IRC
21:48:24 *** wyclif has joined #openmrs
22:05:50 *** bwolfe has quit IRC
22:14:33 *** wyclif has quit IRC
22:53:16 *** wyclif has joined #openmrs
23:04:14 *** misha680 has quit IRC
23:05:01 <meonkeys> you guys use liquibase, yes? does it do what you want? love it? hate it?
23:12:51 <OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS trunk #16088: [wyclif] Adding unit tests to verify that every concept in the xml standardDataSet has one preferred name per locale and not more - TRUNK-117 <http://feedproxy.google.com/~r/OMRStrunk/~3/3s7jUHiyE9c/>
23:22:11 *** mrs_ has joined #openmrs
23:22:18 <mrs_> hi guys
23:22:26 <mrs_> need help please
23:23:18 <mrs_> i need to configure openmrs runtime properties
23:23:34 <mrs_> but I dont want to use the env variables
23:30:35 *** mrs_ has quit IRC