| 02:33:59 | <harshadura> hi bwolfe |
| 02:34:52 | <harshadura> can i get a min to ask some technical questions? |
| 02:46:29 | *** maurya has joined #openmrs |
| 02:53:27 | *** maurya has quit IRC |
| 03:34:28 | *** r0bby_ has joined #openmrs |
| 03:34:28 | *** ChanServ sets mode: +v r0bby_ |
| 03:37:26 | *** r0bby has quit IRC |
| 03:42:22 | *** r0bby has joined #openmrs |
| 03:42:22 | *** ChanServ sets mode: +v r0bby |
| 03:45:30 | *** r0bby_ has quit IRC |
| 03:53:12 | *** r0bby has quit IRC |
| 03:56:13 | *** r0bby has joined #openmrs |
| 03:56:13 | *** ChanServ sets mode: +v r0bby |
| 04:00:32 | *** r0bby has quit IRC |
| 04:33:59 | *** every0ne has joined #openmrs |
| 04:51:21 | *** bryq has joined #openmrs |
| 04:51:21 | *** ChanServ sets mode: +v bryq |
| 04:55:46 | *** bryq has left #openmrs |
| 05:13:27 | *** pulasthi7 has joined #openmrs |
| 05:15:59 | <every0ne> 'lo pulasthi7 |
| 05:16:15 | <pulasthi7> hi every0ne |
| 05:18:43 | <every0ne> you evertried to debug on glassfish? |
| 05:18:53 | <every0ne> uh. have i asked you this before? |
| 05:19:34 | <pulasthi7> every0ne, no i'm using jetty, and tomcat |
| 05:20:54 | <every0ne> is a jetty configuration bundled with the app? |
| 05:22:47 | <pulasthi7> every0ne, goto webapp folder and run 'mvn jetty:run' |
| 05:23:25 | <pulasthi7> maven does the rest as far as i know |
| 05:24:00 | <every0ne> pulasthi7: hang on. let me see where that is. that entry isn't listed here in eclipse, i may have to dig a bit |
| 05:27:10 | <every0ne> pulasthi7: you on trunk? |
| 05:28:20 | <pulasthi7> every0ne, did you get it? |
| 05:29:01 | <every0ne> pulasthi7: not yet. running a search now |
| 05:29:53 | <pulasthi7> webapp folder is in the trunk |
| 05:34:07 | <every0ne> pulasthi7: i found webapp. looking for a configuration file there for jetty |
| 05:38:35 | <pulasthi7> every0ne, which configuration file do you mean? |
| 05:39:14 | <every0ne> for jetty? wouldn't it have an XML, or something? i'm not at all familiar with jetty |
| 05:40:36 | <pulasthi7> i think maven handles it, i'm also bit new with java web. |
| 05:41:04 | <pulasthi7> every0ne, does the 'mvn jetty:run' work there |
| 05:43:07 | *** goutham has joined #openmrs |
| 05:43:47 | <every0ne> nope. maven doesn't list a 'run'/'deploy' target there |
| 05:47:10 | <pulasthi7> every0ne, didn't you build the trunk? |
| 05:47:59 | <every0ne> pulasthi7: i did. build successful. |
| 05:49:16 | <pulasthi7> every0ne, do you have the war file now in webapp |
| 05:49:36 | <pulasthi7> in target folder? |
| 05:50:36 | <every0ne> pulasthi7: yes. what i hope to do is to deploy it in debug mode from within Eclipse |
| 05:59:10 | *** dkayiwa has joined #openmrs |
| 05:59:59 | <every0ne> pulasthi7: Here's what the console says on deploy - "Missing site information in the distribution management element in the project.." |
| 06:00:43 | <goutham> Hi dkayiwa |
| 06:00:54 | <dkayiwa> hi goutham |
| 06:01:01 | <goutham> dkayiwa: How was ur week end? |
| 06:01:34 | <dkayiwa> goutham: it was nice. and yours? :) |
| 06:02:50 | <goutham> dkayiwa: Great... Had a get together party with old friends 8) |
| 06:03:11 | <dkayiwa> goutham: oh that must have been lots of fun and a good rest for you :D |
| 06:03:54 | <goutham> dkayiwa: :) |
| 06:05:42 | <dkayiwa> goutham: how is coding? :) |
| 06:05:50 | <goutham> dkayiwa: u got my mail? |
| 06:06:06 | <dkayiwa> goutham: about teh data model? |
| 06:06:40 | <goutham> dkayiwa: its going smooth... yes abt data model? |
| 06:06:59 | <dkayiwa> goutham: reading it now |
| 06:07:12 | <goutham> dkayiwa: Ok :) |
| 06:08:37 | <dkayiwa> goutham: which new cols did you add? :) |
| 06:09:55 | <goutham> dkayiwa: Changed_by , date_changed, creator ... |
| 06:10:31 | <dkayiwa> goutham: did you also think of adding retire fields? |
| 06:10:38 | <goutham> goutham: i have attached data_model.jpg to that mail ! |
| 06:11:08 | <goutham> dkayiwa: no... |
| 06:11:41 | <dkayiwa> goutham: would be good to do like the other openmrs metadata tables that have also retire fields |
| 06:11:41 | <goutham> dkayiwa: should i take them into consideration? |
| 06:11:46 | <dkayiwa> goutham: yes |
| 06:12:00 | <dkayiwa> goutham: did you intentionally leave out the uuid field? |
| 06:13:48 | <goutham> dkayiwa: No... this is the first time for me in designing data model ... So i really dont know which columns to add |
| 06:14:18 | <dkayiwa> goutham: you can look at the existing openmrs tables and see what they have in common, then copy that :) |
| 06:16:02 | <goutham> dkayiwa: ok.. can you specify few table names |
| 06:16:30 | <dkayiwa> goutham: would be better for you (learning purposes) if you randomly looked at them :) |
| 06:17:01 | <goutham> dkayiwa: :) ok |
| 06:27:26 | *** r0bby has joined #openmrs |
| 06:27:26 | *** ChanServ sets mode: +v r0bby |
| 06:30:40 | *** r0bby has quit IRC |
| 06:30:43 | *** r0bby|droid has joined #openmrs |
| 06:30:43 | *** ChanServ sets mode: +v r0bby|droid |
| 06:31:06 | *** r0bby|droid has quit IRC |
| 06:32:00 | *** goutham has quit IRC |
| 06:32:09 | *** applecool has joined #openmrs |
| 06:44:47 | *** r0bby has joined #openmrs |
| 06:44:47 | *** ChanServ sets mode: +v r0bby |
| 06:53:21 | <every0ne> dkayiwa: initial deploy of trunk on mysql5 throws a db error - invalid update. |
| 06:54:05 | <dkayiwa> every0ne: can i look at the stack trace? |
| 06:54:11 | <dkayiwa> every0ne: use pastebin |
| 06:54:49 | <every0ne> dkayiwa: sure. hang on. constraint violation on child update. let me paste it. |
| 06:55:03 | <dkayiwa> every0ne: when did you last update your trunk? |
| 06:57:20 | <every0ne> dkayiwa: http://pastebin.com/P3sCnKzJ a few hours ago |
| 06:58:04 | <dkayiwa> every0ne: after that, did you do an mvn clean install? |
| 06:59:29 | <every0ne> dkayiwa: i used the clean install targets ... under the assumption clean install invokes a transparent update. |
| 06:59:47 | <dkayiwa> every0ne: it does not |
| 06:59:50 | *** harshadura has quit IRC |
| 07:00:11 | <every0ne> dkayiwa: ah. ok, i'll do an explicit update then. |
| 07:00:16 | <dkayiwa> ok |
| 07:06:46 | *** magoo__ has joined #openmrs |
| 07:12:18 | *** r0bby has quit IRC |
| 07:15:21 | *** dkayiwa has quit IRC |
| 07:20:27 | *** dkayiwa has joined #openmrs |
| 07:22:08 | *** sunbiz has joined #openmrs |
| 07:22:08 | *** ChanServ sets mode: +v sunbiz |
| 07:38:49 | *** dkayiwa has quit IRC |
| 07:39:09 | *** snoppy has joined #openmrs |
| 07:44:47 | *** sunbiz has quit IRC |
| 07:45:04 | *** dkayiwa has joined #openmrs |
| 07:47:01 | *** sunbiz has joined #openmrs |
| 07:47:01 | *** ChanServ sets mode: +v sunbiz |
| 08:15:03 | *** rafa has joined #openmrs |
| 08:15:03 | *** ChanServ sets mode: +v rafa |
| 08:53:11 | <applecool> hey rafa |
| 08:53:12 | <applecool> :) |
| 08:53:19 | <rafa> applecool: hi! |
| 08:53:56 | <applecool> i looked at your comments :) i am changing them! :) |
| 08:54:14 | <rafa> applecool: good |
| 08:54:26 | <applecool> i have some doubts ! i will ask them when i go through them |
| 08:54:27 | <applecool> :) |
| 08:54:40 | <rafa> applecool: ok, I'm here if you need me |
| 08:56:06 | <rafa> applecool: It'd be great if we had all tests passing by the end of the day |
| 08:56:11 | *** sunbiz has quit IRC |
| 08:56:19 | <rafa> applecool: that's the goal |
| 08:56:32 | <applecool> ok cool |
| 08:59:10 | <dkayiwa> hi rafa |
| 08:59:18 | <rafa> hi dkayiwa! |
| 08:59:28 | <dkayiwa> rafa: whats the clone url for the privilege helper module? |
| 09:00:16 | <rafa> dkayiwa: https://github.com/rkorytkowski/openmrs-module-privilegehelper.git |
| 09:00:22 | <OpenMRSBot> <http://ln-s.net/$DXh> (at github.com) |
| 09:00:25 | <dkayiwa> rafa: ok thanks |
| 09:09:50 | <every0ne> still building ... |
| 09:20:59 | <dkayiwa> rafa: when i import in eclipse, i see two instead of the normally three projects. is that fine? |
| 09:21:21 | <rafa> dkayiwa: you should see three |
| 09:21:50 | <dkayiwa> rafa: i see the api and omod only. any off the head clues as to where i could be messing up? :) |
| 09:22:26 | <dkayiwa> rafa: or could you just send me the omod. may be attach it on the ticket? :) |
| 09:22:26 | <rafa> dkayiwa: are you using import existing maven projects? |
| 09:22:32 | <dkayiwa> rafa: yes |
| 09:22:56 | <rafa> dkayiwa: when you select the project to import does the wizard show you parent and two children projects? |
| 09:23:35 | <rafa> dkayiwa: you don't need to import it to eclipse to build omod :) |
| 09:23:39 | <dkayiwa> rafa: yes. |
| 09:23:42 | <rafa> dkayiwa: just run mvn clean install on the main project |
| 09:23:52 | <dkayiwa> rafa: let me just do that. thanks :) |
| 09:24:14 | <rafa> dkayiwa: maybe you've got it in eclipse, but it has a strange name |
| 09:24:25 | <rafa> dkayiwa: did you look carefully? :) |
| 09:24:51 | <rafa> dkayiwa: eclipse names the main project same as folder |
| 09:25:04 | <rafa> dkayiwa: if you clone from git it's openmrs-module-privilegehelper |
| 09:25:30 | <dkayiwa> rafa: yes thats the name of the folder on the file system |
| 09:25:44 | <rafa> dkayiwa: so it may be in eclipse as well |
| 09:25:54 | <dkayiwa> rafa: when importing into eclipse the child projects are api and omod |
| 09:26:27 | <dkayiwa> rafa: hahaha. you are very very correct :D |
| 09:26:45 | <rafa> dkayiwa: I tend to rename the folder before importing to privilegehelper :) |
| 09:27:03 | <dkayiwa> rafa: let me do so. thanks so much for the pointer :) |
| 09:27:13 | <rafa> dkayiwa: np |
| 09:33:40 | <magoo__> Hi everyone |
| 09:34:26 | <magoo__> dkayiwa is it possible to customize the patient form depending on the hospital/clinic needs |
| 09:34:54 | <dkayiwa> magoo__: do you mean patient registration form? |
| 09:34:58 | <applecool> hey rafa |
| 09:35:06 | <applecool> i have a doubt |
| 09:35:09 | <rafa> applecool: hi |
| 09:35:21 | <applecool> in the PackageFormController |
| 09:35:36 | <dkayiwa> "i have a double" = "one comes from India" :) |
| 09:35:44 | <every0ne> dkayiwa: build failures on openmrs-api project |
| 09:35:51 | <dkayiwa> where double = doubt :) |
| 09:36:05 | <dkayiwa> every0ne: stack trace on pastebin |
| 09:36:14 | <every0ne> dkayiwa: ko |
| 09:36:28 | <applecool> In this when i remove the HttpServletRequest the request parameter vanishes! So String id = request.getParameter("id") doesnt work ! |
| 09:36:40 | <applecool> dkayiwa: :D |
| 09:36:46 | <dkayiwa> magoo__: https://wiki.openmrs.org/display/docs/XForms+Module+Patient+Registration |
| 09:36:47 | <OpenMRSBot> <http://ln-s.net/8a:K> (at wiki.openmrs.org) |
| 09:36:53 | <dkayiwa> applecool: :D |
| 09:37:15 | <rafa> applecool: but you add Long id |
| 09:37:31 | <rafa> applecool: you don't need to String id =... anymore |
| 09:37:42 | <applecool> rafa: yes i added it ! @RequestParam(required = false) final Long id |
| 09:37:50 | <rafa> applecool: then use it |
| 09:37:58 | <every0ne> dkayiwa: http://pastebin.com/afDKXyNw |
| 09:38:03 | <magoo__> dkayiwa yes |
| 09:38:29 | <applecool> so it will be directly checking the id whether its null or not! |
| 09:38:32 | <applecool> right? |
| 09:38:34 | <rafa> applecool: spring does String id = request... for you if you say Long id |
| 09:38:53 | <rafa> applecool: no you still have to check if it's null or not because you have required = false |
| 09:39:10 | <rafa> but now you just check if (id != null) |
| 09:39:12 | <applecool> yeah thats what i meant |
| 09:39:25 | <applecool> yeah i adde d that |
| 09:39:37 | <dkayiwa> every0ne: that is a test which fails randomly. just do an mvn clean install again :) |
| 09:39:54 | <rafa> dkayiwa: haha we really need to fix that :D |
| 09:40:11 | <dkayiwa> rafa: i fully agree :\ |
| 09:40:22 | <every0ne> dkayiwa: random failure? |
| 09:40:30 | <dkayiwa> every0ne: yes |
| 09:40:42 | <rafa> every0ne: yes, you were unlucky ;) |
| 09:40:52 | <applecool> rafa: i guess the work with the PackageFormController.java is done for now! i hope! :D |
| 09:41:02 | <applecool> i meant the changes! |
| 09:41:12 | <dkayiwa> every0ne: just like i have been sometimes for the same test :) |
| 09:41:26 | <rafa> applecool: just let me know when you make all the changes |
| 09:41:38 | <rafa> applecool: I'll have a look then |
| 09:41:40 | <every0ne> dkayiwa: i'm good at that q+: it's like the time i couldn't decide whether to yawn, or sneeze |
| 09:41:50 | * every0ne trots off to rebuild |
| 09:41:55 | <applecool> ok! rafa whats about the missing javadoc? |
| 09:41:57 | <dkayiwa> every0ne: :D |
| 09:42:09 | <rafa> applecool: very simple write javadoc |
| 09:42:26 | *** goutham has joined #openmrs |
| 09:42:31 | <rafa> applecool: http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html |
| 09:42:34 | <OpenMRSBot> <http://ln-s.net/$DYJ> (at www.oracle.com) |
| 09:42:49 | <applecool> haha! i am checking that! :D |
| 09:42:55 | <applecool> already |
| 09:42:56 | <applecool> :D |
| 09:49:44 | *** finbrein has joined #openmrs |
| 10:01:03 | *** sunbiz has joined #openmrs |
| 10:01:03 | *** ChanServ sets mode: +v sunbiz |
| 10:03:37 | *** rafa_ has joined #openmrs |
| 10:03:37 | *** ChanServ sets mode: +v rafa_ |
| 10:04:24 | *** rafa has quit IRC |
| 10:04:29 | *** rafa_ is now known as rafa |
| 10:11:21 | *** sunbiz1 has joined #openmrs |
| 10:11:59 | *** sunbiz has quit IRC |
| 10:14:03 | <applecool> hey rafa |
| 10:14:15 | <rafa> applecool: still here |
| 10:14:24 | <applecool> so adding javadoc means its like adding the comments about the code which is written |
| 10:14:25 | <applecool> right? |
| 10:14:44 | <applecool> in a specified format of their's! |
| 10:15:21 | <rafa> right |
| 10:15:50 | <applecool> okay :) |
| 10:16:19 | <rafa> applecool: add at least one sentence explaining what's the purpose of a class or interface |
| 10:16:38 | <applecool> okay :) |
| 10:18:08 | *** pulasthi7 has quit IRC |
| 10:18:10 | <applecool> rafa: Should i add the author too? |
| 10:18:13 | <applecool> as your name? |
| 10:18:20 | <rafa> applecool: no, we don't add authors |
| 10:18:25 | <applecool> cool :) |
| 10:18:31 | <applecool> okay ! :) |
| 10:21:24 | <applecool> rafa: aren't we going to search the package by name? |
| 10:21:57 | <rafa> applecool: we're going to search by name, description, etc, but we'll add that later on |
| 10:22:15 | <rafa> applecool: and it won't return one package rather a list of matching packages |
| 10:22:30 | *** bryq has joined #openmrs |
| 10:22:30 | *** ChanServ sets mode: +v bryq |
| 10:22:46 | <applecool> okay |
| 10:24:24 | <rafa> applecool: always write the minimum functionality that is needed to make the code build and pass tests |
| 10:25:00 | <applecool> okay :) |
| 10:43:01 | <applecool> rafa: we didnt create a table for the package right? |
| 10:43:30 | <rafa> applecool: what you mean? |
| 10:43:39 | <applecool> so what should i give the name of the table for package in the sample-data.xml! |
| 10:44:18 | <applecool> i need to add a sample data right. in the xml file |
| 10:44:37 | <rafa> right |
| 10:44:41 | <rafa> applecool: @Table(name="package") |
| 10:44:54 | <applecool> oops! |
| 10:55:43 | *** sunbiz1 has quit IRC |
| 10:57:55 | *** sunbiz has joined #openmrs |
| 10:57:55 | *** ChanServ sets mode: +v sunbiz |
| 11:07:33 | *** bryq has quit IRC |
| 11:08:19 | <magoo__> dkayiwas what causes the following error, The following modules are marked as 'core' by OpenMRS but were unable to start: logic v0.5 |
| 11:09:29 | <dkayiwa> magoo__: can you pastebin the tomcat log |
| 11:14:01 | *** every0ne is now known as everyone-has-a-h |
| 11:14:47 | <magoo__> dkayiwa url http://pastebin.com/9DLBJNzb |
| 11:21:18 | <applecool> rafa: committed the changes |
| 11:21:31 | <rafa> applecool: ok, let me look |
| 11:21:32 | <dkayiwa> magoo__: are you trying to do a new installation? |
| 11:21:53 | <applecool> i guess some have bugs still! need to be resolved! please check once and tell me! |
| 11:22:00 | <applecool> rafa: okay :) |
| 11:25:17 | *** bryq has joined #openmrs |
| 11:25:17 | *** ChanServ sets mode: +v bryq |
| 11:25:24 | <rafa> applecool: it doesn't build |
| 11:25:28 | <magoo__> dkayiwa i did the installation last week the installation finished without any problem but today when i tried opening openmrs it started with the initial setup screen |
| 11:25:43 | <applecool> yes! i didnt change the packagemanagertest |
| 11:25:48 | <applecool> its giving me an error |
| 11:25:54 | <dkayiwa> magoo__: can you try restart tomcat? |
| 11:25:57 | <rafa> applecool: why didn't you change that? |
| 11:26:05 | <magoo__> okay |
| 11:26:18 | <applecool> forgot to change it! |
| 11:27:09 | <rafa> applecool: fix it and let me know. |
| 11:27:19 | *** bryq has quit IRC |
| 11:27:19 | <applecool> rafa: okay |
| 11:28:07 | <rafa> applecool: there must be no compilation errors |
| 11:28:33 | <applecool> okay! actually i changed the savepackage to return a list |
| 11:28:42 | <applecool> and thats gving me an error! |
| 11:28:44 | <applecool> :( |
| 11:28:54 | <rafa> applecool: why savePackage returns a list? |
| 11:30:20 | <applecool> sorry not savepackage ! the getpackage |
| 11:30:50 | <rafa> applecool: didn't I ask to get rid of that for now? |
| 11:31:09 | <applecool> yes! |
| 11:31:12 | <applecool> i am removing it |
| 11:31:22 | <rafa> applecool: ok |
| 11:34:18 | <magoo__> dkayiwa i have restarted tomcat |
| 11:34:42 | <dkayiwa> ok |
| 11:36:42 | <magoo__> dkayiwa am still getting the same problem |
| 11:37:12 | <dkayiwa> magoo__: can you try stop tomcat, then delete the openmrs folder under webapps and try again? |
| 11:39:00 | <magoo__> dkayiwa you mean i re-deploy openmrs |
| 11:39:40 | <dkayiwa> magoo__: no |
| 11:40:05 | <dkayiwa> just stop tomcat, then delete the openmrs folder under webapps and try again |
| 11:40:47 | <magoo__> dkayiwa okay |
| 11:40:48 | *** dkayiwa has quit IRC |
| 11:41:58 | *** dkayiwa has joined #openmrs |
| 11:42:30 | <applecool> i changed it and i am building it! hope it goes fine ! fingers crossed! rafa |
| 11:43:40 | <applecool> rafa: http://pastebin.com/cUFjtyQ4 |
| 11:45:18 | <rafa> applecool: modify hibernate.cfg.xml file and add mapping to Package |
| 11:45:49 | <rafa> applecool: same in the persistance.xml file |
| 11:47:47 | <applecool> okay :) |
| 11:52:19 | <applecool> * build failed * |
| 11:54:47 | <magoo__> dkayiwa am getting this message Invalid username and/or password: admin Unable to complete the startup. |
| 11:57:11 | <dkayiwa> magoo__: try doing a clean install if you can. (since you are just testing) :) |
| 11:58:53 | <magoo__> dkayiwa okay |
| 11:59:34 | *** dkayiwa has quit IRC |
| 12:00:13 | <applecool> rafa |
| 12:00:24 | <rafa> applecool: yes? |
| 12:01:16 | <applecool> its the problem with the tests! i committed the code |
| 12:02:15 | <applecool> its failing! i am trying to fix it~ |
| 12:04:33 | <applecool> rafa: http://pastebin.com/mkuFRPqv |
| 12:06:17 | <rafa> applecool: why don't you read the stack trace? |
| 12:06:28 | <rafa> applecool: it tells you precisely what needs to be fixed |
| 12:07:09 | <applecool> rafa: i am reading it :) just gave you the link! :) |
| 12:07:46 | <rafa> applecool: ok |
| 12:14:08 | <rafa> applecool: and how is it going? |
| 12:16:16 | *** magoo__ has quit IRC |
| 12:16:28 | <applecool> trying to understand it! |
| 12:17:00 | <rafa> applecool: ok let me tell you how to read a stack trace |
| 12:17:16 | <applecool> okay |
| 12:17:31 | <rafa> applecool: look for all sentences starting with caused by |
| 12:18:07 | <applecool> ok |
| 12:18:15 | <rafa> applecool: one of the should tell you the underlying reason why it failed |
| 12:18:28 | *** sathyan has joined #openmrs |
| 12:18:38 | <applecool> hmm |
| 12:20:28 | <rafa> applecool: if a caused by message is not clear go to the next one |
| 12:20:51 | <rafa> applecool: hopefully you'll find one that you understand |
| 12:21:00 | <applecool> okay :) |
| 12:22:10 | *** sunbiz has quit IRC |
| 12:24:07 | *** sunbiz has joined #openmrs |
| 12:24:07 | *** ChanServ sets mode: +v sunbiz |
| 12:24:33 | <rafa> applecool: still looking? |
| 12:25:52 | *** r_friedman has joined #openmrs |
| 12:27:26 | *** sunbiz has left #openmrs |
| 12:27:45 | <applecool> in trouble with the package manager test |
| 12:28:01 | *** magoo_ has joined #openmrs |
| 12:29:26 | <rafa> applecool: are you still looking at http://pastebin.com/mkuFRPqv? |
| 12:29:40 | <rafa> applecool: line 329: Caused by: org.hibernate.PropertyNotFoundException: Could not find a setter for property version in class org.openmrs.contrib.model.Package |
| 12:30:08 | <applecool> yes |
| 12:30:16 | <rafa> applecool: isn't that clear? |
| 12:30:32 | <rafa> applecool: do you have a setter for version in Package? |
| 12:31:20 | <applecool> yes i have it i guess! |
| 12:31:29 | <rafa> applecool: no you don't |
| 12:31:38 | <rafa> applecool: you have setPackageVersion |
| 12:31:48 | <rafa> applecool: not setVersion |
| 12:32:20 | <rafa> applecool: rename it to setVersion |
| 12:39:09 | <everyone-has-a-h> phew. finally updated, and built. let's see now ... |
| 12:39:13 | *** everyone-has-a-h is now known as everyone |
| 12:39:18 | *** everyone is now known as every0ne |
| 13:05:59 | *** harshadura has joined #openmrs |
| 13:06:41 | *** harshadura has quit IRC |
| 13:06:50 | *** harshadura has joined #openmrs |
| 13:13:35 | *** Sravanthi has joined #openmrs |
| 13:13:51 | *** Sravanthi has left #openmrs |
| 13:14:36 | *** magoo_ has quit IRC |
| 13:15:56 | <every0ne> stupid question - default password please? admin123? |
| 13:16:26 | <goutham> every0ne: test |
| 13:16:44 | <every0ne> ah |
| 13:16:47 | <every0ne> hang on |
| 13:19:08 | <applecool> rafa: i minimised the errors from 30 to 3 |
| 13:19:30 | <rafa> applecool: ok what else is left? |
| 13:19:43 | <applecool> still i have some problem in the 3methods of the packagemangertest |
| 13:20:12 | <applecool> was trying to fix them from a long time! but was unsuccessful |
| 13:20:37 | <rafa> applecool: pastebin |
| 13:22:07 | <applecool> http://pastebin.com/N5PzwDN3 http://pastebin.com/rZ5f6EaR |
| 13:22:47 | *** Sravanthi has joined #openmrs |
| 13:23:57 | *** Sravanthi has left #openmrs |
| 13:25:21 | *** dkayiwa has joined #openmrs |
| 13:27:57 | <rafa> applecool: it says that magr is null |
| 13:28:22 | <rafa> applecool: you need to inject package manager into magr |
| 13:28:41 | <rafa> applecool: it's enough to annotate the field with @Autowired |
| 13:28:42 | <applecool> oh |
| 13:32:48 | <applecool> rafa: but whenever i add the autowired annotation! its giving me an error saying it is unable to find the bean |
| 13:33:58 | <rafa> applecool: it's because you didn't create a bean |
| 13:34:10 | <rafa> applecool: I don't see PackageManagerImpl |
| 13:34:23 | <applecool> yes! i didnt create it! |
| 13:34:54 | <rafa> applecool: go ahead and create it ;) |
| 13:35:31 | <applecool> ok rafa :) I didnt know that i need to create it ! u didnt mention it before! |
| 13:35:40 | <applecool> but even though its my fault! :) |
| 13:35:46 | <applecool> i wll do it now :) |
| 13:35:50 | <applecool> wil* |
| 13:36:15 | <rafa> applecool: I said you need to look at Role...java and make it the same way |
| 13:36:33 | <applecool> ya ! thats what rafa I made a mistake :) |
| 13:36:39 | <applecool> ;) |
| 13:36:39 | <rafa> applecool: there's RoleManagerImpl :) |
| 13:36:53 | <applecool> yeah seen it! :) thanks a ton rafa |
| 13:36:57 | <applecool> will be back soon ! |
| 13:36:58 | <applecool> :) |
| 13:37:04 | <applecool> give me a few minutes! |
| 13:37:12 | <applecool> hope it will work :P |
| 13:37:12 | <rafa> applecool: np |
| 13:37:18 | <rafa> applecool: me too :D |
| 13:38:07 | <applecool> :) |
| 13:39:16 | *** applecool_ has joined #openmrs |
| 13:41:30 | *** applecool_ has left #openmrs |
| 13:41:38 | *** applecool_ has joined #openmrs |
| 13:42:56 | *** applecool has quit IRC |
| 13:44:34 | <every0ne> applecool_: admin/test, is that right? |
| 13:44:52 | <applecool_> ? |
| 13:45:06 | <every0ne> applecool_: default user |
| 13:45:53 | <applecool_> every0ne: yes |
| 13:46:14 | <every0ne> weird. still refuses to let me in |
| 13:46:43 | <applecool_> where are you trying it? |
| 13:46:53 | <applecool_> on the internet ? demo.openmrs.org? |
| 13:47:08 | <applecool_> or from your local server? |
| 13:47:28 | <every0ne> applecool_: from my local server. i finally got it running in debug (+: |
| 13:47:55 | <applecool_> cool :) |
| 13:48:00 | <every0ne> applecool_: i suppose i could hack the authenticate method to return the User object ... |
| 13:49:46 | <every0ne> what is system id? |
| 13:57:37 | *** goutham has quit IRC |
| 13:57:50 | *** goutham has joined #openmrs |
| 14:01:37 | *** mvorobey has joined #openmrs |
| 14:02:26 | <mvorobey> hi all |
| 14:02:39 | <dkayiwa> hey mvorobey :) |
| 14:03:00 | <mvorobey> dkayiwa, am I late for scrum ? |
| 14:03:15 | <dkayiwa> mvorobey: today's scrum will be on email :) |
| 14:03:32 | <dkayiwa> mvorobey: since its a public holiday in the US |
| 14:03:36 | <mvorobey> dkayiwa, ah, I forgot, memorial day |
| 14:03:42 | <dkayiwa> :) |
| 14:04:11 | *** sathyan has quit IRC |
| 14:04:43 | <mvorobey> dkayiwa, anyway, I have already finished TRUNK-3377, have you seen it ? |
| 14:05:05 | <dkayiwa> !ticket TRUNK-3377 |
| 14:05:06 | <OpenMRSBot> dkayiwa: [#TRUNK-3377] Should be able to define a privilege required to view or edit an encounter - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3377 |
| 14:05:17 | <dkayiwa> mvorobey: did you see my review comments? :) |
| 14:05:31 | <mvorobey> dkayiwa, you are so fast :) |
| 14:05:40 | <dkayiwa> :D |
| 14:07:03 | <applecool_> rafa: no need to add the getpackage right? |
| 14:07:14 | <rafa> applecool_: right |
| 14:11:16 | *** sgithens has quit IRC |
| 14:12:57 | <every0ne> dkayiwa: login failure. suggestions? |
| 14:13:11 | <dkayiwa> every0ne: on trunk? |
| 14:13:19 | <every0ne> dkayiwa: yep |
| 14:13:33 | <dkayiwa> every0ne: did you use a clean database? |
| 14:13:57 | <every0ne> dkayiwa: yep. installed when i started the server |
| 14:14:15 | <dkayiwa> every0ne: did you try admin/Admin123? |
| 14:14:26 | <every0ne> dkayiwa: ah. Admin.. not admin123 |
| 14:14:56 | <every0ne> no go |
| 14:15:20 | <dkayiwa> every0ne: did you run through the database setup wizard? |
| 14:15:51 | <every0ne> dkayiwa: no... |
| 14:16:03 | <dkayiwa> every0ne: how is that possible? |
| 14:16:11 | <every0ne> dkayiwa: or is that where it asks for the simple/advanced and other options? |
| 14:16:18 | <dkayiwa> every0ne: yes |
| 14:16:25 | <every0ne> dkayiwa: then yes, i did (+: |
| 14:16:38 | <dkayiwa> every0ne: which option did you chose? |
| 14:16:42 | <every0ne> dkayiwa: simple |
| 14:17:00 | <dkayiwa> every0ne: then that one has admin/Admin123 |
| 14:17:30 | <every0ne> "Dr. Strangelove" |
| 14:17:35 | <every0ne> sorry |
| 14:17:40 | <dkayiwa> :D |
| 14:17:54 | <every0ne> wrong window/wrong key (+: |
| 14:17:57 | *** applecool_ is now known as applecool |
| 14:18:13 | <every0ne> dkayiwa: admin/Admin123 goes into invalid login |
| 14:18:24 | <dkayiwa> every0ne: did you change it? |
| 14:18:34 | <dkayiwa> every0ne: can i look at the tomcat log? |
| 14:18:40 | <every0ne> dkayiwa: no (+: sure. hang on |
| 14:25:11 | *** bryq has joined #openmrs |
| 14:25:11 | *** ChanServ sets mode: +v bryq |
| 14:27:42 | <every0ne> The log was too large for a single paste. I split it in three http://pastebin.com/aR2aWfHr and http://pastebin.com/y7p8n89N and http://pastebin.com/JijJ71qn |
| 14:28:01 | <dkayiwa> every0ne: which is the last part? |
| 14:28:15 | <every0ne> JijJ7lqn |
| 14:28:29 | <every0ne> dkayiwa: the last URL up there |
| 14:29:31 | <dkayiwa> every0ne: how about doing a new fresh install? |
| 14:29:35 | <applecool> rafa: it seems i still have problem with that magr! |
| 14:29:52 | <rafa> applecool: pastebin :) |
| 14:29:55 | <every0ne> dkayiwa: do you mean drop the present DB? |
| 14:30:04 | <applecool> i donno whether i wrote the code for PackageManagerImpl.java |
| 14:30:07 | <applecool> please check it too |
| 14:30:09 | <every0ne> dkayiwa: or a complete checkout/rebuild? |
| 14:30:12 | <dkayiwa> every0ne: yes if you do not mind (have real patient data) :) |
| 14:30:27 | <dkayiwa> every0ne: no need to checkout again |
| 14:31:10 | <every0ne> dkayiwa: won't have real patient data until i can convince me friend that this is a good option. |
| 14:31:12 | <applecool> http://pastebin.com/qTpnh8MA rafa |
| 14:31:24 | <every0ne> dkayiwa: i'll start the rebuild, and get back in a bit |
| 14:31:24 | <dkayiwa> every0ne: :D |
| 14:31:32 | <dkayiwa> every0ne: 8) |
| 14:31:53 | <every0ne> dkayiwa: he's habituated to something that looks very similar to openMRS but is a proprietary app built for the government by HP |
| 14:32:02 | <rafa> applecool: now it's a different error |
| 14:32:05 | <rafa> applecool: org.openmrs.contrib.service.impl.GenericManagerImpl.get(GenericManagerImpl.java:97) |
| 14:32:18 | <every0ne> right. i'm busy now. dropping/restarting etc |
| 14:32:29 | <rafa> applecool: what do you have in that line? |
| 14:32:44 | <applecool> just a sec |
| 14:33:08 | <dkayiwa> every0ne: oh i see |
| 14:33:11 | <applecool> return dao.get(id); |
| 14:33:28 | <rafa> applecool: so dao is null |
| 14:33:34 | <dkayiwa> every0ne: he may have donor funds and is just looking for how to spend it :) |
| 14:33:46 | <rafa> applecool: do you have @Autowired on setPackageDao in PackageManagerImpl? |
| 14:34:02 | <applecool> yes |
| 14:34:28 | <rafa> applecool: and do you set both this.dao = packageDao and this.packageDao = packageDao? |
| 14:35:02 | <applecool> no i dint set it! |
| 14:35:24 | <rafa> applecool: there you go :) |
| 14:35:35 | <applecool> do you want me to set it in the setPackageDao method? |
| 14:43:20 | *** goutham has quit IRC |
| 14:43:39 | <applecool> i guess it should run now! |
| 14:43:49 | <applecool> got minimised it to 1 error! |
| 14:44:03 | <applecool> i hope the error got fixed rafa :) |
| 14:44:29 | <rafa> applecool: pastebin :) |
| 14:45:04 | <applecool> http://pastebin.com/qYWp2zmV |
| 14:45:15 | <applecool> its showing error on line 55 |
| 14:45:27 | <applecool> testRemove package method is giving me an error |
| 14:45:57 | <applecool> rafa: the line is pkg = (Package) populate(pkg); |
| 14:46:04 | <applecool> iguess this is not needed! right? |
| 14:47:20 | <rafa> applecool: pkg is null |
| 14:47:23 | <rafa> applecool: why? |
| 14:47:36 | <applecool> pkg is null! |
| 14:50:15 | <applecool> can you look at it rafa http://pastebin.com/7ne97M2h |
| 14:50:20 | <applecool> the method! |
| 14:51:34 | <rafa> applecool: ahh sorry it's not pkg that is null |
| 14:51:50 | <rafa> BaseManagerTestCase.java:74 |
| 14:51:59 | <rafa> it's resourcebundle |
| 14:52:15 | <applecool> map! |
| 14:52:58 | <rafa> applecool: simply remove populate for now |
| 14:53:18 | <applecool> eventhough it sgiving an error! |
| 14:53:22 | <applecool> i just tried it |
| 14:53:30 | <applecool> i will pastebin it! justa a sec |
| 14:53:38 | <rafa> applecool: pkg = magr.get(1L); |
| 14:54:00 | <applecool> ? |
| 14:54:15 | <rafa> applecool: don't do new Package() |
| 14:54:21 | <rafa> applecool: get it from the db and then remove |
| 14:57:02 | <applecool> rafa: didnt get it :( |
| 14:57:25 | <rafa> http://pastebin.com/7ne97M2h |
| 14:57:38 | <rafa> applecool: in line 3 you create a new package |
| 14:57:46 | <rafa> applecool: it doesn't make sense |
| 14:58:02 | <rafa> applecool: you need to get one from the db in order to delete it from the db later in line 7 |
| 14:58:24 | <rafa> applecool: change line 3 to pkg = magr.get(1L); |
| 14:58:30 | <rafa> applecool: remove line 5 |
| 14:58:47 | <rafa> applecool: I assume package with id 1L exists |
| 14:59:14 | <applecool> i did it rafa already! |
| 14:59:49 | <rafa> applecool: and? |
| 15:00:13 | <applecool> these are the two lines! pkg= magr.get(1L) |
| 15:00:26 | <applecool> and then pkg = magr.remove(1L); |
| 15:01:20 | <applecool> or pkg = magr.remove(pkg); |
| 15:02:04 | <rafa> applecool: does it work? |
| 15:02:22 | <applecool> simply magr.remove(1L) ; i guess |
| 15:02:26 | <applecool> i am trying ut |
| 15:02:30 | <applecool> it* |
| 15:02:57 | <applecool> magr.remove(1L) |
| 15:02:59 | <applecool> worked |
| 15:03:05 | <mvorobey> dkayiwa, thanks for review comments :) |
| 15:03:07 | <applecool> OMG |
| 15:03:09 | *** harshadura has quit IRC |
| 15:03:15 | <mvorobey> and discussion :) |
| 15:03:19 | <applecool> build success rafa |
| 15:03:40 | <rafa> applecool: cool |
| 15:03:49 | <rafa> applecool: the whole project? |
| 15:03:58 | <dkayiwa> mvorobey: you welcome :) |
| 15:03:59 | <applecool> i guess web will fail! |
| 15:04:02 | <applecool> is it working? |
| 15:04:34 | <rafa> applecool: you need to make it work |
| 15:05:03 | <applecool> hmm! |
| 15:07:41 | <applecool> i will once try to build the entire project! |
| 15:07:48 | <applecool> lets see what all will work :D |
| 15:10:28 | <applecool> rafa: as expected web module is failing |
| 15:10:40 | <applecool> and the error is in the packageformcontrollertest! |
| 15:10:46 | <applecool> as it shows! |
| 15:10:56 | <rafa> applecool: commit now |
| 15:11:07 | <applecool> the core one? |
| 15:11:16 | <applecool> i committed it already rafa :) |
| 15:11:21 | <rafa> applecool: good :) |
| 15:11:39 | <rafa> applecool: now try to fix the test :) |
| 15:11:51 | <applecool> rafa: i made it a habit of committing the code often! :D |
| 15:11:54 | <applecool> as you said |
| 15:12:00 | <rafa> applecool: very well |
| 15:12:01 | <applecool> yeah i will :) |
| 15:12:16 | <rafa> applecool: did you push as well? |
| 15:12:21 | <applecool> yes :) |
| 15:12:28 | <rafa> applecool: good guy! :D |
| 15:12:40 | <applecool> Thanks! :D |
| 15:12:42 | * applecool dancing |
| 15:13:19 | <applecool> rafa: i dint have my food yet from morning! :D i will just go have food and will be back! :D |
| 15:13:55 | <applecool> rafa: please tell me if i have to change anything i need to change in the code i committed now! :) |
| 15:14:22 | <rafa> applecool: okay, bone appetit! |
| 15:14:43 | <rafa> applecool: it's time for me as well |
| 15:15:06 | <applecool> its 5:15 right for you :) |
| 15:15:24 | <applecool> rafa: i will be back soon! :) |
| 15:15:46 | *** applecool has quit IRC |
| 15:24:45 | *** mvorobey has quit IRC |
| 15:53:18 | *** pushkar has joined #openmrs |
| 15:53:33 | *** applecool has joined #openmrs |
| 15:54:28 | <applecool> Happy memorial day :) |
| 16:10:08 | *** mccallumg has joined #openmrs |
| 16:10:08 | *** ChanServ sets mode: +v mccallumg |
| 16:14:57 | <every0ne> dkayiwa: no donor funds there. she is a volunteer/researcher on this project; i'm only along to give her what company/help i may be able to give along the way |
| 16:16:38 | <dkayiwa> every0ne: oh i see |
| 16:17:49 | *** magoo_ has joined #openmrs |
| 16:22:31 | <pushkar> bwolfe, hi |
| 16:27:43 | <pushkar> r_friedman, hi |
| 16:27:56 | <r_friedman> hi pushkar, how are you doing? |
| 16:28:07 | <r_friedman> i'm on a call with sathyam |
| 16:28:20 | <r_friedman> but if you're still around when we're done, I'd like to chat a bit |
| 16:28:29 | <pushkar> sathyam company ?? |
| 16:28:39 | <pushkar> okay |
| 16:28:42 | <r_friedman> sathyam at raxa |
| 16:28:49 | <r_friedman> sorry |
| 16:28:55 | <pushkar> okay |
| 16:29:02 | <r_friedman> i get confused about who knows whom sometimes :) |
| 16:29:34 | <pushkar> hehe okay roger ill be online |
| 16:30:05 | *** jordank has joined #openmrs |
| 16:30:44 | <applecool> rafa: hey i fixed the tests of the core module as per ur comments |
| 16:30:58 | <applecool> i will check the web now :D |
| 16:31:32 | <applecool> rafa: committed and pushed them :) |
| 16:39:40 | <pushkar> dkayiwa, hi |
| 16:44:34 | <dkayiwa> hi pushkar |
| 16:46:10 | <pushkar> dkayiwa, how can we access the <head > tag of file in newly created module |
| 16:49:29 | <dkayiwa> pushkar: am not sure i understand the question :) |
| 16:50:30 | <pushkar> I have some javascript function that should get called when the page loads |
| 16:51:06 | <dkayiwa> pushkar: ok. and so??? |
| 16:51:17 | <pushkar> dkayiwa, where should i keep that in the jsp file of newly created module |
| 16:51:36 | <dkayiwa> pushkar: same place as for other modules |
| 16:57:24 | *** magoo_ has quit IRC |
| 17:13:11 | *** wyclif has quit IRC |
| 17:15:54 | <every0ne> bbl people |
| 17:16:10 | *** every0ne has quit IRC |
| 17:22:37 | <r_friedman> pushkar, omod/src/main/webapp (or a subfolder thereof) is good for jsps |
| 17:22:54 | <r_friedman> omod/src/main/resources for images, etc. to be included in the jsps |
| 17:23:52 | <r_friedman> you can use subdirectories if you want, put the most common stuff at the top |
| 17:26:00 | *** mvorobey has joined #openmrs |
| 17:29:57 | <applecool> rafa: there? |
| 17:37:35 | <r_friedman> !last ben |
| 17:37:35 | <OpenMRSBot> r_friedman: (last [--{from,in,on,with,without,regexp} <value>] [--nolimit]) -- Returns the last message matching the given criteria. --from requires a nick from whom the message came; --in requires a channel the message was sent to; --on requires a network the message was sent on; --with requires some string that had to be in the message; --regexp requires a regular expression the message must match; (1 more message) |
| 17:37:42 | <r_friedman> !last bwolfe |
| 17:37:42 | <OpenMRSBot> r_friedman: (last [--{from,in,on,with,without,regexp} <value>] [--nolimit]) -- Returns the last message matching the given criteria. --from requires a nick from whom the message came; --in requires a channel the message was sent to; --on requires a network the message was sent on; --with requires some string that had to be in the message; --regexp requires a regular expression the message must match; (1 more message) |
| 17:37:49 | <r_friedman> !seen bwolfe |
| 17:37:49 | <OpenMRSBot> r_friedman: bwolfe was last seen in #openmrs 1 day, 20 hours, 48 minutes, and 19 seconds ago: <bwolfe> dkayiwa, you can just link people to the wiki page for more info. :-) https://wiki.openmrs.org/display/RES/Development+Sprints |
| 17:38:00 | <dkayiwa> :D |
| 17:38:16 | <r_friedman> dkayiwa, i'll get it right yet! |
| 17:38:27 | <bwolfe> hi r_friedman |
| 17:38:33 | <dkayiwa> r_friedman: :) |
| 17:39:27 | <r_friedman> hey bwolfe pushkar was asking a question about where his jsp would get its <head> from, if he's still around maybe you could help |
| 17:39:38 | <r_friedman> i know where i get my head from, but that wouldn't help him |
| 17:42:12 | <r_friedman> /away lunch |
| 17:49:55 | <bwolfe> r_friedman, you mean header? pushkar? what is roger talking about? |
| 17:49:56 | <bwolfe> :-) |
| 17:51:43 | *** suranga has joined #openmrs |
| 17:57:49 | <suranga> hi snoppy |
| 17:57:59 | <suranga> snoppy: are you really here ? :) |
| 18:01:33 | <pushkar> bwolfe, I have script which should run as soon as the page loads and the page provided by the module dosent have a head tag.so where should I put the script |
| 18:01:56 | <bwolfe> pushkar, use jquery |
| 18:02:27 | <bwolfe> I cant remember the exact string call |
| 18:02:36 | <bwolfe> but their site should say |
| 18:02:37 | <pushkar> yes where should I put $(document).ready() |
| 18:06:30 | <pushkar> okay but that's a include problem thanks its working;-) |
| 18:06:30 | <bwolfe> anywhere |
| 18:27:56 | *** applecool has quit IRC |
| 18:32:05 | *** mvorobey has quit IRC |
| 18:46:55 | <jordank> hi mccallumg |
| 18:47:02 | <mccallumg> hi jordank |
| 18:49:29 | *** mvorobey has joined #openmrs |
| 18:49:53 | <mccallumg> What's up jordank ? |
| 18:51:27 | <jordank> mccallumg: one of the emails about the dictionary said to run it (the standalone I think) & select mvp dict... I was wondering what that meant |
| 18:51:55 | <jordank> *where to select the mvp dictionary |
| 18:52:06 | <mccallumg> jordank: there are two releases of openmrs http://openmrs.org/download/ |
| 18:52:08 | <mvorobey> dkayiwa, hi |
| 18:52:14 | <dkayiwa> hi mvorobey |
| 18:52:19 | <mvorobey> dkayiwa, how are you ? |
| 18:52:28 | <dkayiwa> mvorobey: am doing great |
| 18:52:52 | <mccallumg> jordank: so you could extract the dictionary from the stand-alone version and load it into your development database. |
| 18:52:56 | <mvorobey> dkayiwa, I re-worked TRUNK-3377 considering with your comments, check that out, please :) |
| 18:53:20 | <dkayiwa> mvorobey: my second comments? :) |
| 18:54:02 | <mvorobey> dkayiwa, so fast ? |
| 18:54:20 | <dkayiwa> mvorobey: because you are too :D |
| 18:54:25 | *** applecool has joined #openmrs |
| 18:54:46 | <jordank> mccallumg: so if I already have the stand-alone version, how to I extract the dictionary? |
| 18:54:49 | <applecool> rafa: there? |
| 18:55:08 | <rafa> applecool: yes, got your e-mail |
| 18:55:16 | <rafa> applecool: will look into that later |
| 18:55:23 | <mvorobey> dkayiwa, you are faster than I can imagine :D |
| 18:55:35 | <mccallumg> jordank: good question. you might have to check google. what database in the standalone based on? |
| 18:55:39 | <applecool> rafa: is it okay? |
| 18:55:46 | <dkayiwa> mvorobey: still not as fast as you :) |
| 18:56:46 | <jordank> mccallumg: I think it's just called openmrs in mysql on my mac |
| 18:56:57 | <rafa> applecool: I'll e-mail you tasks for tomorrow. |
| 18:57:10 | <applecool> rafa: ok sure :) |
| 18:57:15 | <applecool> thanks rafa :) |
| 18:57:20 | <mccallumg> jordank: standalone is using embedded mysql? are you sure? |
| 18:57:36 | <dkayiwa> jordank: could be a good place to start: https://wiki.openmrs.org/display/docs/OpenMRS+Standalone |
| 18:57:37 | <OpenMRSBot> <http://ln-s.net/91x$> (at wiki.openmrs.org) |
| 18:57:47 | <applecool> rafa: goodnight :) |
| 18:57:55 | <rafa> applecool: good night! |
| 18:58:17 | *** applecool has quit IRC |
| 18:59:08 | <jordank> mccallumg: I'm not sure |
| 18:59:21 | <mccallumg> thanks dkayiwa . So jordank - easy peasy to extract that concept dictionary from standalone and load into your dev database. |
| 18:59:39 | <snoppy> suranga: hey, suranga! yep) I'm here now) |
| 19:00:46 | <dkayiwa> jordank: you could also run the standalone in debug mode and attach it to your code :) |
| 19:00:53 | <mccallumg> jordank: to quote Andy "I usually export all the concept* tables except for concept_proposal and concept_proposal_tag_map. " |
| 19:01:35 | <mccallumg> dkayiwa: the objective is to experience the process of migrating to the MVP dictionary. |
| 19:02:04 | <dkayiwa> mccallumg: oh i see!!! :D |
| 19:02:09 | <jordank> ok cool :) |
| 19:02:45 | <dkayiwa> so jordank no short circuit :) |
| 19:03:03 | <mccallumg> jordank: I'll send you an older version of the MVP release so you can see what Andy's tables / flags look like. |
| 19:04:43 | <jordank> mccallumg: ok thanks! |
| 19:05:10 | <jordank> dkayiwa: never :) |
| 19:05:21 | <mccallumg> jordank: for mysql gui tools on a mac ⦠I usually use mysql workbench. |
| 19:07:33 | <mccallumg> jordank: maybe djazayeri1 has a better recommendation for a mac mysql gui tool ? (better than the mysql workbench) |
| 19:08:02 | <dkayiwa> jordank: mccallumg i use Navicat Lite |
| 19:08:05 | <djazayeri1> jordank, mccallumg: I just use mysql workbench. But I never do anything complicated database-related |
| 19:08:38 | <mccallumg> thanks dkayiwa , djazayeri1 |
| 19:12:42 | <jordank> mccallumg: cool thanks. I'll try that... I've only used phpMyAdmin before |
| 19:35:55 | <mvorobey> -dkayiwa, hi, I re-created patch again, now it's called TRUNK-3377-2.patch, then updated review, so, can you, please, check this out again ? - https://source.openmrs.org/cru/CR-TRUNK-669 |
| 19:36:15 | <mvorobey> dkayiwa, hi, I re-created patch again, now it's called TRUNK-3377-2.patch, then updated review, so, can you, please, check this out again ? - https://source.openmrs.org/cru/CR-TRUNK-669 |
| 19:36:47 | <dkayiwa> mvorobey: ok thanks |
| 19:41:19 | *** snoppy has left #openmrs |
| 20:06:33 | *** pushkar has quit IRC |
| 20:15:16 | *** bryq has quit IRC |
| 20:18:55 | <rafa> mccallumg: hey |
| 20:19:04 | <mccallumg> rafa: hi there |
| 20:19:27 | <rafa> mccallumg: I've just finished writing a tool for upgrading the mvp dictionary |
| 20:19:39 | <mccallumg> oh nice, rafa |
| 20:20:17 | <mccallumg> rafa: command-line script? |
| 20:20:24 | <rafa> mccallumg: I need to push it to github and create a wiki how to use it |
| 20:20:26 | *** suranga has quit IRC |
| 20:20:37 | <rafa> mccallumg: it's based on maven |
| 20:20:58 | <mccallumg> rafa: ok. let me know when you want me to try it out |
| 20:22:31 | <rafa> mccallumg: great, I should be ready in an hour :) |
| 20:23:02 | <mccallumg> rafa: I can't promise that i'll try it in an hour :) |
| 20:24:04 | <rafa> mccallumg: it's fine. whenever you have time or need ;) |
| 20:29:23 | *** mvorobey has quit IRC |
| 21:03:43 | *** szrrizvi has joined #openmrs |
| 21:07:00 | <szrrizvi> Hi, I was wondering if I could get some help with the database mapping. I'm trying to mimic the role-privilege relationship for another object. But I can't seem to save the relationship in the database. Any suggestions? |
| 21:14:52 | *** robbyoconnor has joined #openmrs |
| 21:14:52 | *** ChanServ sets mode: +v robbyoconnor |
| 21:23:02 | *** r_friedman has quit IRC |
| 21:24:12 | *** szrrizvi has quit IRC |
| 22:07:59 | *** dkayiwa has quit IRC |
| 22:25:21 | *** rafa has quit IRC |
| 22:53:30 | *** jordank has quit IRC |
| 22:55:57 | *** jordank has joined #openmrs |
| 22:56:12 | *** funkmyster has joined #openmrs |
| 23:36:03 | <jordank> mccallumg: when I'm running the standalone and download the dictionary, I still get the one that only has 1165 concepts... is the mvp dictionary somewhere else? |
| 23:36:11 | <mccallumg> hi jordank |
| 23:36:21 | <jordank> hi |
| 23:36:36 | <mccallumg> what about when you look in the database concept table, jordank ? |
| 23:37:13 | <mccallumg> when you first started the standalone, was there an option to use demo data or something, jordank? |
| 23:38:03 | <jordank> I did 1.9 first and there was the explorer version that said it included the mvp dictionary |
| 23:38:22 | <jordank> ^mccallumg |
| 23:40:10 | <jordank> mccallumg, I didn't go through the initial setup, it went straight to the login page |
| 23:41:33 | <mccallumg> jordank: I don't understand this 'explorer version' you mention |
| 23:41:42 | <mccallumg> jordank: tell me about it |
| 23:44:42 | <jordank> mccallumg: https://wiki.openmrs.org/display/docs/Configuring+OpenMRS+Standalone |
| 23:44:54 | <jordank> I picked the first one^ |
| 23:45:40 | <mccallumg> jordank: have you connected to the database to see what is in the concept table? |
| 23:48:16 | <jordank> mccallumg: what exactly am I'm looking for? |
| 23:49:08 | <mccallumg> jordank: you're looking to see how many entries are in the concept table. to see if all the appropriate data was loaded when you selected 'explorer mode' |
| 23:50:44 | <jordank> mccallumg: I don't think so - it says ~2450 |
| 23:52:02 | <jordank> mccallumg: but that is the local database... how can I tell what the standalone is using? |
| 23:52:50 | <mccallumg> jordank: that's likely your development instance of mysql you're browsing |
| 23:53:07 | <mccallumg> jordank: standalone is running embedded mysql |
| 23:56:15 | <mccallumg> jordank: maybe I'm wrong on that |
| 23:56:43 | <mccallumg> jordank: do you shut of your dev instance of mysql when you run openmrs standalone? |
| 23:57:03 | <jordank> mccallumg: that sounds right, just not sure where to find the embedded tables... no I don't |
| 23:57:33 | <mccallumg> jordank: looks like they run on the same port. you should shutdown your other mysql install. |
| 23:59:42 | <jordank> mccallumg: right, I think when I tried that the first time it wouldn't run at all |