| # | Time | Nick | Message |
|---|
| # | 00:51:01 | dbs has quit IRC |
| # | 02:05:48 | Callender has quit IRC |
| # | 02:06:07 | gdunbar has quit IRC |
| # | 02:06:38 | Dmagick has quit IRC |
| # | 02:06:40 | mtate has quit IRC |
| # | 02:06:51 | leed has quit IRC |
| # | 02:06:59 | phasefx has quit IRC |
| # | 02:26:16 | gdunbar has joined #evergreen |
| # | 02:27:09 | Dmagick has joined #evergreen |
| # | 02:27:09 | mtate has joined #evergreen |
| # | 02:27:34 | leed has joined #evergreen |
| # | 02:29:53 | phasefx has joined #evergreen |
| # | 02:38:23 | Callender has joined #evergreen |
| # | 03:27:25 | atz has quit IRC |
| # | 03:31:26 | edoceo has quit IRC |
| # | 03:33:45 | Callender has quit IRC |
| # | 06:01:07 | lisah_ has joined #evergreen |
| # | 06:28:26 | lisah_ has quit IRC |
| # | 07:43:11 | collum has joined #evergreen |
| # | 08:34:09 | Shae has joined #evergreen |
| # | 08:36:29 | mrpeters-isl | fair enough, dbs |
| # | 08:39:44 | tsbere | @later tell dbs For Vandelay we needed to add PerlSetVar OILSWebForceValidXML "true" to the apache config (via a <Location /eg/vandelay/vandelay> block) to get Vandelay to work. Alt solution may be https://bugs.launchpad.net/evergreen/+bug/860676 |
| # | 08:39:44 | pinesol_green | tsbere: The operation succeeded. |
| # | 08:41:14 | raynerj has joined #evergreen |
| # | 08:55:12 | csharp | @later tell dbs I tested the install_pgsql_server_debs_91 target on squeeze and it installed correctly -FYI |
| # | 08:55:12 | pinesol_green | csharp: The operation succeeded. |
| # | 08:56:04 | tsbere | oh goody, it works on more than just my Ubuntu machines. :D |
| # | 08:56:30 | csharp | ;-) |
| # | 09:02:51 | Dyrcona has joined #evergreen |
| # | 09:03:36 | csharp | @later tell dbs Thanks for the DB role information ;-) |
| # | 09:03:36 | pinesol_green | csharp: The operation succeeded. |
| # | 09:13:22 | mrpeters-isl | question about ils_events.xml -- is there a "standard" way of linking these up to error messages in the client? i've been poking at circ/util.js and some of the others that throw errors based on ils_events id's but they all appear to use a network.simple_request which, I'm not sure I have in the user/mrpeters-isl/prevent_user_delete_with_open_xacts branch |
| # | 09:14:22 | mrpeters-isl | so, perhaps i can define a constants.js entry for that API call. still a little fuzzy on how the staff client gets it's data though. |
| # | 09:16:33 | kmlussier has joined #evergreen |
| # | 09:22:14 | Dyrcona | mrpeters-isl: Don't worry about being fuzzy on how the staff client gets its data. It does so in a couple of ways, so most of us are fuzzy about it, too. :) |
| # | 09:22:37 | Dyrcona | Or, I should say, most of the rest of us.... ;) |
| # | 09:23:39 | dbs has joined #evergreen |
| # | 09:24:53 | Dyrcona | mrpeters-isl: Add the appropriate entries to the api object in constants.js would be a good way to set up to make the call using network.simple_request. You could also just hard code the application and method in the location where you make the call, but I think adding the constants would be preferred. |
| # | 09:26:12 | mrpeters-isl | Dyrcona: here's where i've tried to stab my way to |
| # | 09:26:13 | mrpeters-isl | http://git.evergreen.lib.in.us/git/?p=Evergreen/.git;a=commitdiff;h=574766d8006a14542d466574cc4dd47844c4d184 |
| # | 09:26:32 | mrpeters-isl | we already have FM_AU_DELETE, so no need for something new |
| # | 09:28:36 | Dyrcona | mrpeters-isl: The check looks OK, but I'm not a staff client expert. |
| # | 09:28:55 | Dyrcona | You do have an extra ' in the getFormattedString() call. |
| # | 09:29:06 | Callender has joined #evergreen |
| # | 09:29:22 | Dyrcona | Also, unless staff.patron.display.cmd_patron_delete.open_xact has a % substitution in it, you probably want just getString(). |
| # | 09:30:21 | mrpeters-isl | yep saw that typo...fixed |
| # | 09:30:54 | mrpeters-isl | rather than getFormattedString? |
| # | 09:31:33 | akilsdonk has joined #evergreen |
| # | 09:31:38 | Dyrcona | take a look at http://git.mvlcstaff.org/?p=jason/ILS.git;a=commitdiff;h=94854496f92c59dc4734742ea3c20a7f3c88657d to see how to use getFormattedString(). |
| # | 09:32:31 | mrpeters-isl | aha i see |
| # | 09:35:15 | mrpeters-isl | yay! !! This software has encountered an error. Please tell your friendly system administrator or software developer the following:\npatron/display.xul\nError: Could not create namespace[patron.display]: SyntaxError: missing ) after switch expression\n |
| # | 09:36:01 | dbs | Sounds like you're missing a ) after a switch expression |
| # | 09:36:52 | dbs | tsbere++ # thanks for the heads-up |
| # | 09:36:54 | mrpeters-isl | gee, you don't say |
| # | 09:37:07 | dbs | csharp++ # thanks for the testing |
| # | 09:37:57 | dbs | I can't tell when you're asking for help |
| # | 09:38:00 | bgoble has joined #evergreen |
| # | 09:41:13 | dbs grabs 860676 for testing |
| # | 09:44:06 | sfortin has joined #evergreen |
| # | 09:44:59 | mrpeters-isl | well, lets see if i can ask this better then. Still no alert message with http://git.evergreen.lib.in.us/git/?p=Evergreen/.git;a=commitdiff;h=9b570c19f47a930bbfbbd7dbb794fdb645e2a510. I can't tell if I'm even getting to my test or not. |
| # | 09:47:55 | phasefx | mrpeters-isl: you need to assign the return value of your simple_request call to a variable, and then test it |
| # | 09:48:43 | phasefx | something like var robj = obj.network....; if (typeof robj.ilsevent... |
| # | 09:48:47 | mrpeters-isl | something like this: var robj = g.network.simple_request('FM_MB_VOID',[ses()].concat(util.functional.map_list(mb_list,function(o){return o.id();}))); ? |
| # | 09:49:06 | phasefx nods |
| # | 09:51:16 | mrpeters-isl | i assume between the [ ] is where my session, userid, destuserid would go? |
| # | 09:52:08 | mrpeters-isl | and can i use the previously defined dest_usr.id() and obj.patron.id()? |
| # | 09:52:47 | jeff | other than docgen.xsl, is there code out there to either parse the source or use introspection on a running system to generate a list of ap? I'm guessing *something* was used to generate things like this: evergreen-ils.org/dokuwiki/doku.php?id=backend-devel:open-ils_storage_methods_asset |
| # | 09:53:01 | jeff | I thought I had seen it before, but I'm coming up empty. |
| # | 09:53:09 | Dmagick has quit IRC |
| # | 09:53:45 | mrpeters-isl | something like: var obj = g.network.simple_request('FM_AU_DELETE',[ses(), obj.patron.id(), dest_usr.id()]); |
| # | 09:54:28 | phasefx | mrpeters-isl: you don't need to change the existing obj.network.simple_request call itself, just put a var robj = in front of it, and then replace obj with robj in your following if statement |
| # | 09:54:56 | phasefx | so let it use params like it's doing |
| # | 09:55:23 | phasefx | dest_usr.id() may or may not actually get sent |
| # | 09:55:48 | mrpeters-isl | well, it really doesn't have to since it fails if any bills are open regardless of if there is a destination user |
| # | 09:56:33 | mrpeters-isl | but alas, sadly, no error -- just a refresh of the patron summary occurs |
| # | 09:56:52 | mrpeters-isl | so it's going past my test to obj.refresh_all(); |
| # | 09:57:04 | phasefx | just add this after the call for debugging purposes: alert(js2JSON(robj)); |
| # | 09:57:06 | mrpeters-isl | oh, i missed one obj |
| # | 09:57:57 | mrpeters-isl | hmm nope now i don't even get a refresh |
| # | 09:58:51 | mrpeters-isl | but, the good news i do get my error in the alert |
| # | 09:59:16 | tsbere | jeff: Could be a formatted output from an introspect call |
| # | 09:59:57 | mrpeters-isl | {"stacktrace":"/usr/local/share/perl/5.10.1/OpenILS/Application/Actor.pm:3527 /usr/local/share/perl/5.10.1/OpenSRF/Application.pm:564 /usr/share/perl5/Error.pm:416","ilsevent":"2004","pid":"7794","desc":"The user you have attempted to delete cannot be deleted because it has open circulations and/or unpaid bills.","textcode":"ACTOR_USER_DELETE_OPEN_XACTS","servertime":"Thu Oct 13 09:58:37 |
| # | 09:59:57 | mrpeters-isl | 2011"} |
| # | 10:01:17 | adbowling-isl has joined #evergreen |
| # | 10:01:58 | phasefx | mrpeters-isl: you're very close |
| # | 10:02:01 | mrpeters-isl | latest code: http://git.evergreen.lib.in.us/git/?p=Evergreen/.git;a=commitdiff;h=dd3620a076b9b6bfa0a8b21e33c91e76fe7bb985 |
| # | 10:02:21 | mrpeters-isl | yep, i feel a bit better now that the test is at least working |
| # | 10:02:32 | mrpeters-isl | just want to make sure the error is simple for the end user |
| # | 10:02:52 | phasefx | mrpeters-isl: just get rid of that return; and you should be good |
| # | 10:03:07 | phasefx | or put the return after the alert |
| # | 10:03:25 | mrpeters-isl | oh ok, so i was ending things before they got to the patronStrings |
| # | 10:03:26 | phasefx | if you're wanting to not refresh |
| # | 10:03:34 | phasefx | yeap |
| # | 10:03:40 | mrpeters-isl | awesome |
| # | 10:03:59 | mrpeters-isl | phasefx++ Dyrcona++ thanks much now LP872862 can REALLY be finished |
| # | 10:05:30 | jeff | tsbere: true -- since you can introspect an entire service, and it's just json... i suppose there's not much to it. |
| # | 10:35:52 | artunit has quit IRC |
| # | 10:46:01 | darshan has joined #evergreen |
| # | 10:49:04 | darshan | missing dependency: memcached is needed by package perl-memcached-libmemcached |
| # | 10:49:18 | darshan | plz tell how to solve this |
| # | 10:49:28 | Dyrcona | darshan: Install memcached. |
| # | 10:49:43 | darshan | i installed |
| # | 10:49:50 | darshan | but |
| # | 10:50:18 | darshan | still this error not getting solved |
| # | 10:50:32 | Dyrcona | darshan: maybe it needs to be running? try starting memcached. |
| # | 10:50:45 | darshan | command for it |
| # | 10:50:47 | darshan | ? |
| # | 10:51:16 | Dyrcona | darshan: depends on your Linux distro. |
| # | 10:51:27 | darshan | its hrel |
| # | 10:52:31 | dbs | s/r/l/ |
| # | 10:55:40 | darshan | i have started memcached n have run make -f....command but yet receiving same error |
| # | 10:56:26 | dbs | darshan: does it say "memcached is needed" or "libmemcached"? |
| # | 10:57:08 | dbs | also, you might need memcached-dev / libmemcached-dev or something like that for header files |
| # | 10:57:41 | darshan | it says memcached is needed by perl-libmemcached |
| # | 10:58:22 | dbs waits for the RHEL experts in this community to jump in and offer assistance |
| # | 10:58:41 | darshan | hmm |
| # | 10:58:44 | dbs | darshan: try installing "memcached-devel" (that's what the package is called on fedora) |
| # | 10:58:59 | darshan | how do so |
| # | 10:59:17 | darshan | ok trying it |
| # | 11:10:59 | darshan | <dbs> done downloading it via wget command now wat to do |
| # | 11:11:45 | dbs | darshan: umm. I think on RHEL you should be able to run (as root): "yum install memcached-devel.rpm" or whatever |
| # | 11:12:01 | dbs doesn't really know RHEL |
| # | 11:12:10 | dbs | most people around here know Debian or Ubuntu |
| # | 11:12:15 | darshan | ok m trying dat too |
| # | 11:13:11 | darshan | its says nothing to d |
| # | 11:13:13 | darshan | o |
| # | 11:15:10 | artunit has joined #evergreen |
| # | 11:15:32 | dbs | rpm -iv memcached-devel.rpm (where "memcached-devel.rpm" represents the name of the file you downloaded) |
| # | 11:17:22 | darshan | ok |
| # | 11:18:19 | tsbere | Floating points numbers are a PITA. |
| # | 11:19:27 | darshan | its showing no such directory present |
| # | 11:21:31 | Dyrcona grumbles about Launchpad.... |
| # | 11:22:53 | dbs is now 100% convinced that merge_record_assets() is broken when it comes to located URIs |
| # | 11:25:29 | bshum | Broken? URIs? :( |
| # | 11:33:50 | sylvar | I apologize if this is coming out of left field, but how easy would it be to create a trigger for, say, actor.usr_setting that would use a PL/Perl function invoking is_valid_json from Test::JSON? It occurs to me that maybe it ought to be impossible to insert non-JSON into a field that's expected to have only JSON in it. |
| # | 11:34:21 | tsbere | sylvar: evergreen.is_json in the DB? |
| # | 11:34:49 | tsbere | sylvar: https://bugs.launchpad.net/evergreen/+bug/847973 looks to do that for ou settings |
| # | 11:34:54 | sylvar | ah, cool |
| # | 11:34:57 | sylvar | tsbere++ |
| # | 11:37:18 | dbs | hah, merge_record_assets() is going through too many loops; at one point it has a reasonable value for uri_datafield, and then it goes through some more loops to concatenate a NULL (which turns everything NULL, naturally) |
| # | 11:38:09 | dbs | hello, COALESCE |
| # | 11:41:27 | darshan | is there ne1 can help me out related to red hat distribution prb |
| # | 11:42:10 | darshan | missing-dependency needed by perl-libmemcached |
| # | 11:44:54 | darshan | missing-dependency needed by perl-libmemcached |
| # | 11:49:00 | james has joined #evergreen |
| # | 11:49:19 | james | missing dependency: memcached is needed by package perl-memcached-libmemcached |
| # | 11:49:20 | james is now known as Guest70372 |
| # | 11:49:53 | Guest70372 | missing dependency: memcached is needed by package perl-memcached-libmemcached |
| # | 11:50:11 | dbs is freaked out |
| # | 11:50:21 | mrpeters-isl | darshan/james/Guest70372 -- no need to keep chaning nicks to try to get an answer |
| # | 11:50:42 | Guest70372 has quit IRC |
| # | 11:51:01 | mrpeters-isl | Red Hat isn't as widely used in the Evergreen community, as say Ubuntu/Debian, so there are less people available to answer. Remember, chat is logged so someone will respond if they can. |
| # | 11:51:04 | darshan | plz help me out i m new to this process |
| # | 11:51:25 | mrpeters-isl | If you don't want to wait around for an answer, just go ahead and post your answer to the list serves to give people more time to respond. |
| # | 11:51:30 | Dyrcona | my suggestion is reinstall everything from scratch. |
| # | 11:51:45 | mrpeters-isl | that dependency is installed with OpenSRF, if i recall |
| # | 11:52:08 | darshan | no it doesnt |
| # | 11:52:21 | darshan | according to pdf |
| # | 11:52:25 | mrpeters-isl | so, you likely missed something when you ran make -f src/extras/Makefile.install rhel |
| # | 11:52:30 | darshan | at 3rd step |
| # | 11:52:47 | darshan | naaa not at all |
| # | 11:54:01 | mrpeters-isl | darshan: i disagree |
| # | 11:54:03 | mrpeters-isl | see http://git.evergreen-ils.org/?p=working/OpenSRF.git;a=blob;f=src/extras/Makefile.install;h=f49a4776a8413444798b79c90dd02b1121291600;hb=master |
| # | 11:55:00 | mrpeters-isl | line 196, i believe -- libmemcached gets installed |
| # | 11:55:11 | dbs | @later tell eeevil user/dbs/fix-merge-record-assets @ working is needed; I'll open an LP bug for it |
| # | 11:55:11 | pinesol_green | dbs: The operation succeeded. |
| # | 11:56:02 | mrpeters-isl | i'm not very familiar with Red Hat's package repository, but it looks to me like perl-Memcached-libmemcached is available in .rpm form |
| # | 11:56:43 | darshan | dats the error |
| # | 11:56:44 | darshan | mrpeters-isl:missing dependency: memcached is needed by package perl-memcached-libmemcached |
| # | 11:56:51 | darshan | i hav install memcached also |
| # | 11:57:12 | mrpeters-isl | darshan: perl-Memcached-libmemcached not perl-memcached-libmemcached perhaps? |
| # | 11:57:54 | mrpeters-isl | i think "yum install perl-Memcached-libmemcached" would grab it |
| # | 11:58:44 | mrpeters-isl | But you likely need to get memcached installed. I don't think it is. |
| # | 11:58:45 | darshan | okm trying it |
| # | 12:00:06 | darshan | ------------------------------------------------------------------------------------------------------------------- |
| # | 12:00:43 | darshan | mrpeters-isl-when i install usng yum install perl-Memcached-libmemcached its again giving me same error |
| # | 12:01:04 | mrpeters-isl | well, darshan, it's pretty apparent that you do not have memcached installed |
| # | 12:01:26 | darshan | wait i will again check it |
| # | 12:01:27 | mrpeters-isl | that's going to have to be installed before you can install perl-Memcached-libmemcached |
| # | 12:01:37 | darshan | ok wait |
| # | 12:03:43 | darshan | mrpeters-isl-i hav use command ps -a n checked ,n my memcached is running |
| # | 12:04:01 | darshan | plz guide me further wat shud i do |
| # | 12:04:09 | mrpeters-isl | darshan: you might want to ask in the Red Hat community then |
| # | 12:04:41 | mrpeters-isl | you're missing dependencies that are needed to install perl-Memcached-libmemcached -- that's not an Evergreen error |
| # | 12:04:44 | Dyrcona | darshan: memcached is not installed in a way that the perlmemcached can find it. I suggest starting the installation over from the very beginning, starting with the operating system. |
| # | 12:04:51 | bshum | *cough* or try Debian/Ubuntu :) |
| # | 12:10:02 | dbs | et voila: https://bugs.launchpad.net/evergreen/+bug/873449 for merge_record_assets badness |
| # | 12:40:55 | matt_carlson has joined #evergreen |
| # | 12:48:52 | _bott_ | open-ils.collections.put_into_collections adds a standing_penalty (30) hard-coded-id <cringe> But open-ils.collections.remove_from_collections, does not remove it. I'm gonna make mine so it does. Is there interest in me submitting this change, or does someone have a desire that it should not be removed? |
| # | 12:50:14 | _bott_ | ...or, YAOUS? |
| # | 12:50:17 | tsbere | I would assume that the remove should do the opposite of the add, basically. Maybe archive it instead of remove it? |
| # | 12:50:42 | _bott_ | ah yes, archive may be preferred |
| # | 12:51:13 | tsbere is amazed he remembered that they *can* be archived |
| # | 12:52:22 | _bott_ is glad he was reminded |
| # | 12:53:03 | jeffdavis has quit IRC |
| # | 12:53:44 | jeffdavis has joined #evergreen |
| # | 13:05:30 | berick | _bott_: it's handled elsewhere.. |
| # | 13:06:08 | berick | that penalty is removed in the calculate_penalties stored proc when the user goes below the penalty threshold |
| # | 13:07:32 | _bott_ | berick: Isn't that 4, PATRON_EXCEEDS_COLLECTIONS_WARNING but not, 30, PATRON_IN_COLLECTIONS |
| # | 13:08:16 | berick | it's for both. the difference is PATRON_EXCEEDS_COLLECTIONS_WARNING if automatic in both directions |
| # | 13:08:22 | berick | s/if/is/ |
| # | 13:09:21 | _bott_ | hmm... then I need to look elsewhere |
| # | 13:09:32 | berick | the threshold for PATRON_IN_COLLECTIONS should be the amount the patron has to pay down to to be no longer in collections as far as the library is concerned (e.g. $0) |
| # | 13:10:02 | berick | to better support real-time blocking/unblocking of in-collections accounts |
| # | 13:10:19 | _bott_ | ah, so that's what I'm missing! |
| # | 13:19:08 | dbwells has quit IRC |
| # | 13:22:26 | dbwells has joined #evergreen |
| # | 13:23:32 | dbs has been trying to exercise user/dbs/array_accum_2_array_agg and hasn't run into regressions - hopes somebody might be interested in giving it a once-over and commit |
| # | 13:28:02 | bgoble has quit IRC |
| # | 13:28:49 | matt_carlson has quit IRC |
| # | 13:35:50 | dbwells_ has joined #evergreen |
| # | 13:36:19 | dbwells has quit IRC |
| # | 13:36:25 | dbwells_ is now known as dbwells |
| # | 13:42:40 | jeffdavis | does anyone have a 1.6.1.2 linux staff client tarball handy? |
| # | 13:43:10 | dbs | dbwells: have you made any progress towards implementing open-ils.auth_proxy ? |
| # | 13:43:36 | dbs | jeffdavis: http://evergreen-ils.org/staff_clients.php |
| # | 13:43:51 | dbs | oh, linux |
| # | 13:44:02 | dbs has no such thing |
| # | 13:44:53 | jeffdavis | thanks anyway :) |
| # | 13:47:28 | tsbere | hmmm |
| # | 13:47:31 | bshum | I… hmm |
| # | 13:47:53 | tsbere | https://bugs.launchpad.net/evergreen/+bug/870029 is going to conflict with my current branch, if it is pushed to master. :( |
| # | 13:48:01 | bshum | Nope, 1.6.1.2 was before my time. |
| # | 13:48:10 | dbs notes dbwells said on July 27: "I fully expect we will be able to make this happen for 2.2" (LDAP and/or pluggable auth) |
| # | 13:49:24 | dbs | jeffdavis: could grab http://evergreen-ils.org/~denials/Evergreen_1_6_1_4_Lenny.zip, download a 1.6.1.2 tarball onto it, and rebuild the client yourself |
| # | 13:52:35 | dbwells | dbs: funny you should ask, I was just reaquainting myself to where that code stood a day or two ago. Like too many things in my life, it remains firmly in a half-done stage. |
| # | 13:54:13 | dbwells | dbs: For me, the biggest remaining obstacle code-wise is figuring out when and how to switch back and forth to https |
| # | 13:55:57 | dbs | my knee-jerk reaction is to advocate an HTTPS-everything approach - less chance of security screwups that way |
| # | 13:56:48 | tsbere | I agree with that |
| # | 13:57:04 | tsbere | But I also understand that sometimes that isn't an option. :( |
| # | 14:08:43 | jamesrf | in case anyone needs to make a 1.6.1.2 staff client here's a way: http://pastebin.com/index/iAT3L4vC |
| # | 14:12:06 | tsbere | jamesrf: I think you can skip the first autogen.sh call, at a minimum |
| # | 14:13:03 | jamesrf | er well there's no configure if you use git you can skip the autogen if you're using a tarball |
| # | 14:13:21 | tsbere | I said first. You appear to be calling it before *and* after checking out the right branch ;) |
| # | 14:13:45 | jamesrf | ah woops :) |
| # | 14:13:58 | jamesrf | you can see my train of thought "then run autogen... no wait i didn't check out the branch yet" |
| # | 14:14:09 | tsbere | Not sure you need to make the rest of the system before you go to the staff client dir |
| # | 14:15:05 | tsbere | I am also not sure why my code won't work. Unrelated to your paste, of course. |
| # | 14:18:58 | phasefx | dbwells: tsbere: btw, my printing issue from yesterday, it has to do with xulG.url_prefix not being present, so the script tags in the print content window aren't using the hostname, but instead src="/xul/etc" Don't know why yet |
| # | 14:19:37 | tsbere | that sounds annoying. |
| # | 14:20:08 | tsbere | phasefx: Your symlink for server->tag/server not up to date? |
| # | 14:20:32 | tsbere has had that help him when he tested stuff in the past |
| # | 14:20:51 | phasefx | it's set correctly |
| # | 14:22:40 | dbs wonders if we should make the default action of "make install" with staff client involved update the symlink |
| # | 14:22:57 | phasefx | or aggressively remove the need for the symlink |
| # | 14:22:58 | dbs | in the past, i thought "no, protect the baby!" |
| # | 14:23:29 | dbs | Now, I'm more inclined to ensure the baby has a bottle and a diaper change, even though it might be 20 years old |
| # | 14:24:04 | phasefx tests horizontal versus vertical patron display layout re: xulG.url_prefix |
| # | 14:29:17 | tsbere dislikes making configuration interfaces |
| # | 14:29:27 | tsbere | Functionality? Easy. Interfaces to configure it? PITA. |
| # | 14:32:45 | mrpeters-isl | but they're sure appreciated, tsbere! |
| # | 14:35:27 | phasefx | tsbere: your 29a874a1 includes passing url_prefix to the checkout interface, which makes this work in master. I'm not sure how dbwells' instance was working. But at least I can fix :) |
| # | 14:36:40 | tsbere | phasefx: Ahh. That would do it, wouldn't it. Forget why I did that though. Must have run into needing it. |
| # | 14:37:34 | dbwells | phasefx: hmmm, that is odd. I have been known to have the magic touch. |
| # | 14:38:21 | phasefx | dbwells: does your server/patron/display.js include url_prefix in the set_iframe for CHECKOUT? |
| # | 14:38:49 | dbwells | I'll check |
| # | 14:42:30 | dbwells | phasefx: no, I don't see it |
| # | 14:44:30 | phasefx is willing to not dive into that mystery |
| # | 14:45:24 | dbwells | phasefx: Is it possibly related to the receipt template security fixes? I don't have those applied to this test box. Bear in mind I know close to nothing about receipt templates, as we don't print any. |
| # | 14:45:40 | phasefx | dbwells: it is |
| # | 14:46:50 | dbwells | phasefx: Sorry if I lead you astray, then, though I did say I was testing on a 9/27 build :) |
| # | 14:48:06 | phasefx | dbwells: s'okay, missed that *8) |
| # | 14:49:27 | phasefx | https://bugs.launchpad.net/evergreen/+bug/873593 |
| # | 15:01:50 | tsbere | phasefx: Does the bill history view have the same basic issue? |
| # | 15:02:22 | phasefx checks |
| # | 15:02:25 | Dyrcona | tsbere: I was just going to try it on my dev server. I redirected that email to our ticket system. |
| # | 15:02:46 | tsbere | phasefx: If it does, it likely has the issue in master too. |
| # | 15:06:15 | Dyrcona | I would say master has that problem with billing history. |
| # | 15:07:11 | phasefx | 2.1.0 has it too |
| # | 15:07:19 | Dyrcona | Should we open a launchpad bug? |
| # | 15:07:33 | phasefx | please |
| # | 15:09:58 | Dyrcona | Will do. |
| # | 15:10:15 | bshum | Shucks, all this time spent on Ocelot today only to discover that there's no xulrunner-1.9 candidate… |
| # | 15:11:11 | Dyrcona | ??? |
| # | 15:12:14 | dbs | bshum: I downloaded a local xulrunner bin from mozilla ages ago for that reason |
| # | 15:12:23 | dbs | (well, s/Ocelot/Fedora 15/) |
| # | 15:12:27 | bshum | dbs: That seems like a wise decision. |
| # | 15:13:00 | dbs | bshum: I can make xulrunner-1.9.2.17.en-US.linux-i686.tar.bz2 available if it's been pulled from mozilla.org for some reason |
| # | 15:13:54 | tsbere | bshum / dbs: http://download02.mozilla.org/pub/xulrunner/releases/ |
| # | 15:14:15 | dbs | tsbere: as long as that lasts, sure |
| # | 15:15:18 | Dyrcona | https://bugs.launchpad.net/evergreen/+bug/873614 |
| # | 15:15:19 | dbs | ftp://ftp.mozilla.org/pub/xulrunner/releases/ is what I've typically used, seems fine |
| # | 15:17:41 | bshum | tsbere: dbs: Thanks guys. I'll try that and see how it goes. |
| # | 15:25:21 | tspindler has joined #evergreen |
| # | 15:27:02 | tspindler | is there a way to get a PO to resend, we are testing some things with Ingram and ingrams servers were down when edi_pusher ran |
| # | 15:28:56 | bshum | tspindler: I'm not sure exactly, but what are the "state" values set to for the orders in question. |
| # | 15:29:27 | bshum | I think you can change the state to a different status like "pending" and that would kick in a new PO translate next time? |
| # | 15:29:36 | bshum | Not entirely sure, haven't tried resending much |
| # | 15:35:45 | binaryflow has joined #evergreen |
| # | 15:36:11 | binaryflow | Hello everyone! I have made it through the installation guides all the way to the part where we test the evergreen service. |
| # | 15:36:17 | tspindler | bshum: first time I've run into it. i'll change the status to pending and see what happens |
| # | 15:36:20 | binaryflow | It doesn't connect. |
| # | 15:36:50 | bshum | tspindler: Curious what the status currently is set to? |
| # | 15:37:04 | tspindler | bshum: it is "on-order" |
| # | 15:37:20 | binaryflow | When I run settings-tester.pl four of the five tests pass. The one that fails is the database connection. It would appear that the test script is defaulting to the postgres account when I set up a different one to be the admin user. |
| # | 15:37:32 | bshum | tspindler: "On order" sounds like it was processed successfully. |
| # | 15:37:36 | binaryflow | Is there a way to specify credentials in that test script? |
| # | 15:37:44 | bshum | tspindler: Or at least translated to become an A/T event |
| # | 15:38:24 | dbs | binaryflow: if the service that is failing is qstore, don't worry about it |
| # | 15:38:28 | bshum | tspindler: Running edi_pusher.pl manually had no effect right? (wondering if maybe the A/T event sticks around) |
| # | 15:38:33 | tspindler | bshum: appears to be no flag in the tables to indicate order was sent but I haven't gone through the script to see what it is usinig to determine what to send, obviously it has to see if a PO is linked to an edi account |
| # | 15:39:00 | binaryflow | Ah, ok. Here are the symptoms: All services appear to start. I can browse to the search page via apache. |
| # | 15:39:11 | tspindler | bshum: doing manual run now |
| # | 15:39:14 | binaryflow | When I switch to the opensrf user and try to run the test I get the following error: |
| # | 15:39:24 | bshum | tspindler: Right, the closest clue we'd have is whether there was EDI message traffic (and the contents of those messages) |
| # | 15:40:27 | binaryflow | Received no data from server. |
| # | 15:41:17 | binaryflow | Neither the postgres nor the account I defined seem to work. |
| # | 15:41:29 | tspindler | bshum: changing status didn't do anything, maybe it is edi message traffic |
| # | 15:42:00 | bshum | tspindler: Well, changing the status alone would only make it want to be pulled through A/T runner I think. |
| # | 15:42:17 | bshum | tspindler: To generate a new A/T event, to then be pushed out with edi_pusher.pl |
| # | 15:42:25 | bshum | tspindler: Or… I think so |
| # | 15:42:38 | dbs | binaryflow: assuming we're talking "srfsh" followed by "login <admin-user> <admin-pass>"? |
| # | 15:42:39 | bshum pokes mrpeters-isl's memory |
| # | 15:42:46 | binaryflow | Yes |
| # | 15:43:01 | binaryflow | Please excuse my extreme lack of postgres knowledge. |
| # | 15:43:19 | binaryflow | Aren't I supposed to create a user account and then set up db perms? |
| # | 15:43:26 | binaryflow | I have to do that in mysql... |
| # | 15:43:37 | dbs | binaryflow: okay. you set up /home/opensrf/.srfsh.xml with ejabberd hostname, and the opensrf ejabberd username and password (private.localhost one) |
| # | 15:43:57 | binaryflow | Yes. Back during the opensrf setup. All of that tested fine. |
| # | 15:44:02 | binaryflow | Services are up and running. |
| # | 15:44:13 | binaryflow | Can't connect to the postgres db. |
| # | 15:45:10 | dbs | binaryflow: it's not clear to me if you followed the install instructions, and if so, which ones. because there is a clear section about 1) creating a PostgreSQL superuser account and 2) using that to create the database and set up opensrf.xml via eg_db_config.pl |
| # | 15:45:30 | binaryflow | I did all of that. |
| # | 15:45:34 | binaryflow | Twice. |
| # | 15:45:38 | tspindler_ has joined #evergreen |
| # | 15:46:02 | tspindler has quit IRC |
| # | 15:46:09 | binaryflow | I created the superuser account and verified that it was there via webmin. |
| # | 15:46:31 | binaryflow | I used the same username/password in the eg_db_config.pl script setup. |
| # | 15:46:42 | binaryflow | Watched it spin through all of the table creation steps. |
| # | 15:46:53 | tspindler_ | bshum: it worked by deleting old edi error, order went through this time |
| # | 15:46:55 | binaryflow | Verified that there were tables/fields in the evergreen db (again in webmin). |
| # | 15:47:05 | binaryflow | Now I get that error. |
| # | 15:47:08 | darshan has quit IRC |
| # | 15:47:10 | bshum | tspindler_: Ahh, old edi message, gotcha |
| # | 15:47:19 | bshum | That sounds vaguely familiar now. |
| # | 15:47:20 | binaryflow | And the test script is saying that the error is an authentication failure. |
| # | 15:47:21 | tspindler_ | bshum: before resending set to on-order status |
| # | 15:47:30 | adbowling-isl has quit IRC |
| # | 15:47:46 | binaryflow | But the user name that the script seems to be coded to use is the postgres user (which is not the one I used on the eg_db_config.pl script). |
| # | 15:48:20 | dbs | binaryflow: as I suggested before, that might be a red herring. settings-tester.pl hasn't been updated for a long time |
| # | 15:48:47 | csharp | would it be better to move a production database (testing here) from one server to another using pg_dump or pg_dumpall? (wondering if anyone has experience using one over the other) |
| # | 15:49:00 | binaryflow | Ah, ok. The installation docs say to start troubleshooting there first. |
| # | 15:49:17 | dbs | csharp: I've only ever used "pg_dump -Fc" |
| # | 15:49:24 | binaryflow | Should I have put the evergreen db superuser creds in a .conf file somewhere? |
| # | 15:49:28 | csharp | dbs: okay - that makes sens |
| # | 15:49:28 | csharp | e |
| # | 15:49:29 | dbs | binaryflow: it's useful, as far as it goes |
| # | 15:49:38 | binaryflow | Don't remember seeing that as an explicit step. |
| # | 15:49:59 | dbs | binaryflow: that's because eg_db_config.pl DOES THAT FOR YOU |
| # | 15:50:11 | binaryflow | Ok. Then it did it twice for me. |
| # | 15:50:14 | dbs takes a breath |
| # | 15:50:28 | binaryflow | I apologize if I am being frustrating. |
| # | 15:50:47 | binaryflow | I certainly don't mean to be. |
| # | 15:52:30 | dbs | binaryflow: I understand. just slow down a bit, okay? |
| # | 15:52:54 | dbs | binaryflow: so let's start by seeing if, in fact, your opensrf.xml actually has the values it should |
| # | 15:53:33 | dbs | binaryflow: open it up in a text editor and search for <db> |
| # | 15:53:49 | dbs | actually, better, search for <database> |
| # | 15:54:22 | binaryflow | It is there and correct. |
| # | 15:54:32 | dbs | binaryflow: there will be multiple entries |
| # | 15:55:04 | dbs | my guess is that the qstore entry has "postgres". which is fine, because qstore isn't actually used by anything in Evergreen |
| # | 15:55:33 | dbs | but that's why my very first response to you was: " if the service that is failing is qstore, don't worry about it" |
| # | 15:56:34 | dbs | second question: during the Evergreen setup, did you copy a new opensrf_core.xml.example over opensrf_core.xml and update all of the ejabberd usernames / passwords? |
| # | 15:58:08 | binaryflow | There was one instance of the account "postgres" in opensrf.xml that had the default password in it. I changed it to match my postgresql installation. |
| # | 15:58:39 | binaryflow | I probably did not create a brand new opensrf_core.xml file after the original one was set up during the opensrf installation. |
| # | 15:58:42 | binaryflow | Let me check. |
| # | 15:58:50 | dbs | binaryflow: if not, then that's your actual problem. |
| # | 15:59:23 | binaryflow | Ok. |
| # | 15:59:26 | binaryflow | I'll do that now. |
| # | 15:59:56 | dbs | low-hanging fruit for interested contributors: 1) teach settings-tester.pl to ignore qstore for database connections and 2) teach it to check opensrf_core.xml for Evergreen-specific content, instead of OpenSRF-generic content |
| # | 16:01:38 | Dyrcona | dbs: How 'bout a launchpad bug? :) |
| # | 16:01:52 | dbs | Dyrcona: please. Make them two bitesize bugs. |
| # | 16:02:07 | eeevil | grabbing 0639 |
| # | 16:04:19 | tspindler_ has quit IRC |
| # | 16:06:07 | hopkinsju | Skinning question: I'm making some changes to the default skin... I've got a handle on everything I need to make the changes, but I've noticed that the copy locations don't load properly. |
| # | 16:06:46 | hopkinsju | I've noticed this doesn't work with craftsman either. Does it only load copy information for the skin that is set to be used? |
| # | 16:07:22 | binaryflow | Changed out the opensrf_core.xml file and updated the priv/pub passwords for router and opensrf. No joy. Still fails with: Received no data from server. |
| # | 16:07:58 | sfortin has quit IRC |
| # | 16:09:31 | dbs | binaryflow: did you restart the opensrf services after doing that? |
| # | 16:09:57 | binaryflow | I restarted the entire server for good measure. |
| # | 16:09:57 | dbs | hopkinsju: define "copy locations don't load properly" |
| # | 16:10:10 | bshum | hopkinsju: Well, craftsman isn't supported by the Evergreen community anymore… so, fun times there. |
| # | 16:10:11 | dbs | binaryflow: a bit extreme |
| # | 16:10:24 | binaryflow | Agreed. It's been a very long two day installation process though... |
| # | 16:10:31 | dbs | binaryflow: so did you start the opensrf services? |
| # | 16:10:37 | tsbere | hopkinsju: In fact, at some point craftsman vanished from master entirely. ;) |
| # | 16:10:45 | tsbere committed that removal, in fact |
| # | 16:11:16 | hopkinsju | Is craftsman a touchy subject? I thought I probably shouldn't have mentioned it at all, lol. |
| # | 16:11:52 | hopkinsju | dbs: The table doesn't load whatsoever. Just says "Loading copy information... |
| # | 16:11:52 | hopkinsju | " |
| # | 16:12:01 | dbs | hopkinsju: for many of us, its death was something to celebrate |
| # | 16:12:21 | dbs | although its prettiness is mourned |
| # | 16:12:23 | hopkinsju | js console shows an error in RemoteRequest.js |
| # | 16:13:16 | binaryflow | Apparently not. I just walked back through the startup. Tried running the autogen script. It appears that one of my pwd's isn't working. |
| # | 16:13:20 | binaryflow | Let me investigate further. |
| # | 16:16:45 | collum has quit IRC |
| # | 16:17:19 | raynerj has left #evergreen |
| # | 16:18:06 | dbs | eeevil++ |
| # | 16:19:05 | tsbere is determined to *not* need a secondary save button for his circ mod limit replacement configuration interface |
| # | 16:19:30 | binaryflow | Autogen.sh is returning the following error: Session Error: router@private.localhost/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!! |
| # | 16:19:57 | binaryflow | I assume this is because of some problem with my router@private.localhost password. I double checked the opensrf_core.xml file and the pwd is right. |
| # | 16:22:02 | bshum | binaryflow: Just curious, when you restarted the whole server and it came back up, did you restart opensrf services? Like with osrf_ctl.sh -l -a restart_all (or some variant) |
| # | 16:22:40 | bshum haven't read up, but that sounds like something didn't start correctly |
| # | 16:23:19 | binaryflow | Yes, I did start opensrf manually using the osrf_ctl.sh switch. I left out the -l switch since the script can pull the correct hostname (per instructions). |
| # | 16:23:30 | bshum | Gotcha. |
| # | 16:26:47 | binaryflow | I stopped opensrf services and restarted them with the -l switch. Now autogen.sh only produces the error once instead of four times. |
| # | 16:27:15 | binaryflow | Exception: OpenSRF::EX::Session 2011-10-13T16:26:09 OpenSRF::Transport /usr/local/share/perl/5.10.1/OpenSRF/Transport.pm:83 Session Error: router@private.localhost/open-ils.cstore IS NOT CONNECTED TO THE NETWORK!!! |
| # | 16:50:21 | fortin has joined #evergreen |
| # | 16:55:43 | jeffdavis has quit IRC |
| # | 16:59:58 | Shae has quit IRC |
| # | 17:02:03 | akilsdonk has quit IRC |
| # | 17:09:12 | binaryflow has quit IRC |
| # | 17:13:26 | _bott_ has quit IRC |
| # | 17:14:07 | _bott_ has joined #evergreen |
| # | 17:14:58 | dbs has quit IRC |
| # | 17:29:23 | Dyrcona has quit IRC |
| # | 17:30:57 | hopkinsju | Since I know you're all holding your breath, I solved my problem with "find /openils/var/web/opac/skin/poplar/xml -type f -exec sed -i 's/default/poplar/g' {} \;" |
| # | 17:31:31 | jeffdavis has joined #evergreen |
| # | 17:32:26 | hopkinsju | Needed to replace a bunch of <script> tags that were still pointing to the default skin directory. |
| # | 17:50:10 | kmlussier has quit IRC |
| # | 17:52:56 | hopkinsju | I stand corrected. Is there documentation on creating a new skin? |
| # | 18:19:24 | fortin has quit IRC |
| # | 18:20:40 | tsbere | hopkinsju: you may need to update non-xml files as well. |
| # | 18:22:04 | tsbere | MVLC just edits the "default" skin and keeps the changes around in git branches. |
| # | 18:22:17 | gmcharlt | which is a handy practice |
| # | 18:22:51 | gmcharlt | but if you do want a separate skin, changing only the bare minimum number of 'skin/default' to 'skin/poplar' is a good idea |
| # | 18:23:06 | hopkinsju | tsbere: I've had that thought. I had read somewhere "don't use default because it will be overwritten during upgrades". |
| # | 18:23:14 | gmcharlt | so that you can use as much of the stock javascript from default as possible |
| # | 18:23:21 | tsbere | MVLC also keeps library-specific changes tied to apache variables that swap out what little our libraries get customized (name, logo, homepage URL) |
| # | 18:23:34 | hopkinsju | gmcharlt: That didn't work though. http://catalog.poplarbluff.org/opac/en-US/skin/poplar/xml/rdetail.xml?r=9704&ol=2&t=chomsky&tp=keyword&l=2&d=1&hc=4&rt=keyword |
| # | 18:23:45 | gmcharlt | and keep skin-specifc javascript changes mimized |
| # | 18:23:54 | tsbere | hopkinsju: That warning applies more to tarball installs. If you install via git you can pull in your changes via merging the branch(es) |
| # | 18:24:49 | hopkinsju | tsbere: More than anything I was hoping to simplify things for Equinox (and keep confusion low for everyone) by doing a separate skin. At this point the path of least resistance is just to make my changes to default |
| # | 18:24:53 | gmcharlt looks at that in a js debugger |
| # | 18:25:11 | hopkinsju saw it's erroring in RemoteRequest.js |
| # | 18:25:30 | hopkinsju | It's hanging up trying to get availability it seems |
| # | 18:25:42 | hopkinsju | But hey guys, gotta run |
| # | 18:25:52 | hopkinsju leaves quassel running |
| # | 18:37:14 | gmcharlt | hopkinsju: the culprit is the deletion of element with id rdetail_abstract in rdetail_summary.xml without removing the reference to that in line 401 of rdetail.js |
| # | 18:37:37 | gmcharlt | you could adjust the javascript accordingly, but better might be to just retain the element and slap a 'hide_me' class on it |
| # | 18:38:37 | gmcharlt | this rather ... tight coupling between the template and the javascript that stuffs data into it is, of course, one of the things that will hopefully go away (or at least be easier to debug) with tpac |
| # | 18:43:56 | gmcharlt | hopkinsju: and heck -- do a diff -r rdetail_summary.xml.pre-gmc rdetail_summary.xml to see what I mean |
| # | 18:44:08 | gmcharlt | later all |
| # | 22:45:54 | tater-laptop has joined #evergreen |
| # | 23:52:55 | tater-laptop has quit IRC |