00:36:22
|
*** czakian has joined #openmrs
|
00:37:13
|
<czakian> hey would anyone know where the hibernate configuration get invoked? i.e. session = new Configuration().
|
00:37:25
|
<czakian> A search has not been fruitful so far
|
00:42:26
|
<czakian> is it the HibernateSessionFactoryBean.java or somewhere else?
|
00:42:42
|
*** lh has quit IRC
|
00:43:17
|
<djazayeri> czakian: I forget exactly. I don't remember if it's there or somehow invoked by Listener.
|
00:43:51
|
<czakian> yeah, that was what was confusing me
|
00:44:19
|
<czakian> also, you did the modification to the hibernate jar correct?
|
00:45:37
|
<djazayeri> czakian: yes, i modified the hibernate jar (actually I did the original modification, but more recently ben re-applied it to a newer version of hibernate, I think)
|
00:46:10
|
<czakian> which version did you apply it to if you remeber?
|
00:46:24
|
<djazayeri> I don't remember
|
00:46:54
|
<czakian> ok
|
00:59:28
|
*** czakian has quit IRC
|
01:00:00
|
*** mandric has quit IRC
|
01:02:20
|
*** djazayeri has quit IRC
|
01:04:16
|
*** djazayeri has joined #openmrs
|
01:04:16
|
*** ChanServ sets mode: +o djazayeri
|
01:33:16
|
*** squidsoup has quit IRC
|
02:27:56
|
*** wyclif has joined #openmrs
|
02:50:49
|
*** muthah has quit IRC
|
02:52:36
|
*** gbastien has joined #openmrs
|
02:59:30
|
*** dkayiwa has joined #openmrs
|
03:04:54
|
*** r0bby is now known as robbyoconnor
|
03:10:51
|
*** gbastien has quit IRC
|
03:40:15
|
*** surangak has joined #openmrs
|
03:56:25
|
<surangak> !gmcallum
|
03:56:25
|
<OpenMRSBot> surangak: Error: "gmcallum" is not a valid command.
|
04:15:53
|
*** lh has joined #openmrs
|
04:17:19
|
*** dkayiwa has quit IRC
|
04:36:23
|
*** squidsoup has joined #openmrs
|
04:53:45
|
*** jportela has quit IRC
|
05:26:20
|
*** muthah has joined #openmrs
|
06:00:52
|
*** bryq has joined #openmrs
|
06:00:52
|
*** ChanServ sets mode: +v bryq
|
06:17:41
|
*** bwolfe has joined #openmrs
|
06:17:41
|
*** ChanServ sets mode: +o bwolfe
|
06:25:40
|
*** bryq has quit IRC
|
06:42:05
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): View encounters for a patient - APPTEST-24 <http://feedproxy.google.com/~r/OMRStrunk/~3/U06AlUGbg6I/OpenMRS>
|
06:48:48
|
*** pascal` has joined #openmrs
|
06:56:20
|
*** ChanServ sets mode: +v pascal`
|
07:04:55
|
*** dkayiwa has joined #openmrs
|
07:12:35
|
*** rafa has joined #openmrs
|
07:12:35
|
*** ChanServ sets mode: +v rafa
|
07:15:05
|
*** jwishnie has joined #openmrs
|
07:24:37
|
*** jwishnie_ has joined #openmrs
|
07:25:04
|
*** jwishnie has quit IRC
|
07:25:04
|
*** jwishnie_ is now known as jwishnie
|
07:39:10
|
*** dkayiwa has quit IRC
|
07:53:59
|
*** bwolfe has quit IRC
|
08:06:42
|
*** bwolfe has joined #openmrs
|
08:06:42
|
*** ChanServ sets mode: +o bwolfe
|
08:09:23
|
*** tinashe has joined #openmrs
|
08:09:44
|
<tinashe> Hi...
|
08:11:15
|
<tinashe> I would like to ask for ways to upload OpenMRS concepts from one install to some other install..., i.e. upload specific concepts to some other OpenMRS instance from one OpenMRS instance...
|
08:16:14
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Changing application title to one string instead of unnecessarily splitting them. <http://feedproxy.google.com/~r/OMRStrunk/~3/8oLRBoBVQi8/OpenMRS> || New Changeset: OpenMRS (webapp-testing): Test case: Edit Locale/Theme - APPTEST-43 <http://feedproxy.google.com/~r/OMRStrunk/~3/uv6Eaz3Zhfk/OpenMRS>
|
08:18:18
|
*** jwishnie_ has joined #openmrs
|
08:18:21
|
*** tinashe has left #openmrs
|
08:19:01
|
*** jwishnie has quit IRC
|
08:19:01
|
*** jwishnie_ is now known as jwishnie
|
08:23:42
|
*** tinashe has joined #openmrs
|
08:32:43
|
*** tinashe has left #openmrs
|
08:44:19
|
*** jwishnie has quit IRC
|
08:59:16
|
<pascal`> bwolfe, around?
|
09:04:52
|
<bwolfe> yeah
|
09:17:36
|
<pascal`> bwolfe, when adding form fields to a schema
|
09:17:49
|
<pascal`> bwolfe, is dragging from the search widget to nodes in the tree supported?
|
09:18:17
|
<pascal`> bwolfe, i think i saw some weird behaviour where it wasn't added in the schema tree, or it got added twice, i'm not sure.
|
09:18:24
|
<pascal`> bwolfe, ever seen anything weird like that?
|
09:19:26
|
<bwolfe> someone else reported something weird, yes
|
09:19:34
|
<bwolfe> but not sure what it would be
|
09:20:26
|
<pascal`> bwolfe, hmm
|
09:24:21
|
<pascal`> bwolfe, reported as in created a ticket?
|
09:24:31
|
<bwolfe> potentially
|
09:24:50
|
<bwolfe> I think it has to do with JS characters in the concpet or field description
|
09:24:56
|
<bwolfe> things like single quote, double quote, etc
|
09:30:36
|
<pascal`> perhaps parenthises
|
09:30:44
|
<bwolfe> perhaps
|
09:31:04
|
<pascal`> i'll see if i can find time to reproduce
|
09:31:13
|
<pascal`> but it's caused us quite a lot of grief ;'(
|
09:33:20
|
<pascal`> bwolfe, how's this for a stack trace: http://pastie.org/2036736 :)
|
09:34:22
|
<bwolfe> very helpful!
|
09:35:25
|
<pascal`> bwolfe, it's GWT compiled to JS... argz0rz
|
09:36:47
|
<pascal`> lol, at Unknown.anonymous(Unknown source:0)
|
09:36:56
|
<pascal`> bwolfe, ^ that's my favourite line in the stack trace
|
09:37:17
|
<bwolfe> well thats obvious what the problem is then
|
09:37:54
|
<pascal`> gwt--
|
09:38:42
|
<pascal`> bwolfe, I'm still also getting the IPv6 error I've mentioned a couple of times
|
09:38:46
|
<pascal`> WARN - RequireTag.doStartTag(140) |2011-06-08 11:37:54,565| Invalid ip addr: expected 192.168.1.40, but found: fe80:0:0:0:20c:29ff:fe71:ff14
|
09:38:59
|
<bwolfe> strange
|
09:39:07
|
<pascal`> I see that in the logs, then I get taken to the login screen with "Invalid session object".
|
09:39:08
|
<bwolfe> can you turn that off ?
|
09:39:19
|
<pascal`> I wish I could turn it off.
|
09:40:43
|
<pascal`> There are two of working on the instance, well, at least 2 that I know of.
|
09:40:44
|
<bwolfe> why do you have both an ipv4 and ipv6 address?
|
09:41:28
|
<pascal`> because that's how I roll
|
09:41:45
|
<bwolfe> I'm not 100% knowledgable on ipv6, so not sure why that happens
|
09:41:54
|
<bwolfe> but probably needs a ticket and a fix :-p
|
09:42:02
|
<bwolfe> or at least a way for the admin to disable ip checking
|
09:42:11
|
<bwolfe> (this is to prevent java session stealing)
|
09:42:13
|
<pascal`> ok i turned off ipv6
|
09:42:21
|
<pascal`> so lets see if it keeps happening
|
09:44:52
|
*** gauthami has joined #openmrs
|
09:45:28
|
*** gauthami has left #openmrs
|
09:45:48
|
<pascal`> nope, still got logged out with the same message
|
09:45:52
|
<pascal`> nothing in the logs this time though
|
09:50:37
|
<bwolfe> heh
|
09:51:31
|
<bwolfe> means your ip is 0.0.0.0 possibly
|
09:51:40
|
<bwolfe> (just looking at RequireTag code)
|
09:52:06
|
<pascal`> I'm pretty sure that's not the case
|
09:52:15
|
<pascal`> since my networking is up and running
|
09:52:21
|
<bwolfe> well, to the server it is
|
09:52:27
|
<bwolfe> try restarting tomcat
|
09:52:30
|
<bwolfe> or the server
|
09:52:32
|
<bwolfe> or your network
|
09:52:40
|
<bwolfe> or turning off the refrigerator
|
09:53:02
|
<pascal`> i'll trying turning out production server off and on again
|
10:18:58
|
*** free__ has joined #openmrs
|
10:23:27
|
*** free__ has quit IRC
|
10:33:12
|
<pascal`> !seen dkayiwa
|
10:33:12
|
<OpenMRSBot> pascal`: dkayiwa was last seen in #openmrs 16 hours, 20 minutes, and 44 seconds ago: <dkayiwa> hi wyclif
|
10:33:57
|
<surangak> Gentlmen.. in package package org.openmrs.obs.handler; I have created a class named DomainObjectHandler
|
10:34:20
|
<surangak> and am trying to access it from a tag class via <%@tag import="org.openmrs.obs.handler.DomainObjectHandler" %>
|
10:34:44
|
<surangak> but somehow it gives me the error "The import org.openmrs.obs cannot be resolved
|
10:34:44
|
<surangak> ".... etc.
|
10:35:43
|
<surangak> umm... any idea what im doing wrong here :-)
|
10:47:22
|
<surangak> bwolfe, hi.. mmm.... r u around :-)
|
11:00:07
|
*** james_regen has joined #openmrs
|
11:00:07
|
*** ChanServ sets mode: +v james_regen
|
11:04:17
|
*** bryq has joined #openmrs
|
11:04:17
|
*** ChanServ sets mode: +v bryq
|
11:10:26
|
*** surangak has quit IRC
|
11:24:35
|
<pascal`> bwolfe, another great one: http://pastie.org/2037146
|
11:24:45
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Edit patient demographics short form - APPTEST-25 <http://feedproxy.google.com/~r/OMRStrunk/~3/MqX09EecHd4/OpenMRS> || New Changeset: OpenMRS (webapp-testing): Edit patient attributes test case. Upgraded jbehave version - APPTEST-1 <http://feedproxy.google.com/~r/OMRStrunk/~3/EjbFyDIibao/OpenMRS> || New Changeset: OpenMRS (obs-codes-expanded): Minor change to DomainObjectHandler <http://feedproxy.google.com/~r/OMRStrunk/~3/8YTrcGn3j1w/OpenMRS> || New Changeset: OpenMRS (obs-codes-expanded): Committing new method to DWRConceptService <http://feedproxy.google.com/~r/OMRStrunk/~3/QWS6QSs3pGM/OpenMRS>
|
11:32:46
|
<bwolfe> surangak didn't wait long for me!
|
11:33:06
|
<bwolfe> pascal`, figure out hte cause yet?
|
11:34:16
|
*** muthah has quit IRC
|
11:40:23
|
<pascal`> bwolfe, nope
|
11:40:41
|
<pascal`> bwolfe, it's with xforms
|
11:40:45
|
<pascal`> the designer specifically
|
11:40:59
|
<pascal`> i'm hacking around with the schema and form fields underneath the xform
|
11:41:06
|
<pascal`> so i think that's why it's bailing
|
11:41:44
|
*** dkayiwa has joined #openmrs
|
11:43:02
|
<dkayiwa> hi pascal'
|
11:43:02
|
<pascal`> ah, dkayiwa, just the man I've been looking for :)
|
11:43:12
|
<dkayiwa> oh yeah :)
|
11:43:30
|
<pascal`> yeah, dkayiwa, I'm getting these weird gwt stack traces
|
11:43:36
|
<dkayiwa> ok
|
11:43:54
|
<pascal`> dkayiwa, but i've been hacking around with schema's and fields underneath the xform
|
11:44:17
|
<dkayiwa> ok
|
11:44:20
|
<pascal`> dkayiwa, is there a reliable way to rebuild the form fields (in the left pane) after I've worked on correcting a schema?
|
11:44:29
|
<pascal`> Refresh gives me the weird gwt stack trace
|
11:44:52
|
<pascal`> (in the left pane of the designer i mean)
|
11:45:16
|
<dkayiwa> what was the last action before you got the wiered stack trace?
|
11:45:44
|
<pascal`> I think it was after i manually deleted some form fields
|
11:45:50
|
<pascal`> there was a duplicate
|
11:46:01
|
<pascal`> and I deleted them both hoping that a refresh would recreate just one of them
|
11:46:19
|
<pascal`> but then i got the stack trace, and then i even tried recreating just one of them manually and it's still happening :(
|
11:46:41
|
<dkayiwa> can i look at the stack trace you are getting?
|
11:47:30
|
<pascal`> http://pastie.org/2036736 is one
|
11:47:33
|
<bwolfe> dkayiwa, its not going to help!
|
11:47:40
|
<pascal`> http://pastie.org/2037146 is another
|
11:47:48
|
<pascal`> but yeah, as bwolfe says, they're pretty useless
|
11:47:57
|
<dkayiwa> bwolfe: :)
|
11:48:02
|
<pascal`> dkayiwa, ideally, all I'd like to do is keep the design/layout
|
11:48:18
|
<pascal`> dkayiwa, and recreate everything else from scratch based on the new (fixed up) schema
|
11:48:33
|
<dkayiwa> first step is do a file save as
|
11:48:50
|
<dkayiwa> that will server as a backup just incase we mess up anything
|
11:49:01
|
<pascal`> ok, done that a few times
|
11:49:22
|
<dkayiwa> so ready for step number two?
|
11:49:55
|
<pascal`> yup
|
11:50:09
|
<pascal`> just repeating step #1 again for good measure
|
11:50:21
|
<dkayiwa> copy all the contents of the layout xml tab
|
11:50:28
|
<dkayiwa> and keep them some where
|
11:50:53
|
<pascal`> k, done that too
|
11:51:19
|
<dkayiwa> on the openmrs form schema (for this form) click the delete xform link
|
11:51:44
|
<pascal`> ok dkayiwa, what i've done is cloned the schema
|
11:51:56
|
<pascal`> and then tried recreating the form
|
11:52:02
|
<pascal`> so can i do this all on the cloned form?
|
11:52:28
|
<dkayiwa> do the form fields get listed under the openmrs form schema screen?
|
11:52:50
|
<pascal`> dkayiwa, yeah
|
11:52:58
|
<dkayiwa> then yes
|
11:53:00
|
<pascal`> dkayiwa, that's where i corrected the schema
|
11:53:05
|
<dkayiwa> ok
|
11:53:14
|
<pascal`> (well, on the original form before i cloned it)
|
11:53:16
|
<pascal`> anyway, ok
|
11:53:19
|
<pascal`> deleted the xform now
|
11:53:39
|
<dkayiwa> now click the design xform link
|
11:53:48
|
<pascal`> kk
|
11:54:47
|
<pascal`> dkayiwa, the form fields look good now
|
11:55:03
|
<pascal`> now, how to i get my sweet layout back? (=
|
11:55:18
|
<dkayiwa> go to the layout xml tab
|
11:55:55
|
<dkayiwa> and paste the layout xml you had copied the other time
|
11:56:03
|
<pascal`> ok, but fyi, there's already the default layout on the design surface
|
11:56:06
|
<pascal`> is that correct?
|
11:56:09
|
<dkayiwa> yes
|
11:56:15
|
<dkayiwa> we are going to overwrite it
|
11:56:16
|
<pascal`> ok
|
11:56:28
|
<pascal`> ok
|
11:56:35
|
<dkayiwa> after having pasted it there
|
11:56:46
|
<pascal`> ok, pasted over
|
11:56:51
|
<dkayiwa> use file open layout
|
11:57:07
|
<dkayiwa> that should be all
|
11:57:17
|
<pascal`> aha!
|
11:57:50
|
<pascal`> dkayiwa++
|
11:57:51
|
<pascal`> dkayiwa++
|
11:57:52
|
<pascal`> dkayiwa++
|
11:58:07
|
<dkayiwa> :)
|
11:58:12
|
<pascal`> thanks dude
|
11:58:22
|
<pascal`> i should have been able to figure that much out, but thanks!
|
11:58:23
|
<pascal`> dkayiwa++
|
11:58:25
|
<pascal`> dkayiwa++
|
11:58:28
|
<pascal`> !karma
|
11:58:28
|
<OpenMRSBot> pascal`: Highest karma: "bwolfe" (84), "dkayiwa" (43), and "groovy" (30). Lowest karma: "emacs" (-8), "windows" (-5), and "[INFO] ----------------------------------------------------------------------" (-5). You (pascal`) are ranked 4 out of 237.
|
11:58:36
|
<pascal`> bwolfe, someone's catching up
|
11:58:39
|
<bwolfe> dkayiwa--
|
11:58:40
|
<dkayiwa> :D
|
11:58:41
|
<bwolfe> pascal`--
|
11:58:47
|
<pascal`> haha
|
11:58:50
|
<dkayiwa> :D :D
|
11:58:53
|
<pascal`> that's bad karma
|
11:58:55
|
<bwolfe> he's on a downward spiral!
|
11:58:57
|
<bwolfe> dkayiwa--
|
11:59:00
|
<bwolfe> :-D
|
11:59:03
|
<bwolfe> bwolfe--
|
11:59:03
|
<OpenMRSBot> bwolfe: Error: You're not allowed to adjust your own karma.
|
11:59:04
|
<dkayiwa> :)
|
11:59:04
|
<pascal`> !karma dkayiwa
|
11:59:05
|
<OpenMRSBot> pascal`: Karma for "dkayiwa" has been increased 43 times and decreased 2 times for a total karma of 41.
|
11:59:10
|
<bwolfe> ahahahha
|
11:59:21
|
<bwolfe> I'm the ONLY one to decrease daniel's karma!!
|
11:59:29
|
<dkayiwa> :D
|
11:59:31
|
<pascal`> indeed
|
11:59:41
|
<pascal`> dkayiwa, the default layout is so nicely spaced
|
11:59:47
|
<pascal`> and all the widgets are the same size
|
11:59:54
|
<dkayiwa> oh yes
|
12:00:14
|
<pascal`> i wish there was a magic "make regular" button which would
|
12:00:22
|
<pascal`> (a) make all the text input fields the same size
|
12:00:33
|
<pascal`> (b) make all the labels equally spaced from their widgets
|
12:00:46
|
<pascal`> and a bunch of stuff like that
|
12:00:54
|
<pascal`> how much karma will that cost? ;)
|
12:01:05
|
<dkayiwa> hahahaha :)
|
12:01:31
|
<dkayiwa> i can work on it over this weekend. will that be so far?
|
12:01:46
|
<pascal`> dont work on it over the weekend
|
12:01:56
|
<pascal`> I think we first need to spec out what exactly we want
|
12:02:04
|
<dkayiwa> thats very very correct
|
12:02:19
|
<pascal`> I don't even know what the best approach would be
|
12:02:22
|
<pascal`> what do you think bwolfe?
|
12:02:27
|
<dkayiwa> ok
|
12:02:45
|
<pascal`> for a way to make form layouts more regular... like maybe a snap-to-grid or something
|
12:03:05
|
<pascal`> just to make it so we dont have to manually resize or position widgets or labels
|
12:03:13
|
<bwolfe> most editors have a "make same size" and "align" options
|
12:03:24
|
<bwolfe> you control-click to select multiple widgets and then click one of those buttons
|
12:03:34
|
<pascal`> dkayiwa, when i opened that layout, did all references to nonexistant fields get removed?
|
12:03:55
|
<pascal`> bwolfe, there is an align feature
|
12:03:56
|
<dkayiwa> pascal'` no
|
12:04:09
|
<pascal`> dkayiwa, oh ok, but it makes to real difference, right?
|
12:04:17
|
<bwolfe> dkayiwa, use "rev:239322" in your commits. eventually we hope to have those automatically linked in jira
|
12:04:21
|
<pascal`> i mean, if the fields dont exist and are on the design surface, then so what?
|
12:04:45
|
<dkayiwa> pascal` not because it was hard to implement, its was rather i did not want to mess up with one's layout
|
12:04:54
|
<pascal`> dkayiwa, ah ok
|
12:04:58
|
<dkayiwa> expecially looking at the pain they go through to have a nice layout
|
12:05:04
|
<pascal`> dkayiwa, yeah i know
|
12:05:07
|
<pascal`> i know the pain well (=
|
12:05:14
|
<dkayiwa> but doing that would be a 5 mins work
|
12:05:35
|
<dkayiwa> oh yeah. you guys have some of the best xforms i have so far seen
|
12:05:47
|
*** gauravpaliwal has joined #openmrs
|
12:05:47
|
*** ChanServ sets mode: +v gauravpaliwal
|
12:05:59
|
<gauravpaliwal> bryq : Hi
|
12:06:07
|
<bryq> gauravpaliwal: Hi
|
12:06:17
|
<dkayiwa> bwolfe: is that about the release testing commits?
|
12:06:33
|
<bwolfe> the jira comments on them
|
12:07:13
|
<dkayiwa> bwolfe: am not sure i understand :)
|
12:07:35
|
<bwolfe> in a jira comment, put "rev:123421" instead of "revision 123421"
|
12:07:42
|
<bryq> gauravpaliwal: I've just entered adobe connect
|
12:07:46
|
<dkayiwa> oh i see
|
12:07:46
|
<bwolfe> because 'rev:' will be a keyword soon
|
12:08:03
|
<dkayiwa> bwolfe: thanks now i fully grasp :)
|
12:08:33
|
<gauravpaliwal> bryq : cool !! mine is just loading..
|
12:08:49
|
<gauravpaliwal> bryq : I am there.
|
12:10:03
|
<gauravpaliwal> bryq : come to adobe connect chat.
|
12:11:11
|
<gauravpaliwal> bwolfe : Hi
|
12:11:36
|
<bwolfe> hey gauravpaliwal
|
12:11:40
|
<bwolfe> how goes things today ?
|
12:12:35
|
<dkayiwa> bwolfe: about the add license header review comments, is that different from what is already there?
|
12:12:53
|
<bwolfe> sorry, was blind.
|
12:13:00
|
<dkayiwa> :D
|
12:13:16
|
<bwolfe> got in the habit of writing that after looking at zabil's reviews!
|
12:13:20
|
<gauravpaliwal> bwolfe : cool !! except 2 question that I mailed you today :) BTW me and bryq are testing the adobe connect for tomm. presentation but we don't see any share the screen button , How can be get that access , do we have to ask Micheal for that ?
|
12:13:40
|
<dkayiwa> :D :D :D bwolfe:
|
12:14:13
|
<gauravpaliwal> bwolfe : actually I am feared as my ISP sucks a lot and I don't want my screen going halted tomm. while giving presentation
|
12:15:38
|
<bwolfe> gauravpaliwal, are you on connect.openmrs.org?
|
12:15:38
|
<bwolfe> gauravpaliwal, I don't see any emails from you today...
|
12:15:39
|
<bwolfe> ...and nothing in the spam folder from you either
|
12:16:06
|
<gauravpaliwal> bwolfe : yes, I am on connect.openmrs.org
|
12:17:15
|
* bwolfe is logging in
|
12:18:05
|
<gauravpaliwal> bwolfe : thanks
|
12:18:07
|
<gauravpaliwal> :)
|
12:18:09
|
<bwolfe> bryq, gauravpaliwal, I've made you both presenters
|
12:18:16
|
<bwolfe> now you should see an option to share your screen
|
12:18:18
|
<gauravpaliwal> bwolfe : mail sent :)
|
12:18:25
|
<bwolfe> its a nice big button in the middle :-D
|
12:18:39
|
<gauravpaliwal> bwolfe : :D
|
12:18:58
|
<gauravpaliwal> bryq : are you on adobe connect.
|
12:19:07
|
<bwolfe> oh, you sent that yesterday, I didn't scan yesterday's mail. (and I was offline most of the day)
|
12:19:12
|
<bryq> gauravpaliwal: Yes
|
12:19:47
|
<gauravpaliwal> bryq : I am installing the connect addon for linux , Do you have already installed it ?
|
12:20:22
|
<bryq> gauravpaliwal: No... I'm running on Suse and there is ony .deb package
|
12:20:44
|
<gauravpaliwal> bryq : :(
|
12:22:09
|
<bryq> pi07rek
|
12:22:16
|
<gauravpaliwal> bryq : let me restart firefox.
|
12:22:33
|
<bryq> gauravpaliwal: Okay
|
12:22:51
|
<gauravpaliwal> bryq : pi07rek ??
|
12:23:31
|
<bryq> gauravpaliwal: Huh :-P Local mashine password. I'll have to change it
|
12:24:13
|
<gauravpaliwal> bryq : ls it your redit card password also ?
|
12:24:14
|
<gauravpaliwal> :D
|
12:24:18
|
<gauravpaliwal> bryq : :P
|
12:24:24
|
<bryq> gauravpaliwal: I'm trying to install this .deb package
|
12:24:31
|
<bryq> gauravpaliwal: No :-P
|
12:24:36
|
<gauravpaliwal> bryq : cool
|
12:24:52
|
<bwolfe> bryq, oh no! I hate it when that happens!
|
12:25:06
|
<bwolfe> FYI: is that your bank password? If so, which bank do you keep all of your money in? :-D
|
12:25:20
|
<bryq> gauravpaliwal: Fortunately, it is only root's password :-P
|
12:25:31
|
<bwolfe> heh, /only/
|
12:25:39
|
* bwolfe looks up bryq's ip address
|
12:25:46
|
* bwolfe hacks into bryq's machine
|
12:25:54
|
* bwolfe logs into bryq's bank account
|
12:25:55
|
<gauravpaliwal> bwolfe : :P
|
12:25:58
|
<bryq> bwolfe: I'd worry if it were bank password :D
|
12:26:41
|
<gauravpaliwal> bryq , bwolfe : adobe connect not opening after installing plugin :(
|
12:26:52
|
<bwolfe> refresh
|
12:26:56
|
<bwolfe> it works the second time for me
|
12:27:08
|
<bryq> Anyway, damn it, that the password window didn't focused! ;-)
|
12:29:12
|
<gauravpaliwal> bwolfe : it still says Loading Loading Loading
|
12:30:59
|
<bwolfe> hmm, sad
|
12:31:03
|
<bwolfe> shift refresh?
|
12:31:10
|
<bwolfe> what os are you on?
|
12:31:46
|
<gauravpaliwal> bwolfe : Debian
|
12:31:50
|
<gauravpaliwal> squeeze
|
12:32:39
|
<bwolfe> 64bit?
|
12:32:44
|
<bwolfe> 64bit linux has issues with the plugin
|
12:32:48
|
<bwolfe> and you probably won't be able to share
|
12:32:52
|
<gauravpaliwal> bwolfe : 32bit
|
12:32:57
|
<bwolfe> oh, hmm, not sure then :-/
|
12:33:02
|
<bwolfe> brb
|
12:33:13
|
<bwolfe> have to run home for the design call meeting
|
12:33:27
|
<gauravpaliwal> okeys :)
|
12:33:39
|
<gauravpaliwal> ?bryq : any success
|
12:34:04
|
<gauravpaliwal> bryq : any success ?
|
12:34:19
|
<bryq> gauravpaliwal: I think I'll boot into WinXP on virtual mashine
|
12:34:56
|
<bryq> gauravpaliwal: But now I'm able to see shared screen
|
12:35:23
|
<bryq> gauravpaliwal: But I cant share my own (propably as you)
|
12:35:24
|
<gauravpaliwal> bryq : I can't even share my screen , adobe sucks
|
12:36:25
|
<gauravpaliwal> bryq : tested it on chrome and mozilla with no sucess
|
12:36:26
|
<gauravpaliwal> :(
|
12:36:45
|
*** suho has joined #openmrs
|
12:36:45
|
*** ChanServ sets mode: +v suho
|
12:36:57
|
<bryq> gauravpaliwal: Cant you boot into any Windows?
|
12:37:28
|
*** dkayiwa has quit IRC
|
12:37:51
|
*** bwolfe has quit IRC
|
12:38:19
|
<gauravpaliwal> bryq : let me start my desktop that will hopefully has a wonduhs installed
|
12:38:21
|
<gauravpaliwal> :D
|
12:40:15
|
<gauravpaliwal> bryq : starting windows ?
|
12:40:44
|
*** Hazamonzo_ has quit IRC
|
12:41:36
|
<bryq> gauravpaliwal: No. Do you want me to boot into windows?
|
12:42:08
|
*** Hazamonzo has joined #openmrs
|
12:43:32
|
*** dkayiwa has joined #openmrs
|
12:44:04
|
<gauravpaliwal> bryq : that hardly matter until and unless you also want to test adobe connect :)
|
12:44:15
|
<gauravpaliwal> bbryq : when is ur presentation scheduled ?
|
12:44:42
|
<bryq> gauravpaliwal: 14th July
|
12:44:53
|
<bryq> gauravpaliwal: So it is long time for me
|
12:46:30
|
*** morristic has quit IRC
|
12:49:03
|
<gauravpaliwal> bryq : hmm.. Mine is 2 close :d
|
12:50:08
|
<gauravpaliwal> bryq : it is working like a charm in winduhs , let me ask michael to make us presentators again
|
12:50:25
|
<bryq> gauravpaliwal: Yes, you have to set it up before tommorow :-P
|
12:50:30
|
<bryq> gauravpaliwal: Okay
|
12:53:38
|
*** bwolfe has joined #openmrs
|
12:53:38
|
*** ChanServ sets mode: +o bwolfe
|
12:55:02
|
<bwolfe> rafa, I guess you want to talk about meta data sharing on the design call today? :-)
|
12:55:13
|
<gauravpaliwal> bryq : come to connect
|
12:55:18
|
<gauravpaliwal> I am able to share
|
12:55:28
|
<bwolfe> gauravpaliwal, what was wrong with it before?
|
12:55:32
|
<gauravpaliwal> bwolfe : from winduhs its working fine
|
12:55:33
|
<rafa> bwolfe: correct :)
|
12:55:44
|
<bwolfe> right, typical
|
12:55:56
|
<rafa> bwolfe: if it's only possible
|
12:55:59
|
<bwolfe> rafa, cool
|
12:56:03
|
<gauravpaliwal> bwolfe : I was using Debian that was wrong :D
|
12:56:13
|
<bwolfe> well, it's /supposed/ to work on linux now
|
12:56:26
|
<bwolfe> but then the plugin is crap from adove
|
12:56:28
|
<bwolfe> *adobe
|
13:00:52
|
*** dkayiwa has quit IRC
|
13:00:56
|
*** wyclif has quit IRC
|
13:02:38
|
<gauravpaliwal> bwolfe : video sharing is fine as well as the resolution :) .
|
13:03:11
|
*** mandric has joined #openmrs
|
13:06:02
|
*** bwolfe has quit IRC
|
13:06:47
|
*** dkayiwa has joined #openmrs
|
13:06:53
|
<djazayeri> rafa: design call is now
|
13:07:06
|
*** bwolfe has joined #openmrs
|
13:07:06
|
*** ChanServ sets mode: +o bwolfe
|
13:07:08
|
<rafa> djazayeri: I'll join you in a moment
|
13:07:22
|
*** burke_away has joined #openmrs
|
13:07:22
|
*** ChanServ sets mode: +o burke_away
|
13:07:25
|
<djazayeri> (np. currently talking about upgrading hibernate)
|
13:08:25
|
*** burke_away is now known as burke
|
13:08:26
|
<burke> http://pastebin.com/gAaWp6jM
|
13:10:12
|
*** burke has left #openmrs
|
13:10:32
|
*** burke has joined #openmrs
|
13:10:32
|
*** ChanServ sets mode: +o burke
|
13:24:08
|
*** bwolfe has quit IRC
|
13:34:41
|
*** suhothayan_s has joined #openmrs
|
13:36:54
|
*** bwolfe has joined #openmrs
|
13:36:54
|
*** ChanServ sets mode: +o bwolfe
|
13:38:25
|
*** djazayeri1 has joined #openmrs
|
13:38:26
|
*** djazayeri has quit IRC
|
13:42:11
|
*** wyclif has joined #openmrs
|
13:45:59
|
*** djazayeri1 has quit IRC
|
13:46:13
|
*** djazayeri has joined #openmrs
|
13:46:13
|
*** ChanServ sets mode: +o djazayeri
|
13:50:01
|
*** gauravpaliwal has quit IRC
|
14:02:22
|
*** burke has quit IRC
|
14:02:54
|
*** bwolfe has quit IRC
|
14:08:07
|
*** czakian has joined #openmrs
|
14:09:01
|
<suho> hi does anyone know how to share screen in connect from Ubuntu ?
|
14:14:44
|
<djazayeri> suho: it's not possible actually
|
14:15:13
|
*** gauravpaliwal has joined #openmrs
|
14:15:13
|
*** ChanServ sets mode: +v gauravpaliwal
|
14:15:59
|
<suho> djazayeri, ok
|
14:16:05
|
*** bwolfe has joined #openmrs
|
14:16:05
|
*** ChanServ sets mode: +o bwolfe
|
14:16:07
|
<djazayeri> you can run windows in a virtual machine, and share that way.
|
14:16:42
|
<suho> djazayeri, ok thanks. I'll do that why
|
14:27:15
|
*** suhothayan_s has left #openmrs
|
14:29:13
|
<pascal`> dkayiwa
|
14:29:21
|
<dkayiwa> hey
|
14:29:23
|
<OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @bawolfe: At an #OpenMRS Implementer's Workshop at AMPATH in #Eldoret Kenya http://twitpic.com/58k4lw <http://twitter.com/OpenMRS/statuses/78457130767749120>
|
14:29:25
|
<pascal`> dkayiwa, for questions with coded answers
|
14:29:35
|
<pascal`> dkayiwa, it's still up to use to manually order the answers, right?
|
14:29:51
|
<pascal`> dkayiwa, there's no way to get them to automatically show up in alphabetical order or anything?
|
14:30:36
|
<dkayiwa> pascal` not currently implemented (i think)
|
14:30:42
|
<pascal`> dkayiwa, kk, thanks
|
14:31:01
|
<dkayiwa> just simply because i never thought of it
|
14:31:12
|
<pascal`> dkayiwa, something that may or may not be quick to implement would be a shortcut key for move up and move down
|
14:31:24
|
<pascal`> dkayiwa, would just make doing the manual ordering go a bit more quickly :)
|
14:31:44
|
<dkayiwa> oh good tip. thanks pascal` :)
|
14:33:33
|
<pascal`> dkayiwa, besides alphabetical, one other possible ordering could be the order the concepts were added to their wrapper set
|
14:34:01
|
<pascal`> not sure if that ordering is actually maintained in the db anywhere, maybe as a set member id or something, dunno.
|
14:34:26
|
<dkayiwa> pascal, the order in which the concepts were added makes alot of sense
|
14:34:48
|
<pascal`> we have a lot of questions who's answer are all the same set
|
14:35:09
|
<pascal`> which is something like: 1. good, 2. better, 3. best
|
14:35:13
|
*** czakian has quit IRC
|
14:35:13
|
<pascal`> but from 1 - 10
|
14:35:25
|
<pascal`> so ordering each question manually is taking a bunch of time :)
|
14:35:34
|
<pascal`> plus, if you do a refresh, then you lost all that ordering ;'(
|
14:35:36
|
<dkayiwa> infact the only problem is that the openmrs fetches them in the correct order from the database, but because they are stored in a java Set, which does not guarantee order maintenance, the xforms modules gets them out of order
|
14:35:47
|
<dkayiwa> oh
|
14:35:48
|
<pascal`> ah, I see
|
14:36:02
|
<djazayeri> can you use a LinkedHashSet?
|
14:36:11
|
<dkayiwa> refresh is supposed to maintain the order
|
14:36:32
|
*** gbastien has joined #openmrs
|
14:36:36
|
<dkayiwa> djazayeri, do you mean for the openmrs API?
|
14:36:38
|
<pascal`> dkayiwa, hmm, maybe it does maintain the order
|
14:36:48
|
<pascal`> dkayiwa, maybe it's just because i created that whole new form earlier
|
14:36:55
|
<dkayiwa> maybe
|
14:37:01
|
<pascal`> dkayiwa, actually I did see one that was in the right order
|
14:37:10
|
<dkayiwa> ok
|
14:37:17
|
*** czakian has joined #openmrs
|
14:37:17
|
<pascal`> auto order would definite save us a bunch time though :)
|
14:37:32
|
<dkayiwa> i agree :)
|
14:39:12
|
<pascal`> (=
|
14:41:10
|
<dkayiwa> djazayeri: i would need to change the openmrs API :)
|
14:41:16
|
<djazayeri> oh, nm
|
14:41:17
|
<dkayiwa> because it stored them in a HashSet
|
14:41:26
|
<djazayeri> what object?
|
14:41:37
|
<dkayiwa> concept.answers
|
14:42:25
|
<dkayiwa> djazayeri: i got the same problem with Obs.groupMembers
|
14:42:56
|
<dkayiwa> a certain user entered problem lists and wanted my display to maintain the order in which they were entered
|
14:43:24
|
*** gbastien has quit IRC
|
14:43:26
|
<djazayeri> obs are not naturally ordered
|
14:43:39
|
<pascal`> yeah this ordering is taking me ages
|
14:43:54
|
<pascal`> yeah, i dont think any ordering should be imposed at the core level
|
14:44:24
|
<pascal`> but maybe a feature in the xforms designer to right-click on a field and choose something like "order children"
|
14:44:54
|
<dkayiwa> and how about the answers for problem lists?
|
14:45:05
|
<dkayiwa> they are normally stored in some sort of table
|
14:45:18
|
<dkayiwa> where the user expects them in the same order as on entry
|
14:45:34
|
<djazayeri> the new problem list from 1.7?
|
14:45:41
|
<djazayeri> or problem-list-as-obs?
|
14:45:41
|
<dkayiwa> the old one
|
14:46:17
|
<djazayeri> well, you could manually sort the list by obs.date_created
|
14:46:34
|
<djazayeri> but there's nothing in core to support this
|
14:46:39
|
<dkayiwa> ok
|
14:47:21
|
*** gauravpaliwal has left #openmrs
|
14:54:43
|
*** rafa has quit IRC
|
14:56:57
|
*** gbastien has joined #openmrs
|
14:57:21
|
*** pascal` has quit IRC
|
15:03:01
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Removing un necessary ").with(text(equalTo(" for link and text routines - APPTEST-43, APPTEST-41, APPTEST-42, APPTEST- 3... <http://feedproxy.google.com/~r/OMRStrunk/~3/6uVs24JdJCs/OpenMRS>
|
15:05:14
|
*** rafa has joined #openmrs
|
15:05:14
|
*** ChanServ sets mode: +v rafa
|
15:05:42
|
*** wyclif has quit IRC
|
15:10:08
|
*** wyclif has joined #openmrs
|
15:10:56
|
*** czakian has quit IRC
|
15:12:20
|
*** bwolfe has quit IRC
|
15:17:04
|
*** dkayiwa has quit IRC
|
15:30:18
|
*** jwishnie has joined #openmrs
|
15:46:11
|
*** jwishnie has quit IRC
|
15:52:57
|
*** rafa has quit IRC
|
15:53:04
|
*** gauravpaliwal has joined #openmrs
|
15:53:04
|
*** ChanServ sets mode: +v gauravpaliwal
|
15:55:08
|
*** lh has joined #openmrs
|
15:56:46
|
*** dkayiwa has joined #openmrs
|
16:26:23
|
*** szrrizvi has joined #openmrs
|
16:26:41
|
*** rafa has joined #openmrs
|
16:26:41
|
*** ChanServ sets mode: +v rafa
|
16:27:52
|
*** muthah has joined #openmrs
|
16:30:49
|
<szrrizvi> Hello, I am trying to work with the access control in OpenMRS. I notice that the banner.jsp page (int webapp) uses <openmrs:hasPrivilege> tag. Where might I be able to find the java class for that tag?
|
16:37:03
|
<dkayiwa> hi szrrizvi
|
16:37:17
|
<szrrizvi> hello dkayiwa
|
16:37:21
|
<dkayiwa> you can look at: org.openmrs.web.taglib.PrivilegeTag
|
16:37:35
|
<dkayiwa> in the openmrs-web module
|
16:37:59
|
<szrrizvi> yes, I looked at that. but was unclear because it had no documentation
|
16:38:09
|
<dkayiwa> ok
|
16:39:40
|
<szrrizvi> And I noticed some other jsp pages (ie findPatient.jsp) uses the <openmrs:require> tag. Is there a specific reason why 2 different tags are used?
|
16:42:52
|
<dkayiwa> looks like the require does more than hasPrivilege
|
16:43:23
|
<dkayiwa> it redirects use to another page if has no privilege
|
16:43:56
|
<dkayiwa> while the hasPrivilege does not redirect but only includes a certain jsp section for a user with the privilege
|
16:44:18
|
<szrrizvi> oh.
|
16:44:30
|
<szrrizvi> Thank you, I appreciate your help very much.
|
16:44:36
|
<dkayiwa> yo welcome
|
16:52:19
|
*** muthah has quit IRC
|
16:57:40
|
*** rafa has quit IRC
|
17:05:21
|
*** szrrizvi has quit IRC
|
17:07:37
|
*** downeym has joined #openmrs
|
17:07:37
|
*** ChanServ sets mode: +o downeym
|
17:07:37
|
*** OpenMRSBot sets mode: +o downeym
|
17:07:45
|
*** downeym sets mode: +v wyclif
|
17:07:48
|
*** downeym sets mode: +v dkayiwa
|
17:19:07
|
*** pascal` has joined #openmrs
|
17:20:33
|
*** Suranga has joined #openmrs
|
17:39:57
|
*** Suranga has quit IRC
|
17:39:59
|
<OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: @gauravpaliwal Your wish is granted! :-) /cc @downeym <http://twitter.com/OpenMRS/statuses/78510152168378369>
|
17:44:20
|
*** dkayiwa has quit IRC
|
17:54:50
|
*** dkayiwa has joined #openmrs
|
17:57:15
|
*** surangak has joined #openmrs
|
17:57:44
|
*** lh has quit IRC
|
17:58:19
|
*** gauravpaliwal has left #openmrs
|
18:03:45
|
<surangak> im working on a tag class... in it im doing
|
18:04:49
|
*** suhothayan has joined #openmrs
|
18:04:49
|
*** ChanServ sets mode: +v suhothayan
|
18:05:31
|
*** Suranga has joined #openmrs
|
18:06:27
|
*** surangak_ has joined #openmrs
|
18:06:42
|
<Suranga> hi, guys, if i may poise a question...
|
18:06:49
|
<Suranga> im working on a tag class...
|
18:07:02
|
<Suranga> in it im doing a <%@tag import="org.openmrs.obs.handler.TextHandler" %>
|
18:07:29
|
<Suranga> however no matter what options i try, i keep getting "The import org.openmrs.obs cannot be resolved"
|
18:07:54
|
<Suranga> so far i have failed to understand why i'm getting this, and how to fix this and do an import from the obs.handler folder
|
18:08:00
|
*** surangak has quit IRC
|
18:08:06
|
<Suranga> appreciate any help you can give in this matter ..........
|
18:08:22
|
*** suho has quit IRC
|
18:09:18
|
<dkayiwa> Suranga is that in trunk or a custom module?
|
18:09:36
|
<surangak_> hi, in the trunk
|
18:09:51
|
<surangak_> im working on a tag class quite similar to the attribute.tag class
|
18:10:45
|
<Suranga> but it does not seem to recognize the import from obs :(
|
18:11:21
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (webapp-testing): Addressing comments for: Create a new relationship type test case - APPTEST-31 <http://feedproxy.google.com/~r/OMRStrunk/~3/1ooFV5CfX9c/OpenMRS>
|
18:11:46
|
<dkayiwa> Suranga: put it in the openmrs-webapp project
|
18:11:56
|
<dkayiwa> sorry
|
18:12:05
|
<dkayiwa> i meant in the openmrs-web project
|
18:12:27
|
<Suranga> mm... u mean to move my tag class into the web project ?
|
18:12:34
|
<dkayiwa> yes
|
18:13:13
|
<Suranga> aha, sorry, im rather ignorant on tags.. let me try that one..
|
18:13:15
|
<Suranga> ;)
|
18:13:19
|
<dkayiwa> you can add it to the rest of the tags in this package: org.openmrs.web.taglib
|
18:13:44
|
<dkayiwa> do not worry, we all have a time to learn :)
|
18:15:01
|
<Suranga> in my case its re-learn ( seems i've forgottn everything i studied over the past years :P)
|
18:15:30
|
<dkayiwa> if you remembered everything, the you would be abnormal :)
|
18:18:31
|
<Suranga> hi, u r based somewhere in africa is it ? curious to know what your timezone is...
|
18:19:01
|
<dkayiwa> yes am in Uganda
|
18:19:05
|
<dkayiwa> East Africa
|
18:19:27
|
<downeym> http://go.openmrs.org/time
|
18:24:20
|
<Suranga> dkayiwa, sorry, but im noticing a tinsy winsy small problem... everything in the web.taglib folder are *.java
|
18:24:45
|
<Suranga> dkayiwa, while mine is a *.tag would that affect things :(
|
18:24:45
|
<dkayiwa> what extension does your have?
|
18:24:56
|
<Suranga> mine is named obsAttribute.tag
|
18:24:57
|
<dkayiwa> oh then it does not belong there
|
18:25:25
|
<Suranga> mine used to be in webapp/webinf/tags
|
18:25:32
|
<dkayiwa> yes
|
18:25:38
|
<dkayiwa> that is where it should be
|
18:25:59
|
<Suranga> but seems i cannot get it to import the <%@tag import="org.openmrs.obs.handler.TextHandler" %>
|
18:26:22
|
<Suranga> seems it cant find org.openmrs.*
|
18:26:39
|
<dkayiwa> is that a compiler error in eclipse?
|
18:26:54
|
<Suranga> nopz.. i get at runtime
|
18:27:18
|
<Suranga> it compiles ok.. but when i call a jsp which calls that tag.. BOOM
|
18:27:38
|
<Suranga> An Internal Error has Occurred
|
18:27:39
|
<Suranga> org.apache.jasper.JasperException
|
18:27:39
|
<Suranga> PWC6033: Unable to compile class for JSP
|
18:27:39
|
<Suranga> PWC6199: Generated servlet error:
|
18:27:39
|
<Suranga> The import org.openmrs.obs cannot be resolved
|
18:28:15
|
*** lh has joined #openmrs
|
18:29:28
|
<dkayiwa> can i look at the entire stack trace in pastebin?
|
18:30:23
|
<Suranga> sure... let me do that
|
18:30:29
|
*** bwolfe has joined #openmrs
|
18:30:29
|
*** ChanServ sets mode: +o bwolfe
|
18:35:49
|
<Suranga> dkayiwa, hi, i put it in http://pastebin.com/BV6TyeNK
|
18:35:50
|
<Suranga> dkayiwa, appreciate any suggestions u can make :)
|
18:35:58
|
<dkayiwa> ok
|
18:37:17
|
<dkayiwa> pastebin your jsp too
|
18:38:58
|
<Suranga> aha, will do
|
18:39:11
|
<bwolfe> why are you doing imports in your jsp?
|
18:39:35
|
<bwolfe> and its org.openmrs.Obs (capital O)
|
18:43:04
|
<Suranga> hi, not jsp, in the tag
|
18:45:58
|
*** geo_ has joined #openmrs
|
18:46:28
|
<bwolfe> its still a capital O. :-)
|
18:46:56
|
<Suranga> yep, it just worked for me :)
|
18:47:20
|
<Suranga> dkayiwa, hi, switching from o to O works ;-)
|
18:47:31
|
<dkayiwa> :D
|
18:47:36
|
<Suranga> but the pachkage discription gives the name as obs.. doesnt it ?
|
18:47:51
|
<Suranga> i've been following that
|
18:48:01
|
<dkayiwa> do you now have org.openmrs.Obs.handler.TextHandler
|
18:48:02
|
<dkayiwa> ?
|
18:48:17
|
<Suranga> yeps... it works
|
18:49:14
|
<Suranga> so you guys have saved... shall we say 20 strands of my hair from falling off pre maturely :D
|
18:50:19
|
*** dkayiwa has quit IRC
|
18:54:14
|
<bwolfe> suranga, wait, you have a capital O in the package name?
|
18:54:34
|
<bwolfe> or are you importing org.openmrs.Obs; and org.openmrs.obs.handler.TextHandler ?
|
18:54:44
|
<Suranga> no ben
|
18:54:55
|
<bwolfe> suranga, you can and should use control-shift-o in eclipse a lot. it does the imports for you
|
18:54:55
|
<Suranga> actually i was going to tell you that itz not kinda working
|
18:55:06
|
<Suranga> package structure is simple o right ?
|
18:56:21
|
<bwolfe> yes, packages are all lowercase
|
18:56:24
|
<bwolfe> control-shift-o.
|
18:56:31
|
<bwolfe> type that in your java class
|
18:56:34
|
<Suranga> umm unfortunatley + O gives me a this project is not in the build path of a java project...
|
18:57:58
|
<Suranga> hmm.. im my tag class it does not seem to have an effect..
|
18:58:38
|
<bwolfe> ah, so you need the .classpath and .project file in that project in eclipse
|
18:59:31
|
<Suranga> ummm.... i need to import this ?
|
19:02:09
|
<bwolfe> copy/paste from the api project
|
19:02:14
|
<bwolfe> this is in your module, right?
|
19:02:39
|
<Suranga> yep
|
19:03:21
|
<Suranga> so i get it from the api project, and paste it into eclipse in the....
|
19:03:22
|
*** geo_ has quit IRC
|
19:04:14
|
<bwolfe> use the "navigator" view in eclipse
|
19:04:27
|
<bwolfe> just put it in the omod project root
|
19:04:35
|
<bwolfe> you should see 3 projects in eclipse for a module
|
19:04:41
|
<bwolfe> theres the main parent, the api, and the omod
|
19:04:50
|
<bwolfe> your omod isn't building right because eclipse doesn't see it as a java project
|
19:05:08
|
<bwolfe> the .project file and .classpath tell eclipse how/why it is a java project and that it shoudl be compiling things for you
|
19:08:36
|
<Suranga> hi, i got to navigator view, but im afraid its not showing me the omod..
|
19:08:59
|
<bwolfe> what are your three project names suranga?
|
19:09:00
|
<Suranga> im getting the usual api, test, web, tools, webapp folders..
|
19:09:26
|
*** suhothayan has quit IRC
|
19:09:38
|
<Suranga> in mine, i get openmrs-api, openmrs-test
|
19:09:56
|
<Suranga> etc. etc. for the five projects
|
19:09:58
|
<bwolfe> in your module?
|
19:10:16
|
<djazayeri> bwolfe: he's working on core (for complex obs)
|
19:10:24
|
<Suranga> im working on the trunk...
|
19:10:33
|
<Suranga> yeps
|
19:10:34
|
<bwolfe> oh, thought you said a module
|
19:10:52
|
<bwolfe> then you need to make sure each sub project has a .classpath and .project
|
19:11:03
|
<bwolfe> you're in the -web project probably
|
19:11:08
|
<bwolfe> check to see if that has those files
|
19:11:13
|
<Suranga> aha will do
|
19:12:25
|
<bwolfe> sorry suranga, haven't memorized who's working on which project this year yet. :-)
|
19:12:56
|
<Suranga> :) my mistake, really...
|
19:13:14
|
<Suranga> ive pasted those two flies, into each, now they r building...
|
19:14:12
|
<bwolfe> awesome
|
19:14:13
|
<Suranga> will the ctrl + shift +o help me figure out what is wrong with my tag import :)
|
19:14:14
|
*** burke has joined #openmrs
|
19:14:14
|
*** ChanServ sets mode: +o burke
|
19:14:19
|
<downeym> Hi burke and welcome to the #openmrs IRC channel.
|
19:14:30
|
<bwolfe> not sure why eclipse didn't put them in there for you suranga. did you do a "check out as maven project" initially?
|
19:14:44
|
<bwolfe> haha, guess its the first time downeym-bot has seen burke. :-)
|
19:14:48
|
<bwolfe> !seen burke
|
19:14:48
|
<OpenMRSBot> bwolfe: burke was last seen in #openmrs 6 hours, 6 minutes, and 21 seconds ago: <burke> http://pastebin.com/gAaWp6jM
|
19:15:06
|
<Suranga> yes, i get then using tortoise and then import as maven projects
|
19:15:41
|
<downeym> :D
|
19:16:05
|
<djazayeri> suranga, you're better off following the instructions on the wiki and checking out through m2eclipse (or are you using a different ide?)
|
19:16:19
|
<Suranga> im on STS
|
19:16:19
|
*** downeym sets mode: +v pascal`
|
19:16:24
|
*** downeym sets mode: +v Suranga
|
19:16:27
|
*** downeym sets mode: +v surangak_
|
19:16:41
|
<djazayeri> okay, does it natively handle maven somehow?
|
19:16:41
|
<Suranga> its an improvement to eclipse, they call it :P
|
19:16:57
|
<Suranga> same as eclipse, we need to put the plugins
|
19:24:19
|
<bwolfe> downeym, can you force a rebuild of the junit bamboo task that just failed?
|
19:24:44
|
<downeym> did you commit something?
|
19:25:15
|
<downeym> i.e. since then?
|
19:26:04
|
<bwolfe> it just failed a few minutes ago after my commit
|
19:26:14
|
<bwolfe> I haven't committed since because theres nothing to fix
|
19:26:33
|
<bwolfe> I am 110% sure my commit didn't effect that test
|
19:26:37
|
<downeym> hrmmm
|
19:26:39
|
<downeym> let's see. :)
|
19:26:53
|
<downeym> https://ci.openmrs.org/browse/JUNIT-TRUNK-1158
|
19:32:42
|
<downeym> bwolfe: Some day you must teach me how your ESP works.
|
19:32:49
|
*** james_regen has quit IRC
|
19:33:03
|
<bwolfe> downeym: ?
|
19:33:04
|
<Suranga> bwolfe, hi, the failed test is the one i was complaining about some days back...
|
19:33:17
|
<downeym> bwolfe: JUnit > trunk > #1158 was SUCCESSFUL
|
19:34:49
|
<bwolfe> downeym, one cannot learn ESP. One must just know
|
19:35:02
|
<downeym> bwolfe: You can just think your techniques to me
|
19:35:30
|
<Suranga> that test has failed twice over the past two three days, hasnt it
|
19:37:09
|
<bwolfe> I haven't seen any other emails about it...
|
19:38:13
|
*** dkayiwa has joined #openmrs
|
19:38:53
|
<downeym> Suranga: which test?
|
19:39:59
|
<Suranga> the ones that failed for 1157.. i seem to have that test crashing once in a while
|
19:40:37
|
<Suranga> anyway, it no bigge, something to do with my localization in my machine, i guess..
|
19:40:51
|
<downeym> hmmm, hasn't been on the CI machine anyway
|
19:51:12
|
*** czakian has joined #openmrs
|
19:56:12
|
<Suranga> hmmm.. guys, afraid that adding that adding the .classpath and the .properties file have solved that issue, im still getting that "this resoucre is not on the build path of a java project" message
|
19:56:20
|
<Suranga> but let me take a longer look at it..
|
19:57:27
|
<Suranga> d'you think this is why i am unable to do import <%@tag import="org.openmrs.obs.handler.TextHandler" %> in a tag class ?
|
19:57:42
|
<Suranga> it sounds rather umm... unusual a reason...
|
20:00:38
|
<bwolfe> ideally your tag jsp files do not have imports like that suranga
|
20:00:52
|
<bwolfe> did you pastebin your tag jsp file yet?
|
20:01:04
|
<Suranga> let me do that.. sorry
|
20:01:55
|
<Suranga> its here.. http://pastebin.com/hjExgtsB
|
20:02:38
|
<Suranga> basically the jsp code has one line that calls the tag class. the tag class has an import for org.openmrs.obs.handler.
|
20:02:48
|
<Suranga> it is the import itself that seems to be failing
|
20:03:22
|
<Suranga> ah, the code in the tag class is really ugly, you can safely ignore that part, im waaay gonna change it ...
|
20:03:52
|
*** dave_r has joined #openmrs
|
20:04:11
|
<bwolfe> suranga: you should avoid usin scriptlets in tag classes
|
20:04:16
|
<bwolfe> perhaps you should use a taglib instead ?
|
20:04:33
|
<bwolfe> scriptlets == anything in <% ... %>
|
20:05:03
|
<Suranga> ah yep, you told me about that once :P
|
20:05:29
|
<Suranga> i didnt forget that, i was busy in some other code, so could not do it yet...
|
20:05:30
|
<dave_r> Hi again, I've been working with the new rest webservices and was wondering, to create a patient, what should be provided for the property "identifiers" ?
|
20:07:19
|
<bwolfe> its optional, isn't it dave_r?
|
20:07:39
|
<bwolfe> but it'd be a [{'identifier
|
20:08:04
|
<bwolfe> ': '123', type: '12342-234-23-234'}]
|
20:08:06
|
<bwolfe> (guessing)
|
20:08:48
|
<dave_r> i see
|
20:09:57
|
*** rafa has joined #openmrs
|
20:09:57
|
*** ChanServ sets mode: +v rafa
|
20:09:59
|
<dave_r> so.. i see a person property as well. should that be the uuid or person_id if that person has already been created?
|
20:15:32
|
<dave_r> I tried: {"person": {"uuid":"ffc9f18d-a502-4169-83be-19eb0a0ae4db"}} thinking this would create a patient, but I get 500 response codeet
|
20:17:45
|
<OpenMRSBot> Recent updates in the world of openmrs: New Changeset: OpenMRS (trunk): Javascript calendar picker not working on quick reports page - TRUNK-2335 <http://feedproxy.google.com/~r/OMRStrunk/~3/QKTkkoVENp4/OpenMRS>
|
20:18:18
|
<bwolfe> dave_r, I'd have to look at the code to know how it uses the person sub object at creation. am on a conf call now, so cna't do that
|
20:19:22
|
<dave_r> ahh np, 1 more question if you have a moment, or maybe someone else will be able to answer. is there process for debugging a module with eclipse?
|
20:21:23
|
<Suranga> you could do it the usual way, by placing a brakpoint and running jetty in debug mode, right ?
|
20:22:01
|
<dave_r> what should i running with jetty? the openmrs app? or the module?
|
20:23:13
|
<bwolfe> the maven wiki page talks about how to put maven into debug mode
|
20:23:25
|
<bwolfe> suranga was referring to the openmrs app
|
20:23:37
|
<Suranga> oh, this is a seperate module right...hmm... problem there
|
20:23:59
|
<dave_r> yes i would like to step through the web services module to try find the my problem
|
20:26:37
|
<dkayiwa> dave_r: if you run openmrs in debug mode, i think you should be able to debug your module (assuming you compiled it with debug symbols)
|
20:28:00
|
<dave_r> so i would need to compile the omod with debug symbols, then install it, and then I can debug?
|
20:28:14
|
<Suranga> dkayiwa, hi, i dont know how to say this but..
|
20:28:21
|
<dkayiwa> yes
|
20:28:28
|
<Suranga> dkayiwa, im afraid, earlier it seems to have been a false alarm
|
20:28:38
|
<dkayiwa> aha
|
20:29:02
|
<Suranga> apparently its not a capital - simple problem...
|
20:29:21
|
<Suranga> i uploaded the tag and the jsp to http://pastebin.com/hjExgtsB
|
20:30:05
|
<Suranga> basically the jsp calls the obsAttribute.tag, which has the import, the call to the import itself fails
|
20:32:25
|
<dkayiwa> did not understand well your last statement
|
20:33:36
|
<Suranga> umm... my jsp class, it has a single line of code which calls to my tag class, which is
|
20:33:48
|
<Suranga> obsAttribute.tag
|
20:34:02
|
<Suranga> the tag class in turn has an import, which failes
|
20:34:28
|
<Suranga> <%@tag import="org.openmrs.obs.handler.TextHandler" %>
|
20:34:51
|
<dave_r> dkayiwa, when you use jetty:run for the webapp, do you have to go through the installation procedure each time?
|
20:35:08
|
<dkayiwa> no
|
20:35:50
|
<dkayiwa> Suranga, can you pastebin your obsAttribute.tag?
|
20:36:25
|
<Suranga> hi, its there right, at the bottom of the link i sent ? line 619 onwards ?
|
20:38:16
|
<dkayiwa> are these the exact contents of your tag?
|
20:38:32
|
<dkayiwa> or do you have some extra stuff you have added just to send me?
|
20:40:37
|
<Suranga> the tag class is heavily commented out actually
|
20:40:50
|
<dkayiwa> for instance i see your import in double quotes
|
20:41:28
|
<Suranga> earlier i got it running using hard coded values, which is why there is so much commented code
|
20:42:30
|
<Suranga> in linke 623 of pastebin ? sorry the code starts at 626, that was a comment of mine im afraid
|
20:43:20
|
<Suranga> the tag class runs from 626 to 689
|
20:49:16
|
<dkayiwa> Suranga, do you have an /WEB-INF/rtemplate folder?
|
20:51:55
|
<Suranga> hi.. sorry that be mistake of mine
|
20:52:04
|
<Suranga> it should be template
|
20:52:18
|
<Suranga> but seems that this is not the problem...
|
20:52:43
|
<dkayiwa> can you correct it and also put it at the top of the jsp?
|
20:53:19
|
<Suranga> of the jsp page ? aha, will do
|
20:53:29
|
<dkayiwa> yes
|
20:53:40
|
<dkayiwa> sorry
|
20:53:48
|
<dkayiwa> i meant at the top of the .tag
|
20:53:58
|
*** bryq has quit IRC
|
20:54:11
|
<Suranga> aha...
|
20:56:02
|
<Suranga> howdy, i tried that...
|
20:56:13
|
<Suranga> but it gives same, doesnt it :(
|
20:56:50
|
<dkayiwa> can you send me your tag's contents
|
20:56:53
|
<dkayiwa> pastebin
|
20:57:10
|
<Suranga> sure...
|
20:57:10
|
<dkayiwa> exactly as it is
|
20:58:52
|
*** dave_r has quit IRC
|
20:59:13
|
<Suranga> hi... http://pastebin.com/wHFR1QrC
|
20:59:22
|
<dkayiwa> ok
|
20:59:27
|
<Suranga> umm.. are you seeing something i am not seeing :)
|
21:02:27
|
<dkayiwa> pastebin again your entire log
|
21:02:31
|
<dkayiwa> exactly as it is
|
21:06:58
|
<Suranga> http://pastebin.com/7DvBF6cQ :)
|
21:30:28
|
*** dkayiwa has quit IRC
|
21:34:44
|
*** Suranga has quit IRC
|
21:35:19
|
*** surangak_ has quit IRC
|
21:35:38
|
*** rafa has quit IRC
|
21:55:06
|
*** ekrub has joined #openmrs
|
21:55:06
|
*** ChanServ sets mode: +o ekrub
|
21:55:11
|
<downeym> Hi ekrub and welcome to the #openmrs IRC channel.
|
21:59:05
|
*** burke has quit IRC
|
21:59:26
|
*** ekrub has quit IRC
|
21:59:44
|
*** gbastien has quit IRC
|
22:15:13
|
*** gbastien has joined #openmrs
|
22:32:22
|
*** morristic has joined #openmrs
|
22:46:20
|
*** bwolfe has quit IRC
|
23:02:36
|
*** wyclif has quit IRC
|
23:04:54
|
*** mandric has quit IRC
|
23:06:17
|
*** downeym has left #openmrs
|
23:26:12
|
*** mandric has joined #openmrs
|
23:34:30
|
*** wyclif has joined #openmrs
|
23:53:25
|
*** lh has quit IRC
|