Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Wednesday, November 30th, 2011

< Tuesday, November 29th, 2011Raw Log FileThursday, December 1st, 2011 >
#TimeNickMessage
#00:36:44dbs has quit IRC
#02:46:44adm_ils has joined #evergreen
#02:47:15adm_ilsi am receiving error -/openils/var/web/xul/rel_2_1_0/server/main/lang.js, /openils/var/web/opac/common/js/JSON.js, /openils/var/web/xul/rel_2_1_0/server/main/OpenILS,
#02:47:33adm_ilsfile does not exist
#02:47:43adm_ilswhat should i do
#03:11:41adm_ils has quit IRC
#03:53:11idm_ils has joined #evergreen
#03:53:58idm_ilsi am receiving an error in my error.log file .those are /openils/var/web/xul/rel_2_1_0/server/main/lang.js, /openils/var/web/opac/common/js/JSON.js, /openils/var/web/xul/rel_2_1_0/server/main/OpenILS,
#06:09:23idm_ils has quit IRC
#08:31:23AaronZ-PLS has joined #evergreen
#08:37:05Dyrcona has joined #evergreen
#08:42:43jeffHrm. Using the web /exporter on 2.1 I get records without a 901$c. That surprises me.
#08:42:49jeff digs
#08:45:56tspindler has joined #evergreen
#08:49:21csharpberick: (or whomever is able to shed light on my issue) - I increased the log level for gateway to 5 and tried again to add a permission to a perm group: http://pastebin.com/fawMS0hx
#08:50:13csharpthis is what happens when I add a permission to a group in the Permission Groups UI
#08:50:26csharpnothing is visible on the front end
#08:51:06csharpthe osrferror log reports a 404 error "remote-server-not-found"
#08:51:26csharptests with telnet (and all auth, etc. functions) work, however
#08:52:00csharpas a test, I enabled the mem_cache apache module to see if that would help - but no change
#08:52:19csharpthe memcache server logs confirm that the messages are not getting there
#08:52:35_bott_jeff: on an ME host?
#08:57:20mdevilz has joined #evergreen
#08:58:07csharp resorts to manually mapping perms to groups in the meantime... :-/
#09:02:00tsberea pcrud transaction commit failure... did your pcrud crash while you were connected?
#09:02:19csharptsbere: how would I tell?
#09:02:48tsberecsharp: Well, I am guessing, because I can't see pcrud *not* having transaction.commit, or you getting that far without having done, say, transaction.begin.........
#09:04:06jeff_bott_: yes.
#09:05:37csharptsbere: http://pastebin.com/4EXV8XZf
#09:06:17tsbereHuh. That is weird.
#09:07:07jeff_bott_: the export also seems to have fallen short. this would have been on the 27th. I seem to have requested 260993 bibs and received 75166.
#09:07:50csharptsbere: full threadtrace: http://pastebin.com/3EGis7Qz
#09:08:02jeff_bott_: Unless I ran into a service restart or network timeout, I'm guessing that it may just be a bad record. Looking at the records just before and just after the end of what I *did* receive.
#09:08:27_bott_did you export as MARC21 or MARCXML?
#09:09:05jeffMARC21
#09:13:51dbs has joined #evergreen
#09:14:54berickcsharp: is your gateway configured to use the private domain in opensrf_core.xml by any chance?
#09:15:14jeffheh. the end of the last record in the MARC21 looks like this after being parsed by yaz-marcdump:
#09:15:17jeff655 7 $a Young adult fiction.
#09:15:19jeff901 f $c tion.
#09:15:22csharp checks
#09:15:57csharpberick: <domain>public.test-b0.test.gapines.org</domain>
#09:16:02csharpso no, guess not
#09:17:02berickis open-ils.pcrud listed in the <services> in the public domain in the <opensrf> section?
#09:17:04csharpI just increased opensrf's loglevel to include debug messages and will try again
#09:17:10tlilleberg has joined #evergreen
#09:17:28_bott_jeff: does the client allow you to modify that record, or do you need me to touch it?
#09:17:39berick is wondering why the gateway is trying to talk to a service at pensrf@private.test-b1.test.gapines.org/open-ils.pcrud_drone...
#09:17:48csharpberick: yes it is
#09:17:56jeffhaven't looked at the marcxml to determine if it's broken yet -- i'll let you know shortly.
#09:18:21csharpberick: ah - a clue
#09:19:52berickcsharp: mind pasting the gateway log for the transaction.begin call?
#09:21:54csharpberick: I will, but here is my (scrubbed) opensrf_core.xml file: http://pastebin.com/t3DHLe4m
#09:23:10yboston has joined #evergreen
#09:24:32csharpberick: http://pastebin.com/6T7ed2YS
#09:25:23StephenGWills has joined #evergreen
#09:25:36berickcsharp: arg, sorry, i guess what I really want to see is the CONNECT call, which occurs just before the xact.begin
#09:32:17csharpberick: this is the full gateway log for when I just tried to add a perm to a group: http://pastebin.com/5Lq3qvAL
#09:33:25Dyrconahttp://pastebin.com/AyaiHNAM
#09:33:43DyrconaI still can't get to anything at esilibrary.com domains.
#09:33:59berick@isitdown esilibrary.com
#09:33:59pinesol_greenberick: Error: "isitdown" is not a valid command.
#09:33:59tspindler has quit IRC
#09:34:04berick@help
#09:34:04pinesol_greenberick: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
#09:34:09berick@list
#09:34:09pinesol_greenberick: Admin, Channel, ChannelLogger, Config, Games, Herald, Karma, Later, Math, Misc, Note, Owner, Praise, Quote, RSS, Reply, Seen, Todo, and User
#09:34:41tsbere can visit esilibrary.com
#09:34:42DyrconaI got a similar traceroute last night at home. I have the same ISP, ultimately, as where I work, Verizon.
#09:34:43csharpDyrcona: it looks like it's getting lost somewhere at QTS (qualitytech.com)
#09:35:01Dyrconagit.esilibrary.com fails for me, too.
#09:35:32tsbere can get to esilibrary.com, but not git.esilibrary.com
#09:35:41csharptsbere: same here
#09:35:54DyrconaI can get to the esilibrary.com web site, except the flash never loads because of no-script.
#09:36:48Dyrconaberick: Think you'd better bug quality tech. They appear to be your hosting provider.
#09:37:29berickpastebin_under_heavy_load--
#09:37:48csharp blames himself *sob*
#09:37:59berickDyrcona: thanks. i'll inform those what do the networking
#09:39:17jeffI can reach esilibrary.com, demo.evergreencatalog.com, etc. The only host I can't reach in this set is git/yeti. The host may simply be down.
#09:39:48jeffThe last hop before the destination for demo.evergreencatalog.com is 64.88.172.102, and that's the last returning hop on an attempt to traceroute to yeti.
#09:40:22berickjeff: yeti is down
#09:41:01jeffDyrcona: were you having issues with any esilibrary.com hosts other than git/yeti?
#09:41:28Dyrconajeff: I haven't tried any other than the website.
#09:41:58jenny has joined #evergreen
#09:42:06DyrconaI didn't know yeti == git.
#09:42:15jeffaha. :-)
#09:42:57berickDyrcona: if, by any chance, you were looking for the freebsd doc, it's mirrored at http://dev198.esilibrary.com/~berick/eg_freebsd.html
#09:43:16Dyrconaberick++ # for supercow powers
#09:43:46DyrconaI also have git.esilibrary.com configured as a remote, so might be nice if that were back sometime.
#09:44:09jeffgit fetch --all --except-for-that-hairy-yeti-chap
#09:45:28Dyrconaberick: I was thinking of wikify-ing the freebsd instructions. Maybe when we have something known to work.
#09:45:29berickpretty sure we're pushing everything evergreen/opensrf directly to the community repos now, if you want to just remove the remote
#09:46:01Dyrconaberick: will do. we keep a couple of repos private here, 'cause they have passwords and junk in the configurations.
#09:46:01berickDyrcona: btw, I fixed the vandelay problem and it's reflected in the current version of the doc. just had to install marc::charset from cpan
#09:46:47berickthe z39 problem turns out to be specifcially w/ biblios. LoC works fine. haven't researched beyond that
#09:47:26Dyrconaberick: OK. gives me something to look into when I get a VM set up or when I get it installed on my machine at home, which I may bring back into the office.
#09:48:38Dyrcona has some other things to do right now.
#09:52:22jeff_bott_: the last record in the batch from Nov 27 is malformed at the end, but requesting that record by itself today returns a clean MARC21. Odd. I think I'll try the export again tonight and see if/how it breaks. This is bre id 18106286
#09:55:10berickcsharp: i'm going back to my earlier statement, which tsbere also suggested, that the pcrud drone process is dying. between the request and the xact.commit
#09:55:32berickcsharp: run the test again and when you're done, see if the pcrud process is still around
#09:57:27jeffkinda' odd. there's an extra "fiction. " followed by a field sep <1E> char where the record's directory claims the 901 should start.
#09:58:18Dyrconajeff: Not so odd. I've seen worse formatted MARC than that.
#09:59:28jeffedit_date on biblio.record_entry is 2008-08-02, so that probably shoots down the idea of "it was broken on Nov 27 and somebody fixed it between then and now."
#10:01:01jeffDyrcona: yeah, but I can't explain this malformation. That's the part that annoys.
#10:03:19Dyrconajeff: perhaps the MARC has some "nonprintable" character in it that is messing things up?
#10:06:28jeffDyrcona: I requested many bibs from the /exporter on Nov 27. The resulting MARC21 had far fewer records than I requested, and the final record in the file had this malformation.
#10:06:38jeffDyrcona: requesting just that record today shows no malformation.
#10:06:54jeffDyrcona: so I'll see what happens tonight when I request the batch again.
#10:07:48tspindler has joined #evergreen
#10:08:04jeffDyrcona: If there was a bad record that the /exporter tripped up on, or if there was an interruption in the transfer or some maintenance resulting in a late night restart of services/apache/etc, I would expect it to be truncated, but not "has some field data in the wrong place, then finishes" like this does.
#10:08:39csharpberick: the pcrud process doesn't appear to be dying - I'm getting the same thing "remote-server-not-found" in the error message
#10:09:16Dyrconajeff: Well, it could be dying, truncating the output, and you're seeing garbage at the end of the last record that gets output.
#10:09:29csharpfrom what you know is the "remote server" in this case the OSRFHTTPTranslator memcache server?
#10:09:34Dyrconajeff: You're getting binary MARC out, right?
#10:09:40berickcsharp: no, memcache is fine
#10:10:00csharpok - well - it's nice to cross that off the list ;-)
#10:10:24jeffThen I also wonder, why do I have 75166 records, but only 72023 901 tags... and why do only 40066 of those have 901$c?
#10:10:32jeffDyrcona: binary MARC21, yes.
#10:12:10Dyrconajeff: I'd try modifying the source to write the MARC as it comes out in XML to a file and another file with the MARC after conversion.
#10:12:48berickcsharp: the problem is the translator is unable to send a jabber msg to the pcrud drone
#10:13:03bericka drone it already sent several messages to successfully
#10:13:14csharpokay - that makes sense
#10:13:22berickthe pcrud process dying is the only logical explanation for what's in the logs
#10:13:28tsbereberick: He previously pasted a line that indicated the pcrud drone was auto-rollbacking and disconnecting due to lack of messages.
#10:13:38jeffI think the "dying, truncating the output, and seeing garbage" is close, but it's odd that it's [lots of good records][good start of record][weird repeat of data][rest of record]
#10:13:41bericktsbere: ah, yeah
#10:13:48tsbereberick: So if the pcrud drone is dieing, it is because it is disconnecting from XMPP?
#10:13:50tsberehmmm
#10:14:00tsberecsharp: Did you check your ejabberd config for max sessions?
#10:14:13csharptsbere: not until now ;-)
#10:14:17berickor, it's just getting disconnected and not actually dying
#10:14:29csharpit appears to not be dying
#10:14:33berickright
#10:15:27csharptsbere: {access, max_user_sessions, [{10000, all}]}. on both bricks
#10:15:38tsbereHmmm
#10:15:38berickcsharp: max_stanza_size?
#10:16:32tsberecsharp: A thought, if we want to go nuts: Register a third user (brick2 or something) on the public and private domains, and tell one of the bricks to use *that* user instead of opensrf? Then that *brick* gets 10,000 sessions to work with.
#10:16:44csharp{max_stanza_size, 2000000}
#10:17:15Dyrconacsharp: Add another zero to your max stanza size. Mine is 20,000,000
#10:17:55Dyrconaand sometimes 20 million is too small, so you have to stream results.
#10:18:46csharp is already going nuts
#10:18:56jeff wanders off to see where 901$c was previously added during export, and to see if things changed with the introduction of the maintain control numbers bits.
#10:19:00berick notes, fwiw, 2000000 is sufficient for the request csharp is making
#10:19:58csharpyeah - we've never had a problem with the defaults (from install instructions)
#10:20:46Dyrconacsharp: the README was recently changed to set that to 20000000 though, that's 7 zeroes not 6, IIRC.
#10:20:59csharpthe screwed up thing is that this was all working before last week... I was able to add permissions without any issues
#10:21:38csharpwhen the GUI stopped responding, I chatted here, and berick guided me to the cache setting for the http translator
#10:21:59csharpI found the line commented out, so I don't know how it was working before
#10:22:11plux has joined #evergreen
#10:22:19csharpI just now that since I set the memcache server to my actual server, these 404s appeared
#10:22:36csharps/now/know/
#10:23:14berickcsharp: did you add the second brick last week, by any chance?
#10:23:32csharpberick: nope - they've been running in this configuration for about a month
#10:24:09csharpand everything was great and happy until now :-(
#10:24:11csharp weeps
#10:30:30pluxlooking for 2.2 alpha for some testing... is it on a separate git or just by account only?
#10:31:23csharpplux: should be able to 'git checkout tags/rel_2_2_alpha1'
#10:31:46csharpplux: may need to 'git pull' beforehand
#10:41:46pluxthe main repo?
#10:42:08tsberethe main evergreen repo, yea.
#10:42:28tsbereOr you can download the tarball, or you can just check out master for 2.2 alpha2 preview ;)
#10:47:40akilsdonk has joined #evergreen
#10:51:48pluxthat's great.... oversight.... thanks
#10:56:39dbsplux: I'd recommend master for now, a number of bug fixes and changes since alpha1
#10:57:59dbs would like to see 894052 (point-to-point version scripts) and 896405 (fixes for 2.1-2.2 update script) merged
#10:58:14pluxperfect.... I'll start with that
#11:02:35mrpeters-isl_ has joined #evergreen
#11:02:43mrpeters-isl_Any thoughts on [Wed Nov 30 11:01:17 2011] [error] Can't locate DateTime/Format/Mail.pm in @INC (@INC contains: /openils/lib/perl5 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 . /etc/apache2) at /openils/lib/perl5/OpenILS/WWW/SuperCat/Feed.pm line 10.\nBE
#11:02:58mrpeters-isl_occurs after an upgrade from lenny > squeeze when attempting to start apache2
#11:03:17akilsdonk has quit IRC
#11:03:56dbsmrpeters-isl: upgrade to squeeze - did you rerun Makefile.install as well?
#11:04:00mrpeters-isl_giving "cpan DateTime::Format::Mail" a shot...
#11:04:19mrpeters-isl_dbs: no...was under the impression all we needed was a dist-upgrade
#11:04:33mrpeters-isl_but that makes sense...ill rerun it
#11:05:24dbs thinking that perl might have gone from 5.8 to 5.10 and thus no longer finds the old CPAN-installed modules? wild guess
#11:05:51mrpeters-isl_gmcharlt:: if you're lurking, do you want us to go ahead and use the 2.1 Makefile or the 2.0.4?
#11:06:10dbsmmm. perl 5.10.0 on our lenny system, so maybe not that
#11:06:13mrpeters-isl_i assume i need to do the same for OpenSRF
#11:06:31dbsyup
#11:06:38dbs(or at least I would suggest that)
#11:08:06mrpeters-isl_ok. i'll just go with re-running it for debian-squeeze at the versions we're currently on
#11:09:09mrpeters-isl_ attempts to upgrade 20 machines in 4 days...yay!
#11:09:46tsbere attempts to juggle way too many things in his head, and thinks he may be failing
#11:11:15gmcharltmrpeters-isl: for the moment, try going with the 2.0 deps from the Makefile
#11:14:27mrpeters-isl_gmcharlt: yep -- good to go
#11:14:34mrpeters-isl_apache is happy now
#11:14:48mrpeters-isl_upgrade from xen 3.2 > 4.0 is a bit painful
#11:14:57Dyrconaanyone have an example of using a CStoreEditor->search_some_object with a join?
#11:15:06mrpeters-isl_but we will crank through the rest now that we found the links
#11:15:10mrpeters-isl_errr kinks
#11:15:18Dyrconabonus points for search_biblio_record_entry
#11:17:14dbsmrpeters-isl: don't link to your kinks, please
#11:18:15tsberehttp://egdev.mvlcstaff.org/Parts_and_Sub-Parts < Any thoughts?
#11:18:28dbsDyrcona: my $scaps = $editor->search_serial_caption_and_pattern([{"+siss" => {"id" => $issuance_id}}, { "join" => {"siss" => {}} }]); from O:A:Serial.pm ?
#11:18:46Dyrconadbs++
#11:18:55dbsack++
#11:22:01Dyrconaooh. this'll be fun to get working. I'm going to be joining bre, acn, acp, ascecm, asce, and mfr!
#11:22:19youdonotexist has joined #evergreen
#11:23:40tsbereGonna do any fleshing of extra pieces while you are at it? ;)
#11:23:58DyrconaNo, I just want the bre objects to update their marc.
#11:24:31Dyrconagonna change the leaders of those that DO NOT have marc type r to have marc type r.
#11:25:03dbsDyrcona: huh. I would probably either go with json_query or simplify it by defining a view and adding that to fm_IDL - but I don't touch much of that sort of thing
#11:25:27dbsDyrcona: oh, this is for a one-off script?
#11:25:42dbs would just go with nice, clean SQL in that case :)
#11:25:45Dyrconadbs: yeah. I'm considering doing the json_query, since I know how to do that.
#11:26:12dbs has shared "nice, clean SQL" for clean-up purposes - what a joke
#11:26:12DyrconaI find its easier to manipulate the marc in Perl.
#11:26:39Dyrcona enjoys a challenge.
#11:26:46dbsDefine a plperl function :)
#11:27:10gmcharltdbs++
#11:27:37Dyrconaplperl, not for a one-off. :)
#11:28:10Dyrconaor do you mean something to change the marc type of a record given the id and the new marc type?
#11:29:52Dyrcona keeps most of his one-offs around, because he invariably ends up doing something very similar with different parameters later.
#11:29:57jeffoh wait, maintain_control_numbers does nothing related to the 901$c. i was mis-remembering.
#11:30:18jeffevergreen.maintain_901 on the other hand...
#11:31:25dbs misses context for jeff's mis-remembering, but knows that malformed MARCXML really angers the MARC::Record-based triggers, in a bad way
#11:32:04tsberegigo, but where the go part is a crash?
#11:33:34jeffyeah, and since the db handles 901 mangling, the exporter stopped doing it, and thus i have the situation i'm in now. :-)
#11:33:41jeffokay, theory confirmed.
#11:34:25jeffi think the short term fix will be to restore the 901 mangling in OpenILS::WWW::Exporter
#11:35:41jeff(locally)
#11:36:20jeffdbs: "in a bad way" resulting in a crash like tsbere guessed, or just "complete failure to perform the trigger's intended task"?
#11:37:11dbsjeff: rollback of any transaction touching biblio.record_entry
#11:38:33dbsthus the whackjob SQL updates that I've posted - because it sucks when you're trying to update a batch of records to, say, change a proxy address and your update of 100,000 records gets rolled back because one of the records has a tag like "0-9"
#11:38:46jeffyeah.
#11:39:22jeffokay, so next step is to look at some of these 901$c missing or incorrect records and see what fun we have.
#11:40:37jeffdbs: as long as the updated record isn't broken marcxml, you're able to fix things -- no need to disable triggers during the fixing, right?
#11:40:57dbsjeff: right
#11:41:27jeffind2="" is bad, right?
#11:41:30dbsright
#11:41:45jeffyeah, okay. now i have something to work with. :-)
#11:41:46jeffdbs++
#11:41:57dbs will pull together the sets of SQL that he has run on his testing server to address a bunch of issues we have run into...
#11:42:25jeffupdate value.copynotes set title = 'COST' where upper(title) in ('"COST"','COST ',' COST','CCOST','COPY','COPY ','OST','COS','OCST','CSOT','COCST','COAT','COAR','COSY','COSTS','CST','CPST','CPOST','CIST','COPY NOTES');
#11:44:07rogan has joined #evergreen
#11:48:09jeffyeah, 78384 bre records where marc like '%ind1=""%' or marc like '%ind2=""%'
#11:51:59tsbere probably would have done that as where marc like '%ind_=""%'
#11:53:02jeffgood point. i initially ran my query with * instead of %, and wondered why i got nothing back :P
#11:54:23tsberealt: marc similar to '%ind(1|2)=""%'
#11:56:15dbs put spaces around the the start and end of ind and the quotes for good measure
#11:56:31jeffindeed
#11:58:23dbssome simple, dumb examples: http://pastebin.com/5eqCWGz2
#11:59:16dbskind of an iterative process; you'll have empty tags, empty codes, invalid tags (non-alphanums, single char)....
#12:00:38ElliotFriend has joined #evergreen
#12:01:53ElliotFriendDoes Evergreen 2.1.1 still use cgi-bin/config.cgi to configure things like Consortium name, Library branches, etc?
#12:03:59jeffI don't see anything in the upgrade scripts for 1.6 to 2.0 nor 2.0 to 2.1 that would trigger a maintain_901 on existing records. Would records lack a maintained 901 field until they were updated via some other process, or am I missing something that would take place during the upgrade?
#12:06:44tsbereElliotFriend: No. Admin->Server admin menus in the staff client, or direct DB queries for the brave ;)
#12:07:13dbsjeff: same sort of problem that we ran into with authority records
#12:07:39ElliotFriendtsbere: So simple!!! Thanks :)
#12:08:16dbsElliotFriend: does the documentation you're using still refer to the config.cgi stuff?
#12:09:26ElliotFrienddbs: No. config.cgi was the only thing I could find in any eg documentation that discussed Oganization info. I was only looking in the administrative stuff, though. Could be somewhere else
#12:21:58tsbere comments on berick's address notification bug there
#12:22:58ElliotFrienddbs: Looking back at the README, it does mention cgi a couple times. Once under "Creating the evergreen database", and a second time under "starting evergreen"
#12:24:21dbsElliotFriend: you're right. I know we've discussed exterminating those scripts before. Can't remember whether we just forgot to or if there actually is a reason to keep them around
#12:34:00tecoripa has joined #evergreen
#12:34:12AaronZ-PLS has quit IRC
#12:34:49Meliss has joined #evergreen
#12:35:14tecoripaI have a question (or several) about exposing backend methods in javascript
#12:35:35tsbere will assume that one question will turn into 10 there
#12:35:57tecoripaI want to have a mthod in stat_cat_editor.js that retrieves a default stat cat entry for an org_unit
#12:36:04tecoripaa signature like this:
#12:36:19tecoripaentry.default(org_unit, [entry])
#12:36:37tecoripawithout the entry param, it retrieves the default entry for the org_unit
#12:36:46tecoripawith the optional entry param, it will set it
#12:37:08tecoripathis will be a virtual method: there's no default column in the entry tabel
#12:37:39tecoripaI'm hazy on how methods are exposed to the hjavascript from the backend
#12:38:19tecoripaI've seen how a set of standard CRUD methods is made available for objects that are directly tied to columns
#12:38:39tecoripabut extra functiuons, not tied so closely to the object database model?
#12:39:05tecoripawhat would be most helpful for me is an example of another object that does the same kind of thing
#12:39:24tsbereThe editor tends to do writes via Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/StatCat.pm based functions
#12:39:32tecoripai.e., expose a method that has no DB counterpartm, but rather, performs several functions on the backend
#12:40:06tecoripaso the functions in StatCat.pm that are registered will magically be available in the javascript?
#12:41:07tsbereLook at the top of stat_cat_editor.js. You will see a collection of variables starting with SC_ that define calls to backend functions. TYPE and/or PCRUD are swapped out for asset or actor where needed.
#12:41:24tecoriparight, saw that...
#12:41:39tecoripaI missed the SC_* variables, though
#12:41:59tecoripaso that's the glue that will tie javascript methods to the perl StatCat.pm methods?
#12:42:11tsbereBasically
#12:42:22tecoripagreat, that helps tremendously
#12:42:42tecoripathanks again, Thomas!
#12:46:02youdonotexist_ has joined #evergreen
#12:46:15tecoripa has left #evergreen
#12:47:25youdonotexist_ has quit IRC
#12:48:19youdonotexist has quit IRC
#12:49:21AaronZ-PLS has joined #evergreen
#12:53:55pmpcat has joined #evergreen
#12:54:30matt_carlson has joined #evergreen
#12:54:36Dyrcona has quit IRC
#12:55:00Dyrcona has joined #evergreen
#12:55:14Dyrcona lols.
#12:56:05plux has quit IRC
#12:56:40plux has joined #evergreen
#12:57:45plux has joined #evergreen
#12:58:55matt_carlson has quit IRC
#13:11:46plux_ has joined #evergreen
#13:13:35jeffdavis has quit IRC
#13:20:47tsbere pokes phasefx about https://bugs.launchpad.net/evergreen/+bug/884773
#13:22:23mrpeters-isl_ has quit IRC
#13:23:19phasefx makes the pillsbury dough boy sound
#13:25:37plux has left #evergreen
#13:26:44phasefxtsbere: top 4 commits? I'll definitely poke tomorrow, wearing a different hat now
#13:27:52tsberephasefx: Yea.
#13:30:52plux has joined #evergreen
#13:35:50plux has quit IRC
#13:35:51plux_ is now known as plux
#13:36:20plux1 has joined #evergreen
#13:39:03plux1 has joined #evergreen
#13:40:05plux1 has joined #evergreen
#13:55:25asimon_ has joined #evergreen
#13:58:54asimon_I've upgraded a working 2.0.9 system to 2.1.1. When I try to log in with a newly created staff user (with the STAFF_LOGIN permission set), I get a PERM_FAILURE log entry.
#13:59:07asimon_The admin user can log in without any problems. Ideas?
#13:59:23mtate has quit IRC
#13:59:29gmcharltasimon_: does the staff user have any working locations?
#13:59:31dbsasimon_: staff member also has a work ou?
#13:59:49gmcharltdbs: outta my head, please!
#13:59:54gmcharlt;)
#13:59:58dbsjinx!
#14:00:20rangivulcan mind meld
#14:00:36dbsAn error message that says "This user has not been assigned any working locations." would be a nice enhancement :)
#14:01:14mtate has joined #evergreen
#14:02:00youdonotexist has joined #evergreen
#14:03:36asimon_* Problem solved: The default group STAFF_LOGIN permission was not set at the Consortium level. Changing that fixed the problem.
#14:03:52gmcharltasimon++
#14:06:52plux has quit IRC
#14:11:22dbs-= THIS MESSAGE NOT LOGGED =-
#14:13:47Dyrcona-= THIS MESSAGE NOT LOGGED =-
#14:15:35dbs-= THIS MESSAGE NOT LOGGED =-
#14:15:47dbs-= THIS MESSAGE NOT LOGGED =-
#14:15:51jeffdavis has joined #evergreen
#14:19:10tspindler has quit IRC
#14:20:08asimon_ has quit IRC
#14:20:42matt_carlson has joined #evergreen
#14:21:11Dyrconahttp://pastebin.com/9H2nYPKj
#14:21:51Dyrconawonder if anyone knows off the top of their head what might cause that when creating marc records from bre->marc?
#14:25:37tsberetruncated fixed fields, I would assume
#14:33:38dbs pushes https://bugs.launchpad.net/evergreen/+bug/891171 - yay
#14:33:44Dyrconayeah. turns out I messed up the leader.
#14:33:52dbsNow on to coffee, and thence on to librarianship
#14:33:52Dyrconaall better now.
#14:38:38DyrconaI do get some weirdness when joining bre => mrd with a filter on mrd.item_type.
#14:38:50Dyrconabut fixed that by specifying join columns.
#14:39:15Dyrconahow's that for non sequitur?
#14:44:35dbs@later tell berick updated http://evergreen-ils.org/dokuwiki/doku.php?id=dev:opac:template-toolkit a bit to reflect death of oils_web.xml / examples of hostname-based skinning - probably better ways to skin that cat (hah) but works++
#14:44:35pinesol_greendbs: The operation succeeded.
#14:45:34berick@later tell dbs dbs++
#14:45:34pinesol_greenberick: The operation succeeded.
#14:45:41berick;)
#14:54:07dbsright on
#14:54:19matt_carlson has quit IRC
#14:55:09kmlussier has joined #evergreen
#14:56:15matt_carlson has joined #evergreen
#15:02:58DyrconaIf anyone is looking at branches with new functionality for master, I find this one very useful:
#15:03:00Dyrconahttps://bugs.launchpad.net/evergreen/+bug/888572
#15:19:21matt_carlson has quit IRC
#15:33:35rogan has quit IRC
#15:53:32plux1 has quit IRC
#15:55:33Meliss has quit IRC
#16:06:20ElliotFriend has quit IRC
#16:06:32ElliotFriend has joined #evergreen
#16:06:44ElliotFriend_ has joined #evergreen
#16:30:32collum has quit IRC
#16:30:36akilsdonk has joined #evergreen
#16:41:08_bott_ has quit IRC
#16:41:39_bott_ has joined #evergreen
#16:54:37ElliotFriend_ has quit IRC
#17:02:00youdonotexist has quit IRC
#17:02:06youdonotexist_ has joined #evergreen
#17:08:50tlilleberg has quit IRC
#17:17:54pmpcat has quit IRC
#17:18:50Dyrcona wrote OILS.pm and started adding things to CronScript.pm, only to discover oils_header.pl.
#17:19:34jeffheh
#17:20:45dbsDyrcona: yeah, atz's intention for Cronscript.pm was to provide a home for the stuff that was rather grossly stuck in oils_header.pl (I think)
#17:21:09Dyrconadbs: Well, I'll pick up the torch.
#17:21:16jeffDyrcona++
#17:21:19dbsDyrcona++
#17:26:25jamesrf had the theme to chariots of fire pop into his head upon reading that
#17:26:27AaronZ-PLS has quit IRC
#17:29:13kmlussier has quit IRC
#17:29:56Dyrcona laughs and disappears slowly until the last to fade is a wide grin suspended in space.
#17:30:00Dyrcona has quit IRC
#17:31:17csharpDyrcona++
#17:45:05jenny has left #evergreen
#17:49:21akilsdonk has quit IRC
#17:54:56matt_carlson has joined #evergreen
#18:03:10dbs has quit IRC
#18:03:42youdonotexist_ has quit IRC
#18:05:32youdonotexist has joined #evergreen
#18:29:16mdevilz has quit IRC
#18:37:28dbs has joined #evergreen
#18:37:28dbs has joined #evergreen
#18:40:16StephenGWills has left #evergreen
#18:40:19mrpeters-isl has quit IRC
#18:50:57matt_carlson has quit IRC
#18:57:21Dyrcona has joined #evergreen
#18:57:56yboston has quit IRC
#18:58:22DyrconaI can't find anything that ships with Evergreen that uses CronSript.pm, so I feel kind of safe in making a change to its behavior as regards the session method.
#18:59:03DyrconaCurrently, it stores the session that was first created on the CronScript instance which prevents you from using session to create any new sessions.
#18:59:32DyrconaI want to change it so that the session is no longer stored, so you can use session for different services.
#18:59:45DyrconaAnyone have any objections?
#19:01:49dbsUmm, there are definitely things using Cronscript
#19:02:37dbsedi_fetcher, the Configure module (which underpins autogen.sh now), various tests
#19:02:53dbs"ack Cronscript Open-ILS/src"
#19:03:01dbs(maybe your camelcase threw you off ?)
#19:04:37Dyrconaah, maybe.
#19:07:20dbsIn any case - I'm +1 for making the move that you've suggested, but with careful testing :)
#19:08:58Dyrconadbs: so far I don't see anything that calls session more than once, but I'm still looking.
#19:09:25Dyrconamost do Cronscript->new()->session() and use the session directly.
#19:09:38dbsDyrcona: yeah, I think your function was the only one I ran across, and that's why you worked around it right?
#19:09:52dbs(err, yours wanted to but needed to work around it)
#19:10:37Dyrconadbs: Yeah, cause I missed the "set once" behavior of $self->{session} ||= OpenSRF::AppSession->create
#19:11:23Dyrconaby eliminating, the $self->{session} ||= we can use the session method as often as we want.
#19:12:45dbsDyrcona: I know
#19:16:00Dyrconadbs: It looks safe to make the change. Nothing calls Cronscript->session() without an argument.
#19:16:53dbs wonders whether tsbere or gmcharlt know how to poke http://git.evergreen-ils.org/gitstats/Evergreen/ to get it to generate actual up-to-date stats
#19:17:13tsbereI *can* poke it. Not 100% sure I know how.
#19:19:03tsbereLooks simple enough
#19:19:04dbswhoa - I had no idea North Bay Public Library migrated to Evergreen: http://www.esilibrary.com/esi/newsitem.php?id=2179
#19:19:18dbsgotta get the esilibrary news feed working again in planet!
#19:19:24gmcharltdbs++
#19:19:36gmcharlttsbere: unless you're buried in it already, I can poke gitstats
#19:19:49tsberegmcharlt: I may be done with Evergreen's
#19:19:53tsbere was about to check if it looks updated
#19:20:07gmcharlttsbere: very good, carry on
#19:20:07dbsThe ESI newsfeed had been totally toasted, will see if it's fixed...
#19:20:33tsbereLooks like I did evergreen correctly
#19:20:38tsbere hits OpenSRF while he is at it
#19:21:12dbstsbere++
#19:21:23dbs sees no RSS or Atom feed in http://www.esilibrary.com/esi/newsitem.php?id=2179 source
#19:21:42youdonotexist has quit IRC
#19:22:40dbs pulls http://esilibrary.com/esi/news.rss from ohloh.net
#19:23:58tsbereHmmm
#19:24:11tsbereis the gitstats not auto-updating, or were we just looking for "as of today" stats?
#19:24:49dbstsbere: it claimed to be auto-updating, but it wasn't actually showing any changed stats since mid-October
#19:25:03tsbere wonders why the cronjob wasn't running, then
#19:26:47dbs(by "pulls" I mean "copies")
#19:27:22dbstsbere: what I see on my copy of gitstats/Evergreen was "Generated: 2011-11-30 01:10:28 (in 27 seconds)"
#19:27:55dbs"Report Period: 2005-02-04 17:08:15 to 2011-11-23 15:14:32"
#19:28:23dbshuh, now it says "Report Period: 2005-02-04 17:08:15 to 2011-11-16 09:48:11"
#19:29:02tsberedbs: AHA
#19:29:15tsbereThe end date on the report period is the last AUTHOR date. Not the last COMMIT date.
#19:29:29dbsOkay, that makes sense
#19:29:40tsbereSo when you merge something from, say, mid-october, and that is the last commit...
#19:30:14dbsbut http://git.evergreen-ils.org/gitstats/Evergreen/authors.html was showing Author of Month going up to 2011-09, with nothing in 2011-10 or 2011-11
#19:30:22tater-laptop has joined #evergreen
#19:30:36tsbereOk
#19:30:45dbsnow it goes to 11!
#19:31:00tsbere told gitstats to start writing the cronjob output to files (overwriting each day) so that errors can be looked for later
#19:33:17dbstsbere++
#19:48:42tfaile has quit IRC
#20:39:13youdonotexist has joined #evergreen
#20:50:18Dyrcona push user/dyrcona/Cronscript-improvements to working.
#20:50:36Dyrcona will write up a launchpad bug tomorrow.
#21:15:00Dyrcona will write up a launchpad bug tomorrow.
#21:19:00 jeffDyrcona++
#21:42:00 Dyrconayeah, well, we'll see how it works tomorrow.
#21:49:00jeff scribbles talk proposals on the back (well, front) of a napkin (well, PDF)
#21:50:00 rangiman you guys are slackers on saturdays
#21:50:00 rangi:-)
#21:50:00 rangihttp://git.evergreen-ils.org/gitstats/Evergreen/activity.html#day_of_week
#21:52:00 rangihttp://git.koha-community.org/stats/koha-master/activity.html#day_of_week <-- so are we
#21:56:00 gmcharltrangi: Saturday is when we all do our design work
#21:56:00 gmcharltright? ;)
#21:57:00 gmcharltright? ;)
#21:58:00 jeff:-)
#21:59:00 rangiits all day scrumm meetings, with chickens and pigs and stuff
#22:07:00Dyrcona is going to sleep to dream up designs for new features.
#22:07:00Dyrcona is going to sleep to dream up designs for new features.
#22:08:00 senatormy saturdays usually have chickens and pigs, but less development and more bbq pit
#22:16:00 jeffhrm. evergreen-ils.org appears down.
#22:18:00 jeffrather, web services on.
#22:42:00 tsberejeff: Seems to be dead-dead. :(
#22:42:00 tsbereNo ssh response either
#22:43:00jeff aims the csharp signal at the underside of a nearby cloud
#22:44:00tsbere was firing up traceroute as a "just in case something else is going on" test
#22:44:00 tsberetrace completes....but no SSH/HTTP. :(
#22:47:00 dbshttp://planet.evergreen-ils.org/ trucks on! but it's hosted on a different machine
< Tuesday, November 29th, 2011Raw Log FileThursday, December 1st, 2011 >