00:07:28
|
*** rafa has joined #openmrs
|
00:07:28
|
*** ChanServ sets mode: +v rafa
|
00:11:45
|
*** rafa has quit IRC
|
00:34:25
|
*** jwishnie has joined #openmrs
|
00:42:51
|
*** wyclif has joined #openmrs
|
01:55:22
|
*** muthah has quit IRC
|
01:55:54
|
*** jriley has joined #openmrs
|
02:08:34
|
*** jportela has left #openmrs
|
02:17:18
|
*** jriley has quit IRC
|
02:37:46
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Move Encounter types from core data to demo data - TRUNK-2446... <http://feedproxy.google.com/~r/OMRStrunk/~3/cqSgXl6WYn0/OpenMRS>
|
03:04:35
|
*** surangak has joined #openmrs
|
03:09:48
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): nicer error handling when Patient Identifier Type regex too long - TRUNK-2313... <http://feedproxy.google.com/~r/OMRStrunk/~3/ESk9pMcEa6k/OpenMRS>
|
03:15:02
|
*** upul` has joined #openmrs
|
03:15:02
|
*** ChanServ sets mode: +v upul`
|
03:16:41
|
*** chopin has quit IRC
|
04:15:20
|
*** wyclif has quit IRC
|
04:19:36
|
*** mccallumg has joined #openmrs
|
04:19:45
|
*** ChanServ sets mode: +v mccallumg
|
04:20:47
|
*** wyclif has joined #openmrs
|
04:21:27
|
*** wyclif has joined #openmrs
|
04:33:58
|
*** yanokwa has joined #openmrs
|
04:33:58
|
*** ChanServ sets mode: +v yanokwa
|
04:34:21
|
*** yanokwa has quit IRC
|
04:34:28
|
*** yanokwa has joined #openmrs
|
04:34:28
|
*** ChanServ sets mode: +v yanokwa
|
04:47:23
|
*** mccallumg has quit IRC
|
05:00:11
|
*** yanokwa has quit IRC
|
05:19:56
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): When you try to save changes to a program enrollment, they are saved, but the page appears stuck - TRUNK-2524 <http://feedproxy.google.com/~r/OMRStrunk/~3/coYd4DjAB-c/OpenMRS> || New Changeset: OpenMRS (trunk): javascript error when trying to edit an existing program enrollment - TRUNK-2523 <http://feedproxy.google.com/~r/OMRStrunk/~3/Mn4ph4KJ14o/OpenMRS>
|
05:22:42
|
*** poorroop has quit IRC
|
05:24:50
|
*** muthah has joined #openmrs
|
05:25:09
|
*** pascal` has quit IRC
|
05:25:44
|
*** pascal` has joined #openmrs
|
05:27:52
|
*** dkayiwa has joined #openmrs
|
05:30:40
|
<surangak> good morning dkayiwa ! want to know how i fixed my problem :)
|
05:32:05
|
*** dkayiwa has quit IRC
|
05:38:56
|
*** bwolfe has joined #openmrs
|
05:38:56
|
*** ChanServ sets mode: +o bwolfe
|
05:50:40
|
*** pascal` has quit IRC
|
05:55:42
|
*** jwishnie has quit IRC
|
06:03:12
|
*** djazayeri has joined #openmrs
|
06:03:12
|
*** ChanServ sets mode: +o djazayeri
|
06:06:37
|
*** dkayiwa has joined #openmrs
|
06:06:53
|
<dkayiwa> surangak: what did you do to fix it?
|
06:07:28
|
<surangak> dkayiwa, actually at that time i was in urgent need to get it running.. but nothing was working
|
06:07:42
|
<dkayiwa> ok
|
06:07:45
|
<surangak> dkayiwa, it seemd that initilization filter was unable to find the liquibase files
|
06:07:51
|
<dkayiwa> ok
|
06:08:00
|
<surangak> dkayiwa, fortunately i had a db setup on seperate mahine also,
|
06:08:11
|
<dkayiwa> ok
|
06:08:26
|
<surangak> so i took a db dump, restored in on my machine, and went through set up pointing at the existing db
|
06:08:42
|
<dkayiwa> ok
|
06:08:48
|
<surangak> :P a terrible patch up, but it works :)
|
06:08:59
|
<surangak> dkayiwa, i wanted u to know in case someone runs into the same problem
|
06:09:09
|
<dkayiwa> sure
|
06:09:11
|
<dkayiwa> thanks
|
06:09:14
|
<surangak> ill try to understand why it is failing
|
06:09:18
|
<dkayiwa> ok
|
06:09:23
|
<surangak> as soon as i get some time :)
|
06:09:28
|
<dkayiwa> :)
|
06:11:17
|
*** rahul has joined #openmrs
|
06:11:23
|
*** bwolfe has quit IRC
|
06:11:27
|
<rahul> bwolfe : hi
|
06:11:58
|
*** bwolfe has joined #openmrs
|
06:11:58
|
*** ChanServ sets mode: +o bwolfe
|
06:15:08
|
<rahul> bwolfe hi
|
06:18:19
|
<bwolfe> hi rahul
|
06:19:09
|
<rahul> i am still getting after changing the controller also
|
06:19:17
|
<rahul> *error
|
06:19:23
|
<rahul> failed to lazily initialize a collection of role: org.openmrs.Patient.identifiers, no session or session was closed
|
06:20:48
|
<rahul> bwolfe: this is controller http://pastebin.com/SRcqarjy
|
06:22:42
|
<bwolfe> rahul, I'm not sure whats going on
|
06:22:51
|
<bwolfe> all of htat should be taken care of for you
|
06:23:00
|
<bwolfe> are you doign anything special in your module with filters or hibernate?
|
06:24:00
|
<rahul> bwolfe : no i am not doing anything
|
06:25:10
|
<rahul> i found a solution bwolfe to change hbm file to have lazy=false
|
06:28:43
|
<bwolfe> thats not really a viable solution
|
06:28:59
|
<bwolfe> I have no idea why its happening
|
06:29:13
|
<bwolfe> I would suggest starting with somethign small and copying over what you have slowly until you see what breaks
|
06:29:27
|
<bwolfe> if you write a unit test to show it breaking the copying/testing will go a lot faster
|
06:29:59
|
<rahul> bwolfe okay
|
06:30:11
|
<rahul> thanks
|
06:40:18
|
*** rahul has quit IRC
|
06:41:57
|
<dkayiwa> morning bwolfe
|
06:42:05
|
<bwolfe> hey
|
06:42:42
|
<dkayiwa> bwolfe: i realized that the import from occ page actually works. Results are not displayed on mine because they are eliminated by DWROCCModuleService.getDuplicateConcepts
|
06:42:57
|
<bwolfe> dkayiwa, haha
|
06:43:02
|
<bwolfe> good to know
|
06:43:08
|
<dkayiwa> bwolfe: so i wonder is this duplicate algorithm based on exact match of concept name?
|
06:43:20
|
<bwolfe> I don't know
|
06:43:43
|
<dkayiwa> bwolfe: because i have created a another concept in occ with a different name but its not returned
|
06:44:04
|
<bwolfe> uuid?
|
06:44:07
|
<bwolfe> mappings?
|
06:44:14
|
<bwolfe> err, conceptmappings
|
06:44:15
|
<dkayiwa> bwolfe: one is WEIGHT and the other is WEIGHT THAT IS TEXT
|
06:45:16
|
<dkayiwa> bwolfe: let me look into it a bit more
|
06:49:25
|
*** goutham has joined #openmrs
|
06:54:09
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (improved-person-attribute-type): enumeratedOpenmrsMetadata attibute type handler <http://feedproxy.google.com/~r/OMRStrunk/~3/XdDgxD3hHw4/OpenMRS>
|
06:56:14
|
<dkayiwa> bwolfe: looks like 1.6.3 fails with Error: $j is not defined
|
06:56:15
|
<dkayiwa> Source File: http://localhost:8089/openmrs-1.6.3/module/occmodule/importFromOcc.form
|
06:56:15
|
<dkayiwa> Line: 166
|
06:56:45
|
<dkayiwa> bwolfe: should i look into that?
|
06:58:02
|
*** goutham has quit IRC
|
07:00:12
|
*** rafa has joined #openmrs
|
07:00:12
|
*** ChanServ sets mode: +v rafa
|
07:46:08
|
*** robbyoconnor has quit IRC
|
07:50:05
|
*** surangak_ has joined #openmrs
|
07:50:21
|
*** surangak has quit IRC
|
07:56:02
|
*** goutham has joined #openmrs
|
07:56:18
|
<dkayiwa> hi bwolfe
|
08:01:17
|
<goutham> hi djazayeri
|
08:03:05
|
<surangak_> i dont think djazayeri is really here...
|
08:03:19
|
*** dkayiwa has quit IRC
|
08:12:41
|
*** bryq has joined #openmrs
|
08:12:41
|
*** ChanServ sets mode: +v bryq
|
08:18:45
|
<goutham> humm
|
08:34:13
|
*** suho has joined #openmrs
|
08:34:13
|
*** ChanServ sets mode: +v suho
|
09:09:54
|
*** magoo has joined #openmrs
|
09:13:16
|
<rafa> bwolfe, how to correctly configure occ to upload/download concepts?
|
09:13:57
|
<rafa> bwolfe: is it described somewhere?
|
09:14:53
|
<rafa> bwolfe: I setup a server url and when I send all concepts to occ it says uploaded sucessfully, but I can't see them on the server
|
09:34:44
|
*** suho has quit IRC
|
09:43:29
|
<bwolfe> rafa, the server puts them in a folder and then processes them
|
09:43:36
|
<bwolfe> rafa, anything error'ing in your logs?
|
09:44:26
|
<rafa> bwolfe: no errors
|
09:44:37
|
<bwolfe> rafa, strange
|
09:44:40
|
<rafa> bwolfe: I can see xmls in the uploads folder
|
09:44:41
|
<bwolfe> but nothing shows up?
|
09:44:48
|
<bwolfe> can you check /tmp/uploads to see if the files are there?
|
09:45:13
|
<rafa> bwolfe: yes, they are there
|
09:45:26
|
<bwolfe> or maybe edit one of the files in there so the dateModified changes and it gets processed again
|
09:45:38
|
<rafa> bwolfe: ok, I'll try
|
09:46:33
|
*** suho has joined #openmrs
|
09:46:33
|
*** ChanServ sets mode: +v suho
|
09:46:47
|
<rafa> bwolfe: I got the exception now java.lang.Exception: No implementation was found with id:TEST
|
09:47:00
|
<rafa> bwolfe: I guess I need to add one
|
09:47:53
|
<rafa> bwolfe: Can I do it from the UI?
|
09:48:04
|
<bwolfe> ah yes, because daniel added the check for impl id to the server yesterday
|
09:48:17
|
<bwolfe> so now your impl id needs to be in the implementationid server to be validated
|
09:48:21
|
*** wyclif has quit IRC
|
09:49:15
|
*** wyclif has joined #openmrs
|
10:02:35
|
<rafa> bwolfe: yet another exception http://pastebin.com/uHSvZQHn any clues?
|
10:03:10
|
<bwolfe> similarConceptMaps is something that Wyclif just added yesterday
|
10:03:36
|
<bwolfe> he temporarily broke unit tests and then fixed it (haven't looked further yet). are you running the latest?
|
10:04:11
|
<rafa> bwolfe: I'll make sure now...
|
10:09:21
|
<rafa> bwolfe: nope, it doesn't work.
|
10:09:32
|
<bwolfe> rafa, grr
|
10:09:43
|
<bwolfe> rafa, see if you can write a unit test for it that breaks
|
10:09:44
|
<rafa> bwolfe: I've got three tests failing
|
10:10:12
|
<rafa> Tests in error:
|
10:10:12
|
<rafa> testAnalyzeMostRecent(org.openmrs.occ.DeserializationTest)
|
10:10:12
|
<rafa> testDeserializationOfUuids(org.openmrs.occ.DeserializationTest)
|
10:10:12
|
<rafa> testUpload_shouldNotCreateDuplicateRecords(org.openmrs.occ.service.ConceptManagerTest)
|
10:10:31
|
<bwolfe> tests are passing on ci https://ci.openmrs.org/
|
10:10:38
|
<bwolfe> have you done a clean install test ?
|
10:10:46
|
<bwolfe> or just mvn clean install
|
10:11:12
|
<rafa> bwolfe: yes I did, ok maybe it's my fault
|
10:11:22
|
<rafa> bwolfe: I added some classes
|
10:11:34
|
<rafa> bwolfe: I'll revert to changes and test it again
|
10:15:40
|
<rafa> bwolfe: hmm it still fails for me, is it possible to rerun ci build manually?
|
10:15:54
|
<rafa> Sprints - OCC Server : Unable to detect changes
|
10:15:54
|
<rafa> (com.atlassian.bamboo.repository.RepositoryException : Build 'SPRNT-OCCSERV' failed to check SVN repository)
|
10:16:14
|
<rafa> is what I see in ci error log
|
10:16:29
|
<bwolfe> https://ci.openmrs.org/browse/SPRNT-OCCSERV-28
|
10:17:20
|
<bwolfe> rafa, is 22351 not the last commit?
|
10:17:33
|
<rafa> yes, it is
|
10:17:46
|
<rafa> I don't get it then :/
|
10:26:18
|
*** goutham has quit IRC
|
10:32:10
|
*** jprice__ has quit IRC
|
10:36:28
|
<bwolfe> rafa, fyi: it builds/tests fine on my machine too
|
10:36:42
|
<bwolfe> (and I ran the ci build manually, just for you. it still passes :-/)
|
10:39:47
|
<rafa> bwolfe: ok thanks, I've noticed now that after updating the exception has actually changed
|
10:39:54
|
<rafa> it's npe
|
10:40:07
|
<rafa> it might be a windows thing
|
10:40:23
|
<rafa> it can't locate a test file
|
10:44:53
|
<bwolfe> microsoft--
|
10:57:22
|
<rafa> bwolfe: to be fair it wasn't ms fault ;) getResource() works only with the "/" separator whereas in tests we had something like File.separator (os dependent)
|
10:59:29
|
<bwolfe> rafa, haha
|
10:59:34
|
<bwolfe> rafa, have you fixed it now though?
|
10:59:43
|
<rafa> bwolfe: yes, it's fixed
|
11:00:02
|
<bwolfe> rafa++
|
11:03:28
|
<rafa> bwolfe: I feel unlucky today, still org.springframework.orm.hibernate3.HibernateSystemException: A collection with cascade="all-delete-orphan" was no longer referenced :/
|
11:04:02
|
<rafa> bwolfe: I'll try to write a failing test
|
11:04:36
|
<bwolfe> ugh
|
11:04:38
|
<bwolfe> sorry
|
11:07:18
|
<rafa> bwolfe: is there any way to trigger analyzeOccUpload manually?
|
11:08:28
|
<rafa> bwolfe: nevermind, it's enough to change a filename :)
|
11:09:15
|
*** surangak_ has quit IRC
|
11:09:17
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (providers): [TRUNK-2266] Vishnu/Sree Created the appropriate methods to fetch the provider attributes <http://feedproxy.google.com/~r/OMRStrunk/~3/isaqiPYLZA0/OpenMRS>
|
11:09:47
|
<bwolfe> rafa, change the filename or just edit the file
|
11:09:54
|
<bwolfe> it goes by dateModified in the folder
|
11:16:15
|
*** james_regen has joined #openmrs
|
11:16:15
|
*** ChanServ sets mode: +v james_regen
|
11:16:56
|
*** muthah has quit IRC
|
11:19:50
|
*** magoo has quit IRC
|
11:29:46
|
*** suho has quit IRC
|
11:35:36
|
*** upul` has quit IRC
|
11:51:46
|
*** wyclif has quit IRC
|
11:59:03
|
<bwolfe> rafa, ha! so it was your fault! (kind of) just keep your concept uploads under 100... ;-)
|
12:00:13
|
<rafa> bwolfe: haha nice workaround :)
|
12:11:08
|
*** jriley has joined #openmrs
|
12:24:28
|
*** magoo has joined #openmrs
|
12:25:06
|
*** rcrichton has joined #openmrs
|
12:25:06
|
*** ChanServ sets mode: +v rcrichton
|
12:26:54
|
*** magoo has quit IRC
|
12:28:36
|
*** dkayiwa has joined #openmrs
|
12:44:50
|
*** poorroop has joined #openmrs
|
12:45:23
|
*** wyclif has joined #openmrs
|
12:50:10
|
*** judy has joined #openmrs
|
12:52:01
|
<judy> daniel: the concept dictionary by MVP runs on the 1.6 openmrs database
|
12:52:20
|
<judy> and hence teh current standalone would not work for me to get teh upgrades...
|
12:52:23
|
<judy> any ideas?
|
12:52:39
|
<judy> maybe brings me to teh question of how does one make a standalone?
|
12:52:47
|
<dkayiwa> let use the public irc for others also to share
|
12:52:58
|
<dkayiwa> you can ask again from there
|
12:53:22
|
<dkayiwa> :)
|
12:53:29
|
<dkayiwa> i typed in wrong palce
|
12:53:33
|
<dkayiwa> place
|
12:56:00
|
<dkayiwa> so judy:
|
12:56:18
|
<dkayiwa> the standalone tool is not restricted to a particular openmrs version
|
12:56:38
|
<dkayiwa> judy: here are the steps for you to make it work with another openmrs version
|
12:56:56
|
<dkayiwa> 1) unzip the standalone distribution
|
12:57:34
|
<dkayiwa> 2) Overwrite the .../tomcat/webapps/openmrs-standalone.war folder with the particular openmrs version war
|
12:58:09
|
<dkayiwa> 3) delete the database folder
|
12:58:48
|
<dkayiwa> 4) run the openmrs-standalone.jar file which should take you to the openmrs setup page
|
12:59:05
|
<dkayiwa> that way you will setup a database for your particular openmrs version
|
12:59:11
|
*** poorroop has quit IRC
|
12:59:57
|
<dkayiwa> judy: if you already had other openmrs versions installed, you may need to uniquely name the openmrs war file such that you avoid using a runtime properties file of an existing openmrs installation
|
13:00:33
|
<dkayiwa> judy: for instance of am using openmrs version 1.6.3, i would name the war file as : openmrs-1.6.3.war
|
13:01:21
|
<dkayiwa> so after renaming the war file, before running the openmrs-standalone.jar file, ensure that you also rename the runtime properties file in the standalone folder appropriately
|
13:01:58
|
<dkayiwa> judy: as stated at: https://wiki.openmrs.org/display/docs/OpenMRS+Standalone
|
13:01:59
|
<OpenMRSBot> <http://ln-s.net/91x$> (at wiki.openmrs.org)
|
13:04:14
|
<judy> thanks daniel...let me try it out
|
13:06:29
|
<bryq> rafa: Hi, regarding to !ticket META-121
|
13:06:39
|
<rafa> hi
|
13:06:40
|
<bryq> rafa: Can you send me the value of OPENMRS_VERSION?
|
13:07:17
|
<rafa> bryq: good try
|
13:07:25
|
<rafa> bryq: 1.9.0-SNAPSHOT
|
13:07:47
|
<rafa> you should probably be less strict about versions
|
13:08:03
|
<bryq> rafa: Yes
|
13:08:45
|
<bryq> rafa: Btw., this value doesn't follow the format
|
13:09:01
|
<bryq> rafa: From javadoc: The format is:<br/>
|
13:09:01
|
<bryq> * <i>major</i>.<i>minor</i>.<i>maintenance</i> <i>suffix</i> Build <i>buildNumber</i>
|
13:09:12
|
<rafa> bryq: yes, it shouldn't be that way
|
13:09:43
|
<rafa> bryq: anyway if version resolution leads to any exception just use the old url style
|
13:10:02
|
<bryq> rafa: I'll do that :)
|
13:10:59
|
<rafa> bryq: remind me if old urls remain accessible when you uprgade OpenMRS to a new version?
|
13:11:14
|
<bryq> rafa: Yes, everything is still accessible
|
13:11:24
|
<rafa> bryq: I mean if you have published some packages in 1.6 and upgraded to 1.8
|
13:11:45
|
<rafa> bryq: Can you still access subscriptions?
|
13:11:55
|
<bryq> rafa: Yes
|
13:12:00
|
<rafa> bryq: ok, perfect
|
13:23:30
|
*** chopin has joined #openmrs
|
13:26:59
|
*** downeym has joined #openmrs
|
13:26:59
|
*** OpenMRSBot sets mode: +o downeym
|
13:26:59
|
*** ChanServ sets mode: +o downeym
|
13:28:18
|
*** cta has joined #openmrs
|
13:31:22
|
*** jportela has joined #openmrs
|
13:31:22
|
*** ChanServ sets mode: +v jportela
|
13:43:55
|
<judy> daniel
|
13:44:11
|
<judy> i made all the changes but when i run the standalone
|
13:44:34
|
<judy> it stops here ...The OpenMRS server is currently in maintenance mode.
|
13:44:46
|
<judy> Log in as a User that has the System Developer role to continue.
|
13:45:02
|
<judy> use of Admin123 does not work
|
13:45:49
|
*** dkayiwa has quit IRC
|
13:51:37
|
*** jwishnie has joined #openmrs
|
13:56:31
|
*** diptanuc has joined #openmrs
|
13:57:04
|
<diptanuc> bwolfe: Around?
|
13:57:11
|
<bwolfe> yeah
|
13:57:44
|
<diptanuc> bwolfe: Landed myself to some liquibase related issues.
|
13:58:08
|
<diptanuc> bwolfe: Trying to setup openmrs with postgresql and following the advanced setup wizard
|
13:58:51
|
<diptanuc> bwolfe: Give me a moment, to paste the errors somewhere
|
14:00:18
|
<bwolfe> postgres won't work at initialization. theres a ticket and a recent mailing list post about it
|
14:00:51
|
<diptanuc> bwolfe: Aah! Ok let me search the mailing list
|
14:04:51
|
*** gbastien has joined #openmrs
|
14:06:15
|
*** upul` has joined #openmrs
|
14:06:15
|
*** ChanServ sets mode: +v upul`
|
14:09:06
|
<bwolfe> wyclif, djazayeri, rafa: scrum?
|
14:09:13
|
<bwolfe> dkayiwa has disappeared
|
14:09:13
|
<djazayeri> yup
|
14:09:25
|
<bwolfe> djazayeri, go ahead
|
14:09:27
|
<judy> yes ...waiting for dkayiwa..
|
14:10:14
|
<djazayeri> Tuesday:
|
14:10:15
|
<djazayeri> * SMART code review
|
14:10:15
|
<djazayeri> * Fixed HTML-203 (HTML Forms painfully slow when doing <obs ... style="autocomplete" answerClasses="Diagnosis"/> on a large dictionary)
|
14:10:15
|
<djazayeri> * Thoughtworks Code Jam
|
14:10:15
|
<djazayeri> Today:
|
14:10:15
|
<djazayeri> * Finish OCC-56. (Improved validation, 1.7-to-1.6 XSLT for downloading.)
|
14:10:15
|
<djazayeri> * design calls
|
14:10:19
|
<djazayeri> no blockers
|
14:11:07
|
<bwolfe> djazayeri, does 56 look finishable?
|
14:11:27
|
<djazayeri> Yes, I'm just having trouble working on it without getting distracted.
|
14:11:29
|
<diptanuc> bwolfe: Read through the discussion on the mailing list, so it is about fixing the liquibase scripts, mainly?
|
14:11:56
|
<djazayeri> bwolfe: is there a unit test that tests uploads?
|
14:12:10
|
<bwolfe> not sure
|
14:12:34
|
<bwolfe> I think there used to be, but I commented it out because it was using the filesystem. so you can uncomment but change how/where its doing the testing'
|
14:12:54
|
*** chopin has quit IRC
|
14:13:29
|
<djazayeri> Okay, but there's no working unit test for uploads then.
|
14:13:30
|
<bwolfe> diptanuc, yeah, and a few small places in code apparently
|
14:13:37
|
<bwolfe> I don't think so
|
14:14:50
|
<bwolfe> rafa, are you ready?
|
14:15:00
|
<rafa> Hey
|
14:15:02
|
<rafa> Today:
|
14:15:02
|
<rafa> * Bad luck with OCC
|
14:15:02
|
<rafa> * Resolved an issue with failing tests in OCC Server on Windows
|
14:15:02
|
<rafa> * Created OCC-79: Uploading more than 100 concepts at once fails
|
14:15:02
|
<rafa> https://tickets.openmrs.org/browse/OCC-79
|
14:15:02
|
<rafa> * Worked on OCC-60: Develop algorithm for concept priority
|
14:15:03
|
<rafa> https://tickets.openmrs.org/browse/OCC-60
|
14:15:03
|
<rafa> Tomorrow:
|
14:15:04
|
<rafa> * Continue with OCC-60 and OCC-19
|
14:15:04
|
<rafa> No blockers.
|
14:15:22
|
<djazayeri> 19 or 79?
|
14:15:42
|
<rafa> it's 19
|
14:15:49
|
<rafa> it's connected with 60
|
14:16:01
|
<bwolfe> !ticket OCC-19
|
14:16:02
|
<OpenMRSBot> bwolfe: [#OCC-19] Send data to OCC about how many forms, obs, a concept is used on - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-19
|
14:16:03
|
<djazayeri> ok
|
14:16:42
|
<bwolfe> rafa, I'm debating about whether we document the algorithm
|
14:16:59
|
<bwolfe> I suppose its open source, so people can find it. might as well list it out on the wiki page somewhere
|
14:17:16
|
<djazayeri> I would say we should _not_ spend significant time documenting the algorithm, because we'll presumably continue modifying it a lot.
|
14:17:21
|
<djazayeri> right?
|
14:17:34
|
<rafa> I agree with Darius :)
|
14:17:44
|
<bwolfe> no, not significant time for sure, but I want at least some rudimentary
|
14:17:45
|
<rafa> I'll write a self documenting code ;)
|
14:17:55
|
<bwolfe> if we don't start documenting now, we won't after we modify it
|
14:18:16
|
<djazayeri> well, I'd document what elements go into choosing priority, but I would not document their relative weighting.
|
14:19:34
|
<rafa> fair enough
|
14:19:37
|
<bwolfe> ha, so do the 5 mins of work but not 30 seconds more? :-)
|
14:20:31
|
<djazayeri> It's not about the time spent, it's about whether how good we think our algorithm is at this point.
|
14:20:32
|
<djazayeri> :-)
|
14:20:48
|
<bwolfe> we'll assume its bad
|
14:21:25
|
<bwolfe> fine, just list off whats in it and a link to the algorithm in source. those that care can read the self documenting code
|
14:21:53
|
<rafa> okay
|
14:22:42
|
<bwolfe> alright, wyclif?
|
14:23:34
|
<bwolfe> bah, wyclif probably doesn't have his notifications on
|
14:23:34
|
<wyclif> yesterday:
|
14:23:34
|
<wyclif> * OCC-73
|
14:23:34
|
<wyclif> today:
|
14:23:34
|
<wyclif> * finish up OCC-69 which depends on OCC-73
|
14:23:34
|
<wyclif> * fix occ-74 since my commit introduced the bug
|
14:23:47
|
<bwolfe> !ticket OCC-73
|
14:23:48
|
<OpenMRSBot> bwolfe: [#OCC-73] Record original owner of downloaded concepts - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-73
|
14:23:55
|
<wyclif> ran into a couple of blockers with occ-73
|
14:24:01
|
<bwolfe> !ticket OCC-74
|
14:24:02
|
<OpenMRSBot> bwolfe: [#OCC-74] Remove OCC concept source - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-74
|
14:24:30
|
<djazayeri> blockers?
|
14:24:42
|
<wyclif> sorry! occ-74 should be OCC-79
|
14:25:13
|
<bwolfe> ok, makes more sense
|
14:25:20
|
<djazayeri> !ticket occ-79
|
14:25:21
|
<OpenMRSBot> djazayeri: [#OCC-79] Uploading more than 100 concepts at once fails - OpenMRS JIRA - https://tickets.openmrs.org/browse/occ-79
|
14:25:23
|
<rcrichton> hehe, OCC-74 is mine ;)
|
14:25:27
|
<wyclif> well, it seems like the implementation source for a concept source is not saved on the occ server
|
14:25:52
|
<bwolfe> oh yeah, rcrichton, want to join the scrum? :-)
|
14:26:03
|
<bwolfe> (after wyclif is done)
|
14:26:17
|
<bwolfe> wyclif, whats the use-case for recording that?
|
14:26:26
|
<rcrichton> bwolfe, sure
|
14:26:27
|
<wyclif> and hl7 code is not unique o the occ server in the concept source table
|
14:27:12
|
<bwolfe> ok, the second is easy to fix
|
14:27:19
|
<bwolfe> but why the first?
|
14:28:00
|
<bwolfe> wyclif??
|
14:28:08
|
<bwolfe> focus here...
|
14:28:09
|
<bwolfe> :-)
|
14:28:32
|
*** wyclif has quit IRC
|
14:28:35
|
<bwolfe> ha
|
14:28:39
|
<bwolfe> ok, rcrichton?
|
14:29:25
|
<rcrichton> Ok, I've been working on OCC-8, got it into review a few times with bwolfe and its now been closes and accepts
|
14:29:30
|
<rcrichton> !ticket OCC-8
|
14:29:31
|
<OpenMRSBot> rcrichton: [#OCC-8] Create a scheduled task to "send concepts to occ" - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-8
|
14:29:32
|
<djazayeri> bwolfe: actually, how can we make hl7code unique?
|
14:29:38
|
<djazayeri> if multiple people may upload them?
|
14:29:47
|
*** wyclif has joined #openmrs
|
14:29:52
|
<wyclif> or we have to add a discriminator column to concept_source table on the occ server to be able to distinguish between implementation source and concept source defined in an implementation
|
14:29:57
|
<rcrichton> (I'l wait for now)
|
14:30:04
|
<wyclif> this is something we talked about with djazayeri a while ago
|
14:30:50
|
<bwolfe> wyclif, djazayeri, we only take one. the others link to the same concept source thats already there.
|
14:31:19
|
<djazayeri> so if I'm the first person to use "SNOMED", everyone else gets my version of that?
|
14:31:58
|
<bwolfe> yeah. theres only name, desc, and hl7_code. :-)
|
14:32:09
|
<djazayeri> well, name and desc might be wrong...
|
14:32:26
|
<djazayeri> I suppose if you allow the admin to clean those up...
|
14:32:29
|
<bwolfe> so we edit it on the server.
|
14:32:31
|
<bwolfe> right
|
14:32:39
|
<djazayeri> or else we pre-emptively add snomed, loinc, etc.
|
14:32:52
|
<bwolfe> I figure those will be added when we upload andy's dictionary
|
14:32:56
|
<bwolfe> (if/when)
|
14:33:09
|
<djazayeri> Fine.
|
14:33:26
|
<djazayeri> so we'll upload andy's dictionary first, to start off the production occ server...
|
14:33:43
|
*** dkayiwa has joined #openmrs
|
14:33:43
|
<bwolfe> right, thats the idea
|
14:33:57
|
<bwolfe> rcrichton, you want to finish?
|
14:34:34
|
<judy> daniel...you need to delete teh openmrs runtime properties so that a new database is created....
|
14:34:41
|
<judy> and then it works...
|
14:35:15
|
<dkayiwa> judy u need to rename it
|
14:35:25
|
<dkayiwa> to match your war file name
|
14:35:27
|
<rcrichton> bwolfe, ok sure
|
14:35:40
|
<rcrichton> I'm now working on OCC-74
|
14:35:50
|
<rcrichton> !ticket OCC-74
|
14:35:51
|
<OpenMRSBot> rcrichton: [#OCC-74] Remove OCC concept source - OpenMRS JIRA - https://tickets.openmrs.org/browse/OCC-74
|
14:36:22
|
<rcrichton> Basically just having to remove some code tying imported concept to the OCC concept source
|
14:36:41
|
<bwolfe> rcrichton, any blockers?
|
14:38:04
|
<rcrichton> bwolfe, no I think I'm good. Just been finding some old code that not being sued anymore since Lu worked on the module. I'm removing it as part of the ticeket as it relates to concept sources also at some points.
|
14:38:21
|
<rcrichton> Not sure if I should be removing this code though. What do you think?
|
14:38:22
|
<bwolfe> rcrichton, perfect
|
14:38:28
|
<bwolfe> go ahead and remove it
|
14:38:34
|
<rcrichton> As far as I can see it not being used anymore.
|
14:39:19
|
<bwolfe> ok, dkayiwa, your update?
|
14:40:41
|
<bwolfe> hmm, no dkayiwa anymore it seems
|
14:40:48
|
<dkayiwa> am here
|
14:40:49
|
<dkayiwa> :)
|
14:41:06
|
<bwolfe> your update for today's scrum?
|
14:42:00
|
<dkayiwa> Investigated why import from OCC was not working for me.
|
14:42:00
|
<dkayiwa> Found out that on 1.6.3 Import from OCC and Creating new concept search from OCC does not work because of: Error: $j is not defined
|
14:42:00
|
<dkayiwa> Continuing to work Improved workflow for showing suggestions during concept creation - OCC-61
|
14:42:01
|
<dkayiwa> I spend some part of my morning at the police making a statement about someone trying to steal my land. So am compesating for that time from now up to tonight
|
14:42:21
|
<dkayiwa> spend = spent
|
14:42:40
|
<dkayiwa> no blockers
|
14:43:09
|
<bwolfe> did you get your land back?
|
14:43:26
|
<dkayiwa> not yet. police is starting its investigations
|
14:43:42
|
<bwolfe> hmm, good luck
|
14:43:48
|
<dkayiwa> thanks
|
14:43:49
|
<judy> i renamed it.
|
14:43:57
|
<bwolfe> ok, my update:
|
14:43:58
|
<judy> then it kept rejecting my password..
|
14:44:02
|
<bwolfe> today:
|
14:44:03
|
<bwolfe> finished smartcontainer review
|
14:44:03
|
<bwolfe> finished 2 gsoc reviews
|
14:44:03
|
<bwolfe> caught up on emails
|
14:44:03
|
<bwolfe> design review call
|
14:44:03
|
<bwolfe> another design review call
|
14:44:05
|
<judy> when i deleted it...
|
14:44:05
|
<bwolfe> proj management call
|
14:44:07
|
<bwolfe> tomorrow:
|
14:44:09
|
<bwolfe> dev call
|
14:44:10
|
<judy> its started working
|
14:44:11
|
<bwolfe> occ
|
14:44:13
|
<bwolfe> leadership conf call
|
14:44:15
|
<bwolfe> no blockers
|
14:44:25
|
<judy> all that for daniel
|
14:44:35
|
<dkayiwa> judy: it was my mistake i forgot to tell you a step about the password
|
14:44:45
|
<bwolfe> was that everyone for the scrum?
|
14:44:51
|
<judy> what would i have done?
|
14:46:44
|
<djazayeri> bwolfe: I think so
|
14:47:25
|
<wyclif> the AOP doesn't seem to be working for me in the occ module
|
14:47:28
|
<dkayiwa> judy: you needed to set the value for reset_connection_password to false before you run the standalone
|
14:47:38
|
<wyclif> sorry occservice
|
14:48:03
|
<judy> i already did taht
|
14:48:11
|
<dkayiwa> oh good
|
14:48:24
|
<judy> still it was not allowing me to login
|
14:48:56
|
<dkayiwa> judy: was your mysql user name and password still: openmrs and test respectively?
|
14:49:03
|
<dkayiwa> in the runtime properties file
|
14:49:18
|
*** rafa has quit IRC
|
14:49:22
|
<judy> no
|
14:49:25
|
<judy> they changed
|
14:49:49
|
<dkayiwa> judy: that means you did run it before changing reset_connection_password to false
|
14:49:51
|
<wyclif> bwolfe, i saw your comments for occ-70, but many-to-many associations of table to itself don't work as many-tomany associations of a table to other tabls
|
14:49:59
|
*** upul` has quit IRC
|
14:50:17
|
<judy> nope..i changed them beofre doiing that..
|
14:50:27
|
<judy> run almost 4 diff zip extractions
|
14:50:36
|
<judy> this was teh error i received
|
14:50:38
|
<judy> <judy> daniel [09:44] <judy> i made all the changes but when i run the standalone [09:44] <judy> it stops here ...The OpenMRS server is currently in maintenance mode. [09:44] <judy> Log in as a User that has the System Developer role to continue. [09:45] <judy> use of Admin123 does not work
|
14:50:55
|
<dkayiwa> judy: then there was no way it should have changed to another password and user name combination for mysql
|
14:51:14
|
<wyclif> i.e they are not bidirectional, if i call getSimilarConceptMaps, i only get back maps from one column and not both columns
|
14:51:30
|
<judy> i can try do it again...
|
14:52:02
|
<judy> step by step..
|
14:52:17
|
<judy> 1. i have extracted a new copt fo standalone with demo data
|
14:52:20
|
<dkayiwa> judy: yes. as soon as you unzip the standalone distribution, first cross check that the runtime properties file still has user name and password for mysql as openmrs and test respectively
|
14:53:17
|
<dkayiwa> judy: and then set reset_connection_password to false
|
14:54:28
|
<judy> http://pastie.org/2350646
|
14:54:37
|
<judy> is my runtime properties file for now...
|
14:54:42
|
<djazayeri> downeym: apparently our balsamiq license has expired. (EULA violation: plugin updated to a more recent version even though your support and maintenance license has expired. Please http://www.balsamiq.com/products/mockups/jira#maintenance to comply with the EULA and remove this message.)
|
14:54:47
|
<OpenMRSBot> <http://ln-s.net/93Xk> (at www.balsamiq.com)
|
14:55:03
|
<downeym> djazayeri: the jira plugin?
|
14:55:07
|
<dkayiwa> judy: now set the value for reset_connection_password to false and save that file
|
14:55:10
|
<judy> so i will reset the last line to read false.....is taht okey?
|
14:55:15
|
<downeym> djazayeri: if so yeah, i've been waiting for a replacement from them, but nothing so far.
|
14:55:18
|
<dkayiwa> judy: yes
|
14:56:13
|
<judy> daniel..done: http://pastie.org/2350662
|
14:56:36
|
<dkayiwa> judy: perfect
|
14:57:00
|
<dkayiwa> judy: now paste your war file under ..tomcat/webapps
|
14:57:02
|
<judy> next i copy my war filr 1.6.0 to the webapps folder
|
14:57:40
|
<judy> done
|
14:57:53
|
<dkayiwa> judy: yes. you can even rename it to something like openmrs-1.6.0.war
|
14:58:09
|
<dkayiwa> judy: assuming you are using version 1.6.0
|
14:58:21
|
<judy> yes
|
14:58:41
|
<dkayiwa> judy: now also rename the runtime properties file appropriately
|
14:58:59
|
<dkayiwa> judy: eg openmrs-1.6.0-runtime.properties
|
14:59:31
|
<judy> done
|
14:59:54
|
<dkayiwa> judy: the runtime props file at the root of the unzipped folder?
|
15:00:20
|
<judy> where can i post an image for you to see?
|
15:00:25
|
<judy> or i share my screen?
|
15:00:34
|
<dkayiwa> judy: you do not have to
|
15:00:39
|
<judy> but yes..it is there
|
15:00:45
|
<dkayiwa> ok good
|
15:00:49
|
<judy> in the same place with database
|
15:00:55
|
<dkayiwa> ok
|
15:01:11
|
<dkayiwa> judy: do you have any files in the database folder?
|
15:01:18
|
<judy> yes
|
15:01:25
|
<dkayiwa> judy: how many?
|
15:01:33
|
<judy> data
|
15:01:42
|
<judy> which has several other files
|
15:01:42
|
<dkayiwa> judy: only that folder?
|
15:01:46
|
<judy> yes
|
15:01:57
|
<dkayiwa> judy: ok delete the whole folder
|
15:02:06
|
<dkayiwa> the whole data folder
|
15:02:11
|
<judy> delete databse..or data folder?
|
15:02:19
|
<dkayiwa> judy: such that the database folder stays empty
|
15:02:19
|
<dkayiwa> yes
|
15:02:27
|
<dkayiwa> judy: delete the data folder
|
15:02:50
|
<dkayiwa> judy: delete the folder named: "data"
|
15:02:52
|
*** rcrichton has quit IRC
|
15:02:56
|
<judy> ok so previoduly i deleted teh database folder..
|
15:03:10
|
<judy> i have deleted teh data folder...all empty now
|
15:03:14
|
<dkayiwa> ok
|
15:03:31
|
<dkayiwa> judy: do you have any folders under tomcat/webapps?
|
15:03:39
|
<judy> yes
|
15:03:47
|
<dkayiwa> how many?
|
15:04:00
|
<judy> no...just the openmrs-1.6.0.war file
|
15:04:07
|
<dkayiwa> ok good
|
15:04:39
|
<dkayiwa> judy: now you can make a copy of your entire unzipped folder as it is now
|
15:05:01
|
<dkayiwa> judy: just incase you need to do it again such that you do not have to redo these
|
15:05:31
|
<judy> btw can i rename the main folder...or no?
|
15:05:41
|
<judy> i know teh wiki says no renaming folders..
|
15:05:52
|
<dkayiwa> judy: yes you can rename the main folder
|
15:06:27
|
<dkayiwa> judy: renaming it helps me identify which folder has whch openmrs version
|
15:06:49
|
<judy> thats teh idea
|
15:07:12
|
<judy> now main folder is openmrs-standalone-1.6.0
|
15:07:19
|
<dkayiwa> judy: for instance i have folders like "openmrs-standalone-1.6.3", "openmrs-standalone-1.8.0" etc
|
15:07:24
|
<judy> can we run it now?
|
15:07:34
|
<dkayiwa> judy: perfect. yes run now
|
15:08:28
|
<dkayiwa> judy: it should take you to the openmrs database setup wizard (in the browser)
|
15:08:31
|
<judy> am at teh login place
|
15:08:36
|
<judy> no...
|
15:08:46
|
<judy> The OpenMRS server is currently in maintenance mode.
|
15:08:56
|
<judy> Log in as a User that has the System Developer role to continue.
|
15:09:40
|
<dkayiwa> judy: can you pastebin the tomcat log
|
15:09:44
|
<dkayiwa> and i have a look at it
|
15:10:30
|
<dkayiwa> judy: you can find it under tomcat/logs
|
15:10:44
|
<dkayiwa> judy: its a file with today's date
|
15:11:45
|
*** yekkanti has joined #openmrs
|
15:12:47
|
<judy> http://pastie.org/2350727
|
15:12:50
|
<judy> from catalina
|
15:13:27
|
<dkayiwa> judy: whats the name of the file where you copied this from?
|
15:13:55
|
<judy> sorry
|
15:14:03
|
<judy> i got if from my tomcat 7
|
15:14:09
|
<dkayiwa> no
|
15:14:11
|
<judy> let me get it from teh standalone
|
15:14:16
|
<dkayiwa> ok
|
15:14:56
|
<judy> http://pastie.org/2350734
|
15:14:56
|
*** diptanuc has quit IRC
|
15:15:20
|
<dkayiwa> ok
|
15:15:22
|
*** rafa has joined #openmrs
|
15:15:22
|
*** ChanServ sets mode: +v rafa
|
15:16:32
|
<judy> it keeps checking teh application data in c...
|
15:16:40
|
<judy> rather than the local folder.....
|
15:16:55
|
<judy> or was i supposed to copy it there?
|
15:17:00
|
<dkayiwa> judy: do you have only 42 lines in your log folder?
|
15:17:12
|
<judy> yes
|
15:18:07
|
<dkayiwa> judy: so did it take you to the login screen in the browser?
|
15:18:46
|
<judy> yes..
|
15:18:50
|
<judy> thats where i am
|
15:18:59
|
<judy> do i use admin/Admin123
|
15:19:07
|
<dkayiwa> judy: can you paste here the url in the browser?
|
15:19:25
|
<judy> http://localhost:8081/openmrs-1.6.0/initialsetup
|
15:22:27
|
<judy> daniel?
|
15:22:48
|
<dkayiwa> judy: trying to go through the same steps here to see if i get the same
|
15:25:28
|
<judy> ok..
|
15:25:34
|
<judy> i havent tried to login though
|
15:25:44
|
<dkayiwa> yes keep there for now
|
15:26:04
|
*** umashanthi has joined #openmrs
|
15:26:04
|
*** ChanServ sets mode: +v umashanthi
|
15:27:27
|
<judy> here is what i get after trying to login...the tomcat logs...
|
15:27:30
|
<judy> http://pastie.org/2350781
|
15:29:12
|
<dkayiwa> ok looking into it now
|
15:30:35
|
*** szrrizvi has joined #openmrs
|
15:33:14
|
<yekkanti> bwolfe: Hey ben. Any luck with getting release tests working in CI environment
|
15:34:55
|
<judy> is not enjoying any openmrs stuff right now..
|
15:35:04
|
<judy> why cant it always be an easy one...
|
15:35:09
|
<judy> smooth really...
|
15:35:26
|
<judy> simple things that just work?
|
15:35:28
|
<szrrizvi> Hi, I have a question about how OpenMRS is being used. For a given region, is there 1 database per hospital or is there only 1 database that stores the data for all the hospitals?
|
15:41:17
|
<dkayiwa> judy: i think i just remembered that older versions do not automatically create for you the database
|
15:41:26
|
<judy> aha
|
15:41:48
|
<judy> what do you suggest
|
15:42:06
|
<dkayiwa> judy: it required first running a mysql script to create the database for you. let me look for the script and send you the url
|
15:42:12
|
<judy> intially when i deleted teh openmrs runtime properties file...it did create a database...
|
15:42:30
|
<dkayiwa> judy: which version of openmrs was that?
|
15:42:38
|
<dkayiwa> judy: was it 1.8?
|
15:42:41
|
<judy> the same..1.6
|
15:42:55
|
<judy> and i could connect and see the database..
|
15:43:00
|
<dkayiwa> judy: and were you able to login?
|
15:43:08
|
<judy> yes
|
15:43:19
|
<dkayiwa> judy: using the browser?
|
15:43:24
|
<judy> yes
|
15:43:44
|
<judy> however when i logged off and restarted teh server..i got an error...unable to get updates
|
15:43:52
|
<judy> you could try it...
|
15:44:00
|
<judy> just delete the runtime properties...
|
15:44:09
|
<judy> also my database folder was deleted...
|
15:44:10
|
<dkayiwa> judy: ok let me do so
|
15:46:22
|
<dkayiwa> judy: looks like you are correct about deleting the runtime properties file
|
15:46:42
|
<judy> however if you stop the server...
|
15:47:01
|
<dkayiwa> judy: let me try it here
|
15:47:10
|
<judy> and try to get the second run from taht folder..
|
15:47:13
|
<judy> you get errors
|
15:48:27
|
<judy> let me try with version 1.7
|
15:49:13
|
<dkayiwa> judy: did the setup run to completion?
|
15:49:49
|
<dkayiwa> judy: i think i have now got the difference. thanks for your pointing it out :)
|
15:50:23
|
<dkayiwa> judy: with older versions (like 1.6) the setup will run only if you do not have the runtime properties file (eg when you deleted it)
|
15:50:37
|
<judy> yes
|
15:50:58
|
<dkayiwa> judy: but newer versions, even if you have the runtime properties file, as long you do not have the database, it will take you through setup
|
15:51:18
|
<dkayiwa> judy: so this is the way forward
|
15:51:21
|
<judy> well what a lesson
|
15:51:26
|
<dkayiwa> :)
|
15:52:03
|
<dkayiwa> judy: so start afresh by deleting the folders we did (as we were starting). you could just copy the other folder you backed up
|
15:53:21
|
<judy> done
|
15:54:20
|
<dkayiwa> judy: by the way, did you look at: http://svn.openmrs.org/openmrs-contrib/standalone/trunk/readme.txt
|
15:54:25
|
<OpenMRSBot> <http://ln-s.net/93YZ> (at svn.openmrs.org)
|
15:55:12
|
<dkayiwa> judy: now delete the runtime properties file
|
15:55:49
|
<judy> i read it
|
15:55:53
|
<judy> partially
|
15:56:11
|
<dkayiwa> ok
|
15:56:34
|
<dkayiwa> judy: after having deleted the runtime properties file, now start the standalone application
|
15:56:39
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Announcements List: Announcing OpenMRS Answers <https://listserv.iupui.edu/cgi-bin/wa-iupui.exe?A2=ind1108&L=openmrs-announce-l&P=577> || Shazin Sadakath: Eiffel Programming <http://shazsterblog.blogspot.com/2011/08/eiffel-programming.html>
|
15:56:43
|
<dkayiwa> judy: assuming you closed the old one
|
15:57:19
|
<dkayiwa> judy: this should now take you to the openmrs setup wizard in the browser instead of login screen
|
15:57:43
|
<judy> that whole process i have succeeded to do
|
15:58:17
|
<dkayiwa> judy: but do not run the setup wizard before changing the database connection string
|
15:59:56
|
*** rafa has quit IRC
|
16:00:24
|
<dkayiwa> judy: i have now succeeded
|
16:01:17
|
<dkayiwa> judy: i closed and was able to run it again
|
16:02:42
|
<judy> u mean the database connection string to false?
|
16:03:09
|
<dkayiwa> judy: no. you need to change it in the browser at the setup page
|
16:03:47
|
<judy> ?
|
16:03:57
|
<judy> dont quite understand
|
16:04:11
|
<dkayiwa> judy: are you at the setup page in the browser?
|
16:04:33
|
<dkayiwa> judy: if you are there, i can guide you on how to go to the next step
|
16:05:05
|
<judy> let me restart teh process
|
16:05:13
|
<judy> just a sec
|
16:05:16
|
<dkayiwa> ok
|
16:08:27
|
<wyclif> bwolfe, hi
|
16:09:20
|
*** szrrizvi has quit IRC
|
16:12:34
|
<judy> daniel...getting big problems when i used my backup..
|
16:12:45
|
<judy> teh unrun database erros
|
16:12:53
|
<judy> let me sort taht out fitsrt
|
16:13:01
|
<dkayiwa> ok
|
16:13:16
|
<dkayiwa> or you can create it afresh from the standalone unzip
|
16:18:13
|
<judy> yes..still getting that same error
|
16:18:30
|
<dkayiwa> judy: which error
|
16:18:47
|
<judy> http://pastie.org/2351014
|
16:19:17
|
<dkayiwa> judy: did u get the setup page
|
16:19:59
|
<dkayiwa> or just got the login page
|
16:27:10
|
<jriley> I switched from 1.7.1 to 1.7.2 yesterday. The web app works fine, but my script, which calls the API, errors on Context.startup() . It says its unable to start the logic 0.5 module.
|
16:28:15
|
*** jprice has joined #openmrs
|
16:28:28
|
<downeym> Hi jprice and welcome to the #openmrs IRC channel.
|
16:28:39
|
<jriley> I logged into the web app and went through the Admin > Logic Module pages for Initial Setup and Test Logic Expressions, so it really does work over there
|
16:28:48
|
<jriley> I made sure my script is loading the same properties file that the web app uses
|
16:28:53
|
*** jwishnie has quit IRC
|
16:29:33
|
<djazayeri> jriley: interesting, I haven't seen that.
|
16:30:07
|
<jriley> My scirpt log4j is set to INFO and it's not saying anything helpful
|
16:31:23
|
<jriley> The exception is
|
16:31:25
|
<jriley> org.openmrs.module.OpenmrsCoreModuleException: The following modules are marked as 'core' by OpenMRS but were unable to start: logic v0.5,
|
16:31:25
|
<jriley> at org.openmrs.module.ModuleUtil.checkOpenmrsCoreModulesStarted(ModuleUtil.java:864)
|
16:31:35
|
<jriley> ... with a much longer stack trace...
|
16:31:46
|
<jriley> Version 5 is required for 0.4, right? I can't go back to .4?
|
16:31:54
|
<jriley> Er, logic 0.5 for 1.7.2
|
16:32:08
|
<djazayeri> yes
|
16:32:16
|
<djazayeri> I mean, correct. You can't go back to logic 0.4
|
16:32:46
|
<jriley> Is there a way to make it tell me more about startup?
|
16:32:56
|
<djazayeri> Can you pastebin the stacktrace?
|
16:33:06
|
<djazayeri> or rather, is there a message earlier in the log explaining why it doesn't start?
|
16:33:57
|
<jriley> Here's the stacktrace: http://pastebin.com/wftcXbvG
|
16:34:05
|
<jriley> No, nothing interesting, but I'll post the log
|
16:47:12
|
<jriley> There's nothing in the log when it's set to WARN.
|
16:47:15
|
<jriley> Here it is with INFO: http://pastebin.com/P60UjGw3
|
16:47:33
|
<jriley> no results if I grep for logic or module
|
16:47:51
|
<djazayeri> hmm
|
16:49:44
|
<jriley> I'm calling it from a JUnit test. Would that change anything in startup?
|
16:50:21
|
*** jwishnie has joined #openmrs
|
16:51:00
|
<jriley> It fails when the script is run as a script too. Doh.
|
16:53:16
|
<jprice> hi, thanks to the David and Meena for the suggestions of making sure lines were terminated with CR, and using "Old Identification Number" as assigning authority in my PID segment, but neither of those worked. does anyone have any other suggestions on how I can specify the PID in my POST ? (the probem is posted on the implenters.org list as 'missing patient identifier in PID segment'
|
16:54:07
|
<djazayeri> What is the exact name of the identifier type for the identifier you're looking up?
|
16:55:46
|
<jprice> not sure what you mean by 'identifirer type' . in the top right-hand corner of the screen for the patient it says "Old Identification Number : 123"
|
16:56:27
|
<djazayeri> go to admin -> manage identifier types
|
16:56:41
|
<djazayeri> make sure you have used the exact correct text for its name, including spaces
|
16:57:51
|
<jriley> Busy day today...
|
16:57:59
|
<jprice> There are 2 - "Old Identification Number" and "openMRS Identification Number"
|
17:01:06
|
<djazayeri> and you used the exact spelling and capitalization of the first?
|
17:01:10
|
*** lh has joined #openmrs
|
17:06:04
|
<jprice> yes. PID|||123^^^Old Identification Number||FARMACIA^UNO^PACIENTE||20011114|M|||20371^02^2400^724||||||724^Y||||||02|||11|20371|724^ESPA?A^N||N
|
17:06:21
|
<jprice> have you ever had success with what I am trying to do ?
|
17:07:26
|
<djazayeri> yes
|
17:07:52
|
<jprice> thats encouraging. gives me some hope.
|
17:10:23
|
*** Suranga has joined #openmrs
|
17:10:29
|
<djazayeri> Try "123^^Old Identification Number"
|
17:10:50
|
<djazayeri> with only two ^
|
17:12:17
|
*** umashanthi has quit IRC
|
17:16:55
|
<jprice> that did not work. how have you specified the PID before when you did it successfully (with this version ?) ?
|
17:18:20
|
<djazayeri> Hold on, let me try locally.
|
17:18:29
|
<djazayeri> I haven't actually posted an hl7 message in years...
|
17:19:01
|
<jprice> u should do it more often...it is a lot of fun 8-) !
|
17:19:28
|
<djazayeri> can you pastebin me the message you're working from?
|
17:21:54
|
<judy> daniel ...
|
17:22:16
|
*** judy has quit IRC
|
17:22:49
|
<jprice> http://pastebin.com/EYSHR3Zk
|
17:28:26
|
*** upul` has joined #openmrs
|
17:28:26
|
*** ChanServ sets mode: +v upul`
|
17:29:33
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (localize-setup-wizard): Merged trunk into branch localize-setup-wizard rev:21929 - rev:22353 <http://feedproxy.google.com/~r/OMRStrunk/~3/BAmGfyqIKps/OpenMRS>
|
17:31:24
|
<djazayeri> dkayiwa: do you know if it's possible to connect the eclipse remote debugger to the standalone?
|
17:31:31
|
<djazayeri> or how I could enable that?
|
17:32:21
|
<djazayeri> (normally I just add this to the startup.sh file in a tomcat install: export JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
|
17:33:03
|
<dkayiwa> djazayeri: never tried that. but we can give it a shot
|
17:33:18
|
<djazayeri> how can I configure those parameters?
|
17:34:24
|
<dkayiwa> djazayeri: have you tried to run it from source?
|
17:34:32
|
<djazayeri> standalone?
|
17:34:37
|
<dkayiwa> yes
|
17:34:38
|
*** judy has joined #openmrs
|
17:34:42
|
<dkayiwa> eclipse in debug mode
|
17:34:48
|
<judy> daniel?
|
17:34:48
|
<djazayeri> haven't tried that
|
17:34:56
|
<dkayiwa> ok
|
17:35:01
|
<dkayiwa> judy
|
17:35:22
|
<djazayeri> but I don't want to do that, I just want to pass tomcat some extra opts at startup
|
17:35:35
|
<dkayiwa> oh i see
|
17:36:28
|
<dkayiwa> djazayeri: the same way we pass?? -Xmx512m -Xms512m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=128m
|
17:36:29
|
<dkayiwa> ?
|
17:36:40
|
<djazayeri> yes
|
17:36:58
|
<djazayeri> Exactly the same way as those. Can I do that without recompiling the standalone?
|
17:37:07
|
<djazayeri> I mean can I change those without recompiling.
|
17:37:47
|
<dkayiwa> djazayeri: for now they are hardcoded. but can quickly add a change where the app reads them from the properties file
|
17:38:30
|
<djazayeri> Let's make a ticket.
|
17:38:51
|
<dkayiwa> djazayeri: do you want me work on it now?
|
17:38:57
|
<djazayeri> no
|
17:38:58
|
*** jriley has quit IRC
|
17:39:03
|
<dkayiwa> ok
|
17:39:51
|
<dkayiwa> judy: how is it going?
|
17:40:14
|
*** jriley has joined #openmrs
|
17:40:43
|
<judy> just a sec daniel
|
17:40:52
|
<dkayiwa> no problem
|
17:43:03
|
*** yekkanti has quit IRC
|
17:43:09
|
<djazayeri> STAND-20
|
17:43:17
|
<dkayiwa> ok
|
17:44:00
|
<wyclif> djazayeri, dkayiwa , bwolfe, gone for lunch
|
17:44:16
|
<dkayiwa> white castle? :)
|
17:44:59
|
*** upul` has quit IRC
|
17:45:24
|
<downeym> ha @ white castle
|
17:45:37
|
<dkayiwa> :D
|
17:46:40
|
*** asgoyal has joined #openmrs
|
17:47:33
|
<judy> which is so strange
|
17:47:37
|
<judy> daniel...it just wont work anymore...
|
17:48:07
|
<dkayiwa> judy: you could be having a runtime properties file in the users folder
|
17:48:11
|
<judy> i keep getting the error
|
17:48:40
|
<judy> i deleted the tomcat file in the c:application data
|
17:48:56
|
<dkayiwa> judy, can you check the .OpenMRS folder for any runtime properties file?
|
17:49:13
|
<dkayiwa> normally in the user's home folder
|
17:50:10
|
<judy> found it..and deleted..
|
17:50:13
|
<judy> let me re run
|
17:50:22
|
<dkayiwa> ok
|
17:53:37
|
<judy> working
|
17:53:48
|
<judy> present at the openmrs installation wizard
|
17:54:40
|
<dkayiwa> judy: now copy the database connection string from the runtime properties file and paste it on the setup page where you see an existing connection string.
|
17:56:18
|
<judy> i deleted teh runtime properties file..
|
17:56:23
|
<judy> where do i get this now..
|
17:56:38
|
<dkayiwa> judy: let me paste here
|
17:57:29
|
<dkayiwa> jdbc:mysql:mxj://127.0.0.1:3316/openmrs?autoReconnect=true&sessionVariables=storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8&server.initialize-user=true&createDatabaseIfNotExist=true&server.basedir=database&server.datadir=database/data&server.collation-server=utf8_general_ci&server.character-set-server=utf8
|
17:57:55
|
<dkayiwa> judy: or you can just copy from any other standalone folder that you have
|
17:58:07
|
<judy> then go to new database
|
17:58:13
|
<judy> does anything else change?
|
17:58:33
|
<dkayiwa> judy: let me open my page
|
17:59:48
|
<OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: Introducing #OpenMRS Answers, crowd-sourced questions & support for our platform & community http://bit.ly/ojpbyw #ICT4D #HealthIT <http://twitter.com/OpenMRS/statuses/101339909947793408>
|
18:00:29
|
<judy> waiting
|
18:00:38
|
<dkayiwa> ok
|
18:01:51
|
<dkayiwa> judy: for Do you currently have an OpenMRS database installed that you would like to connect to? Select Yes
|
18:02:02
|
<dkayiwa> judy: and then click continue
|
18:02:18
|
<judy> step 2
|
18:02:44
|
<dkayiwa> judy: chose Yes Yes for the first two
|
18:03:07
|
<judy> no for the database user?
|
18:03:21
|
<dkayiwa> judy: for demo data (you are free to chose no if you do not want it
|
18:03:49
|
<dkayiwa> judy: Do you currently have a database user other than root that has read/write access to the openmrs database? Select Yes
|
18:04:03
|
<dkayiwa> judy: Username: openmrs
|
18:04:05
|
<judy> ok
|
18:04:09
|
<dkayiwa> judy: Password: test
|
18:04:25
|
<judy> step 3
|
18:04:49
|
<dkayiwa> judy: just leave defaults and click continue
|
18:05:14
|
<dkayiwa> judy: step 4 enter whatever password you want
|
18:05:17
|
<judy> step 4: my passwords?
|
18:05:21
|
<dkayiwa> yes
|
18:05:35
|
<dkayiwa> judy: you will use it to login
|
18:05:40
|
<dkayiwa> so do not forget it
|
18:05:56
|
<dkayiwa> eg: Admin123
|
18:06:28
|
<judy> creatin gteh database..
|
18:06:31
|
<judy> wow ..
|
18:06:32
|
<dkayiwa> judy: step 5, you can just click continue
|
18:06:44
|
<judy> will tell you if it works when i restart it...
|
18:06:47
|
<dkayiwa> ok u were faster than me :)
|
18:06:52
|
<dkayiwa> ok
|
18:07:40
|
<judy> so if this works...i can delete the folders you listed last tme to share it with anyone else?
|
18:07:54
|
<dkayiwa> yes
|
18:10:29
|
<dkayiwa> judy: before zipping, u will need to copy back the run time properties from from the user's home folder
|
18:12:02
|
<dkayiwa> judy: or you can just use the default one
|
18:12:21
|
<dkayiwa> just give it a name that matches with the war file
|
18:18:33
|
*** Suranga has quit IRC
|
18:21:01
|
<dkayiwa> hi bwolfe
|
18:21:05
|
<bwolfe> hi dkayiwa
|
18:21:24
|
<dkayiwa> bwolfe: i confirmed that passphrase is not sent to client during import from occ
|
18:21:39
|
<dkayiwa> because the conceptsource object is loaded from the database
|
18:21:44
|
<bwolfe> dkayiwa, awesome, ok. is it set as an explicit ignore?
|
18:21:54
|
<dkayiwa> bwolfe: no
|
18:21:55
|
<bwolfe> ah, and you didn't add it as a column. makes sense
|
18:22:04
|
<bwolfe> so passphrase is sent as an empty string
|
18:22:10
|
<bwolfe> but it is serialized
|
18:22:19
|
<dkayiwa> bwolfe yes. not even empty string, its null
|
18:22:24
|
<bwolfe> add it as an ignore in the server anyway. :-)
|
18:22:32
|
<bwolfe> just in case. I don't want anyone getting any ideas. :-)
|
18:22:39
|
<dkayiwa> lollll :)
|
18:23:34
|
<judy> daniel it works..
|
18:23:44
|
<dkayiwa> judy: good
|
18:23:57
|
<judy> i know bwolfe would say go to wiki and update...
|
18:24:05
|
<dkayiwa> judy: we shall just need to document as much as we can
|
18:24:13
|
<dkayiwa> hahaha i said as i was typing :)
|
18:24:32
|
<dkayiwa> i = u :)
|
18:24:32
|
<judy> let me try and get the concept dictionary to work..
|
18:24:37
|
<dkayiwa> ok
|
18:24:41
|
<judy> just a quick followthrough now..
|
18:24:51
|
<judy> if i want to send it to someone , what do i do?
|
18:25:05
|
<dkayiwa> judy: to send the standalone that you have?
|
18:25:17
|
<bwolfe> judy, go to the wiki and update
|
18:25:23
|
<judy> yes
|
18:25:24
|
<dkayiwa> :D
|
18:25:35
|
<bwolfe> :-)
|
18:25:42
|
<judy> why judy and not ...judy and daniel
|
18:25:49
|
<dkayiwa> judy: without even first adding the MVP concepts?
|
18:25:57
|
<judy> after..
|
18:26:09
|
<dkayiwa> judy: am most likely to forget by making many assumptions :)
|
18:26:12
|
<bwolfe> fine. judy and dkayiwa, go to the wiki and update
|
18:26:29
|
<judy> then let me add the concepts then we hit off the next one...
|
18:26:33
|
<dkayiwa> judy: you are more of the end user and hence likely to make better documentation than me :)
|
18:26:35
|
<bwolfe> I prefer to assign to one person. if I assign to a group everyone things "someone else will do it"
|
18:26:40
|
<bwolfe> (and so it never gets done)
|
18:26:40
|
<judy> thanks daniel...have a meeting to go to
|
18:26:42
|
<dkayiwa> lolllllllllll
|
18:26:44
|
<dkayiwa> :)
|
18:26:50
|
<judy> daniel and bwolfe ..just kidding..
|
18:26:53
|
<dkayiwa> bwolfe: very very true
|
18:26:57
|
<judy> i will get it done..
|
18:27:02
|
<dkayiwa> judy: :D
|
18:27:17
|
<judy> tomorrow..or later tonight..
|
18:27:22
|
<judy> bye guys...
|
18:27:27
|
<dkayiwa> bye judy
|
18:27:33
|
*** judy has quit IRC
|
18:29:51
|
<dkayiwa> bwolfe: in which package is the @Ignore attribute i should add?
|
18:33:17
|
*** bwolfe has quit IRC
|
18:33:22
|
<dkayiwa> hahahahaha
|
18:37:56
|
*** gbastien has quit IRC
|
18:38:19
|
<asgoyal> djazayeri: are you busy? :)
|
18:42:57
|
*** bwolfe has joined #openmrs
|
18:42:57
|
*** ChanServ sets mode: +o bwolfe
|
18:44:42
|
<jriley> downeym , will you rename the 'Student' answers badge to 'Grasshopper'? As in, 'Ah, Grasshopper, you have taken your first step on an infinite path.'
|
18:45:39
|
*** bryq1 has joined #openmrs
|
18:46:07
|
*** bryq has quit IRC
|
18:51:34
|
<downeym> jriley: haha, love it
|
18:51:57
|
<jriley> 'Student' reminds me of drinking milk with a straw from paper cartons
|
18:52:29
|
* downeym +1's the idea and passes it on to elliott
|
18:53:48
|
<bwolfe> mmm, chocolate milk in tiny little cartons
|
18:55:17
|
<wyclif> bwolfe, i saw your comments about handling the similar concepts
|
18:55:29
|
<jriley> and straw wrappers to shoot at each other
|
18:56:00
|
<downeym> bwolfe: don't be starting any food fights
|
18:56:53
|
<wyclif> bwolfe, calling adding getSimilarConcepts to concept would not return rows where the concept is the one being referenced
|
18:57:12
|
<bwolfe> ?
|
18:57:31
|
<bwolfe> isn't that what I said in my comments?
|
19:02:45
|
*** wyclif has quit IRC
|
19:03:00
|
*** wyclif has joined #openmrs
|
19:03:10
|
*** wyclif has joined #openmrs
|
19:14:34
|
*** lh has quit IRC
|
19:26:06
|
*** james_regen has quit IRC
|
19:28:35
|
*** asgoyal has quit IRC
|
19:30:51
|
*** gbastien has joined #openmrs
|
19:38:00
|
*** cta has quit IRC
|
19:43:50
|
*** jportela has quit IRC
|
19:46:11
|
*** jportela has joined #openmrs
|
19:46:11
|
*** ChanServ sets mode: +v jportela
|
19:46:14
|
*** lh has joined #openmrs
|
19:52:57
|
<dkayiwa> hi bwolfe
|
19:56:01
|
<bwolfe> yes?
|
19:57:47
|
<wyclif> bwolfe, am trying to save an object from a module service and the AOP for required data doesn't seem to be working
|
19:57:51
|
<dkayiwa> bwolfe: why is Concept.getDescription(Locale locale, boolean exact) is occ not supported?
|
19:58:20
|
<wyclif> bwolfe, does this sound familiar
|
19:59:23
|
<bwolfe> no idea
|
19:59:44
|
<dkayiwa> bwolfe: do wyclif or dkayiwa? :)
|
19:59:51
|
<dkayiwa> to
|
20:00:10
|
<bwolfe> dkayiwa
|
20:00:37
|
<wyclif> i will wait
|
20:01:33
|
<dkayiwa> bwolfe: djazayeri suggested we display concept description when showing search results from occ. Looks like occ does not support returning concept descriptions
|
20:01:57
|
<djazayeri> dkayiwa: we have to return them, then. :-)
|
20:02:03
|
<dkayiwa> :)
|
20:06:06
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Add unique constraint to concept_source.hl7_code column - TRUNK-2516... <http://feedproxy.google.com/~r/OMRStrunk/~3/ioW-C7cCvBw/OpenMRS> || New Changeset: OpenMRS (obs-codes-expanded): Updating unit tests for ObsValidator <http://feedproxy.google.com/~r/OMRStrunk/~3/gbkastAQtfY/OpenMRS>
|
20:13:28
|
*** jportela has quit IRC
|
20:21:46
|
*** jprice has quit IRC
|
20:33:04
|
*** dkayiwa has quit IRC
|
20:33:45
|
*** jprice has joined #openmrs
|
20:35:41
|
<jprice> sorry if this is a duplicate question-my browser froze and i had to just restart it and lost the history in the chat window.
|
20:36:01
|
<jprice> djazayeri, did u get a chance to try that msg ?
|
20:43:42
|
*** jportela has joined #openmrs
|
20:43:42
|
*** ChanServ sets mode: +v jportela
|
20:44:17
|
*** jportela has left #openmrs
|
20:48:47
|
*** gagaman has joined #openmrs
|
20:51:12
|
<gagaman> Hi! Does anyone knows how to customize the data to display whenever I create a patient? For instance, I was asked to remove the tribe field, longitude, latitude fields, etc.
|
20:57:07
|
<gagaman> I can't find it anywhere in the documentation, maybe because it's that trivial...
|
21:11:09
|
<downeym> Hi gagaman - some of our developers are in a meeting right now, so there may be a delay in responding. :)
|
21:12:07
|
*** ChanServ changes topic to "OpenMRS: open source medical record systems for the developing world - http://openmrs.org/ - IRC info & logs: http://go.openmrs.org/irc - Can't find the answer here? Try http://answers.openmrs.org/"
|
21:14:18
|
<jprice> does anyone know what the valid format is for a patient ID Number with Identifier Type of "OpenMRS Identification Number"
|
21:15:51
|
<downeym> jprice: I believe it is any valid number plus the check digit, as described in https://wiki.openmrs.org/display/docs/Check+Digit+Algorithm - someone may be happy to correct me though. :)
|
21:15:52
|
<OpenMRSBot> <http://ln-s.net/8g5i> (at wiki.openmrs.org)
|
21:15:57
|
<gagaman> Thanks @downeym, I think it's kind of a dumb question, but I don't seem to find the answer anywhere.
|
21:17:03
|
<jprice> thanks downeym. I will try that. I did not have the check digit in there
|
21:18:16
|
<downeym> jprice: Actually it should be able to use any string+check digit, such as 35A13F-6
|
21:18:47
|
<downeym> jprice: A MRN generator add-on module is available at https://modules.openmrs.org/modules/view.jsp?module=mrngen
|
21:18:52
|
<OpenMRSBot> <http://ln-s.net/93c8> (at modules.openmrs.org)
|
21:21:05
|
*** bwolfe has quit IRC
|
21:24:46
|
*** gbastien has quit IRC
|
21:25:02
|
*** bryq1 has quit IRC
|
21:28:23
|
<jprice> thanks. i cannot get the PID segment right in my http post of an hl7 msg using 'Old Identification Number' type so I thought I would try 'OpenMRS Identification Number' and it did not work either. djazayeri has been helping me with this
|
21:46:51
|
<jprice> hi djazayeri, just read your response asking Jeremy to try posting an hl7 msg with 1.8. were you able to submit the msg i sent you successfully ?
|
21:47:03
|
<djazayeri> no, i got the same error as you
|
21:47:15
|
<djazayeri> and the debugger isn't showing me what's going on for some reason
|
21:47:53
|
<jprice> should i try another version, or wait for Jeremy's response ?
|
21:49:54
|
<djazayeri> wyclif: do I need to create "/tmp/uploads/" to be able to upload to occ?
|
21:50:02
|
<wyclif> yes
|
21:50:17
|
<wyclif> and make it writeable for tomcat
|
21:50:30
|
<wyclif> but that should be by default
|
21:50:34
|
*** Echidna has quit IRC
|
21:50:42
|
<djazayeri> thx
|
21:50:46
|
<wyclif> djazayeri, before when it was under opt, you had to
|
21:52:29
|
<djazayeri> jprice: actually, I just added the message directly to the queue using the groovy module, and that didn't work until I explicitly put \r\n at the end of each line
|
21:53:01
|
<djazayeri> it still errors later on, but it gets through the PID part.
|
21:53:39
|
<djazayeri> so I think you need to figure out how to ensure that the json you post has proper CR-LF at the end of each line
|
21:54:20
|
<djazayeri> jprice: not sure how exactly to do that (maybe just \r\n) and don't have any more time to look into it now
|
21:55:02
|
<djazayeri> wyclif: how do I test uploading my concepts?
|
21:55:30
|
<djazayeri> Synchronize Concepts with OCC? Or will that bomb if I'm using the MVP dictionary?
|
21:55:32
|
<jprice> ok thanks. i will try that.
|
21:56:12
|
<djazayeri> wyclif: is there a hidden way I can tell it to just upload one or two concepts, for testing?
|
21:56:19
|
<wyclif> hmmm..
|
21:56:44
|
<wyclif> djazayeri, http://localhost:8080/openmrs/module/occmodule/synchronizeConcepts.form
|
21:57:01
|
<wyclif> djazayeri, it has a send all
|
21:57:17
|
<wyclif> but i prefer going to view concept page and send one
|
21:57:18
|
<djazayeri> okay, I was hoping there was a hidden way to do them one by one. :-)
|
21:57:26
|
<djazayeri> oh, I can do that? great.
|
21:57:54
|
<wyclif> djazayeri, there is a button at the buttom of the page
|
22:07:22
|
<djazayeri> wyclif: does the OCC server immediately save the concepts? Or do I have to kick off some scheduled task?
|
22:08:03
|
*** bryq has joined #openmrs
|
22:08:03
|
*** ChanServ sets mode: +v bryq
|
22:08:56
|
<wyclif> it has listener that watches that folder after a couple of seconds
|
22:09:07
|
<wyclif> djazayeri, so you have to wait for like 3osec
|
22:09:08
|
<djazayeri> okay, do you know where the error queue goes?
|
22:09:23
|
*** gagaman has quit IRC
|
22:09:28
|
<wyclif> it should in the logs
|
22:09:35
|
<djazayeri> ah, I see.
|
22:09:51
|
<wyclif> djazayeri, if you are running the server from eclipse, it should be in the console
|
22:09:54
|
<djazayeri> "The description cannot be empty" referring to implementationid
|
22:09:58
|
<djazayeri> I found it
|
22:10:01
|
<wyclif> hmmm.....
|
22:10:11
|
<wyclif> that is true
|
22:10:13
|
<djazayeri> that's annoying. Anyway, I see where to look now. Thanks.
|
22:10:22
|
<wyclif> djazayeri, description is required
|
22:10:27
|
<jprice> thanks djazayeri. the file that i am using as input to curl does have CRLF terminators
|
22:10:32
|
<wyclif> no problem
|
22:10:55
|
<djazayeri> jprice: yes, but you need to escape them for inclusion in a json string
|
22:11:27
|
<djazayeri> e.g. "line one\r\nline two"
|
22:11:32
|
<djazayeri> http://www.json.org/
|
22:11:56
|
<jprice> i will try that.
|
22:12:15
|
<djazayeri> wyclif: does the OCC currently not actually send files over the network, but it just works via these file dumps?
|
22:12:23
|
<djazayeri> i.e. a shared directory?
|
22:14:09
|
<wyclif> hmmm..
|
22:14:23
|
<djazayeri> wyclif: actually, nm, I'll ask ben tomorrow
|
22:14:47
|
<wyclif> the module send the serialied version to the occ server restfully
|
22:15:27
|
<wyclif> djazayeri, so the folder is actaually on the server, it just because both openmrs and the server are running on your machine
|
22:15:44
|
<djazayeri> I see, it just happens to be called /tmp/upload in both cases?
|
22:15:57
|
<wyclif> djazayeri, so it the module doesn't actually know about that folder
|
22:16:20
|
<djazayeri> gotcha
|
22:16:25
|
<djazayeri> makes sense
|
22:16:33
|
<wyclif> the module dosen't use that folder at all
|
22:17:13
|
<wyclif> djazayeri, it is created and used by the occ server
|
22:22:51
|
*** gbastien has joined #openmrs
|
22:44:38
|
<jprice> djazayeri can you send me the file with the message you got to work. mine still does not with \r\n at end of each line
|
22:45:12
|
<djazayeri> jprice: I didn't do it via curl, it was via the groovy module
|
22:46:05
|
<djazayeri> I declared the string in """ (three double quotes) and put \r\n and then an actual newline at the end of each line
|
22:46:18
|
<djazayeri> but I don't know what the json analog is.
|
22:49:34
|
*** wyclif has quit IRC
|
22:53:23
|
*** bryq has quit IRC
|
22:58:55
|
<jprice> so just putting '\r' had more success. now the msg stays in the queued message and does not go to ther error djazayeri Q but the REST module is running
|
22:59:29
|
*** jportela has joined #openmrs
|
22:59:29
|
*** ChanServ sets mode: +v jportela
|
23:08:12
|
<jprice> i am assiuming since it is staying in the Q it is not been processed. what do i have to do to get it to be taken out of the Q and processed ? REST module and HL7 Process Task are both started
|
23:08:28
|
<djazayeri> try stopping and restarting the process task
|
23:12:26
|
<jprice> that did not empty the Q. it is currenly set to run every 30 seconds
|
23:12:47
|
<djazayeri> look in the log for error messages
|
23:15:20
|
<jprice> there are no entries in the log under "HL 7 Errors" is there anothe log ?
|
23:15:32
|
<djazayeri> queue, errors, and archive
|
23:15:35
|
<djazayeri> archive = success
|
23:16:52
|
<jprice> there is nothing in archive. i see the messages i the Q still.
|
23:17:52
|
<djazayeri> Are there any stack traces in the log?
|
23:19:01
|
<jprice> no
|
23:19:09
|
<djazayeri> I don't know then.
|
23:21:47
|
<jprice> ok thanks. i will try posting to the email lists since i have no idea what to do.
|
23:21:54
|
<djazayeri> ok
|
23:30:11
|
*** gbastien has quit IRC
|
23:46:54
|
*** wyclif has joined #openmrs
|
23:47:06
|
*** downeym has quit IRC
|
23:50:58
|
*** lh has quit IRC
|