IRC Chat : 2013-05-14 - OpenMRS

14:40:07 *** OpenMRSBot has joined #openmrs
14:40:07 *** zelazny.freenode.net sets mode: +ns
15:19:52 *** OpenMRSBot has joined #openmrs
15:19:52 *** zelazny.freenode.net sets mode: +ns
15:23:07 *** OpenMRSBot has joined #openmrs
15:23:07 *** zelazny.freenode.net sets mode: +ns
15:27:02 *** OpenMRSBot has joined #openmrs
15:27:02 *** zelazny.freenode.net sets mode: +ns
15:43:17 *** OpenMRSBot has joined #openmrs
15:43:17 *** zelazny.freenode.net sets mode: +ns
15:43:17 -zelazny.freenode.net- [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
15:44:32 *** OpenMRSBot has joined #openmrs
15:44:32 *** zelazny.freenode.net sets mode: +ns
15:48:32 *** OpenMRSBot has joined #openmrs
15:48:32 *** zelazny.freenode.net sets mode: +ns
16:00:49 *** OpenMRSBot has joined #openmrs
16:00:49 *** ChanServ sets mode: +o OpenMRSBot
16:01:28 <sunbiz> hello OpenMRSBot , good to have you back!!
16:01:51 <sunbiz> djazayeri1: any plans to add offline support to HTMLForms??
16:02:05 *** djazayeri1 is now known as djazayeri
16:02:13 *** ChanServ sets mode: +o djazayeri
16:02:16 <djazayeri> sunbiz: no plans
16:02:42 <sunbiz> djazayeri: Do you know of a solution for using forms offline?
16:02:44 <djazayeri> sunbiz: I've thought about it from time to time, but they really have a lot of server-side behavior
16:02:53 <djazayeri> sunbiz: I do not.
16:03:24 <sunbiz> InfoPath is nice in that :(
16:04:05 *** pono has left #openmrs
16:07:23 *** wyclif has joined #openmrs
16:10:55 *** harshadura has quit IRC
16:27:20 <djazayeri> downey: is ci-stg down for the same reason as the rest of stuff?
16:27:30 <downey> djazayeri: yes
16:27:35 <djazayeri> ok
16:29:53 *** snoppy has joined #openmrs
16:30:03 *** snoppy has left #openmrs
16:33:29 <downey> ryates: you haven't heard any updates from IU by any chance have you?
16:33:34 <downey> (lately)
16:33:49 <djazayeri> how ever will I remember how to do our git branch merging workflow without rafal's helpful page on the wiki!
16:37:13 <downey> djazayeri: google search cached copy
16:37:34 <djazayeri> downey: it's a good chance to figure out if I actually know how. :-)
16:37:51 <downey> wiki crutch ftw :D
16:38:09 *** wyclif has quit IRC
16:38:12 <downey> in case you give up, http://webcache.googleusercontent.com/search?q=cache:l7tSAHP8hgYJ:https://wiki.openmrs.org/display/docs/Using%2BGit&hl=en&gl=us&strip=1
16:38:15 <OpenMRSBot> <http://ln-s.net/-$f$> (at webcache.googleusercontent.com)
16:38:18 <ryates> downey: nope :(
16:42:43 *** ojwangantony__ has joined #openmrs
16:49:14 *** wyclif has joined #openmrs
16:57:44 <sunbiz> djazayeri: when there is too much documentation required... I think there is some problem with the workflow
16:58:12 <sunbiz> The natural and obvious should be the workflow IMO
16:58:27 <djazayeri> sunbiz: I think that our merge + squash process is overdone, but it _does_ lead to a cleaner master branch
16:58:57 <djazayeri> sunbiz: in any case I was somewhat joking this time, since I'm just following the standard git merge workflow, which I _do_ know. :-)
16:59:22 <sunbiz> I've always objected to non-lean processes... :-)
16:59:32 <sunbiz> djazayeri: but I do have a hard time remembering that workflow
16:59:56 <sunbiz> and looking at that page... makes me cringe
17:00:52 <djazayeri> sunbiz: I agree with you that I don't like that workflow, but as rafa, wyclif, and dkayiwa are the ones that _do_ the process most, I leave it in their hands.
17:06:04 <elefone> is the wiki down right now? or is it just me?
17:07:03 <sunbiz> elefone: yes, wiki, demo down
17:07:11 <sunbiz> * wiki and demo
17:07:15 <elefone> ugh
17:14:55 *** jproft has quit IRC
17:26:42 *** robbyoconnor has joined #openmrs
17:26:43 *** ChanServ sets mode: +v robbyoconnor
17:33:20 *** cospih_ has quit IRC
17:36:33 *** cospih has joined #openmrs
17:37:24 *** k-joseph has joined #openmrs
17:39:37 *** jproft has joined #openmrs
18:06:43 *** tobin_g has joined #openmrs
18:22:26 *** gauravsaini03 has joined #openmrs
18:32:01 *** gauravsaini03 has quit IRC
18:47:10 *** gauravsaini03 has joined #openmrs
18:47:32 *** cospih has quit IRC
18:49:51 *** cospih has joined #openmrs
18:56:18 <elefone> am I able to edit jetty's config?
18:56:26 <elefone> http://wiki.eclipse.org/Jetty/Howto/Configure_Jetty
18:56:29 *** Mkop has quit IRC
18:56:30 <OpenMRSBot> <http://ln-s.net/-$i6> (at wiki.eclipse.org)
18:56:53 <elefone> i wanna edit jetty.xml to open up a port to listen to https
18:57:07 <elefone> but i executed this command: find . -type f -iname jetty.xml
18:57:10 <elefone> in /
18:57:16 <elefone> and it didn't return anything
18:57:59 <elefone> ah wait
18:58:01 <elefone> possible solution
18:58:32 *** b0b is now known as KC9YYQ
18:59:24 *** snoppy has joined #openmrs
19:01:10 *** robbyoconnor has quit IRC
19:01:17 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Order Extension 1.1 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=orderextension&ampversion=&amp1.1>
19:01:34 *** robbyoconnor has joined #openmrs
19:01:34 *** ChanServ sets mode: +v robbyoconnor
19:11:58 *** r0bby has joined #openmrs
19:11:58 *** ChanServ sets mode: +v r0bby
19:15:54 *** robbyoconnor has quit IRC
19:21:05 *** tobin_g has quit IRC
19:35:03 <djazayeri> breeze: can I try out RA-46 on OSX? Or is that not ready yet?
19:40:33 *** harsz89 has quit IRC
19:45:03 <breeze> djazayeri: yes
19:45:53 <breeze> djazayeri: there's one bug I detected so far that I'm working on now, but if you want to kick the tires on it anyway that'd be cool
19:47:37 *** wyclif has quit IRC
19:50:15 *** dkayiwa has joined #openmrs
19:50:57 <djazayeri> breeze: apropos of nothing in particular except for the slow download, referenceapplication-omod-….jar seems way bigger than it should be
19:51:56 <breeze> djazayeri: hmm...
19:57:01 <djazayeri> breeze: or maybe not, let me see which file
19:58:30 *** jproft has quit IRC
19:59:45 *** gauravsaini03 has quit IRC
19:59:59 <djazayeri> breeze: gah, can't see anymore
20:00:17 <breeze> djazayeri ?
20:00:52 <djazayeri> breeze: sorry, there was one file it downloaded that was like 40mb, and I _thought_ it was referenceapplication-omod
20:01:20 <breeze> djazayeri: which step are you on?
20:01:22 <djazayeri> breeze: now I just did a "mvn package -U" and that didn't happen.
20:01:29 <breeze> djazayeri: ok
20:01:40 <djazayeri> breeze: trying to do this in the background while I'm on calls.
20:01:41 <breeze> djazayeri: you're about to get to the bug....
20:02:30 <djazayeri> breeze: so, should I try to ./debian-build.sh or not?
20:02:32 <breeze> djazayeri: ok...realized that creating the .deb file isn't going to work on other os'es...at least windows...not sure about os x
20:02:58 <breeze> djazayeri: give it a try.....but I'd expect it to fail, but I"m surious
20:03:01 <breeze> curious
20:03:23 <djazayeri> breeze: Campo-de-Jazayeri:packaging djazayeri$ ./debian-build.sh
20:03:23 <djazayeri> usage: cp [-R [-H
20:03:23 <djazayeri> cp [-R [-H
20:03:23 <djazayeri> This looks like it is not being run from CI.
20:03:23 <djazayeri> ./debian-build.sh: line 25: dpkg-deb: command not found
20:03:51 <breeze> dpkg-deb: .. yep....that's what I thought
20:04:09 <breeze> djazayeri: of course
20:04:33 <breeze> djazayeri: but if you don't mind trying the vagrant part anyway....
20:04:51 <djazayeri> breeze: how do I do that, get the .deb from you?
20:05:35 <breeze> djazayeri, well, you can get the vagrant machine running without needing the deb package..."vagrant up"
20:06:05 <breeze> djazayeri: that is, if you have vbox and vagrant installed
20:06:20 *** cospih has quit IRC
20:06:46 <djazayeri> breeze: okay, will try
20:06:53 <djazayeri> breeze: from any directory?
20:07:27 <breeze> djazayeri: from the base your openmrs-distro-referenceapplication clone
20:07:50 *** cospih has joined #openmrs
20:13:42 *** snoppy has quit IRC
20:19:37 *** elefone has quit IRC
20:20:21 <breeze> djazayeri: FYI. if by chance you haven't gotten that far, you could now pull the latest from that repo to have the lack of a deb package problem fixed
20:22:11 <djazayeri> breeze: it downloaded, it seems to be starting up, and it says "One or more virtual hard disks, CD/DVD or floppy media are not currently accessible. As a result, you will not be able to operate virtual machines that use these media until they become accessible later.
20:22:11 <djazayeri> Press Check to open the Virtual Media Manager window and see what media are inaccessible, or press Ignore to ignore this message."
20:23:06 <breeze> djazayeri: haven't seen that one before...did you already have vbox installed and using it for a while?
20:24:28 <djazayeri> breeze: I had it installed, and had used it once before (though I'd forgotten that)
20:24:51 <breeze> djazayeri: or it's possible that's a warning from the os x version of vbox, might not be harmful
20:25:01 <djazayeri> breeze: I'll try ignoring for now
20:25:26 <breeze> djazayeri: what's the latest output line you have?
20:26:49 <djazayeri> breeze: this (in red):
20:26:50 <djazayeri> Error: Could not find class aptitude for vagrant-ubuntu.vagrantup.com on node vagrant-ubuntu.vagrantup.com
20:26:50 <djazayeri> Error: Could not find class aptitude for vagrant-ubuntu.vagrantup.com on node vagrant-ubuntu.vagrantup.com
20:26:50 <djazayeri> The following SSH command responded with a non-zero exit status.
20:26:50 <djazayeri> Vagrant assumes that this means the command failed!
20:26:50 <djazayeri> cd /tmp/vagrant-puppet/manifests && puppet apply --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' site.pp --detailed-exitcodes || [ $? -eq 2 ]
20:27:35 <breeze> djazayeri: when did you last pull from git?
20:27:44 <djazayeri> breeze: looking at the virtualbox window, it seems that "ubuntu-12.04-desktop-i386.iso" optical disk is "not attached"
20:28:22 <djazayeri> breeze: I didn't re-pull from git after you said I could
20:28:47 <breeze> djazayeri: ok, but even then you should have the class it is complaining about...
20:29:25 <djazayeri> breeze: can I just do "git update" and "vagrant up" again?
20:29:34 *** r0bby has quit IRC
20:30:38 <breeze> djazayeri, yes but see if puppet/modules/aptitude/manifests/init.pp is on your filesystem
20:31:05 <djazayeri> breeze: I have no /etc/puppet
20:31:38 <breeze> djazayeri: that should be ok, the second dir /tmp/....is that one it needs
20:32:03 <djazayeri> breeze: there's currently no /tmp/vagrant-puppet
20:32:56 <breeze> djazayeri: sorry. that dir is mounted on the VM. it should map to <location of your vagrantfile>/puppet
20:39:12 <breeze> djazayeri: you could try "vagrant ssh" to see if you can at least log into the base VM
20:41:45 *** cospih_ has joined #openmrs
20:42:36 *** cospih has quit IRC
20:45:06 <djazayeri> breeze: yes, it's up
20:45:16 <djazayeri> Campo-de-Jazayeri:openmrs-distro-referenceapplication djazayeri$ vagrant ssh
20:45:16 <djazayeri> Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic x86_64)
20:45:16 <djazayeri> ...
20:45:32 <breeze> djazayeri: that's something....
20:45:46 <djazayeri> breeze: how would I update the VM?
20:45:56 <breeze> vagrant provision
20:46:00 <djazayeri> breeze: e.g. once I've done a git update?
20:46:06 <djazayeri> (git pull, I mean)
20:46:12 <breeze> from your host
20:46:33 <djazayeri> breeze: so, git pull, then vagrant provision? (do I need to stop the vm first?)
20:47:16 <breeze> djazayeri: no, it'll be interested in seeing if puppet works this time. the log you showed before made me think that not all the manifests were on your filesystem
20:58:13 *** renee1 has quit IRC
20:59:35 <djazayeri> breeze: actually, do I need to git update, then maven package, _then_ vagrant provision?
21:01:35 <breeze> djazayeri: yes, especially since I just pushed again :)
21:01:45 <djazayeri> breeze: I mean do I need to mvn package?
21:01:53 *** renee has joined #openmrs
21:02:08 *** renee has left #openmrs
21:02:13 <breeze> djazayeri: if you did once already, no. but the steps you described would be the normal workflow for this
21:04:35 <breeze> djazayeri: or vagrant up, rather than provision if one didn't have a machine running already
21:05:47 <djazayeri> breeze: same or similar error
21:05:48 <djazayeri> stdin: is not a tty
21:05:48 <djazayeri> Error: Could not find class aptitude for vagrant-ubuntu.vagrantup.com on node vagrant-ubuntu.vagrantup.com
21:05:50 <djazayeri> ...
21:06:37 <breeze> djazayeri: d'oh....try to pull one more time...maybe you didn't get my latest
21:07:00 <djazayeri> breeze: it says already up to date
21:07:44 <breeze> djazayeri hmm...
21:08:24 *** r0bby has joined #openmrs
21:08:25 *** ChanServ sets mode: +v r0bby
21:10:22 <breeze> djazayeri: scratching my head trying to remember if puppet caches its manifests....
21:11:11 <breeze> djazayeri: actually it won't be harmful to do a vagrant halt, vagrant destroy, vagrant up
21:11:49 <breeze> djazayeri: just to wipe the slate clean...that will stop, delete, and recreate the vm
21:12:16 <breeze> djazayeri: it wont' need to redownload so be significantly quicker
21:16:03 <djazayeri> breeze: same error. Are you sure I don't need to redo mvn package?
21:19:09 <breeze> djazayeri: the error you're showing me is puppet related. mvn package is only for the zip / deb files
21:19:17 <djazayeri> breeze: gotcha
21:19:43 <breeze> djazayeri: so same error after destroying and recreating?
21:20:00 <djazayeri> breeze: yes
21:21:09 <breeze> djazayeri: i know this is the sign of insanity, but try vagrant provision again...I just did it myself and noticed that the apt repo threw a bunch of inaccessible errors
21:21:34 <breeze> djazayeri: then tried again and it worked
21:26:56 *** wyclif has joined #openmrs
21:28:30 <djazayeri> breeze: tried it twice in a row, same error
21:28:51 <breeze> djazayeri: ok...thanks. back to the drawing board....
21:31:03 <breeze> djazayeri: going to boot into windows to see how it behaves there
21:31:09 *** breeze has quit IRC
21:37:16 *** sunbiz has left #openmrs
21:51:42 *** cospih_ has quit IRC
21:52:49 *** dkayiwa has quit IRC
21:56:24 *** dkayiwa has joined #openmrs
22:17:10 *** breeze has joined #openmrs
22:19:41 <breeze> djazayeri: ugh. was able to recreate your error on my wondows partition. I forgot to add a file to git...:(
22:20:38 *** r0bby has quit IRC
22:20:52 *** breeze has quit IRC
22:24:45 *** mogoodrich has quit IRC
22:29:19 *** flaushy_ has quit IRC
22:29:28 *** flaushy has joined #openmrs
22:37:27 *** breeze has joined #openmrs
22:54:00 *** breeze has quit IRC
23:04:15 *** mogoodrich has joined #openmrs
23:09:29 *** r0bby has joined #openmrs
23:09:29 *** ChanServ sets mode: +v r0bby
23:17:00 *** jblaya has joined #openmrs
23:24:00 <jblaya> djazayeri or jkeiper how do I have openmrs display the first and second last name in the patient search page?
23:24:25 <jblaya> I've looked everywhere how to do this...
23:24:39 <djazayeri> jblaya: I'd think that would happen if you set the name layout/template
23:25:13 <jblaya> djazayeri, the global property layout.name.format? I've set that to long
23:28:38 <jblaya> djazayeri, ok, I think I found it in an email
23:29:06 <djazayeri> jblaya: peeking at findPatient.jsp in 1.9.x, it's possible it's not actually possible to change that via a configuration
23:29:09 <djazayeri> jblaya: but I didn't look closely
23:30:21 <jblaya> djazayeri, I'm pretty sure I've done it before
23:31:08 <jblaya> do you have a sec to look at this and decipher Lluis Martinez answer? https://groups.google.com/a/openmrs.org/forum/#!searchin/dev/Solutions$20to$20hispanic$2FSpanish$20last$20names$20in$20the$20first$20%22Create$20Patient%22$20form/dev/-XpXuV_5iHc/VWc99aWzPU0J
23:31:13 <OpenMRSBot> <http://ln-s.net/-$nz> (at groups.google.com)
23:31:23 <jblaya> he mentioned using beans, but do I need to sticket that in there?
23:32:33 <djazayeri> jblaya: are you talking about the search page or the create-new-patient page (i.e. what the email is talking about)
23:32:44 <jblaya> djazayeri, or does the whole layout go in there?
23:32:52 <jblaya> djazayeri, I'm talking about the search page
23:32:56 <jblaya> so yes, different
23:33:19 <djazayeri> jblaya: okay. I take it you've tried using the latinAmerica name layout?
23:33:45 <jblaya> djazayeri, I just put latinamerica, I'll try putting hte entire bean in there
23:33:53 <djazayeri> jblaya: no
23:34:01 <djazayeri> jblaya: it would be just latinamerica
23:34:14 <djazayeri> jblaya: check the short patient edit page to see if changing the GP is changing anything
23:34:14 <jblaya> jblaya, ok, then no it doesn't work
23:34:33 <djazayeri> jblaya: if it's changing that other page, but not the search page, that tells us something inconvenient
23:34:41 *** wyclif has quit IRC
23:34:45 <jblaya> djazayeri, let me check that other page
23:35:44 <jblaya> djazayeri, yep, it does change the create patient page...
23:36:13 <jblaya> djazayeri, that sucks... fill out a ticket, right?
23:36:17 <djazayeri> jblaya: okay, so I guess what you're asking for isn't supported by configuration and will require modifying some code
23:36:25 <djazayeri> jblaya: yeah, definitely a ticket for the correct fix
23:36:40 <djazayeri> jblaya: you could hack around it in a specific openmrs version yourself if you want
23:36:53 <jblaya> djazayeri, ok, well it's not an emergency, so no hacking needed, I'll do the ticket
23:37:00 <djazayeri> jblaya: cool
23:37:15 <jblaya> djazayeri, thanks!
23:44:14 *** jblaya has quit IRC
23:44:37 *** joaquin has quit IRC
23:49:37 *** mogoodrich has quit IRC
23:50:30 *** flaushy has quit IRC
23:56:55 *** flaushy has joined #openmrs