IRC Chat : 2011-12-01 - OpenMRS

00:07:59 *** deadpool has joined #openmrs
00:08:25 <deadpool> djazayeri: how do i troubleshoot hibernate errors?
00:08:59 <djazayeri> deadpool: they're tricky
00:09:02 <djazayeri> what kind?
00:09:46 <deadpool> all i have is a could not insert
00:09:56 <djazayeri> deadpool: for a particular reason?
00:09:59 <djazayeri> constraint violated?
00:10:01 <deadpool> i dunno
00:10:29 <djazayeri> deadpool: surely you have an error message?
00:11:58 <deadpool> yeah http://pastebin.com/Lm1VEvyA
00:13:48 <djazayeri> deadpool: most likely if you look in the log files you will see an actual failed sql statement just above this error in the logs
00:15:41 <deadpool> djazayeri: this is the log file http://pastebin.com/KJdMekMH
00:16:44 <djazayeri> deadpool: the key part of the message is
00:16:45 <djazayeri> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '] (department_name) values ('Radiology')' at line 1
00:17:34 <djazayeri> Are you doing an insert/update via a SQL statement? Probably better to use hibernate for this
00:17:42 <djazayeri> anyway, look at the sql statement you're running
00:17:59 <djazayeri> you can also set hibernate.show_sql=true in your runtime properties file and restart openmrs to see the precise sql
00:18:30 <deadpool> djazayeri: yeah i am using the saveOrUpdate
00:19:00 <djazayeri> hmm, okay, maybe you have something mapped wrong in a hbm.xml file
00:19:05 <djazayeri> use hibernate.show_sql=true
00:19:22 <deadpool> where do i set that?
00:19:42 <djazayeri> runtime properties
00:21:03 <deadpool> in the openmrs-runtime.properties
00:21:04 <deadpool> ?
00:24:37 <djazayeri> yes
00:25:02 <djazayeri> see https://wiki.openmrs.org/display/docs/Troubleshooting+Hibernate
00:27:41 <mnunez> Hi djazayeri! I'm trying to setup the NCD Module and I'm having some trouble. Do you anyone who's got it up and running?
00:28:36 <mnunez> *know
00:28:37 <djazayeri> mnunez: I don't know
00:57:21 <deadpool> djazayeri: thanks i got the problem
01:09:08 *** srinivasa has joined #openmrs
01:17:01 <srinivasa> bwolfe: we are currently done with our module.We want to write integration tests but we are unable to do so.More specifically we are unable to get the deployed Context.
01:37:44 <djazayeri> srinivasa: are you doing XyzTest extends BaseModuleContextSensitiveTest ?
02:08:25 <srinivasa> does this make use of my deployed openMrs or does it use of its own deployed openmrs
02:16:54 *** chopin has joined #openmrs
02:18:37 <srinivasa> djazayeri: does this make use of my deployed openMrs or does it use of its own deployed openmrs
02:19:19 <srinivasa> djazayeri: We are unable to retrieve the concepts from the concept table..
02:19:36 <djazayeri> srinivasa: that uses an in-memory database
02:19:46 <djazayeri> you can see the contents in standardTestDataset.xml
02:20:02 <djazayeri> look at any of *ServiceTest in core to see an example of using context sensitive tests
03:03:16 *** deadpool has quit IRC
03:17:30 *** chopin has quit IRC
03:20:17 *** r0bby has joined #openmrs
03:20:17 *** ChanServ sets mode: +v r0bby
03:21:11 *** r0bby_ has joined #openmrs
03:21:11 *** ChanServ sets mode: +v r0bby_
03:25:00 *** r0bby has quit IRC
03:29:54 *** chopin has joined #openmrs
03:33:14 *** r0bby_ is now known as robbyoconnor
03:36:10 *** chopin has quit IRC
03:38:13 *** robbyoconnor has quit IRC
04:21:24 *** upul` has joined #openmrs
04:21:48 *** upul` is now known as Guest3151
04:42:12 *** jwishnie has quit IRC
04:42:16 *** robbyoconnor has joined #openmrs
04:42:16 *** ChanServ sets mode: +v robbyoconnor
04:54:47 *** chopin has joined #openmrs
05:18:00 *** srinivasa has quit IRC
05:58:12 *** surangak has joined #openmrs
06:06:05 *** chopin has quit IRC
07:10:16 <bwolfe> no rafal still...
07:10:27 <bwolfe> hope his computer/data/hdd is still ok :-/
07:15:20 *** dkayiwa has joined #openmrs
07:33:42 *** bwolfe has quit IRC
07:36:49 *** bwolfe has joined #openmrs
07:36:49 *** ChanServ sets mode: +o bwolfe
07:55:05 <mnunez> Hi everyone!
08:01:54 <dkayiwa> hi
08:07:15 <surangak> mmm.. bwolfe wierd... I've allocated these privilages, but it still says "WARN - RequireTag.doStartTag(109) |2011-12-01 13:33:57,547| The user: 'patient' has attempted to access: /module/patientmatching/dupes.list which requires privi
08:07:15 <surangak> lege: View Patients, View Patient Cohorts or one of: null or any of null"
08:07:35 <surangak> bwolfe, maybe theres privileges on the service methods, like u said... will check
08:18:33 *** upul` has joined #openmrs
08:18:33 *** ChanServ sets mode: +v upul`
09:03:31 *** hungnguyen has joined #openmrs
09:04:05 <hungnguyen> Hi all of you
09:04:24 <dkayiwa> hi
09:04:30 <hungnguyen> I am a newbie
09:04:49 <hungnguyen> My name is Hung
09:05:06 <dkayiwa> oh welcome hungnguyen
09:05:08 <dkayiwa> :)
09:05:39 <hungnguyen> I come from Vietnam
09:07:17 <hungnguyen> I want to join OpenMRS community and hope I can contribute to OpenMRS
09:08:14 <hungnguyen> I have more than 2 years experience in Java
09:08:32 <hungnguyen> I got OCPJP 1.6 from Oracle
09:08:37 <dkayiwa> oh you are very very welcome hungnguyen !!!!
09:09:28 <hungnguyen> My skills are Java, JSP/Servlet, Spring and HIbernate
09:09:39 <dkayiwa> ok
09:10:14 <hungnguyen> I could work on Oralce Database
09:10:21 <dkayiwa> ok
09:24:24 <surangak> look dkayiwa , another Asian has joined. Soon we Asians will outnumber africans !!! :D
09:24:36 <dkayiwa> lollllllll :D
09:25:06 <dkayiwa> let me talk to the africans too. :)
09:25:19 <surangak> and then, we can hold implementers conference in Asia ;-)
09:26:19 <dkayiwa> hahahahah
09:28:28 *** rafa has joined #openmrs
09:28:28 *** ChanServ sets mode: +v rafa
09:32:27 <mnunez> bwolfe: I'm trying to make a clean install of the NCD Module, because it seems at some point it had trouble with table versions: it starts creating columns that are already there, duplicates fileds, etc.
09:32:29 <mnunez> Uninstalling the module does not delete the tables. Any advice? Droping the tables manually would do?
09:34:27 <dkayiwa> mnunez: yes uninstalling a module does not drop any tables (that is by design to prevent accidental loss of data)
09:34:30 <mnunez> Now that I think about it... am I the only Southamerican here?
09:34:41 <dkayiwa> mnunez: you will need to manually delete them
09:37:08 <mnunez> dkayiwa: I deleted them (had to drop foreign keys checks first), and reinstalled the module. Same thing happened. I'm "version surfing" the module, skipping updates that do nothing, because fields and tables are already there...
09:44:23 *** dkayiwa has quit IRC
09:51:06 *** dkayiwa has joined #openmrs
09:59:46 *** surangak_ has joined #openmrs
10:00:42 *** surangak has quit IRC
10:05:15 *** hungnguyen has quit IRC
10:13:43 <bwolfe> mnunez, after dropping the tables you have to delete all ncd.* global properties too
10:16:00 <dkayiwa> hi bwolfe
10:16:05 <bwolfe> hi
10:16:09 <mnunez> bwolfe: There are two: one that makes the module load by default and the other property is the database versioning. I wasn't sure deleting the last one would do, so I set it to zero. Is that the same?
10:16:13 <dkayiwa> bwolfe: i need some advice on STAND-35
10:16:33 <bwolfe> mnunez, yeah, pretty much the same
10:16:38 <bwolfe> !ticket STAND-35
10:16:39 <OpenMRSBot> bwolfe: [#STAND-35] Automatically create demo dataset as part of the standalone build process - OpenMRS JIRA - https://tickets.openmrs.org/browse/STAND-35
10:16:40 <dkayiwa> bwolfe: would you rather liquibase file or just copy and paste a database
10:20:29 <bwolfe> dkayiwa, how does it work the other way? the mvn script creates the database zip, right? thats the goal. to get the database zip to be created/updated/etc and ready for use with whatever version is being released
10:20:29 <bwolfe> dkayiwa, you might be able to just execute the demo sql on the mysql database during the mvn package. then upgrade it. then you have the demo db folder that is unzippable
10:21:02 <dkayiwa> bwolfe: ok
10:27:57 <mnunez> !ticket TRUNK-2674
10:27:58 <OpenMRSBot> mnunez: [#TRUNK-2674] Patient is unintentionally deleted while replacing his/her drug regimen from the regimen tab of the dashboard - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2674
10:28:27 <mnunez> sorry, just trying the "!ticket" shortcut :) nice
10:31:57 <dkayiwa> bwolfe: the current notion of standalone emptydabase, does it mean database with no demo data but which does not require you to run the openmrs setup wizard?
10:33:13 <bwolfe> dkayiwa, correct
10:33:59 <dkayiwa> bwolfe: did i do something wrong? i compiled and did run the standalone, but it took me through the database setup wizard
10:34:35 <bwolfe> dkayiwa, did you choose "expert mode" thats what expert mode does
10:34:51 <dkayiwa> bwolfe: ok let me try again
10:36:14 <dkayiwa> bwolfe: clicking demonstration mode round big box does not see to do anything
10:37:17 <bwolfe> dkayiwa, one of the buttons doesn't work
10:37:23 <bwolfe> what are the other two?
10:37:42 <mnunez> bwolfe, dkayiwa: solved the NCD issue... the solution was patience.
10:37:48 <bwolfe> dkayiwa, you'll have to write something that goes both into the maven packaging step and to fix the swing gui to recognize it
10:37:59 <dkayiwa> bwolfe: ok
10:38:48 <mnunez> dkayiwa, bwolfe: by the way, hitting twice the "play" button on the module administrator will stop it from loading. That's why it got stuck at the middle.
10:39:25 <mnunez> Its a module with huge database changes...
10:39:29 <bwolfe> mnunez, good to know. file a ticket for that? should be easy to just disable the link as soon as its clicked
10:40:06 <mnunez> bwolfe: sure! on it.
10:47:17 *** kishoreyekkanti has joined #openmrs
11:05:14 *** surangak_ has quit IRC
11:07:23 *** dkayiwa has quit IRC
11:11:04 *** dkayiwa_ has joined #openmrs
11:16:19 *** bwolfe has quit IRC
11:20:58 *** bwolfe has joined #openmrs
11:20:58 *** ChanServ sets mode: +o bwolfe
11:21:23 *** kishoreyekkanti_ has joined #openmrs
11:23:06 *** kishoreyekkanti has quit IRC
11:23:06 *** kishoreyekkanti_ is now known as kishoreyekkanti
11:57:00 *** upul` has quit IRC
12:07:09 *** surangak has joined #openmrs
12:11:11 *** Dodo_ has joined #openmrs
12:11:26 <Dodo_> hi
12:11:36 <Dodo_> yesterday i mailed at the group
12:11:43 <Dodo_> but still did get any responce
12:11:52 <Dodo_> what shold i do
12:12:44 <rafa> Dodo_: hi
12:12:56 <rafa> Dodo_: be patient :)
12:13:05 <bwolfe> Dodo_, I just replied about 10 mins ago. you should see it soon
12:13:37 *** james_regen has joined #openmrs
12:13:37 *** ChanServ sets mode: +v james_regen
12:14:33 <Dodo_> hey bwolfe :
12:14:36 <Dodo_> :)
12:14:41 <Dodo_> thanks alot man
12:15:06 <Dodo_> :)
12:18:28 <surangak> hi james_regen sorry seems I disappears suddently yesterday
12:18:41 <surangak> james_regen, Im afraid I had fallen asleep while taking to you :P
12:19:08 <james_regen> surangak: that's okay, it sounds like you really needed the sleep
12:19:29 <james_regen> i'm glad you weren't on your keyboard, and didn't send lots of random letters at least
12:19:38 <surangak> james_regen, :D
12:20:00 <surangak> james_regen, having a few deadlines over the next few days, so am not having much free time
12:20:17 <surangak> james_regen, uni education is a terrible thing !
12:21:17 <surangak> james_regen, o to continue what I was saying yesterday, apparently AMPATH has a seperate instance called port Victoria HCT OpenMRS Instance
12:21:25 <surangak> which has openmrs 1.6.1
12:21:43 <surangak> she and Gilbert were trying to get patient matching module run on that
12:21:55 <surangak> but im unsure if patient matching supports 1.6.1....
12:22:42 <james_regen> surangak: i think when it was first written it was on openmrs 1.4 or so, but since new featuers were added, it's possible they used newer features of openmrs, as well. did they try it yet?
12:23:24 <surangak> james_regen, afraid not ( just survived one deadline this morning) but ada had advised gilbert to move onto 1.8.1
12:23:37 <surangak> which should definitely work...
12:23:41 <surangak> so lets see how it goes
12:24:55 <james_regen> surangak: ok, i'm curious to see what happens
12:29:02 <surangak> james_regen, Im not sure gilbert has upgraded to 1.6.1 yet... will have to wait for his report
12:29:16 <mnunez> By any chance are John Brown, Erik Horstkotte, Andy Thorson or Sriskandarajah Suhothayan still active in the comunity? Or anyone working with the NCD module
12:29:30 <mnunez> ?
12:29:51 <surangak> but ampath is so secretive, I dont think I can get any credentials to log in or help him with it ....
12:30:37 <surangak> mnunez, actually, only the last name sounds familiar.. I have not relly heard from the first three .... :-)
12:30:52 <james_regen> surangak: i think it'd be difficult to get credentials on any system with patient data if you're not an employee or sign some contracts
12:30:56 <surangak> the last guy igoes with the nickname suho.. he's still around
12:31:11 <bwolfe> mnunez, you might catch suho in here every once in a while
12:31:22 <mnunez> surangak: the last thing he wrote was in september...
12:31:25 <bwolfe> mnunez, and if you're lucky james_regen or dkayiwa_ might know something about ncd
12:31:37 <bwolfe> !seen suho
12:31:37 <OpenMRSBot> bwolfe: suho was last seen in #openmrs 4 weeks, 4 days, 23 hours, 15 minutes, and 2 seconds ago: <Suho> please help
12:32:10 <bwolfe> hmm, hopefully those last words don't mean he was abducted! (I've been reading too many action thriller books recently)
12:32:26 <surangak> james_regen, excuse me for minute, we are actually attempting a group coursework over here :P
12:32:33 <surangak> I'll be back in a while...
12:32:39 <mnunez> bwolfe: Naaaaaa is there a list with all this commands? I want it!
12:32:45 <james_regen> surangak: no problem, good luck
12:32:51 <bwolfe> !help OpenMRSBot
12:32:51 <OpenMRSBot> bwolfe: Error: There is no command "openmrsbot".
12:32:55 <bwolfe> err
12:32:57 <bwolfe> !help
12:32:57 <OpenMRSBot> bwolfe: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
12:32:59 <bwolfe> or !list
12:33:02 <bwolfe> !list
12:33:02 <OpenMRSBot> bwolfe: Admin, Alias, AutoMode, Channel, ChannelLogger, ChannelStats, Config, Factoids, Herald, Karma, Misc, NickCapture, Owner, RSS, Reply, Seen, Services, ShrinkUrl, Status, User, and Web
12:33:19 <bwolfe> mnunez, you can open a private chat with openmrsbot and then ask it all kinds of thinkgs
12:33:31 <bwolfe> mnunez, type /msg OpenMRSBot
12:33:34 <mnunez> bwolfe++
12:33:36 <bwolfe> err /msg OpenMRSBot list
12:33:48 <bwolfe> mnunez, then list admin
12:33:53 <bwolfe> or list misc
12:33:59 <bwolfe> or help misc ? I can't remember
12:34:27 *** Dodo_ has quit IRC
12:34:42 <bwolfe> mnunez, OpenMRSBot is a "supybot". you might find some docs about it online
12:39:32 <mnunez> james_regen: Hi! Do you have a minute?
12:40:01 <james_regen> mnunez: sure
12:41:15 <mnunez> james_regen: I'm trying to set up the NCD module and I have some questions I cannot find in the documentation. Have you tested it before?
12:43:42 <james_regen> mnunez: no, i've never used the NCD module. my boss was involved in the project somehow. i think john brown was a contractor hired to work on the module when it was started. i spoke to him a few times, since an openmrs VM i setup was given to them to use, but i haven't really worked with it
12:49:25 <mnunez> james_regen: Yeap, John is listed as one of the module's developers, with Erik Horstkotte, Andy Thorson and Sriskandarajah Suhothayan. Do you know any of the others?
12:50:05 <james_regen> mnunez: sorry, the other names are familiar
12:51:55 <mnunez> mnunez: Nevermind, I'll see what I can do. It looks like a great module, but for some reason I cannot create messages to users nor alerts for coded concepts...
12:52:25 <mnunez> james_regen: Nevermind, I'll see what I can do. It looks like a great module, but for some reason I cannot create messages to users nor alerts for coded concepts...
12:53:27 <mnunez> james_regen: Yo say John was a contractor, so I guess he isn't working in the module right now...
12:53:35 *** wyclif has quit IRC
12:53:56 <mnunez> james_regen: *on the module
12:55:49 <james_regen> mnunez: last mention of him in an email i have is january 2010, when he was still doing some sort of work for a project here. after that, i'm not sure what's happened
12:58:48 <mnunez> james_regen: Thanks!
13:24:15 <mnunez> dkayiwa: Do you happen to know if coded concepts can be used in the NCD Critic? I get this each time I try it http://pastebin.com/BLUMvyxE
13:25:05 <mnunez> dkayiwa_
13:25:55 <dkayiwa_> mnunez: do you mind starting by giving some background of what you want to use this module for? :)
13:27:57 <mnunez> dkayiwa: simple use case: "I'm a neurologyst, an OpenMRS provider. I work with genetics and epilepsy. I want to recieve an email each time one of my collegues admits a patient with an uncle with history of epilepsy"
13:28:33 <dkayiwa_> mnunez: oh i seee
13:28:45 <mnunez> dkayiwa: This module would do, right?
13:29:01 <dkayiwa_> mnunez: it is supposed to :)
13:29:43 *** chopin has joined #openmrs
13:30:39 <mnunez> mnunez: Yet I cannot get it to use coded concepts as criteria. I want to send an email each time a concept such as "member with history of epilepsy" is equal to "uncle"
13:31:49 <dkayiwa_> mnunez: does it work well for other datatypes?
13:32:05 <mnunez> mnunez: And besides, the only possible recipients of the alert seems to be the patient himself!
13:32:37 <mnunez> dkayiwa_:dammit, I keep writing to myself!
13:32:51 <dkayiwa_> :D
13:33:06 <mnunez> dkayiwa_:other datatypes generate no errors.
13:33:27 <dkayiwa_> mnunez: the ncd module needs quite some extra work and support
13:35:25 *** wyclif has joined #openmrs
13:37:48 <mnunez> dkayiwa: Looks like it. Hope it does not get abandoned, it's a really useful module.
13:38:15 <mnunez> dkayiwa: actually there are many modules that I was amazed to find abandoned...
13:38:22 <dkayiwa_> mnunez: lacking one in the community to pick it up
13:38:57 <mnunez> dkayiwa: I really wish I could, but my programming skills are just not up to it. Yet.
13:39:13 *** wyclif has quit IRC
13:39:34 <dkayiwa_> oh sorry
13:40:49 *** wyclif has joined #openmrs
13:42:07 <mnunez> dkayiwa_: As soon as I get a basic implementation in here to graduate, I plan to relearn my programming. So please keep that EHSDI course alive for at least one more year :)
13:42:35 <dkayiwa_> oh that will be great mnunez :D
13:46:31 *** burke has joined #openmrs
13:46:31 *** ChanServ sets mode: +o burke
13:48:47 <rafa> dkayiwa_: I did a fresh install for trunk and if I choose to create a new patient I get cannot parse address template in the address field. Is it a known isssue?
13:49:18 <rafa> dkayiwa_: Shall I enter some address template first?
13:49:25 <dkayiwa_> rafa: i and wyclif got it too
13:49:39 <dkayiwa_> rafa: its a bug
13:49:45 <rafa> dkayiwa_: okay so there must be a ticket :)
13:50:00 <wyclif> dkayiwa_, rafa it is not really a bug
13:50:02 <dkayiwa_> rafa: i do not think wyclif created it :)
13:50:10 <rafa> hi wyclif
13:50:12 <dkayiwa_> wyclif: :D
13:50:27 <rafa> wyclif: so what am I suppose to do? :D
13:50:35 <rafa> to make it work
13:50:37 <dkayiwa_> wyclif: is it a feature? :)
13:50:41 <wyclif> rafa, dkayiwa_ it is because u ra a changeset that was later changed
13:50:54 <wyclif> dkayiwa_, rafa i mean it neither
13:51:01 <rafa> wyclif: but I've just done a fresh install
13:51:03 <wyclif> rafa, dkayiwa_ it is because u ran a changeset that was later changed
13:51:18 <dkayiwa_> wyclif: doesnt that make it a bug that needs fixing?
13:51:28 <rafa> wyclif: empty db etc.
13:51:55 <wyclif> rafa, hmm
13:52:45 <wyclif> rafa, is that trunk?
13:52:51 <rafa> yes
13:53:56 <wyclif> rafa, and what is tha value of your address lay out
13:54:09 <wyclif> rafa, and what is tha value of your address lay out GP
13:54:38 <rafa> layout.address.format?
13:54:42 <wyclif> rafa, yeah
13:55:06 <rafa> wyclif: http://pastebin.com/FNzrNEs6
13:56:30 <rafa> wyclif: with stack trace http://pastebin.com/TEHCAh9m
13:57:14 <dkayiwa_> rafa: wyclif just created and brand new database now without demo data and got the same error
13:57:19 *** james_regen1 has joined #openmrs
13:57:44 <dkayiwa_> rafa: you can create a ticket for it and add it to the beta sprint
13:57:51 <rafa> dkayiwa_: cool
13:58:37 *** burke has quit IRC
13:58:38 <dkayiwa_> rafa: i guess it should be a must or blocker
13:59:25 *** james_regen has quit IRC
13:59:45 *** wyclif has quit IRC
14:08:23 *** wyclif has joined #openmrs
14:13:10 *** downeym has joined #openmrs
14:13:10 *** ChanServ sets mode: +o downeym
14:13:10 *** OpenMRSBot sets mode: +o downeym
14:15:31 *** kishoreyekkanti_ has joined #openmrs
14:17:44 *** kishoreyekkanti has quit IRC
14:17:44 *** kishoreyekkanti_ is now known as kishoreyekkanti
14:24:38 *** chopin__ has joined #openmrs
14:24:43 <downeym> Hi chopin__ and welcome to the #openmrs IRC channel.
14:25:25 *** chopin has quit IRC
14:26:10 <bwolfe> bye chopin
14:29:18 *** dkayiwa_ has quit IRC
14:34:54 *** jwishnie has joined #openmrs
14:41:39 *** kishoreyekkanti_ has joined #openmrs
14:43:25 *** kishoreyekkanti has quit IRC
14:43:25 *** kishoreyekkanti_ is now known as kishoreyekkanti
14:45:04 *** jriley has joined #openmrs
14:50:45 *** kishoreyekkanti_ has joined #openmrs
14:52:58 *** surangak has quit IRC
14:53:51 *** kishoreyekkanti has quit IRC
14:53:51 *** kishoreyekkanti_ is now known as kishoreyekkanti
14:55:23 *** downeym_ has joined #openmrs
14:55:23 *** ChanServ sets mode: +o downeym_
14:56:25 <jriley> downeym, did the wiki suddenly get a makeover in fall colors, or am I dreaming?
14:57:05 <downeym_> jriley: you're not dreaming, happy world aids day
14:57:14 *** downeym has quit IRC
14:57:14 *** downeym_ is now known as downeym
14:58:00 *** jriley has left #openmrs
14:58:06 *** jriley has joined #openmrs
15:01:44 *** downeym has quit IRC
15:01:56 *** mnunez has quit IRC
15:02:48 <bwolfe> !devmtg
15:02:48 *** downeym has joined #openmrs
15:02:48 *** ChanServ sets mode: +o downeym
15:02:48 *** OpenMRSBot sets mode: +o downeym
15:02:49 <OpenMRSBot> bwolfe: "devmtg" --- Reminder: Developer Forum Thursday at 10:00 AM Eastern Time - https://wiki.openmrs.org/display/RES/Developers+Forum
15:03:06 <bwolfe> downeym, but only th ewiki?
15:03:35 <bwolfe> fcf
15:03:39 <bwolfe> freeconferencing fail
15:04:13 *** wyclif has quit IRC
15:04:18 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: It's World AIDS Day. Thank you to all of the #OpenMRS community working hard to get HIV/AIDS to zero around the world. http://t.co/4EExfHMz <http://twitter.com/OpenMRS/statuses/142252530037035009>
15:07:25 *** chopin__ has quit IRC
15:22:18 *** chopin__ has joined #openmrs
15:51:33 *** kishoreyekkanti has quit IRC
15:54:07 <djazayeri> hi rafa
15:54:13 <rafa> hi djazayeri
15:54:22 <djazayeri> I just saw your comment on TRUNK-2588
15:54:40 <rafa> djazayeri: I'm running tests right now :)
15:54:44 <rafa> fingers crossed
15:54:47 <djazayeri> with the Manual change?
15:54:49 <rafa> yes
15:55:52 *** wyclif has joined #openmrs
15:57:34 <djazayeri> okay
15:57:50 <djazayeri> So you'd set it to MANUAL, and then switch it back to the original value?
15:58:28 <rafa> djazayeri: yes, seems like a brilliant idea I should have had earlier ;)
15:58:38 <djazayeri> Okay...
15:58:42 <rafa> success!!
15:58:50 <djazayeri> The valueReference is a particularly tricky issue
15:58:50 <rafa> haha awesome :D
15:59:06 <rafa> so the change is actually quite small
15:59:20 <rafa> validate is executed before the save method
15:59:26 <djazayeri> oh, that's good
15:59:40 <rafa> the only thing I'd like you to do is update the patch
15:59:56 <rafa> I don't have enough expertise to make it right
16:00:22 <djazayeri> in what sense?
16:00:27 <rafa> it's quite far from what is in trunk right now
16:00:39 <rafa> and I don't know what your code does that well
16:00:56 <djazayeri> oh, you mean that you've been working on the patch from 1-2 months ago?
16:01:16 <rafa> not that bad from 3 weeks age
16:01:19 <rafa> *ago
16:01:51 <rafa> the one you updated in Boston
16:02:55 <rafa> djazayeri: when will you have time for that?
16:03:41 <djazayeri> rafa: I can carve out a couple hours for it next week.
16:04:20 <djazayeri> early next week
16:04:38 *** jriley has quit IRC
16:05:19 <rafa> djazayeri: sounds good
16:07:11 <djazayeri> okay, catch you on scrum in 2 hours
16:10:59 *** mnunez has joined #openmrs
16:14:55 *** jwishnie has quit IRC
16:16:44 *** rafa_ has joined #openmrs
16:16:44 *** ChanServ sets mode: +v rafa_
16:17:11 *** rafa_ has quit IRC
16:34:55 *** chopin__ has quit IRC
16:36:59 *** wyclif has quit IRC
16:42:55 *** mnunez has quit IRC
16:48:03 *** chopin__ has joined #openmrs
16:50:06 *** wyclif has joined #openmrs
17:18:03 *** mnunez has joined #openmrs
17:44:41 *** kishoreyekkanti has joined #openmrs
17:59:40 *** rafa_ has joined #openmrs
17:59:40 *** ChanServ sets mode: +v rafa_
18:30:08 *** mnunez has quit IRC
18:30:11 <bwolfe> !scrumon
18:30:12 <OpenMRSBot> bwolfe: Error: "scrumon" is not a valid command.
18:30:18 <bwolfe> !scrumtime
18:30:19 <OpenMRSBot> bwolfe: Error: "scrumtime" is not a valid command.
18:30:24 <bwolfe> !say scrumtime
18:30:25 <OpenMRSBot> bwolfe: Error: "say" is not a valid command.
18:30:35 <bwolfe> !tell scrumtime
18:30:35 <OpenMRSBot> bwolfe: (tell <nick> <text>) -- Tells the <nick> whatever <text> is. Use nested commands to your benefit here.
18:30:42 <bwolfe> #@&^@#
18:31:04 <bwolfe> I think the bot is taking lessons from my daughter. not doing what I want him to do...
18:31:15 <rafa> bwolfe: haha
18:31:20 <rafa> hi
18:31:26 *** rafa_ was kicked by bwolfe (rafa_)
18:31:27 *** rafa_ has joined #openmrs
18:31:27 *** ChanServ sets mode: +v rafa_
18:31:32 <bwolfe> heh
18:31:34 *** dawn_ has joined #openmrs
18:31:35 <dawn_> r
18:31:36 <bwolfe> your clone is persistent!
18:31:36 <rafa> bwolfe: it's my android :P
18:31:44 <djazayeri> hi all
18:31:48 <rafa> bwolfe: leave him alone
18:31:51 <bwolfe> oh, I assumed it was a ghost :-)
18:31:55 *** rafa_ was kicked by bwolfe (rafa_)
18:31:55 *** rafa_ has joined #openmrs
18:31:55 *** ChanServ sets mode: +v rafa_
18:32:02 <djazayeri> alternately: hi bwolfe, rafa, dkayiwa, wyclif, dawn
18:32:04 <bwolfe> he keeps coming back for more!
18:32:08 <rafa> bwolfe: shame on you :P
18:32:31 <dawn_> bwolfe: rafa djazayeri wyclif: scrum time
18:32:34 <djazayeri> (dawn_)
18:32:40 <djazayeri> no dkayiwa
18:32:56 <rafa> bwolfe: I think he's set to 5 times ;)
18:33:18 <bwolfe> rafa, are you ready?
18:33:25 <rafa> sure
18:33:30 <rafa> Yesterday:
18:33:30 <rafa> * Worked on TRUNK-2588: Generic mechanism for doing Attributes and Attribute Types on many classes. (Review code, and Refactor.)
18:33:30 <rafa> https://tickets.openmrs.org/browse/TRUNK-2588 for half a day and then my system crashed :/ (it was my fault not windows ;P)
18:33:30 <rafa> Today:
18:33:30 <rafa> * Committed TRUNK-2015: Move some functionality from SaveHandlers to hibernate interceptors
18:33:30 <rafa> https://tickets.openmrs.org/browse/TRUNK-2015
18:33:30 <rafa> * Finally found a solution for TRUNK-2588: Generic mechanism for doing Attributes and Attribute Types on many classes. (Review code, and Refactor.)
18:33:31 <rafa> https://tickets.openmrs.org/browse/TRUNK-2588, updated the patch and handed off the ticket back to Darius
18:33:31 <rafa> * Backported TRUNK-2784: Add Encounter for Visit Extension
18:33:32 <rafa> https://tickets.openmrs.org/browse/TRUNK-2784
18:33:32 <rafa> Tomorrow:
18:33:33 <rafa> * Work on TRUNK-2821: Merge Patients page should be displayed on a separate pop-up screen
18:33:33 <rafa> https://tickets.openmrs.org/browse/TRUNK-2821
18:33:34 <rafa> No blockers.
18:33:36 <bwolfe> wyclif, you prepped? you're up after rafal
18:33:56 <bwolfe> rafa, so you've recovered fully?
18:34:03 <djazayeri> I'm very excited that TRUNK-2588 is "done"
18:34:04 <rafa> yes
18:34:24 <bwolfe> rafal, you might ping chopin/jeremy to see if you can steal one or two of his tickets
18:34:33 <rafa> djazayeri: I'm relieved :)
18:34:42 <dawn_> bwolfe: you should go next…let me to track down wy
18:34:45 <bwolfe> looks like didn't he have time ot get to them
18:35:02 *** ChanServ sets mode: +v dawn_
18:35:08 <rafa> bwolfe: TRUNK-2821: Merge Patients page should be displayed on a separate pop-up screen
18:35:08 <rafa> https://tickets.openmrs.org/browse/TRUNK-2821 is quite enough for tomorrow
18:35:18 <djazayeri> why steal chopin's tickets?
18:35:36 <bwolfe> because I think they're higher priority
18:36:02 <bwolfe> and I've seen him doing other things this week...meaning he's not putting time into the tickets ;-)
18:36:09 <djazayeri> chopin's ticket is going to require that the TRUNK-2588 code be committed, which won't happen until early next week
18:36:32 <bwolfe> thats not the one I meant. I was referring to the one ada has been clamoring for
18:36:32 <djazayeri> rafa: higher priority tickets are the ones on the STAND project with fixVersion = 1.9 Beta
18:36:35 <wyclif> hi
18:36:38 <djazayeri> ah okay
18:37:02 <bwolfe> yes, standalone tickets too. lets polish that baby so I can create and release the standalone for 1.8.3 :-)
18:37:12 <djazayeri> I'll report:
18:37:16 <djazayeri> Wednesday 30-Nov-2011
18:37:16 <djazayeri> * Working on a project proposal
18:37:16 <djazayeri> * University Call
18:37:16 <djazayeri> * Design Call
18:37:16 <djazayeri> * Project Management Call
18:37:17 <djazayeri> Thursday 1-Dec-2011
18:37:17 <djazayeri> * Developer call
18:37:18 <djazayeri> * Leadership call
18:37:18 <djazayeri> * Working on a project proposal
18:37:26 <djazayeri> No blockers. (Not really working on sprint stuff)
18:37:28 <wyclif> bwolfe, djazayeri i thought we were supposed to have this scrum at 2:00 since am off for lunch with the group before 2
18:37:30 <bwolfe> this is a heck of a project proposal
18:37:31 <rafa> bwolfe: Ada says TRUNK-2821 is very important too :)
18:37:47 <bwolfe> wyclif, you should not be eating lunch until 2....even the thursday lunches!
18:37:51 <djazayeri> bwolfe: yeah, and I'm much less productive on it than on working
18:38:00 <djazayeri> than on writing code I mean
18:38:00 <bwolfe> wyclif, we have a meeting at 2pm, so can't go past that
18:38:15 <dawn_> bwolfe: djazayeri wyclif : let's stay focused and get through what everyone is working on and chat after
18:38:36 <dawn_> bwolfe: your turn
18:38:37 <bwolfe> ha, thanks dawn_ :-)
18:38:41 <dawn_> wyclif: you're next
18:38:42 <rafa> dawn_: haha like your way :D
18:38:43 <wyclif> yesterday:
18:38:43 <wyclif> -TRUNK-2273 - Avoid Duplicate Rows in Patient_State Table
18:38:43 <wyclif> -TRUNK-2887 - Applied review comments for and backported the change
18:38:43 <wyclif> -TRUNK-2332 - Back ported and created this follow up ticket TRUNK-2898
18:38:43 <wyclif> -Design review call
18:38:44 <wyclif> today:
18:38:46 <wyclif> -Revisit TRUNK-2844 as per review comments - auto closing visits
18:38:48 <wyclif> -STAND-31 - Quick first pass of a one-time prompt for standalone configuration on initial startup
18:38:50 <wyclif> -other tickets for the stanalone
18:38:52 <wyclif> blockers: none
18:39:26 <dawn_> bwolfe: you're up
18:39:26 <bwolfe> ok, looks right
18:39:41 <bwolfe> am I really up? or will someone jump in front of me again? :-(
18:39:48 <bwolfe> today:
18:39:48 <bwolfe> polish 1.6.3 and 1.7.4 releases
18:39:48 <bwolfe> sprint reviews
18:39:48 <bwolfe> student reviews
18:39:48 <bwolfe> fix mavenize script
18:39:49 <bwolfe> dev call
18:39:51 <bwolfe> leadership call
18:39:53 <bwolfe> fix/test hibernate upgrade patch
18:39:55 <bwolfe> tomorrow:
18:39:57 <bwolfe> sprint stuff, etc
18:40:04 <bwolfe> no blockers yet
18:40:08 *** burke has joined #openmrs
18:40:08 *** ChanServ sets mode: +o burke
18:40:20 <bwolfe> I hope burke didn't come for the sprint...
18:40:27 <rafa> bwolfe: what are student reviews? :)
18:41:07 <bwolfe> rafa, there are 3 (or 4?) projects by some students at a US uni
18:41:31 <rafa> great
18:42:04 <rafa> are they listed anywhere?
18:42:47 <bwolfe> they're on the projects.openmrs.org page
18:43:22 <dawn_> bwolfe: djazayeri rafa wyclif : seems there are no "blockers", but is there anything that's taking each of you 1hr or more to resolve on your own that we can troubleshoot here?
18:43:36 <bwolfe> centralized auditing, hl7 output, converting obs to active lists...and I feel like theres one more, but maybe not
18:44:21 <djazayeri> looking at the sprint dashboard (https://tickets.openmrs.org/secure/Dashboard.jspa?selectPageId=11050) I see 13 tickets in needs-review.
18:44:44 <wyclif> is any of you able to get the latest trunk running
18:44:55 <rafa> djazayeri: are they really in needs-review or waiting fo backporting?
18:44:59 <bwolfe> djazayeri, check your review dashboard too, some are waiting on you
18:45:00 <djazayeri> don't know
18:45:08 <bwolfe> wyclif, some reviews are waiting on you too. please check on those
18:45:11 <djazayeri> I assume some are waiting for me, but not all 13.
18:45:25 <rafa> wyclif: I ran it an hour ago
18:45:34 <bwolfe> rafa, if they are just waiting for backporting they should go back to Needs Work and then jump to closed after that is done
18:46:08 <wyclif> it is slowing me down, trying to resolve why i can't run it
18:46:10 <rafa> bwolfe: I see. Nothing seems to be on me though.
18:46:45 <rafa> wyclif: any stacktrace? :)
18:46:59 <djazayeri> wyclif: running off an existing DB? Or doing a fresh install?
18:47:25 *** suranga has joined #openmrs
18:47:38 <wyclif> djazayeri, existing
18:47:59 <djazayeri> what's the error?
18:48:08 <wyclif> NPE
18:48:15 <wyclif> in the Listener
18:48:32 <djazayeri> pastebin it?
18:48:52 <wyclif> trying to get the stacktrace on pastebin but pastebin seems to be inaccessible
18:49:06 <djazayeri> there are alternateive.
18:49:10 <djazayeri> alternatives.
18:49:15 <djazayeri> pastie is one, i think
18:49:22 <bwolfe> there are 1000 pastebins
18:51:16 <wyclif> http://pastebin.com/DZgiCGY0
18:52:53 <bwolfe> Caused by: java.lang.NullPointerException
18:53:19 <bwolfe> at org.openmrs.api.db.hibernate.AuditableInterceptor.setValue(AuditableInterceptor.java:139)
18:53:19 <bwolfe> wyclif, did you do a clean install on the root dir?
18:53:19 <bwolfe> "mvn clean install"
18:53:28 <rafa> org.openmrs.web.Listener.startOpenmrs(Listener.java:217) is a strange place for NPE
18:54:06 <rafa> oh yeah that might be me :D
18:54:09 <djazayeri> wyclif: this vaguely reminds me of someone saying something about Context.authenticatedUser being null
18:54:09 <wyclif> doing that
18:54:28 *** dkayiwa has joined #openmrs
18:54:53 <wyclif> working now, thanks guys
18:55:12 <wyclif> mav clean install
18:55:23 <wyclif> sorry! mvn clean install
18:55:51 <rafa> okay nevermind
18:56:15 <bwolfe> always good practice to do that after svn updating. :-)
18:56:26 <bwolfe> its bitten me a few times so thats the first thing I suggest
18:56:35 *** dawn__ has joined #openmrs
18:56:35 *** ChanServ sets mode: +v dawn__
18:56:35 *** dawn_ has quit IRC
18:56:35 *** dawn__ is now known as dawn_
18:56:39 <djazayeri> okay, so are we done?
18:56:48 <djazayeri> ah, dkayiwa is here
18:57:06 <djazayeri> dkayiwa: did we get your update?
18:57:13 <dkayiwa> djazayeri: sorry i got delayed in a friend's wedding meeting :)
18:57:48 <djazayeri> okay, what's your update?
18:57:50 *** kishoreyekkanti has left #openmrs
18:58:41 <dkayiwa> Did some code review
18:58:41 <dkayiwa> Applied some patches
18:58:42 <dkayiwa> Committed response to comments for: Automatically convert empty string properties on OpenmrsObjects to null before persisting in the database - TRUNK-2680
18:58:42 <dkayiwa> Blocked on: Automatically create demo dataset as part of the standalone build process - STAND-35
18:58:42 <dkayiwa> In the meantime switched to: Cannot parse address layout (fresh installation) - TRUNK-2900
18:59:05 <djazayeri> what's blocking you on STAND-35?
18:59:27 <djazayeri> (and why is there no comment on the ticket if you're blocked?)
19:00:05 <dkayiwa> djazayeri: trying to figure out how the existing maven stuff works such that i know how to modify it for the task. And since Ben says if am taking more than an hour, i should report that as blocking
19:00:06 <djazayeri> (I have a call starting in 1 minute. We need to be finishing these scrums in 30 minutes or less.
19:01:11 *** suranga_ has joined #openmrs
19:01:12 <bwolfe> dkayiwa, so do you want darius' input on what he did so you can jump start your dev on that ticket?
19:01:22 <dawn_> bwolfe: djazayeri : call time
19:01:24 <djazayeri> dkayiwa: okay, that's fair, but you should also comment on it if you're switching tickets.
19:01:31 <dkayiwa> bwolfe: yes that will make me move faster
19:01:37 <dkayiwa> djazayeri: ok
19:02:39 *** suranga has quit IRC
19:02:45 <wyclif> dkayiwa, i think there code lines in the pom.xml file that darius has written before to execute a liquibase changelog file, you can use something similar
19:03:50 <djazayeri> dkayiwa: there's a liquibase plugin for maven that I'm using
19:04:04 <dkayiwa> wyclif: can i switch over the ticket to you? or do you have something you are working on?
19:04:13 <djazayeri> you can see it in the plugins section of pom.xml in standalone
19:05:17 <wyclif> it depends on what approach you have chosen
19:05:49 <dkayiwa> wyclif: did not take an approach as of now
19:05:53 *** suranga_ has quit IRC
19:06:01 <wyclif> if you chose to generate the changelog file from the demodata and execute the changelog file via maven, i can do it though i guess later today
19:06:20 <wyclif> but most liley tomorrow
19:06:37 <dkayiwa> ok
19:06:55 <wyclif> dkayiwa, or can we switch tasks?
19:07:14 <bwolfe> why can't you just source the file directly?
19:07:20 <dkayiwa> wyclif: i have another ticket already that i wanted to finish in the meatime
19:08:16 <wyclif> dkayiwa, if you close your day befoer working, feel free to unassign yourself from it so that any of us can pick it up though i know your next day will start before mine
19:08:31 <dkayiwa> wyclif: ok
19:08:49 <wyclif> dkayiwa, i will pick up later this evening
19:08:58 <dkayiwa> wyclif: ok
19:10:04 <wyclif> dkayiwa, let me add a comment to the ticket for the other solution i have in mind
19:10:20 <dkayiwa> wyclif: that will be great!!!
19:17:39 *** suranga has joined #openmrs
19:25:29 *** suranga has quit IRC
19:30:06 *** Echidna has quit IRC
19:31:21 *** Echidna has joined #openmrs
19:31:21 *** ChanServ sets mode: +v Echidna
20:03:16 *** dawn_ has quit IRC
20:03:49 *** dawn_ has joined #openmrs
20:03:49 *** ChanServ sets mode: +v dawn_
20:04:52 <chopin__> bwolfe, anyone ... is branches/1.8.x now 1.8.4?
20:04:55 <chopin__> or 1.8.3?
20:05:46 <bwolfe> chopin__, should be 1.8.4. I've released 1.8.3 to the repositories...but am waiting to announce and release files until we can polish the standalone
20:06:39 <chopin__> oh phooey
20:07:11 <bwolfe> why?
20:07:25 <chopin__> backporting TRUNK-2503
20:07:37 <bwolfe> !ticket TRUNK-2503
20:07:38 <OpenMRSBot> bwolfe: [#TRUNK-2503] Include inherited roles when searching for users - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-2503
20:07:43 <bwolfe> ah yes
20:07:47 <chopin__> o wells
20:08:01 <chopin__> i'm changing the @since 1.9 lines to @since 1.8.4
20:08:03 <chopin__> is that ok?
20:08:03 <bwolfe> well, I announced over a month ago that I was going to release these...have been held up most of this time by the standalone :-p
20:08:09 <chopin__> trew
20:08:13 *** chopin__ is now known as chopin
20:08:19 *** ChanServ sets mode: +v chopin
20:08:20 <bwolfe> yeah, thats fine
20:08:26 <chopin> k
20:14:47 *** james_regen1 has left #openmrs
20:41:46 *** rafa has quit IRC
20:43:25 *** chopin has quit IRC
20:46:29 *** dawn_ has quit IRC
20:57:44 <dkayiwa> hi wyclif
20:58:34 <wyclif> hi dkayiwa
20:58:40 <dkayiwa> wyclif: so should the commit comment have been? "Applying Janet's patch for: Change the priority when setting a preferred name fo… author:janet
21:02:42 <wyclif> dkayiwa, yeah but use 'jriley' instead of 'janet', because jriley is the actual username jira /crucible know, you can get it by hovering the mouse over the name and look at the url in the browser status bar
21:03:07 <dkayiwa> wyclif: oh i see!!! thanks :)
21:04:23 <wyclif> dkayiwa, thanks for applying the patch
21:04:36 <dkayiwa> yo welcome
21:05:19 *** bwolfe has quit IRC
21:06:08 *** bwolfe has joined #openmrs
21:06:08 *** ChanServ sets mode: +o bwolfe
21:49:49 *** dkayiwa has quit IRC
22:13:24 *** rafa_ has quit IRC
22:17:40 *** burke has quit IRC
22:17:42 *** downeym has quit IRC
22:22:07 *** bwolfe has quit IRC
22:24:27 *** bwolfe has joined #openmrs
22:24:27 *** ChanServ sets mode: +o bwolfe
23:20:45 *** wyclif has quit IRC
23:33:55 *** bwolfe has quit IRC
23:36:09 *** bwolfe has joined #openmrs
23:36:09 *** ChanServ sets mode: +o bwolfe
23:48:44 *** deadpool has joined #openmrs
23:50:23 <deadpool> djazayeri: I am trying to do a hibernate search dependent on the user do i use user.personid?
23:51:21 <djazayeri> deadpool: I think that would be user.person.id
23:51:42 <djazayeri> in hibernate you are referring to properties of java objects
23:51:47 <deadpool> yeah
23:52:01 <deadpool> but when i search for patients i use patient.personId
23:52:35 <deadpool> shouldn't it be the same?
23:52:38 <djazayeri> patient has a personId exposed specifically for this purpose, because we figured it would help for performance reasons.
23:52:46 <deadpool> ah ok
23:53:12 <djazayeri> sorry, that's wrong
23:53:24 <djazayeri> Patient extends Person, so it *has* a personId
23:53:40 <djazayeri> User does not extend Person. User *has* a Person as a property
23:53:59 <djazayeri> user.userId is the primary key of the user table
23:54:20 <djazayeri> it's what's referenced via foreign key by things like xyz.creator and xyz.changed_by
23:54:59 <djazayeri> so if you want to do a hibernate search depending on the PK of the user, that's user.userId, and if it depends on the person the user is attached to, then user.person.id
23:58:05 <deadpool> djazayeri: so if if my java pojo has creator i would search in the hibernate as creator.userId?
23:59:17 <djazayeri> if you want to find all of your objects that were created by a particular user, you'd do "from YourClass where creator = :user", and you'd do query.setObject("user", aUserObject);
23:59:46 <djazayeri> or else new CriteriaQuery(YourClass.class).add(Restrictions.eq("creator", aUserObject);