IRC Chat : 2008-12-19 - OpenMRS

01:09:14 *** kapten_yuba has joined #openmrs
01:09:31 *** kapten_yuba has left #openmrs
01:56:00 *** atomicturtle has joined #openmrs
02:09:32 *** Echidna has quit IRC
02:25:49 *** Echidna has joined #openmrs
02:37:10 *** Keelhaul has quit IRC
03:06:40 *** upul has joined #openmrs
03:38:05 *** nribeka has joined #openmrs
05:38:58 *** njero has joined #openmrs
05:38:58 *** ChanServ sets mode: +v njero
07:21:36 *** pygi has joined #openmrs
07:23:50 *** Mario__ has joined #openmrs
07:31:12 *** Mario__ has quit IRC
07:31:15 *** pygi has quit IRC
08:10:15 *** nribeka1 has joined #openmrs
10:05:10 *** nribeka1 has quit IRC
10:30:17 *** upul has quit IRC
12:45:20 *** james_regen has joined #openmrs
12:45:25 *** ChanServ sets mode: +v james_regen
12:54:33 *** kapten_yuba has joined #openmrs
12:55:02 *** kapten_yuba has left #openmrs
12:56:08 *** kapten_yuba has joined #openmrs
12:56:14 *** kapten_yuba has left #openmrs
13:19:08 *** bwolfe has joined #openmrs
13:19:08 *** ChanServ sets mode: +o bwolfe
13:19:30 <Echidna> the bwolfe
13:19:40 <bwolfe> the Echidna ?
13:19:49 <Echidna> yep
13:19:50 <Echidna> =P
13:20:02 <Echidna> the xsn you sent me yesterday contains no location selection =/
13:20:22 <Echidna> or maybe not on the first page, i didnt know how to change pages in design mode
13:21:00 <bwolfe> its on the first page
13:21:08 <bwolfe> its a button on the near upper left
13:21:16 <bwolfe> you change pages by changing "views"
13:24:41 <Echidna> ah
13:24:56 <Echidna> bwolfe: can you link me agian please? it's on my home pc now
13:25:37 <bwolfe> !irclogs
13:25:37 <OpenMRSBot> bwolfe: "irclogs" --- The OpenMRS IRC logs are publicly displayed online: http://dev.openmrs.org/irclogs
13:27:12 <Echidna> ah yea heh
13:27:13 <Echidna> ty
13:28:29 <Echidna> function SelectLocation::OnClick(eventObj)
13:28:29 <Echidna> {
13:28:29 <Echidna> selectLocation();
13:28:29 <Echidna> }
13:28:40 <Echidna> thats just what my button calls as well
13:28:41 <bwolfe> right
13:28:45 <Echidna> cept i get exceptions
13:28:50 <Echidna> =/
13:29:01 <bwolfe> do you have the same setup with an expression box, etc ?
13:29:57 <Echidna> um
13:30:01 <Echidna> i'm not sure what it's called
13:30:07 <Echidna> the button widget type is the same at least
13:31:03 <Echidna> lol
13:31:11 <Echidna> i like how it's called "short" form and has 3 pages
13:31:41 <Echidna> how many pages would an "initial visit long form" have then
13:42:27 <bwolfe> 8 or so I think
13:42:51 <bwolfe> Echidna: its not so much the button type, its the data source widget right next to the button
13:43:04 <bwolfe> the one that is attached to encounter/encounter_location or so
13:50:57 <Echidna> substring-after(encounter/encounter.location_id, "^")
13:51:18 <Echidna> isnt that widget called after a location has been selected though?
13:51:30 <Echidna> i get the error as soon as the search field comes up on the right side
13:51:42 <Echidna> and afterwards if i try to type sometihng in the search field
13:53:26 <bwolfe> ah, I see
13:53:36 <bwolfe> what is the error, exactly ?
13:54:52 <Echidna> a typical microsoft error box
13:55:06 <Echidna> "a runtime error has occured (linke 102), want to start a debugger?"
13:55:11 <Echidna> linke=line
13:55:47 <bwolfe> odd
13:55:58 <Echidna> and underneath
13:55:59 <bwolfe> what is on that line ?
13:56:12 <bwolfe> which file ?
13:56:16 <Echidna> "Error: object does not support this property or method"
13:56:25 <Echidna> thats the problem, i dont know where that error comes from
13:56:54 <bwolfe> http://dev.openmrs.org/browser/openmrs-modules/formentry/trunk/src/org/openmrs/module/formentry/forms/starter/openmrs-infopath.js
13:56:56 <bwolfe> maybe ?
13:56:57 <OpenMRSBot> <http://ln-s.net/2_vq> (at dev.openmrs.org)
13:57:13 <bwolfe> or http://dev.openmrs.org/browser/openmrs-modules/formentry/trunk/web/module/taskpane/location.jsp
13:57:14 <OpenMRSBot> <http://ln-s.net/2_vs> (at dev.openmrs.org)
13:57:36 <bwolfe> for that second one, you can get the true line numbers if you go to:
13:57:40 <Echidna> DWREncounterService.getLocations(searchWidget.simpleClosure(searchWidget, "doObjectsFound"));
13:57:45 <Echidna> that line apparently
13:57:49 <bwolfe> http://localhost:8080/openmrs/formentry/taskpane/location.htm
13:57:53 <Echidna> in "location.htm (dynamic)"
13:58:01 <Echidna> thats what the visual studio debugger says
13:58:11 <bwolfe> hmm
13:58:26 <bwolfe> what version of openmrs are you running? and which version of formentry ?
13:58:58 <Echidna> formentry 3.3.4
13:59:13 <Echidna> openmrs 1.4.20.sometihng
13:59:29 <Echidna> build 6231
13:59:46 <bwolfe> hmm, yeah, that shouldn't be a problem
14:00:33 <Echidna> the formentry is custom compiled from the 1.4.x branch
14:00:56 <bwolfe> what version of infopath ?
14:00:57 <Echidna> the one in the module repository threw nullpointerexceptions when i tried to load a form
14:01:00 <Echidna> 07
14:01:40 <bwolfe> go to that location.htm url in your browser
14:01:43 <bwolfe> does it work there ?
14:02:30 <Echidna> noes
14:02:31 <Echidna> The page "/openmrs/formentry/taskpane/location.htm" cannot be found. Check the link and try again.
14:05:00 <bwolfe> hmm
14:05:07 <bwolfe> openmrs/moduleResources/formentry...
14:05:09 <Echidna> is it supposed to load?
14:05:28 <bwolfe> yeah, it should
14:05:32 <bwolfe> no
14:05:34 <bwolfe> its
14:05:46 <bwolfe> /openmrs/module/formentry/taskpane/location.htm
14:06:32 <Echidna> yea it loads a location search field
14:06:51 <Echidna> doesnt work though
14:09:06 <bwolfe> it doesn't list them off
14:09:11 <bwolfe> any errors in the tomcat logs ?
14:09:14 <bwolfe> any javascript errors ?
14:10:34 <Echidna> i don have access to this installation's logs
14:11:41 <bwolfe> thats unfortunate
14:11:55 <bwolfe> you should be able to see it via the admin screen
14:12:22 <bwolfe> under the "maintenance" section
14:13:22 <Echidna> WARN - ModuleResourcesServlet.doGet(70) |2008-12-19 15:05:33,411| No object with path '/var/lib/tomcat5.5/webapps/openmrs/WEB-INF/view/module/formentry/resources//taskpane/location.htm' exists for module with id 'formentry'
14:29:15 <bwolfe> Echidna: that was just your incorrect url visit
14:29:17 <bwolfe> nothing else ?
14:29:25 <Echidna> nope
14:29:40 <Echidna> WARN - Concept.getName(612) |2008-12-19 14:50:13,084| No compatible concept name found for default locale for concept id 5497
14:29:40 <Echidna> WARN - Concept.getName(612) |2008-12-19 14:50:13,089| No compatible concept name found for default locale for concept id 5089
14:29:44 <Echidna> thats the rest from today
14:29:48 <Echidna> but it doesnt seem related
14:29:49 <bwolfe> odd
14:29:55 <bwolfe> right
14:30:28 <Echidna> i'm trying to try the form with my localhost installation
14:30:38 <Echidna> but it doesnt seem to find the url, although i set it in the global props
14:34:56 <bwolfe> you have to rebuild the form after setting the global property
14:35:33 <Echidna> o right
14:36:11 <Echidna> is there a way to stop it from increasing the revision number every time
14:36:24 <bwolfe> no
14:36:30 <bwolfe> thats needed so that infopath doesn't get confused
14:36:34 <Echidna> ok
14:36:46 <Echidna> btw
14:36:53 <Echidna> is there some kind of input field that is none
14:36:55 <Echidna> as in
14:37:23 <Echidna> i need something that gets a dynamically calculated values from other fields, but is still tied to an obs
14:37:29 <Echidna> but cant be edited manually
14:38:21 <bwolfe> an expression box
14:38:29 <bwolfe> thats what the location field is above that location button
14:39:27 <Echidna> it's still an input field?
14:42:43 <bwolfe> its exactly what you want
14:42:57 <bwolfe> you tie it to a value and it shows it, but users can't edit it
14:43:49 <Echidna> yes
14:43:57 <Echidna> but theres also no place to add a formula
14:44:02 <Echidna> only an xpath expression
14:48:38 <bwolfe> what do you mean a formula ?
14:51:03 <Echidna> round(value / (value * value / 10000))
14:51:13 <Echidna> basically, calculating bmi out of height/weight
14:51:24 <Echidna> and then saving it to an extra obs
14:58:41 <bwolfe> whatever you can put into an input box you should be able to put into an expression
14:58:54 <bwolfe> my infopath skills are not that great, so I'm not sure how exactly to do it
14:59:14 <Echidna> ok
14:59:22 <Echidna> oh well, i'll just let it editable
14:59:30 <Echidna> at least the calculation works well though
14:59:50 <Echidna> what would also be great is if i could disable an input box depending on the value of another
15:00:07 <bwolfe> you can
15:00:30 <bwolfe> again, not sure how, but I know people do it
15:01:23 <Echidna> woudl you happen to have a trunk/14x build of formentry?
15:09:14 <bwolfe> loaded and usable? or just compiled ?
15:12:09 <Echidna> compiled and confirmed working
15:13:23 <Echidna> i have no clue why i get that error
15:13:24 <bwolfe> what part do you want me to confirm ?
15:13:28 <Echidna> so i blame my compilation
15:13:54 <Echidna> the part where somewhere has ever successfully used it to submit forms
15:14:17 <bwolfe> um, I dunno
15:22:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6428]: Making the delete concept error more user friendly - #873 author: dkayiwa <http://dev.openmrs.org/changeset/6428>
15:27:47 <Echidna> bwolfe: same error on localhost
15:27:49 <Echidna> although
15:28:02 <Echidna> here it actually says "DWREncounterService undefined"
15:40:14 <bwolfe> argh
15:40:17 <bwolfe> why is it undefined ?
15:40:18 <bwolfe> :-/
15:41:02 <Echidna> no idea =/
15:41:09 <Echidna> it is in the 1.4.x branch
15:45:38 <Echidna> ok if i load 3.3.5, i cant even open forms
15:45:38 <Echidna> null
15:45:46 <bwolfe> null ?
15:45:49 <bwolfe> null where ?
15:47:22 *** kapten_yuba has joined #openmrs
15:47:28 <Echidna> http://rafb.net/p/3HSi6T79.html
15:47:28 <Echidna> here
15:47:38 *** kapten_yuba has left #openmrs
15:55:43 <Echidna> bwolfe: apparently only the 1.4.x branch version actually works with 1.4.x
15:58:20 <bwolfe> sounds like a problem
16:00:39 <Echidna> bbs
16:06:48 *** pygi has joined #openmrs
16:12:26 *** atomicturtle has quit IRC
16:20:17 *** atomicturtle has joined #openmrs
16:24:31 <OpenMRSBot> Recent updates in the world of openmrs: News Blog: OpenMRS 1.3.3 Released <http://blog.openmrs.org/?p=97>
16:25:03 *** kapten_yuba has joined #openmrs
16:25:17 *** kapten_yuba has left #openmrs
16:44:21 *** Keelhaul has joined #openmrs
16:44:21 *** ChanServ sets mode: +v Keelhaul
16:50:09 <Keelhaul> bwolfe: do you think that's an error in formentry or core?
16:58:47 *** nribeka1 has joined #openmrs
17:17:41 <Keelhaul> bwolfe: i found the error, it seems
17:17:50 <Keelhaul> http://rafb.net/p/xoxrGK22.html
17:17:58 <Keelhaul> one of my modules add another DWREncounterService
17:18:45 <Keelhaul> is there no way to differentiate between classes for javascript?
17:19:07 <Keelhaul> also, all my forms seem to stay in the queue
17:19:11 <Keelhaul> and not get into the db
17:20:48 *** nribeka has quit IRC
17:28:45 *** nribeka1 has quit IRC
17:51:55 *** pygi has quit IRC
18:09:45 *** Keelhaul has quit IRC
18:10:51 *** pygi has joined #openmrs
18:26:06 *** bwolfe has quit IRC
18:26:06 *** jacobb has quit IRC
18:26:06 *** [mharrison] has quit IRC
18:26:59 *** bwolfe has joined #openmrs
18:26:59 *** jacobb has joined #openmrs
18:26:59 *** [mharrison] has joined #openmrs
18:26:59 *** irc.freenode.net sets mode: +o bwolfe
18:30:19 *** nribeka has joined #openmrs
18:31:58 *** Keelhaul has joined #openmrs
18:31:58 *** ChanServ sets mode: +v Keelhaul
18:32:03 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6429]: installer-nbi: Using plain mysql binary in comparison to Intel compiler … <http://dev.openmrs.org/changeset/6429> || OpenMRS Tickets: Ticket #1181 (defect created): Switching between the tabs of the config.xml editor always asks to save <http://dev.openmrs.org/ticket/1181> || OpenMRS Tickets: Ticket #1180 (defect created): Servlets page in config.xml editor dees not react properly on Undo <http://dev.openmrs.org/ticket/1180>
18:49:11 *** Keelhaul has quit IRC
19:16:52 <bwolfe> Echidna: javascript does not distinguish...or at least the dwr conversion to javascript
19:17:00 <bwolfe> you have to name the dwr class somethign different
19:17:09 <bwolfe> are you getting errors with the formentry_queue ?
19:17:18 <bwolfe> is your FormEntry Queue Scheduled Task running ?
19:36:34 *** bwolfe has quit IRC
19:49:18 *** pygi has quit IRC
19:51:47 *** bwolfe has joined #openmrs
19:51:47 *** ChanServ sets mode: +o bwolfe
20:09:18 *** Keelhaul has joined #openmrs
20:09:18 *** ChanServ sets mode: +v Keelhaul
20:10:30 <Echidna> bwolfe: i cant find a tasks panel anymore =/
20:10:37 <Echidna> as for the forms
20:10:40 <Echidna> location that is
20:10:46 <Echidna> works flawlessly on localhost now
20:10:53 <Echidna> as for the other, theres still some script error
20:11:01 <Echidna> and the list isnt auto populated
20:11:04 <Echidna> but the search works at least
20:11:07 <bwolfe> it must be the dwrencounterservice duplication thing
20:11:11 <bwolfe> unload your module and try it there
20:11:15 <Echidna> yea but its not longer duplicate
20:13:54 <Keelhaul> bwolfe: do i have to start processhl7 as well?
20:14:09 <bwolfe> yes
20:17:26 <Keelhaul> damn
20:17:35 <Keelhaul> both tasks are running but the new encounter still doesnt show up
20:19:22 <Keelhaul> ERROR - TimerSchedulerTask.run(44) |2008-12-19 21:19:00,108| FATAL ERROR: Task [class org.openmrs.module.formentry.ProcessFormEntryQueueTask] failed due to exception [org.openmrs.api.APIAuthenticationException]
20:19:27 <Keelhaul> argh
20:19:52 <Keelhaul> looks like the task cant auth or smt
20:20:34 <Keelhaul> the scheduler cretentials have to be commented in?
20:25:36 *** pygi has joined #openmrs
20:36:39 *** bwolfe_ has joined #openmrs
20:36:39 *** ChanServ sets mode: +o bwolfe_
20:36:53 *** bwolfe has quit IRC
20:36:59 *** bwolfe_ is now known as bwolfe
20:37:02 <bwolfe> Keelhaul: the creds are in the global properties
20:37:15 <Keelhaul> ic
20:37:20 <Keelhaul> the local scheduler works
20:37:26 <Keelhaul> yay
20:37:42 <Keelhaul> but the other one is the one is the one that has to work lol
20:41:17 <bwolfe> or the creds might be in the runtime properties
20:41:19 <bwolfe> one of the two
20:42:59 <Keelhaul> hm
20:43:21 <Keelhaul> bwolfe: can non-admins view the global props page?
20:43:39 <bwolfe> if they have the privilege to view it
20:44:15 <bwolfe> Keelhaul: see line 3: http://dev.openmrs.org/browser/openmrs/trunk/web/WEB-INF/view/admin/maintenance/globalPropsForm.jsp
20:44:25 <OpenMRSBot> <http://ln-s.net/2a3S> (at dev.openmrs.org)
20:46:08 <Keelhaul> yea
20:46:10 <Keelhaul> hm
20:49:14 *** Glen_ has joined #openmrs
20:52:37 *** nribeka has quit IRC
20:52:55 *** nribeka has joined #openmrs
21:04:39 <Keelhaul> You have attempted to log in too many times. Please try again later.
21:04:41 <Keelhaul> lol wat
21:04:45 <Keelhaul> how long would that be?
21:05:52 <Keelhaul> bwolfe: if i was a doctor, i'd be mighty upset now lol
21:06:16 *** james_regen has quit IRC
21:08:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1179 (enhancement closed): Modules should undo what it added to the database when unloaded <http://dev.openmrs.org/ticket/1179#comment:1>
21:09:30 <Keelhaul> bwolfe: is there a way to make the tasks start automatically?
21:09:37 <bwolfe> Keelhaul: yes, edit the task
21:10:52 <Keelhaul> thx
21:10:59 <Keelhaul> is updateconceptwords supposed to run all the time?
21:11:21 <bwolfe> it'll only run once
21:16:06 <Keelhaul> hm
21:16:10 <Keelhaul> the admin user just wont work
21:24:03 <bwolfe> can you log in with that admin user's username/pw
21:24:04 <bwolfe> ?
21:26:58 <Keelhaul> no
21:27:11 <Keelhaul> i can change it to whatever i want, it wont accept it
21:27:35 <Keelhaul> does the admin account get disabled if there are other sysdev accounts?
21:27:44 <bwolfe> no
21:27:50 <bwolfe> whats the error its giving you ?
21:27:59 <bwolfe> where are you changing it ?
21:28:11 <Keelhaul> Invalid username/password. Please try again.
21:28:19 <Keelhaul> in the user management
21:29:39 <Keelhaul> i tried changing the passport hash+salt to those from a working account
21:29:41 <Keelhaul> still wont accept
21:30:12 <Keelhaul> err password*
21:31:03 <bwolfe> are you sure you're matching the passwords ?
21:31:50 <Keelhaul> the md5s are identical
21:31:50 <bwolfe> I was just able to do it
21:32:20 <bwolfe> are you sure you're on the right database ?
21:32:30 <Keelhaul> positive
21:32:49 <Keelhaul> is there maybe a way to disable admin in runtime properties?
21:40:51 <bwolfe> Keelhaul: disable admin, what do you mean?
21:41:13 <bwolfe> you can set the scheduler to use any username/password. it doesn't have to be "admin"
21:41:25 <Keelhaul> no
21:41:35 <Keelhaul> but i wanted to =/
21:41:43 <Keelhaul> guess i'll have to make one for the scheduler
21:41:52 <Keelhaul> disable as in deliberately set it to not work
21:41:56 <Keelhaul> thought maybe theres an option
21:42:36 <Keelhaul> because apart from the runtime properties file, which i dont know the location of
21:42:44 <Keelhaul> everything is identical to localhost
21:47:44 <bwolfe> Keelhaul: if you start/stop the tomcat server, it should tell you in the server log where the runtime properties are
21:51:17 <Keelhaul> hm found it
21:51:22 <Keelhaul> nothing suspicious in there
21:57:44 <Keelhaul> ok i created a new user
21:57:52 <Keelhaul> which is kind of lame, because it also has to be a person
21:58:00 <Keelhaul> i wonder why admin wont work
22:09:09 <Keelhaul> bwolfe: do you use mostly coded answers for ampath stuff?
22:09:26 <bwolfe> 99% coded answers
22:09:35 <bwolfe> hand written stuff is useless for reporting
22:09:40 <Keelhaul> yea
22:09:41 <Keelhaul> well
22:09:42 <bwolfe> and nobody goes back to look at it
22:09:43 <Keelhaul> yea
22:09:55 <Keelhaul> only numeric and coded work properly
22:10:09 <Keelhaul> boolean should, but reporting doesnt support it properly
22:10:17 <Keelhaul> so i had to use coded yes/no
22:12:42 <bwolfe> ah yes
22:12:56 <bwolfe> there actually is a ticket to make boolean yes/no into a concept behind the scenes
22:41:01 *** bwolfe has quit IRC
22:43:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [6430]: formentry module: Fixed bug with forms that weren't found holding up the … <http://dev.openmrs.org/changeset/6430>
22:44:59 *** pygi has quit IRC
22:49:19 *** nribeka has quit IRC
23:31:11 *** Glen_ has quit IRC