00:34:42
|
*** bwolfe has joined #openmrs
|
00:34:42
|
*** ChanServ sets mode: +o bwolfe
|
01:04:29
|
*** atomicturtle has joined #openmrs
|
01:04:41
|
*** atomicturtle has left #openmrs
|
01:07:12
|
*** kapten_yuba has joined #openmrs
|
01:07:29
|
*** kapten_yuba has left #openmrs
|
01:19:41
|
*** bwolfe has quit IRC
|
02:59:37
|
*** pearlbear has joined #openmrs
|
02:59:37
|
*** ChanServ sets mode: +v pearlbear
|
03:38:15
|
*** nribeka has joined #openmrs
|
04:14:44
|
*** sioraioc_ has joined #openmrs
|
04:19:49
|
*** sioraiocht has quit IRC
|
06:37:19
|
*** [mharrison] has joined #openmrs
|
06:56:21
|
*** quadelirus has joined #openmrs
|
06:59:45
|
<quadelirus> Can someone walk me through the process of creating a form for the form entry module
|
06:59:45
|
<quadelirus> What I think I'm supposed to do is this:
|
07:00:17
|
<nribeka> hi quadelirus, everyone is sleeping i think :D
|
07:00:27
|
<quadelirus> Duplicate the basic form
|
07:00:27
|
<quadelirus> download the XSN
|
07:00:37
|
<quadelirus> modify the XSN in InfoPath
|
07:00:37
|
<quadelirus> upload changes
|
07:01:50
|
<quadelirus> rebuild XSN
|
07:01:50
|
<quadelirus> or something like that
|
07:02:51
|
<nribeka> quadelirus, i think you can either check the wiki or mailing list
|
07:03:01
|
<nribeka> or you can post your question there :D
|
07:03:01
|
<quadelirus> but it doesn't work at all.
|
07:03:01
|
<quadelirus> yeah, =D it's 10 AM here though.
|
07:03:11
|
<nribeka> 2 AM :D
|
07:03:12
|
<quadelirus> makes it difficult to call home when everyone is 7 hours different. :)
|
07:03:48
|
<quadelirus> :) I've looked on the wiki
|
07:03:55
|
<quadelirus> is there a way to search mailing list archives?
|
07:06:31
|
<quadelirus> the wiki hasn't helped because I follow the processes exactly with no luck
|
07:06:49
|
<nribeka> have u look here quadelirus?
|
07:06:50
|
<nribeka> http://openmrs.org/wiki/Troubleshooting_OpenMRS
|
07:07:13
|
<quadelirus> yep, been there
|
07:07:36
|
<nribeka> how about this one?
|
07:07:37
|
<nribeka> https://listserv.iupui.edu/cgi-bin/wa-iupui.exe?A2=ind0808&L=openmrs-devel-l&T=0&F=&S=&P=184370
|
07:07:37
|
<quadelirus> it doesn't have my specific error message
|
07:07:40
|
<OpenMRSBot> <http://ln-s.net/2RP+> (at listserv.iupui.edu)
|
07:07:53
|
<quadelirus> I have emailed the mailing list
|
07:08:56
|
<nribeka> are u eurico jose quadelirus?
|
07:09:10
|
<quadelirus> but the last email I got made me think that maybe I'm confused about the process
|
07:09:21
|
<quadelirus> hence my coming here to ask how its supposed to be done.
|
07:09:21
|
<quadelirus> Nope, I'll check that out
|
07:09:29
|
<quadelirus> no, John Bowers
|
07:10:57
|
<nribeka> i'm sorry i'm not the formentry expert :)
|
07:11:07
|
<nribeka> you can check tomorrow morning i think :D
|
07:11:10
|
<quadelirus> that's fine.
|
07:11:19
|
<quadelirus> thx tho
|
07:11:30
|
<quadelirus> meaning tonight for me :)
|
07:11:46
|
<nribeka> yeps
|
07:15:03
|
<quadelirus> why do we use infopath at all in openmrs, why aren't the forms web-based?
|
07:16:37
|
<nribeka> i think it's because easy to create form using infopath (if i remember it correctly)
|
07:28:56
|
<quadelirus> I see a lot of talk on installing cabextract on linux based openmrs installations
|
07:30:03
|
<quadelirus> is a cab extract program already included in the Windows install?
|
07:30:03
|
<quadelirus> Is that a windows tool?
|
07:30:03
|
<quadelirus> (I hate windows)
|
07:32:12
|
<nribeka> i think it's a program to open windows .cab file
|
07:32:30
|
<nribeka> so, i think windows already have it
|
07:32:31
|
<nribeka> :D
|
07:50:56
|
*** nribeka1 has joined #openmrs
|
08:09:01
|
*** nribeka has quit IRC
|
08:20:47
|
<rryan> One problem on Linux, is that OpenMRS looks for cabextract in /usr/local/bin instead of just on your path. I.e. it assumes you installed it from source.
|
08:26:39
|
<quadelirus> rryan, do you know the process for designing a form
|
08:26:55
|
<rryan> I think I'm having just about as much trouble as you are :)
|
08:27:19
|
<rryan> I download teh XSN, open with InfoPath, resubmit it.. and then ... nothing
|
08:27:25
|
<quadelirus> ah. shoot.
|
08:27:46
|
<quadelirus> ah. mine won't even download
|
08:27:49
|
<rryan> Yes, and I have no idea how to actually enter data on a form.
|
08:28:01
|
<rryan> after the form is made
|
08:28:01
|
<quadelirus> but probably unrelated.
|
08:28:20
|
<quadelirus> it seems to me that this infopath business is really the wrong way to go
|
08:29:17
|
<rryan> Hmm. It seems to break the flow of a nice, well put together web application, to have to download something, go to another application (a microsoft app, which limits you to Windows, btw), and do something..
|
08:30:42
|
<quadelirus> if you can generate an infopath form you can generate an html form on a jsp
|
08:30:42
|
<quadelirus> and have the user fill it in in the browser
|
08:31:54
|
<quadelirus> and not bother with any of this microsoft infopath or openoffice xform stuff
|
08:33:07
|
<quadelirus> one less thing for a sys admin to worry about having installed and configured
|
08:33:09
|
<rryan> Well, I imagine there have to be reasons that it is used
|
08:33:56
|
<rryan> there's probably some complex issue it solves.. but the simple case of making a basic form, and allowing people to fill it out via a web form, is overly complicated by it
|
08:34:06
|
<quadelirus> yep. If my net connection was faster I'd download the source code and work on a formentry-html module
|
08:35:28
|
<quadelirus> but unfortunately email and irc are about as good as it gets around here (it took me 2 weeks to download the openmrs installer)
|
08:35:56
|
<rryan> wow.. reminds me of my dialup days
|
08:36:10
|
<quadelirus> I'm still trying to get eclipse at the moment but its been downloading for quite awhile and its at 30%
|
08:36:20
|
<rryan> that must be frustrating
|
08:36:30
|
<quadelirus> potentially but it would be nice to have a basic hassle free web version to fall back on
|
08:36:37
|
<quadelirus> yeah i get like 7kbps download best
|
08:37:01
|
<rryan> I remember downloading linux took me 3 days on a 28.8 kbps modem... and I thought that was a long time.. I can't imagine downloading for 14 days :)
|
08:37:28
|
<quadelirus> yep. better than a week ago though. This is a cell phone modem, the satellite uplink we had before was horrendous.
|
08:39:53
|
<quadelirus> yeah. I'm trying to get linux right now too. but it is going to take forever.
|
08:40:03
|
*** quadelirus has quit IRC
|
11:27:13
|
*** sioraiocht has joined #openmrs
|
11:27:13
|
*** ChanServ sets mode: +v sioraiocht
|
11:30:41
|
*** sioraioc_ has quit IRC
|
12:34:10
|
*** james_regen has joined #openmrs
|
12:34:10
|
*** ChanServ sets mode: +v james_regen
|
12:52:46
|
*** nribeka has joined #openmrs
|
12:58:56
|
*** nribeka has left #openmrs
|
12:59:00
|
*** nribeka has joined #openmrs
|
12:59:10
|
*** nribeka has quit IRC
|
12:59:26
|
*** nribeka has joined #openmrs
|
13:12:56
|
*** nribeka1 has quit IRC
|
13:49:28
|
*** Keelhaul has joined #openmrs
|
13:49:28
|
*** ChanServ sets mode: +v Keelhaul
|
14:15:44
|
*** kapten_yuba has joined #openmrs
|
14:16:07
|
*** kapten_yuba has left #openmrs
|
14:27:17
|
<nribeka> !svn
|
14:27:17
|
<OpenMRSBot> nribeka: Error: "svn" is not a valid command.
|
15:02:05
|
*** nribeka1 has joined #openmrs
|
15:04:47
|
*** bwolfe has joined #openmrs
|
15:04:47
|
*** ChanServ sets mode: +o bwolfe
|
15:04:54
|
*** james_rege1 has joined #openmrs
|
15:06:00
|
*** james_regen has quit IRC
|
15:16:42
|
*** kapten_yuba has joined #openmrs
|
15:18:23
|
*** nribeka1 has quit IRC
|
15:18:58
|
*** kapten_yuba has left #openmrs
|
15:19:17
|
*** nribeka1 has joined #openmrs
|
15:20:23
|
*** nribeka has quit IRC
|
15:53:53
|
*** [mharrison] has quit IRC
|
16:26:24
|
*** atomicturtle has joined #openmrs
|
16:27:13
|
*** atomicturtle has left #openmrs
|
16:32:14
|
*** njero has joined #openmrs
|
16:32:16
|
*** ChanServ sets mode: +v njero
|
16:51:58
|
*** nribeka1 has quit IRC
|
17:29:46
|
*** nribeka has joined #openmrs
|
18:44:51
|
<nribeka> bwolfe, i have question
|
18:46:59
|
*** james_rege1 has quit IRC
|
18:48:42
|
<bwolfe> yes nribeka ?
|
18:49:08
|
<nribeka> what happen if openmrs-runtime.properties is not found in the system?
|
18:49:16
|
<bwolfe> nribeka: right now ?
|
18:49:30
|
<nribeka> in an installation
|
18:49:53
|
<nribeka> i try to do Context.getRuntimeProperties() on a system that has no openmrs-runtime.properties
|
18:50:00
|
<nribeka> but i get NPE
|
18:50:43
|
<bwolfe> ah yes, because none was set up
|
18:51:43
|
<nribeka> so what should i do to get the runtime properties?
|
18:52:11
|
<bwolfe> nribeka: there are defaults in /metadata/api/hibernate
|
18:53:16
|
<bwolfe> currently the HibernateSessionFactoryBean merges those defaults and the runtime properties at startup and hands those off to hibernate
|
18:53:39
|
<nribeka> ah ic ic. this is what causing the NPE
|
18:54:12
|
<nribeka> the key is hibernate.connection.username instead of connection.username
|
18:54:16
|
<nribeka> right bwolfe?
|
18:55:02
|
<bwolfe> yeah
|
18:55:25
|
<bwolfe> but that HibernateSessionFactoryBean will add the "hibernate." part if its not there already
|
18:57:15
|
<nribeka> so if i use the first key (hibernate.connection.username) i still going to get value from openmrs-runtime.properties or from hibernate.default.properties if the openmrs-runtime.properties is not exist bwolfe?
|
18:58:10
|
*** james_regen has joined #openmrs
|
18:58:10
|
*** ChanServ sets mode: +v james_regen
|
18:58:32
|
<bwolfe> nribeka: hmm, no, unfortunately not
|
18:58:49
|
<bwolfe> I don't think the default properties are saved back to the runtime properties
|
18:59:12
|
<bwolfe> why do you want to do this nribeka ? why not just use getConnection() from hibernate ?
|
19:00:43
|
<nribeka> how bwolfe?
|
19:02:49
|
<bwolfe> Connection = sessionFactory.getCurrentSession().connection() I think
|
19:27:06
|
<nribeka> i always gets "java.sql.SQLException: You can't operate on a closed Statement!!!" using this way bwolfe
|
19:27:33
|
<bwolfe> are you closing the connection first nribeka ?
|
19:28:30
|
<nribeka> nope. we close the connection at the end of the process
|
19:29:18
|
<bwolfe> nribeka: you have to get a new connection each time
|
19:29:25
|
<bwolfe> each call anyway
|
19:29:38
|
*** njero has quit IRC
|
19:29:47
|
<nribeka> so each call to the database operation we need to call that connection() ?
|
19:30:40
|
<bwolfe> if its in a new method, yes
|
19:30:54
|
<bwolfe> because the connections are pooled and you don't know when something has been closed since you were last called
|
19:31:21
|
<nribeka> ah yes, we do database operation in different methods
|
19:35:34
|
*** Echidna has quit IRC
|
19:47:24
|
<Keelhaul> i hate writing abstracts
|
19:47:27
|
<Keelhaul> and i hate echidna
|
19:47:34
|
<Keelhaul> it's been crashing lately
|
19:50:42
|
*** rryan` has joined #openmrs
|
19:53:59
|
*** Echidna has joined #openmrs
|
20:07:34
|
<bwolfe> Keelhaul: isn't Echidna your other nick?
|
20:38:53
|
<nribeka> bwolfe
|
20:39:36
|
<bwolfe> nribeka:
|
20:40:43
|
*** njero has joined #openmrs
|
20:40:43
|
*** ChanServ sets mode: +v njero
|
20:40:48
|
<nribeka> is it mutually exclusive
|
20:41:11
|
<nribeka> so if there's no openmrs-runtime.properties --> then the default will be loaded?
|
20:41:13
|
<bwolfe> nribeka: is what mutually exclusive?
|
20:41:21
|
<bwolfe> no
|
20:41:40
|
<bwolfe> nribeka: if a runtime properties is defined, it will loop over the default ones and add in ones that weren't in the file
|
20:42:32
|
<nribeka> bwolfe i'm off
|
20:42:38
|
<nribeka> i will talk to you again laterz
|
20:42:50
|
*** nribeka has left #openmrs
|
21:06:27
|
<Keelhaul> bwolfe: echidna is my server in the kitchen
|
21:08:48
|
*** njero has quit IRC
|
21:09:58
|
*** james_regen has quit IRC
|
21:58:32
|
*** rryan` has quit IRC
|
23:41:56
|
*** Keelhaul has quit IRC
|
23:50:10
|
*** sioraiocht has quit IRC
|
23:50:51
|
*** sioraiocht has joined #openmrs
|
23:50:51
|
*** ChanServ sets mode: +v sioraiocht
|