IRC Chat : 2013-03-16 - OpenMRS

00:07:30 *** wyclif_ has joined #openmrs
00:14:01 *** h3llborn has joined #openmrs
00:38:31 *** harshadura has quit IRC
00:41:28 *** sunbiz has joined #openmrs
00:41:28 *** ChanServ sets mode: +v sunbiz
00:42:12 <sunbiz> mseaton: whats the OpenMRS core version that needs to be run for the sync module??
00:42:23 <sunbiz> is it supposed to work with 1.10
00:47:29 <sunbiz> anyone?? whats the recommended dev environment for the sync sprint?? 1.10 or 1.9.3 ??
00:56:18 <h3llborn> no diea
00:56:18 <h3llborn> haha
00:56:25 <h3llborn> cpower: ??
00:59:33 *** h3llborn has quit IRC
01:01:23 <sunbiz> djazayeri cpower burke - saw u guys in the sync sprint hangout... so a shoutout
01:01:48 <sunbiz> and wyclif
01:02:11 <sunbiz> !seen mseaton
01:02:11 <OpenMRSBot> sunbiz: mseaton was last seen in #openmrs 5 hours, 44 minutes, and 35 seconds ago: <mseaton> wyclif_: if you see any flaws in the plan laid out there, please let me know. i'm no git guru by any means
01:02:28 <sunbiz> !seen wyclif_
01:02:28 <OpenMRSBot> sunbiz: wyclif_ was last seen in #openmrs 5 hours, 44 minutes, and 8 seconds ago: <wyclif_> mseaton, ok thanks
01:02:34 <sunbiz> !seen wyclif
01:02:34 <OpenMRSBot> sunbiz: wyclif was last seen in #openmrs 2 days, 3 hours, 20 minutes, and 41 seconds ago: <wyclif> djazayeri, thr problem is that the liquibasechangelog entries will stay in the db meaning one might not be able to run module changesets succefully if they were already run in the demo data
01:02:39 <djazayeri> Try 193
01:02:39 <mseaton> sunbiz: hey, sorry didn't see your comment
01:02:53 <sunbiz> 1.9.3 thanks djazayeri
01:03:06 <sunbiz> ok mseaton
01:03:08 <mseaton> sunbiz: i've never tried any modules on 1.10. i wouldn't vouch for it
01:03:15 <mseaton> 1.9.3 is what i'll be using in the sprint
01:03:23 <sunbiz> mseaton: thanks
01:03:59 <sunbiz> anyways, trunk failed on me :P
01:23:21 *** dmulindwa has joined #openmrs
01:26:21 <sunbiz> mseaton djazayeri: what is the strategy that you guys use to run the same module in 2 instances...
01:26:34 <sunbiz> do you have to restart tomcat??
01:27:06 <sunbiz> or is there a more simpler way to restart the spring context so that the module can be found and loaded??
01:31:04 <djazayeri> Options are to deploy OpenMRS twice with different context paths., or else use two copies of the standalone. Or one of each
01:32:33 <mseaton> sunbiz: i plan to run 2 standalone instances and see how that goes. lara mentioned on the dev list today that she uses a single tomcat with 2 wards deployed, which share a common modules directory, so you only need to reload the module once for it to be picked up by each
01:37:38 <sunbiz> mseaton: hmm... that would be cool
01:37:48 <sunbiz> but I thought the web sync would fail
01:38:14 <sunbiz> but it wouldnt because the apps are different locations... ok
01:38:24 <sunbiz> sounds like that might be a better approach
01:38:33 <sunbiz> instead of starting 2 tomcats..
01:42:57 <sunbiz> mseaton: BTW, I cant see the remove module icon... from the list?? is that how it should be once it has been installed... it cant be removed?? :D
01:43:05 <sunbiz> :P
01:44:06 *** Anuruddha has joined #openmrs
01:47:54 *** dmulindwa has quit IRC
01:50:13 *** Anuruddha has quit IRC
01:52:45 <mseaton> sunbiz: correct. it's a mandatory module once it is installed. if you want to force remove it, you can do so but you have to jump through some hoops.
01:52:51 *** zzz_jb360 is now known as jb360
01:54:33 <sunbiz> so when I make changes and want to clean installation of the module, do I have to delete from .OpenMRS
01:54:37 <sunbiz> and restart tomcat?
01:55:17 <sunbiz> mseaton: and probably delete the sync_* tables
01:56:05 <mseaton> sunbiz: not sure i understand. why would you want a clean install? wouldn't you just upgrade your existing version?
01:58:07 <sunbiz> mseaton: hmm... yea, but I was trying the clone the parent
01:58:20 <sunbiz> and the child is stuck (or so it seems)
01:58:41 <sunbiz> mseaton: dont see anything in the logs
01:59:13 <mseaton> i see. so, if you want to start over, remove all of the sync global properties, sync tables, the omod from the modules folder and restart tomcat, yes
01:59:36 <sunbiz> mseaton: does it take a lot of time for the first sync...
01:59:50 <sunbiz> clone the parent via the web??
02:00:31 <sunbiz> coz that child instance seems like stuck... cant open any pages on the child OpenMRS
02:00:43 <mseaton> sunbiz: i've never tried it.. i think it basically just runs a mysqldump from the webapp. there are several tickets in jira around it - i'd recommend looking through them.
02:00:53 <sunbiz> ok
02:01:05 *** dmulindwa has joined #openmrs
02:08:30 *** dmulindwa has quit IRC
02:15:03 *** harsz89 has joined #openmrs
02:15:20 *** dmulindwa has joined #openmrs
02:34:09 *** dmulindwa has quit IRC
03:21:51 *** dmulindwa has joined #openmrs
03:36:16 *** harsz89 has quit IRC
03:37:56 *** harshadura has joined #openmrs
03:38:18 *** harshadura_ has joined #openmrs
03:41:56 *** harshadura has quit IRC
03:47:53 *** harsz89 has joined #openmrs
03:48:37 *** dmulindwa has quit IRC
03:49:25 *** dmulindwa has joined #openmrs
03:56:07 *** dmulindwa has quit IRC
04:10:26 *** h3llborn has joined #openmrs
04:15:33 *** sunbiz has quit IRC
04:24:02 *** h3llborn has quit IRC
05:07:24 *** harshadura_ has quit IRC
06:13:58 *** harshadura has joined #openmrs
06:27:55 *** Hasintha_i has joined #openmrs
06:34:54 <harsz89> hi djazayeri
06:35:11 <djazayeri> hi harsz89
06:35:19 <harsz89> djazayeri, when i run the one standalone server just after the extracting and run the jar
06:35:30 *** Hasintha_i has quit IRC
06:35:30 <harsz89> djazayeri, i got this error
06:35:35 <harsz89> djazayeri, http://pastebin.com/3p2pCFaZ
06:35:45 <harsz89> is it known one?
06:36:02 <harsz89> djazayeri, or am i missing something
06:37:17 <djazayeri> harsz89: does it run, though?
06:37:27 <harsz89> djazayeri, yeap i can login to it
06:37:51 <harsz89> djazayeri, i pasted the last part of the console out
06:38:30 <djazayeri> harsz89: yeah, I'd ignore the error message. I think there's an issue with the demo database, where it includes some bad data
06:38:49 <harsz89> djazayeri, ah okey ..:)
06:38:59 <djazayeri> harsz89: presumably you don't have the formentry module installed, but for some reason there's a row in the scheduler table in the demo database that references it.
06:39:23 <harsz89> djazayeri, okey i'll ignore it :)
06:39:31 <harsz89> djazayeri, and when another server start
06:39:40 <harsz89> djazayeri, just say child
06:40:14 <harsz89> djazayeri, i need to manully change the ports in runtime property file right?
06:40:41 <djazayeri> harsz89: I don't remember where you set the ports, but yeah, you need to change them so you can run the two side-by-side.
06:41:00 <djazayeri> harsz89: runtime properties file makes sense
06:41:09 <harsz89> djazayeri, ah okey djazayeri :)
06:41:20 <harsz89> djazayeri, thank you! :) i'll follow that way
06:41:24 <harsz89> djazayeri, :)
06:48:12 *** Hasintha_i has joined #openmrs
07:08:24 *** dmulindwa has joined #openmrs
07:44:28 *** robbyoconnor has quit IRC
08:36:45 <harsz89> hi djazayeri
08:36:56 <harsz89> djazayeri, i set up child and the parent nodes
08:37:18 <harsz89> djazayeri, when i press the clone now button in child page for first startup
08:38:21 <harsz89> djazayeri, i got A javascript error has occurred: String index out of range: -240
08:38:56 <harsz89> djazayeri, in backend WARN - CommonsLoggingOutput.warn(67) |2013-03-16 14:08:01,003| Method execution failed: java.lang.StringIndexOutOfBoundsException: String index out of range: -240 at java.lang.String.substring(String.java:1937)
08:39:51 <djazayeri> harsz89: I haven't actually worked with the sync module in quite a long time, so I don't think I can help you with this one (at least not now...)
08:40:41 <harsz89> djazayeri, ah i'm sorry
08:41:04 <harsz89> djazayeri, i'll ask from someone
08:41:10 <harsz89> djazayeri, :)
08:41:12 <djazayeri> no worries
08:41:46 <harsz89> djazayeri, thank you for the help djazayeri i manage to get into the last step :) :D
08:56:27 *** shangxiao has joined #openmrs
10:00:06 *** davidpardz has quit IRC
10:30:03 *** dmulindwa has quit IRC
10:52:09 *** dmulindwa has joined #openmrs
11:10:00 *** sunbiz has joined #openmrs
11:10:00 *** ChanServ sets mode: +v sunbiz
11:11:26 <sunbiz> hey guys
11:11:33 <sunbiz> I cant get past - Parent server data replication
11:12:12 <sunbiz> it felt it was stuck... but it was super slow and then ended with an error that global_property table is not found
11:12:51 <sunbiz> mseaton: how can I do this with a file?? where can I create the "parent data backup file"??
11:26:22 <harsz89> hi sunbiz
11:26:35 <harsz89> sunbiz, i also stuck at that possition
11:26:50 <harsz89> sunbiz,
11:27:47 <harsz89> do you able to clone data from parent server?
11:28:28 <harsz89> sunbiz, as i saw parent data backup file can create when adding the child server page
11:30:25 <sunbiz> harsz89: nope... not able to clone from server
11:30:57 <sunbiz> stuck at that step... because I couldnt find how to create the backup file
11:33:56 <harsz89> sunbiz, you can create parent database backup zip in addin child server page but that button not work for me
11:35:08 <sunbiz> harsz89: that only when creating a new child... right??
11:35:14 <sunbiz> are u talking about that page?
11:37:16 <sunbiz> harsz89: after you've created a child... that download button doesn't show... right??
11:37:55 <sunbiz> some1 who has used sync might be able to help... we are just the group of blind who are trying to touch the elephant :)
11:42:40 <harsz89> sunbiz, nope i mean before
11:43:04 <harsz89> sunbiz, i tried not worked result with a error page
11:43:32 <harsz89> it's better if we can have some detail about this
11:46:55 <sunbiz> its takes hrs for me to see any error... I see "Sending parent data backup file..." and that moving icon
11:48:18 *** shangxiao has quit IRC
12:08:30 <sunbiz> burke downey - tickets.openmrs.org doesnt have JIRA RPC services enabled
12:08:50 <sunbiz> burke downey - hence cant use the JIRA plugin from the IDE :(
12:11:26 *** Anuruddha has joined #openmrs
12:23:59 *** Anuruddha has quit IRC
12:33:31 <sunbiz> mseaton: I added gitattributes so that line endings are not changed... should I just merge that pull request
12:33:52 <sunbiz> mseaton: or can you please merge that pull request
12:59:10 *** harsz89 has quit IRC
13:12:34 *** Anuruddha has joined #openmrs
13:17:45 *** harsz89 has joined #openmrs
13:19:39 *** harshadura has quit IRC
13:33:48 *** harsz89 has quit IRC
13:50:33 *** harsz89 has joined #openmrs
14:00:20 *** shangxiao has joined #openmrs
14:03:38 *** shangxiao has joined #openmrs
14:12:57 *** shangxiao has quit IRC
14:14:42 *** sara has joined #openmrs
14:31:55 *** Anuruddha has quit IRC
14:34:21 *** sunbiz has left #openmrs
14:35:34 <burke> sunbiz downey: I enabled JIRA's "General Configuration > Options > Accept remote API" so we can use JIRA's RPC API (for plugins & remote scripting)
15:00:48 *** harshadura has joined #openmrs
15:17:56 *** jb360 has quit IRC
15:29:13 <downey> burke: any chance you can revert that change? It's disabled due to a known vulnerability
15:33:15 *** shangxiao has joined #openmrs
15:34:03 <burke> downey: reverted.
16:37:41 *** dmulindwa has quit IRC
16:47:55 *** Hasintha_i has quit IRC
17:00:05 *** dmulindwa has joined #openmrs
17:30:41 *** h3llborn has joined #openmrs
17:41:47 *** h3llborn has quit IRC
17:48:42 *** dmulindwa has quit IRC
18:09:10 *** sara has quit IRC
18:19:51 *** k-joseph has joined #openmrs
18:24:25 *** harsz89 has quit IRC
18:48:34 <k-joseph> :)
18:49:18 <k-joseph> hi devs :)
18:55:16 *** dkayiwa has joined #openmrs
19:13:08 <k-joseph> dkayiwa: hi
19:13:15 <dkayiwa> k-joseph: hi
19:14:53 *** dmulindwa has joined #openmrs
19:15:02 *** shangxiao has quit IRC
19:17:33 *** k-joseph has quit IRC
19:43:05 *** dmulindwa has quit IRC
19:46:51 *** dmulindwa has joined #openmrs
20:01:07 *** dmulindwa has quit IRC
20:07:53 *** dmulindwa has joined #openmrs
20:47:33 *** dmulindwa has quit IRC
20:57:04 *** dmulindwa has joined #openmrs
21:39:33 *** dkayiwa has quit IRC
21:52:41 *** lh has joined #openmrs
22:10:05 *** dmulindwa has quit IRC
22:22:24 *** ashray has joined #openmrs
22:23:44 *** ashray has quit IRC
22:24:59 *** ashray has joined #openmrs
22:36:00 <ashray> Hi All, I am new to this, can anyone please tell me how to get a list of all the people whose name matches a given String. The existing getPeople() function matches according to familyName2. but is there any other function which matches by first or last name?Thanks
22:38:18 *** ashray_ has joined #openmrs
22:46:45 <djazayeri> ashray: try PatientService.getPatients()... (or are you specifically looking to include non-patients in the search?)
22:50:15 <ashray> Yes, I need to include non patients as well, besides the Api does not include a PatientService.getPatients() func right? Also the closest one is PatientService.getPerson but that takes a personID as an argument and not a name
22:52:46 *** h3llborn has joined #openmrs
22:54:03 <h3llborn> ola amigos
23:02:15 *** lh has quit IRC
23:03:22 <djazayeri> ashray: in 1.9.x (which I have checked out) there are 4 different PatientService.getPatients methods...
23:03:54 *** lh has joined #openmrs
23:04:26 <djazayeri> ashray: and looking at the code for PersonService.getPeople, it does look at given, middle, family, and family2
23:05:44 <ashray> djazayeri : o...i was using 1.8.x...and the documentation said that familyname2 was used... anyway let me look into it and I will get back to you...thanks..
23:13:39 *** lh has quit IRC
23:14:31 <ashray> @djazayeri : you were right,the code does check for first, family and familyName2, i guess I will use that function then, thank you
23:21:41 *** h3llborn has quit IRC
23:27:21 *** justVisiting has joined #openmrs
23:28:46 *** justVisiting has left #openmrs
23:54:39 *** h3llborn has joined #openmrs