00:46:09
|
*** shruthd has joined #openmrs
|
01:07:29
|
*** shruthd has quit IRC
|
01:07:53
|
*** raonyguimaraes has quit IRC
|
01:13:59
|
*** sgithens has joined #openmrs
|
02:26:42
|
*** djazayeri has quit IRC
|
02:39:13
|
*** shruthd has joined #openmrs
|
02:40:10
|
*** shruthd has quit IRC
|
03:03:24
|
*** wluyima has quit IRC
|
03:04:51
|
*** wluyima has joined #openmrs
|
03:39:05
|
*** wluyima has quit IRC
|
03:39:28
|
*** wluyima has joined #openmrs
|
04:12:45
|
*** Barry_ has joined #openmrs
|
04:14:21
|
<Barry_> is anyone there?
|
04:41:54
|
*** shruthd has joined #openmrs
|
04:45:31
|
*** harshadura has joined #openmrs
|
04:45:32
|
*** ChanServ sets mode: +v harshadura
|
04:52:57
|
<Barry_> hi, I'm having some trouble creating new patients - would you have experience in this area?
|
04:55:45
|
*** shruthd has quit IRC
|
05:06:34
|
*** Barry_ has quit IRC
|
05:06:38
|
*** shruthd has joined #openmrs
|
05:20:53
|
*** upul has quit IRC
|
05:22:57
|
*** harshadura_ has joined #openmrs
|
05:26:08
|
*** shruthd has quit IRC
|
05:27:38
|
*** shruthd has joined #openmrs
|
05:27:39
|
*** harshadura has quit IRC
|
05:39:01
|
*** shruthd has quit IRC
|
06:00:15
|
*** dmulindwa has joined #openmrs
|
06:01:48
|
*** shruthd has joined #openmrs
|
06:17:34
|
*** shruthd has quit IRC
|
06:25:25
|
*** sgithens has quit IRC
|
06:38:02
|
*** sgithens has joined #openmrs
|
06:45:31
|
*** wluyima has quit IRC
|
07:07:41
|
*** shruthd has joined #openmrs
|
07:11:27
|
*** dkayiwa has joined #openmrs
|
07:15:38
|
<akwatuha__> hi dkayiwa
|
07:15:47
|
<dkayiwa> akwatuha__: hi
|
07:17:58
|
<akwatuha__> i would like to modify the display of encounters/encounterDisplay.list page based on the form, ie I would like to have additional details if my form is selected.
|
07:19:07
|
<akwatuha__> dkayiwa: is this possible? and can I override all details if my form is selected ie design a new look and details to be shown?
|
07:19:45
|
<akwatuha__> dkayiwa: i am reading about extension points
|
07:20:37
|
<dkayiwa> akwatuha__: i would need a screenshot to understand what you are looking for
|
07:21:49
|
<akwatuha__> dkayiwa:okay, i am sending it now
|
07:21:50
|
*** shruthd has quit IRC
|
07:35:22
|
*** harshadura has joined #openmrs
|
07:35:22
|
*** ChanServ sets mode: +v harshadura
|
07:35:58
|
*** harshadura_ has quit IRC
|
07:40:42
|
<akwatuha__> dkayiwa: i have sent an email to your openmrs account with the details.
|
07:42:07
|
<dkayiwa> akwatuha__: ok
|
07:42:54
|
<dkayiwa> akwatuha__: are these observations or person attributes?
|
07:43:17
|
<akwatuha__> they are person attributes
|
07:44:09
|
<akwatuha__> but i am looking for a way to view those for the current patient and those of the related persons.
|
07:44:21
|
<akwatuha__> thid is intended for our locator forms
|
07:44:46
|
<akwatuha__> such that when one opens details of a person, he can see other people that he can use to reach the patient
|
07:46:02
|
*** shruthd has joined #openmrs
|
07:47:31
|
<akwatuha__> dkayiwa: or may be extent the patient demographics section to add other details for related persons
|
07:47:48
|
<dkayiwa> akwatuha__: when you do not include my name, i do not get notified :)
|
07:48:24
|
<dkayiwa> akwatuha__: you would need to write a custom module to do that
|
07:49:18
|
<akwatuha__> dkayiwa: I have a custom module, I was hoping there is a way to use my custom module to determine what gets displayed when encounters are viewed
|
07:49:42
|
<akwatuha__> dkayiwa: else I will go ahead and create my page in my module to display this information
|
07:49:51
|
<dkayiwa> akwatuha__: ok
|
07:50:47
|
*** Shangeetha has joined #openmrs
|
07:57:21
|
*** shruthd has quit IRC
|
08:08:15
|
*** Shangeetha has quit IRC
|
08:28:41
|
<akwatuha__> dkayiwa: thanks for your help, i have added a tab through patient dashboard and thus will add in my customized details.
|
08:29:04
|
<dkayiwa> akwatuha__: ok
|
08:53:18
|
*** shruthd has joined #openmrs
|
08:53:37
|
*** Tal has joined #openmrs
|
08:53:52
|
<Tal> dkayiwa: Hi Daniel, Good Morning :)
|
08:55:22
|
<Tal> dkayiwa: are you gere?
|
08:55:27
|
<Tal> dkayiwa: here*
|
08:55:30
|
<dkayiwa> Tal: hey :)
|
08:56:35
|
<Tal> dkayiwa: great, were you present yesturday at the design call?
|
08:56:40
|
*** dmulindwa has quit IRC
|
08:57:07
|
*** dmulindwa has joined #openmrs
|
08:57:53
|
<Tal> dkayiwa: so basiclly, it's supposed to be our (me and Eli) job
|
08:58:25
|
<dkayiwa> Tal: yes i was
|
08:58:55
|
<Tal> dkayiwa: to start working i need to install the new openmrs 2.0 and i need to install the appointment module files to eclipse
|
08:59:43
|
<Tal> dkayiwa: i've installed appointment module via admin panel, but i can't see the code in eclipse,
|
09:00:19
|
<dkayiwa> Tal: did you checkout the module code?
|
09:00:47
|
<Tal> dkayiwa: only now, i downloaded the code from git as zip file
|
09:01:37
|
<dkayiwa> Tal: just clone it instead
|
09:02:03
|
<Tal> dkayiwa: ok one second
|
09:03:24
|
<Tal> dkayiwa: i am forking it to my account
|
09:03:33
|
<dkayiwa> Tal: correct
|
09:03:52
|
<Tal> dkayiwa: now i clone it from eclipse
|
09:04:04
|
<dkayiwa> Tal: i use command line
|
09:04:05
|
*** shruthd has quit IRC
|
09:04:41
|
<Tal> dkayiwa: how can i do it with command line?
|
09:04:55
|
<dkayiwa> Tal: https://wiki.openmrs.org/display/docs/Using+Git
|
09:05:14
|
<dkayiwa> Tal: git clone url
|
09:07:13
|
<Tal> dkayiwa: K just a second im installing git for windows
|
09:07:42
|
<dkayiwa> Tal: take your time please. am a multi tasker :)
|
09:11:05
|
*** Eli__ has joined #openmrs
|
09:12:11
|
*** magoo has joined #openmrs
|
09:13:26
|
*** GitHub102 has joined #openmrs
|
09:13:26
|
<GitHub102> [openmrs-core] dkayiwa closed pull request #461: TRUNK-4113 Modify the ObsValidator to allow the storage of obs text larger than 50 chars (master...TRUNK-4113) http://git.io/mj5RXQ
|
09:13:26
|
*** GitHub102 has left #openmrs
|
09:13:26
|
*** GitHub73 has joined #openmrs
|
09:13:26
|
<GitHub73> [openmrs-core] dkayiwa pushed 3 new commits to master: http://git.io/ccustw
|
09:13:26
|
<GitHub73> openmrs-core/master 8d8e5e1 Dedunu Dhananjaya: TRUNK-4113 Modify the ObsValidator to allow the storage of obs text larger than 50 chars
|
09:13:26
|
<GitHub73> openmrs-core/master e6b5558 Dedunu Dhananjaya: TRUNK-4113 Modify the ObsValidator to allow the storage of obs text larger than 50 chars
|
09:13:26
|
<GitHub73> openmrs-core/master e7d0ac7 dkayiwa: Merge pull request #461 from dedunumax/TRUNK-4113...
|
09:13:26
|
*** GitHub73 has left #openmrs
|
09:14:02
|
*** shruthd has joined #openmrs
|
09:14:04
|
<Tal> dkayiwa: ok Daniel i have the folder with all the files, where i need to locate it? insert openmrs-core?
|
09:14:07
|
<akwatuha__> dkayiwa: i would like to concatenate fields eg concat(person_name.given_name,' ', person_name.middle_name,' ', person_name.family_name) full_name in external source of the property
|
09:14:41
|
<akwatuha__> dkayiwa: I realize when concatenated , the search does not work
|
09:14:50
|
<akwatuha__> dkayiwa: any ideas?
|
09:17:08
|
<dkayiwa> Tal: do not put it in openmrs-core
|
09:17:29
|
<Tal> dkayiwa: ok so i put it in other folder, now i imported the folder as a existing maven project to eclipse
|
09:17:30
|
<dkayiwa> akwatuha__: are you using an sql statement?
|
09:18:06
|
<dkayiwa> Tal: and how many projects has it loaded for it?
|
09:18:36
|
<Tal> dkayiwa: 3
|
09:18:49
|
<dkayiwa> Tal: ok good
|
09:18:54
|
<Tal> dkayiwa: appoinmentsechduling, api and omode
|
09:19:04
|
<dkayiwa> Tal: correct
|
09:19:25
|
<Tal> dkayiwa: now how can i run the webapp with this module?
|
09:19:59
|
<dkayiwa> Tal: first compile it into an omod
|
09:20:32
|
*** dmulindwa has quit IRC
|
09:20:38
|
<Tal> dkayiwa: oh everytime i need to compile to omode and install it again in the webapp?
|
09:20:56
|
*** dmulindwa has joined #openmrs
|
09:21:02
|
<dkayiwa> Tal: not always
|
09:21:21
|
<Tal> dkayiwa: can you explain?
|
09:21:25
|
<dkayiwa> Tal: we just wanna make sure you have the exact version as that code. not just the released one
|
09:21:41
|
<Tal> dkayiwa: ok so how can i compile it to omode?
|
09:22:20
|
<akwatuha__> dkayiwa: yes
|
09:22:23
|
<akwatuha__> dkayiwa: select person_name.person_id,CONCAT(person_name.given_name,' ', person_name.middle_name,' ', person_name.family_name) full_name from person_name inner join person on person_name.person_id=person.person_id
|
09:22:24
|
<dkayiwa> Tal: you can just do an mvn clean install
|
09:22:40
|
<dkayiwa> Tal: you can even do it from eclipse on right clicking the parent project
|
09:22:44
|
*** travis-ci has joined #openmrs
|
09:22:44
|
<travis-ci> [travis-ci] [openmrs/openmrs-core] [e7d0ac7] [dkayiwa] The build passed. - http://travis-ci.org/openmrs/openmrs-core/builds/14300282
|
09:22:44
|
*** travis-ci has left #openmrs
|
09:22:48
|
<OpenMRSBot> <http://ln-s.net/:gtM> (at travis-ci.org)
|
09:23:09
|
<dkayiwa> akwatuha__: does it work in a mysql gui?
|
09:23:16
|
<akwatuha__> dkayiwa: yes
|
09:23:32
|
<dkayiwa> akwatuha__: how many fields does it return?
|
09:23:42
|
<dkayiwa> akwatuha__: how many columns
|
09:24:02
|
<akwatuha__> dkayiwa: i mean msql terminal. It returns two columns
|
09:24:21
|
<dkayiwa> akwatuha__: what are the column names?
|
09:24:50
|
<akwatuha__> person_id,full_name
|
09:25:23
|
*** shruthd has quit IRC
|
09:25:39
|
<dkayiwa> akwatuha__: whats your value and display fields?
|
09:26:10
|
<akwatuha__> value=person_id, display=full_name
|
09:29:01
|
<akwatuha__> dkayiwa: value=person_id, display=full_name
|
09:29:21
|
<dkayiwa> akwatuha__: and what is the error message?
|
09:29:46
|
<akwatuha__> no error, i do not see anything in the logs
|
09:30:05
|
<akwatuha__> dkayiwa: no error, i do not see anything in the logs
|
09:30:31
|
<dkayiwa> akwatuha__: do a file save as and pastebin the form
|
09:34:17
|
<Tal> dkayiwa: daniel i ran mvn clean install and the build succed
|
09:34:27
|
<Tal> dkayiwa: where can i get the omode file?
|
09:34:36
|
<dkayiwa> Tal: under omod/target
|
09:35:42
|
<Tal> dkayiwa: i have appointmentscheduling-0.4-SNAPSHOT.omod
|
09:35:48
|
<Tal> dkayiwa: is that the file?
|
09:35:57
|
<dkayiwa> Tal: yes
|
09:36:08
|
<Tal> dkayiwa: i will try
|
09:37:08
|
<Tal> dkayiwa: ok i installed it
|
09:37:15
|
<Tal> dkayiwa: it seems to work
|
09:37:30
|
<Tal> dkayiwa: how can i know that it the latest version?
|
09:37:31
|
<akwatuha__> dkayiwa: i have sent an email having the saved form.
|
09:37:41
|
<akwatuha__> dkayiwa: pastebin refused my size
|
09:37:49
|
<dkayiwa> Tal: go to the admin/manage modules
|
09:37:59
|
<dkayiwa> Tal: then you see the listed version
|
09:38:01
|
<Tal> dkayiwa: im there
|
09:38:06
|
<dkayiwa> akwatuha__: ok
|
09:38:22
|
<dkayiwa> akwatuha__: which field should i look at?
|
09:38:37
|
<Tal> dkayiwa: Appointment Scheduling Module 0.4-SNAPSHOT
|
09:38:51
|
<Tal> dkayiwa: the version is 0.4-SNAPSHOT
|
09:38:52
|
<dkayiwa> Tal: thats the version number
|
09:39:11
|
<Tal> dkayiwa: ok, is it the latest?
|
09:39:25
|
*** shruthd has joined #openmrs
|
09:39:42
|
<dkayiwa> Tal: you have the code and hence you are the one to determine that :)
|
09:46:01
|
<akwatuha__> dkayiwa: sorry my computer went off. the field is parentguardianperson_search_option
|
09:46:29
|
<dkayiwa> akwatuha__: use the exact field name as it appears under form fields
|
09:48:01
|
*** dmulindwa has quit IRC
|
09:48:15
|
<akwatuha__> okay, loading my openmrs server. will provide it shortly
|
09:50:05
|
*** shruthd has quit IRC
|
09:56:47
|
<akwatuha__> dkayiwa: PARENTGUARDIANPERSON SEARCH OPTION
|
10:02:54
|
*** Tal has quit IRC
|
10:02:56
|
<dkayiwa> akwatuha__: tell me what happens if you change the data type to single select
|
10:02:57
|
*** shruthd has joined #openmrs
|
10:03:46
|
<Eli__> dkayiwa: Hi Daniel! :)
|
10:03:52
|
<dkayiwa> Eli__: hi
|
10:03:57
|
<dkayiwa> :)
|
10:04:12
|
<Eli__> dkayiwa: I need some help
|
10:04:19
|
<dkayiwa> Eli__: ahah
|
10:05:29
|
<Eli__> dkayiwa: I ran "mvn clean install" and then "mvn jetty:run" , but when i type http://localhost:8080/openmrs it does not log in
|
10:06:00
|
<Eli__> dkayiwa: it just says that the page isnt available, do you ave any idea why?
|
10:06:15
|
*** raonyguimaraes has joined #openmrs
|
10:06:26
|
<dkayiwa> Eli__: run it again
|
10:07:33
|
<Eli__> dkayiwa: okay
|
10:13:31
|
<Eli__> dkayiwa: nope, it still doesnt work
|
10:13:44
|
<dkayiwa> Eli__: pastebin the log
|
10:16:05
|
<Eli__> http://pastebin.com/Ut3U8AWH
|
10:16:07
|
<Eli__> dkayiwa: http://pastebin.com/Ut3U8AWH
|
10:17:38
|
<dkayiwa> Eli__: copy the url from the browser and paste it here
|
10:18:23
|
<Eli__> dkayiwa: that is what I did
|
10:18:40
|
<Eli__> dkayiwa: http://pastebin.com/Ut3U8AWH
|
10:19:45
|
<dkayiwa> Eli__: are you with Tal?
|
10:21:01
|
<Eli__> dkayiwa: No, but I have asked him about this and he doesn't know what is the problem
|
10:26:39
|
<harshadura> hi Eli__: may i help you, did it worked ?
|
10:27:09
|
<Eli__> harshadura: Hi :), it didnt
|
10:28:11
|
<harshadura> Eli__: whats the URL you're trying to open ?
|
10:28:29
|
<Eli__> harshadura: http://localhost:8080/openmrs/
|
10:28:35
|
*** shruthd has quit IRC
|
10:29:00
|
<harshadura> ok, Eli__: what does it show?
|
10:29:03
|
<Eli__> harshadura: Im trying to open it after the command "mvn jetty:run"
|
10:29:20
|
<Eli__> harshadura: it just says "This webpage is not available"
|
10:29:36
|
<harshadura> Eli__: make sure you are firing maven jetty:run under the webapp directory
|
10:29:57
|
<Eli__> harshadura: It is what I did
|
10:30:09
|
<harshadura> Eli__: ok
|
10:31:32
|
<harshadura> Eli__: would it be possible for me to see a screenshot of your browser ?
|
10:31:51
|
<Eli__> harshadura: sure, just a sec
|
10:31:58
|
<harshadura> Eli__: ok
|
10:34:48
|
<Eli__> harshadura: http://snag.gy/xuOeX.jpg
|
10:36:55
|
<harshadura> Eli__: are you able to visit: localhost:8080 ?
|
10:37:22
|
<Eli__> harshadura: yay, I found an answer on google
|
10:37:49
|
<harshadura> Eli__: cool
|
10:37:59
|
<Eli__> harshadura: instead of "localhost" I needed to type "http://127.0.0.1:8080/ " lol
|
10:38:13
|
<Eli__> harshadura: dkayiwa , Thanks :)
|
10:38:33
|
<harshadura> Eli__: thats weird, great find
|
10:38:35
|
<dkayiwa> Eli__: :)
|
10:51:03
|
*** shruthd has joined #openmrs
|
10:52:00
|
<Eli__> dkayiwa: Im sorry if I bother you too much... now I have another issue: it seems that my database server isnt running. so during the installation process I get "???Error executing sql: create database if not exists `?` default character set utf8 - Could not create connection to database server. Attempted reconnect 3 times. Giving up.??? Unable to create the database. The password might be incorrect or the database is not started."
|
10:52:27
|
<dkayiwa> Eli__: did you install mysql?
|
10:52:38
|
<Eli__> dkayiwa: thats the odd thing, I did
|
10:52:49
|
<dkayiwa> Eli__: can you login?
|
10:52:50
|
<Eli__> dkayiwa: how do I make sure it runs?
|
10:53:04
|
<Eli__> dkayiwa: how to do that?
|
10:53:18
|
<dkayiwa> Eli__: using any mysql GUI
|
10:55:41
|
<Eli__> dkayiwa: thats strange, before I formatted my computer I had GUI, and now I just have this command line.
|
10:56:00
|
<dkayiwa> Eli__: can you login using the commandline?
|
10:56:46
|
<Eli__> dkayiwa: I dont know how.. Im dounloading a GUI for mysql now, hoping it will work..
|
10:57:00
|
<dkayiwa> Eli__: ok
|
11:05:17
|
*** shruthd has quit IRC
|
11:20:43
|
*** Eli__ has quit IRC
|
11:55:59
|
<akwatuha__> dkayiwa: any ideas on using concat in SQL?
|
11:56:30
|
<dkayiwa> akwatuha__: did you finish my assignment
|
11:59:24
|
*** Eli__ has joined #openmrs
|
11:59:31
|
<Eli__> dkayiwa: Hi, are you still here?
|
11:59:56
|
<dkayiwa> Eli__: yes
|
12:04:17
|
<Eli__> dkayiwa: great, I got the system to work!
|
12:05:13
|
<Eli__> dkayiwa: where can I find the IRC logs od yesterday? I want to do exactly what you told Tal to do
|
12:05:26
|
<Eli__> dkayiwa: (I need to install the appointment module)
|
12:05:30
|
<akwatuha__> dkayiwa: sorry I had not seen your request to change to single select
|
12:08:05
|
*** magoo has quit IRC
|
12:08:07
|
<dkayiwa> Eli__: https://wiki.openmrs.org/display/IRC/2013+-+OpenMRS
|
12:08:39
|
<akwatuha__> dkayiwa: nothing happens, i do not see any error message both at server logs or JavaScript console
|
12:09:08
|
<Eli__> dkayiwa: I see only until 2013-07 - OpenMRS
|
12:09:18
|
<dkayiwa> akwatuha__: send me the new form
|
12:09:55
|
<dkayiwa> Eli__: can you report that to the mailing list?
|
12:10:27
|
<Eli__> dkayiwa: to openMRS devs?
|
12:11:27
|
<dkayiwa> Eli__: yes
|
12:11:39
|
<Eli__> dkayiwa: ok
|
12:14:51
|
*** dkayiwa_ has joined #openmrs
|
12:17:06
|
<Eli__> dkayiwa: I sent the mail, but in the meanwhile, maybe you can find me the specific log from yesterday? I would like to finish with the installation process already. thanks :)
|
12:18:03
|
*** dkayiwa has quit IRC
|
12:18:04
|
*** dkayiwa_ is now known as dkayiwa
|
12:19:11
|
<Eli__> dkayiwa: I sent the mail, but in the meanwhile, maybe you can find me the specific log from yesterday? I would like to finish with the installation process already. thanks :)
|
12:19:48
|
<dkayiwa> Eli__: what problem are you facing currently?
|
12:20:07
|
*** magoo has joined #openmrs
|
12:20:25
|
<Eli__> dkayiwa: I have no problem now, I want to install the appointment module like Tal did yesterday
|
12:21:05
|
<dkayiwa> Eli__: can you connect with Tal and he takes you through that? :)
|
12:21:18
|
<Eli__> dkayiwa: And I dont want to bother you again with the same questions, So I wanted to read the log and do whatever you told Tal to do
|
12:21:47
|
<Eli__> dkayiwa: okay, I guess it could wait a little
|
12:34:49
|
*** Eli__ has quit IRC
|
12:35:15
|
*** magoo has quit IRC
|
12:41:04
|
<akwatuha__> dkayiwa: I have sent the updated form
|
12:41:19
|
<dkayiwa> akwatuha__: ok let me check
|
12:41:40
|
<akwatuha__> dkayiwa: thank you
|
12:46:10
|
<dkayiwa> akwatuha__: what is the label of the widget on the design surface?
|
12:47:45
|
<dkayiwa> akwatuha__: and type is not yet single select
|
12:48:49
|
<akwatuha__> dkayiwa: the label is "Find parent" it is under the last group box
|
12:52:31
|
<akwatuha__> dkayiwa: it seems it never saved my changes
|
12:54:40
|
<akwatuha__> dkayiwa: i have revised and sent it
|
12:55:07
|
<dkayiwa> akwatuha__: has it saved the change now
|
12:56:48
|
<akwatuha__> dkayiwa: yes
|
12:56:57
|
<dkayiwa> akwatuha__: how do you tell
|
12:58:09
|
*** eli__ has joined #openmrs
|
12:58:53
|
<akwatuha__> dkayiwa: i closed the page and re-opened the value still exists
|
12:59:32
|
<akwatuha__> dkayiwa: when said it was still text, I closed the browser and when reloaded the field showed up as text
|
12:59:32
|
<dkayiwa> akwatuha__: can you now try test it out
|
12:59:51
|
<dkayiwa> akwatuha__: can you now search for the people
|
13:01:25
|
<akwatuha__> dkayiwa: i have tested. It is not working
|
13:01:45
|
<dkayiwa> akwatuha__: ok let me check
|
13:02:17
|
<akwatuha__> dkayiwa: okay, i am headed for a meeting. will catch up later.
|
13:02:36
|
<dkayiwa> akwatuha__: will test when yo back :)
|
13:06:34
|
*** shruthd has joined #openmrs
|
13:14:52
|
<ibewes> greetings all, is there anyone in here that could help with a REST WS issue?
|
13:17:02
|
*** nano has joined #openmrs
|
13:17:12
|
*** nano is now known as Guest23183
|
13:17:30
|
*** Guest23183 is now known as fernando_freire
|
13:18:10
|
*** shruthd has quit IRC
|
13:18:31
|
<fernando_freire> hi all, was wondering if anyone knows if there's a way to setup openmrs database connection with environment variables
|
13:21:42
|
*** shruthd has joined #openmrs
|
13:24:06
|
*** shruthd has joined #openmrs
|
13:25:21
|
*** shruthd has quit IRC
|
13:29:11
|
<fernando_freire> I want to be able to reference an environment variable for the database url, username and password
|
13:29:26
|
<fernando_freire> and these are set in the runtime properties file
|
13:41:18
|
<dkayiwa> fernando_freire: hi
|
13:42:58
|
<dkayiwa> akwatuha__: sent u mail
|
13:45:51
|
*** harshadura_ has joined #openmrs
|
13:48:29
|
*** harshadura has quit IRC
|
13:52:20
|
<fernando_freire> dkayiwa: hey, how are you?
|
13:52:32
|
<dkayiwa> fernando_freire: am good. and you?
|
13:52:43
|
<fernando_freire> dkayiwa: good as well
|
13:52:52
|
<dkayiwa> fernando_freire: did u have a question?
|
13:53:24
|
<fernando_freire> dkayiwa: yes. my question was whether there's any way to use environment variables for the db connection in openmrs
|
13:53:47
|
<fernando_freire> dkayiwa: I know the default is to set it up in the runtime properties file, and that one cannot take env variables, so was wondering if there's some work around
|
13:54:11
|
<dkayiwa> fernando_freire: whats the usecase?
|
13:55:56
|
<fernando_freire> dkayiwa: i'm actually deploying refapp to heroku, and the only stopper so far has been this configuration, to have it fully automated
|
13:56:52
|
<dkayiwa> fernando_freire: cant you automate the creation of the runtime properties file?
|
13:57:59
|
<fernando_freire> dkayiwa: yes, but at that point, I don't have the environment variable for the db yet
|
13:58:13
|
<fernando_freire> dkayiwa: so if I could reference it when openmrs reads the file, it would be good
|
13:58:39
|
<dkayiwa> fernando_freire: cant you do without the environment variable?
|
14:02:20
|
<fernando_freire> dkayiwa: heroku sets up the db by itself, and puts connection info in the environment variables
|
14:02:38
|
<fernando_freire> dkayiwa: every new deploy would have a new db
|
14:02:42
|
<dkayiwa> fernando_freire: oh i see
|
14:02:53
|
<fernando_freire> dkayiwa: you could configure it all by hand, but it could also be done automatically
|
14:03:44
|
<dkayiwa> fernando_freire: at what point are u able to access the enviroment variable?
|
14:04:09
|
<cospih> fernando_freire: hey Nano, just a quick suggestion: put in the runtimeproperties some placeholders [USERNAME] and ..
|
14:05:13
|
<cospih> fernando_freire: and then use a utility like sed -i 's/[USERNAME]/openmrs_usr/g' openmrs-runtime.properties > to replaces the settings
|
14:06:06
|
<fernando_freire> cospih: I tried that, but at the point I run the script, the enviroment variable doesn't exist/I don't have access to it
|
14:06:21
|
<fernando_freire> cospih: dkayiwa by the time the server starts, I would have access to the environment variables
|
14:06:22
|
<cospih> fernando_freire: ok, sorry
|
14:06:55
|
<fernando_freire> cospih: dkayiwa I've found another work around, stay tunned
|
14:07:20
|
<cospih> fernando_freire: great, i am curious
|
14:07:51
|
<fernando_freire> cospih: dkayiwa but essentially, it's a way that you can push a reference application type openmrs installation to heroku without having to do any config, just a push button and you have a implementation in the cloud :)
|
14:08:14
|
<cospih> fernando_freire: very cool
|
14:08:30
|
<cospih> fernando_freire: whenever you have some time i would like to hear more details
|
14:08:54
|
<dkayiwa> fernando_freire: oh cool :)
|
14:09:17
|
<fernando_freire> cospih: sure, if I manage to figure it out, I will send out and email with the findings and instructions :)
|
14:09:34
|
<cospih> fernando_freire: sounds great, thanks Nano!
|
14:09:41
|
<fernando_freire> cospih: np
|
14:19:15
|
*** wluyima has joined #openmrs
|
14:35:02
|
<wluyima> cpower: standup url?
|
14:36:48
|
<cpower> wluyima: standby
|
14:38:46
|
<cpower> https://plus.google.com/hangouts/_/76cpi1afsv06uvaefsesmes0u4?hl=en
|
14:38:49
|
<OpenMRSBot> <http://ln-s.net/:h5O> (at plus.google.com)
|
14:49:51
|
*** sgithens has quit IRC
|
14:50:53
|
*** fernando_freire has quit IRC
|
15:20:25
|
*** shruthd has joined #openmrs
|
15:49:35
|
*** sgithens has joined #openmrs
|
16:05:10
|
*** jkhu has joined #openmrs
|
16:05:12
|
<jkhu> http://www.RevenueJob.com/index.php?share=27529
|
16:05:15
|
*** jkhu has left #openmrs
|
16:19:36
|
*** wluyima has quit IRC
|
16:20:06
|
*** wluyima has joined #openmrs
|
16:39:37
|
*** harshadura_ has quit IRC
|
16:58:35
|
*** djazayeri has joined #openmrs
|
16:58:35
|
*** ChanServ sets mode: +o djazayeri
|
17:04:25
|
*** sgithens has quit IRC
|
17:14:56
|
*** dkayiwa_ has joined #openmrs
|
17:16:51
|
*** dkayiwa has quit IRC
|
17:16:52
|
*** dkayiwa_ is now known as dkayiwa
|
17:53:51
|
<jkeiper> djazayeri: does (uiframework, uicommons) support hotkeys for pages?
|
17:56:11
|
<jkeiper> mseaton: are you creating report designs, etc as metadata and importing (for your module-based specific use cases) or do you create them in code during module startup? this is related to "best practices"
|
17:56:12
|
<djazayeri> jkeiper: no, want to add it? :-)
|
17:56:17
|
<jkeiper> djazayeri: haha, sure
|
17:59:27
|
*** wluyima has quit IRC
|
18:03:20
|
*** dkayiwa_ has joined #openmrs
|
18:05:08
|
*** dkayiwa has quit IRC
|
18:05:08
|
*** dkayiwa_ is now known as dkayiwa
|
18:15:36
|
*** wluyima has joined #openmrs
|
18:16:11
|
*** Mkop has quit IRC
|
18:27:49
|
*** sgithens has joined #openmrs
|
18:30:50
|
*** dkayiwa_ has joined #openmrs
|
18:32:06
|
*** dkayiwa has quit IRC
|
18:32:18
|
*** dkayiwa_ is now known as dkayiwa
|
18:54:00
|
*** raonyguimaraes has quit IRC
|
18:55:01
|
*** shruthd has quit IRC
|
20:05:19
|
*** k-joseph has joined #openmrs
|
20:10:59
|
<wluyima> cpower: scrumming?
|
20:13:32
|
<cpower> yep
|
20:13:37
|
<cpower> !scrumon cpower
|
20:13:37
|
* OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster cpower- you may begin when ready.
|
20:13:58
|
<cpower> Order: djazayeri , wluyima , dkayiwa , rafa
|
20:14:52
|
<djazayeri> Recently:
|
20:15:09
|
<djazayeri> * Worked on row-per-obs data set definitions in the reporting module (with mark)
|
20:15:16
|
<djazayeri> * working on Mirebalais reports
|
20:15:17
|
<djazayeri> no blockers
|
20:15:59
|
<wluyima> Wednesday:
|
20:15:59
|
<wluyima> - UI framework presentation on the university call
|
20:16:01
|
<wluyima> - design call
|
20:16:02
|
<wluyima> - final preparations for GHI WIP presentation for Thursday 12/21
|
20:16:04
|
<wluyima> Thursday:
|
20:16:05
|
<wluyima> - dev call
|
20:16:07
|
<wluyima> - Present the UI framework and RA during the GHI Work In Work In Progress
|
20:16:08
|
<wluyima> - Get back order entry work
|
20:16:09
|
<wluyima>
|
20:16:10
|
<wluyima> Blockers: None
|
20:17:05
|
<dkayiwa> Committed last set of module life cycle unit tests
|
20:17:05
|
<dkayiwa> Did some volunteer code review
|
20:17:05
|
<dkayiwa> Spent some time with Tobin's student
|
20:17:06
|
<dkayiwa> Dev Call
|
20:17:06
|
<dkayiwa> Doing more volunteer code review
|
20:17:06
|
<dkayiwa> No Blockers
|
20:25:17
|
<cpower> rafa:
|
20:26:58
|
<cpower> ok thanks
|
20:27:02
|
<cpower> !scrumoff
|
20:27:02
|
* OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
|
20:27:27
|
<cpower> Hey burke you there
|
20:27:33
|
<cpower> burke:
|
20:29:02
|
*** dkayiwa has left #openmrs
|
20:32:25
|
*** wluyima has quit IRC
|
20:37:26
|
*** k-joseph has quit IRC
|
20:41:01
|
*** k-joseph has joined #openmrs
|
20:50:42
|
*** shruthd has joined #openmrs
|
21:03:27
|
*** shruthd has quit IRC
|
21:35:23
|
*** shortend has joined #openmrs
|
21:38:54
|
<shortend> I'm having trouble loading a new module... wonder if anyone might have a clue for me.
|
21:39:38
|
<shortend> For some reason when I try to start my new module (which depends on some existing modules), the WebApplicationContext fails to refresh...
|
21:39:53
|
<shortend> ... and complains about not being able to find candidate beans for services in other modules.
|
21:40:15
|
<shortend> These modules load fine on their own, but when I try to load my module which depends on them, it's failing.
|
21:46:21
|
*** sgithens has quit IRC
|
21:49:35
|
*** yanosz has quit IRC
|
21:50:41
|
*** wluyima has joined #openmrs
|
21:51:18
|
*** shruthd has joined #openmrs
|
21:51:30
|
*** yanosz has joined #openmrs
|
21:52:03
|
*** shruthd has quit IRC
|
21:53:51
|
*** upul has joined #openmrs
|
21:53:51
|
*** k-joseph has quit IRC
|
22:27:45
|
*** wluyima has quit IRC
|
23:10:09
|
*** robbyoconnor has joined #openmrs
|
23:10:09
|
*** ChanServ sets mode: +v robbyoconnor
|
23:10:51
|
<djazayeri> shortend: in your config.xml do you declare dependencies on those other modules?
|
23:11:26
|
<shortend> djazayeri: I did, yes.
|
23:12:40
|
<shortend> djazayeri: Another thing that keeps showing up in the stack trace is NoClassDefFoundError and ClassNotFoundException for an interface in my module.
|
23:13:21
|
<djazayeri> shortend: when does this happen? During your module's startup?
|
23:13:29
|
<shortend> djazayeri: Yes.
|
23:14:22
|
<shortend> djazayeri: I used the Maven archetype to create the module, so I don't think I'm doing anything too strange.
|
23:14:23
|
<djazayeri> shortend: in what activator method?
|
23:19:13
|
<shortend> djazayeri: Not sure I understand. I don't know if it's getting as far as my module activator.
|
23:19:28
|
<djazayeri> shortend: what line throws the exception? spring wiring?
|
23:21:29
|
<shortend> djazayeri: JavassistLazyInitializer.getProxyFactory
|
23:21:57
|
<shortend> djazayeri: at javassist.util.proxy.ProxyFactory.createClass3
|
23:22:07
|
<djazayeri> shortend: is your code in github?
|
23:22:17
|
<shortend> djazayeri: I don't know if that's helping.
|
23:22:28
|
<shortend> djazayeri: It could be...
|
23:22:52
|
<djazayeri> shortend: what class is not found? a service? something else?
|
23:23:26
|
<shortend> djazayeri: No, it's a model interface.
|
23:23:52
|
<shortend> djazayeri: An interface that I'm using for polymorphic hibernate mapping.
|
23:24:02
|
<djazayeri> shortend: okay, why is it being loaded? how does it fit into the applicationcontext?
|
23:26:41
|
<shortend> djazayeri: It's the type associated with my hibernate services.
|
23:27:10
|
<djazayeri> shortend: would probably help if your code was on github and I could see what you mean
|
23:27:22
|
<shortend> djazayeri: Give me a minute...
|
23:33:01
|
*** sgithens has joined #openmrs
|
23:34:44
|
<shortend> djazayeri: https://github.com/icchange/openmrs-module-openhmis.eventbasedbilling/tree/develop
|
23:35:39
|
<shortend> djazayeri: It'
|
23:36:12
|
<djazayeri> shortend: what's the class, and can you pastebin the stack trace (including any caused-by)?
|
23:36:24
|
<shortend> djazayeri: It's IBillingHandler and IBillAssociator that are giving me troubles, which are the classes associated with my two hibernate services
|
23:37:31
|
<shortend> djazayeri: http://pastebin.com/kyefs1YS
|
23:40:05
|
<djazayeri> shortend: nothings springs to mind hereâ¦
|
23:40:35
|
<djazayeri> shortend: are you using annotation-driven hibernate config? or xml?
|
23:40:45
|
<shortend> djazayeri: xml
|
23:41:04
|
<djazayeri> shortend: I have no bright ideas. Sorry. :-(
|
23:41:20
|
<shortend> djazayeri: I appreciate you taking a look.
|
23:41:44
|
<shortend> djazayeri: I imagine it's something simple that will only take me a few more hours to bump into :P
|
23:42:16
|
*** wluyima has joined #openmrs
|
23:42:56
|
<djazayeri> shortend: good luck
|