Evergreen ILS Website

IRC log for #evergreen, 2016-05-27

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
00:32 bmills joined #evergreen
00:59 [1]cfarley joined #evergreen
03:54 gsams joined #evergreen
07:05 agoben joined #evergreen
07:13 rjackson_isl joined #evergreen
07:16 bos20k joined #evergreen
07:27 JBoyer joined #evergreen
07:30 graced joined #evergreen
08:03 collum joined #evergreen
08:04 ericar joined #evergreen
09:10 JBoyer kmlussier++ # restoretruth
09:12 rhamby Should we have stickers with the Evergreen logo that say "Restore Truth to the Login Screen"?
09:14 Dyrcona joined #evergreen
09:18 JBoyer Depends on how far down the in-joke rabbit hole we want to take our swag, I suppose. :D
09:22 terran joined #evergreen
09:24 jeff There may come a day when I find and fix a bug without tripping over additional bugs, but today is not that day.
09:25 bos20k Hello. I am working on a test server where I basically installed the same version of Evergreen 2.9 over itself again after upgrading Ubuntu.  Now I am getting an internal server error and seeing this in the Apache log:
09:25 bos20k May 27 09:22:17 maul apache2[1268]: [perl:error] [pid 1268] [client 10.1.99.151:51245] egweb: Context Loader error: Can't locate object method "search_asset_copy_location_group" via package "OpenILS::Utils::CStoreEditor" at /usr/local/share/perl/5.18.2/O​penILS/WWW/EGCatLoader/Util.pm line 648.\n
09:25 jvwoolf joined #evergreen
09:26 bos20k Any ideas?  I was looking at the Perl modules and I am not seeing a problem compared to a production machine that is working.
09:27 jeff bos20k: my immediate suspicion is that your fm_IDL.xml file is invalid.
09:29 jeff if you don't have xmllint installed, you can install it with: apt-get install libxml2-utils
09:30 jeff then you can check to see that your fm_IDL.xml file is valid XML:
09:30 bos20k jeff: fm_IDL.xml is identical to working production
09:30 jeff xmllint --noout /openils/conf/fm_IDL.xml && echo OK
09:30 jeff okay, on to the next suspicion, then! :-)
09:31 bos20k jeff: checked it with xmllint anyway and it is good
09:31 jeff see if all of your services are properly running -- if you use the default "localhost" method and don't declare individual hosts in opensrf.xml, you'd use: osrf_control -l --diagnostic
09:33 jeff all of the lines of output should have a process id, uptime, and cputime. other than the lines for the routers, services should also have a count of drones, like this:
09:33 jeff * open-ils.search          [26283] uptime=16:56:41    cputime=00:00:00    #drones=1
09:34 jeff everything look reasonable there, or do you have some lines that indicate something amiss?
09:34 jeff like:
09:34 jeff * ERR open-ils.booking Has PID file entry [26259], which matches no running open-ils.booking processes
09:34 jeff or:
09:34 jeff * open-ils.booking         is not running
09:34 bos20k jeff: no errors there
09:34 yboston joined #evergreen
09:35 jeff (booking was just a sacrificial service on a handy test system to get the output samples -- don't focus on that service in particular)
09:35 bos20k all seem to be running
09:36 Dyrcona booking isn't required anyway, unless you're using it.
09:36 bos20k just got another error on the console where I started things:
09:36 bos20k actorauth_proxyCouldn't draw /openils/var/web/reporter/4682/266​26/86689/report-data.html.bar.gif : No attribute 'shading'
09:36 bos20k No data sets or points at /openils/bin/clark-kent.pl line 800.
09:36 bos20k Couldn't draw /openils/var/web/reporter/4569/251​88/87096/report-data.html.bar.gif : No attribute 'shading'
09:36 bos20k No data sets or points at /openils/bin/clark-kent.pl line 800.
09:36 jeff bos20k: I've seen similar errors to those you report when a particular Perl file has a syntax or other error. I'm not remembering the most common culprits, so I'm going to suggest a restart in a particular way:
09:37 jeff stop apache, using whatever you'd normally use, like "service apache2 stop"
09:37 jeff stop opensrf services, using something like osrf_control -l --stop-all
09:37 jeff (you need to stop apache as the root user, and stop opensrf services as the opensrf user)
09:37 bos20k Both done
09:37 jeff then (as the opensrf user) start opensrf services with osrf_control -l --start-all
09:38 Dyrcona bos20k: On the server, you can run perl -c /usr/local/share/perl/5.18.2/O​penILS/WWW/EGCatLoader/Util.pm to check the syntax of that file.
09:38 jeff (again, the -l is common but you might not use it if you define individual hostnames in your opensrf.xml file -- you'll probably know if you do)
09:38 jeff now, before starting apache, use osrf_control -l --diagnostic
09:38 jeff ensure that everything appears to be up there
09:38 Dyrcona bos20k: Then I'd run perl -c /usr/local/share/perl/5.18.2/​OpenILS/Utils/CstoreEditor.pm
09:39 jeff (and yes, please take a moment either now or after starting apache to check what Dyrcona is suggesting)
09:39 Dyrcona If it isn't the IDL, then my suspicion is the latter file has a syntax error.
09:39 bos20k Oh my goodness.  I am so sorry for wasting your time.  I completely forgot about that - Apache needing to be started AFTER Evergreen...
09:39 Dyrcona But it wouldn't even load then.... hmmm...
09:40 Dyrcona Oh, that might do it, too. :)
09:40 jeff bos20k: ah, that fixed it, then?
09:40 bos20k Not enough sleep last night.
09:40 bos20k jeff: yup
09:40 Dyrcona bos20k++
09:40 * bos20k will just step away from the keyboard now. Too tired to continue...
09:40 bos20k :)
09:41 jeff great! now you've also gained some new techniques, and we've freshened our troubleshooting skills in terms of what to have people check first :-)
09:50 Dyrcona Oh, man. My laptop is asking me to restart after an update..... BBIAB.
09:53 Dyrcona joined #evergreen
09:58 Dyrcona jeff++
09:59 Dyrcona jeff: So, turns out that more or less what you described for clearing the cache on an Android phone worked on mine. It's on Android 5.0.1.
10:02 jeff ah, good deal.
10:02 Dyrcona Yep, freed up 5.5GB of space in one swoop.
10:03 Dyrcona I guess caches can build up over 3 years.... :)
10:03 jeff Marshmallow introduces the ability to "adopt" the SD card as internal storage, which seems like it has a lot of advantages, as long as you have a decently fast SD card and you don't mind formatting it (and losing the ability to use it in other devices)
10:03 jeff oh, not bad!
10:03 jeff you've probably got a decent bit more room now.
10:04 Dyrcona That's cool. I use the SD Card with the apps that support it.
10:04 Dyrcona yeah, the internal stoage is 16GB and I have 64GB SD Card.
10:04 Dyrcona I suppose I could move more apps to the SD Card.... What I said before isn't strictly true.
10:05 Dyrcona I moved my default file locations for pictures and most documents to the SD Card.
10:10 jeff if you've got 5.5 GB free you're not in a tough spot right now. i wouldn't worry about it much. i have... <500 MB free and will likely look into a new SD card that's fast enough to adopt without too much risk of killing performance. :-)
10:23 Bmagic_ Im here at a training, bringing a new library on. I want to impress them here in the room. A qustion "Is there a reason the Actions for this record/selected rows menu items are apparently not in any paticular order?"
10:24 * bshum thinks they're in the order they were added to the menu, in certain cases
10:24 phasefx organic
10:25 phasefx some thought process originally, I think, with menu entry dividers
10:26 Bmagic_ thanks!
10:27 phasefx in webby, it's much different
10:27 Bmagic joined #evergreen
10:31 phasefx Bmagic: in webby, it's much different
10:31 Bmagic gotcha, so, the dev server you are hacking on with the web client, has changes to the xul client menu order?
10:31 jeff Can't locate diagnotics.pm in @INC (you may need to install the diagnotics module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at test.pl line 4.
10:32 jeff alas, the "use diagnostics" pragma can't help with this error.
10:35 Dyrcona In Soviet Webby, menu adds you!
10:36 bshum Dyrcona++ # haha :)
10:36 phasefx Bmagic: no, no changes to the xul client menu order anywhere that I'm aware of.  Just that the web-based staff client equivalent is way different
10:36 * Dyrcona was about to say that's what I thought phasefx meant.
10:37 Bmagic I see, I agree. we have been showing people how to use the web based staff client.
10:41 rlefaive joined #evergreen
10:55 barbara joined #evergreen
11:00 * Bmagic waves at rlefaive
11:05 rlefaive Hi Bmagic!
11:37 bmills joined #evergreen
11:43 jvwoolf joined #evergreen
11:47 bos20k joined #evergreen
12:01 jeff Is anyone here presently aware of anyone making use of the (unfortunately spelled) patron_calculate_recal_ok SIP option?
12:04 brahmina joined #evergreen
12:09 jeff oh, right -- found bug 1093883
12:10 pinesol_green Launchpad bug 1093883 in Evergreen "SIP recall_ok test always returns false" [Wishlist,Fix released] https://launchpad.net/bugs/1093883
12:29 jihpringle joined #evergreen
13:01 ericar joined #evergreen
13:06 sandbergja joined #evergreen
13:09 kmlussier joined #evergreen
13:21 Dyrcona Wow. Haven't thought about that bug in a while.
13:22 kmlussier @weather
13:22 pinesol_green kmlussier: Seekonk, MA :: Partly Cloudy :: 72F/22C | Friday: Sunshine and clouds mixed. High 79F. Winds S at 10 to 20 mph. Friday Night: Partly cloudy. A stray shower or thunderstorm is possible. Low 63F. Winds SSW at 10 to 15 mph.
13:24 Dyrcona jeff: Is it causing you an issue, or are you just curious?
13:25 Dyrcona @weather 01845
13:25 pinesol_green Dyrcona: North Andover, MA :: Clear :: 78F/26C | Friday: Mostly sunny. High 82F. Winds SSE at 5 to 10 mph. Friday Night: Partly cloudy. A stray shower or thunderstorm is possible. Low around 65F. Winds SSW at 5 to 10 mph.
13:26 kmlussier miker / gmcharlt: If the issue I found while testing 1549505 is unrelated to the activity metric code, should it be posted in a separate branch so that it can be backported?
13:27 miker kmlussier: we could create a separate patch for backporting, but the patch in that branch does touch code that is also touched by activity metric
13:27 gmcharlt what mike said
13:28 kmlussier OK, thanks! I'm going to try out the new branch now.
13:28 gmcharlt in particular, the DB update can't just be cherry-picked
13:46 jeff Dyrcona: no issue, the spelling caught my eye and I was curious about the use case. The bug answered my questions.
13:47 Dyrcona jeff: Cool. I was just curious.
13:59 jeff i pulled at one too many SIP threads and now I find myself on the phone with a vendor asking them questions about their product's changed behavior
14:09 jeff they had no answers for me. i tought them a few things. i devised my own theory and test plan.
14:15 mdriscoll joined #evergreen
14:22 kmlussier Dyrcona: I just stumbled across this comment while preparing for Bug Squashing Day. https://bugs.launchpad.net/ever​green/+bug/1501781/comments/38
14:22 pinesol_green Launchpad bug 1501781 in Evergreen "Patron name search should be diacritic-insensitive" [Wishlist,Confirmed] - Assigned to Terran McCanna (tmccanna)
14:22 kmlussier Is that something you still want to discuss? If so, I can add it to the draft agenda for our next dev meeting.
14:22 kmlussier There are a couple of things I want to add there anyway for myself
14:23 Dyrcona Yes, I think we should discuss it.
14:23 Dyrcona Whether that is considered a bug fix or not, I think it does things that we should not backport.
14:24 Dyrcona Also, I want to experiment with using Text::Unaccent::PurePerl because I think it does something that the database solution does not.
14:24 kmlussier Dyrcona: For that particular bug, I didn't see any dissenting opinions on it being a new feature. So I think we're good there.
14:24 Dyrcona I just haven't found time to look into it.
14:24 kmlussier Dyrcona: Are you saying we should hold off on testing it?
14:26 Dyrcona kmlussier: Go ahead and test it. What I see is the unaccent Pg extension doesn't actually unaccent Greek or Cyrillic characters, but I think Text::Unaccent::PurePerl does unaccent Greek.
14:26 Dyrcona I was thinking of running the Perl tests using Text::Unaccent::PurePerl just to see what output we get.
14:27 Dyrcona gmcharlt shared something from Github that, IIRC, updates the unaccent database extension so it handles Greek characters.
14:28 Dyrcona I guess if anyone wants to, they can remove the pullrequest tag. I won't be disappointed. I can't speak for dpearl.
14:29 Dyrcona I'm OK with it as it is, is what I'm saying.
14:29 Dyrcona y'know how it goes, you think you'll do something real-soon-now and next thing you know its two months later.
14:30 Dyrcona Or more.
14:32 Dyrcona I intended to look at during or just after the conference.
14:33 kmlussier Dyrcona: Yup. I know how it is.
14:33 * kmlussier stares at the remaining to-do list items for things that were supposed to be done by the end of today.
14:33 terran I signed up to test it for bug squashing day, but I can hold off if there's not a concensus
14:37 terran oh wait, I'm not sure I really understand enough of the implications to fully test anyhow
14:39 * terran realizes she can't spell consensus, either
14:39 Dyrcona Well, basically, if you have a patron with diacritics in the name, you can't find them unless you enter diacritics in the search.
14:40 kmlussier terran: Ha ha ha. IMO, it improves the software, so is fair game for testing.
14:40 Dyrcona The point of patch is to strip the diacritics when searching.
14:40 Dyrcona Basically, so something like Frederick matches Frédérick.
14:41 * Dyrcona seems to be omitting random articles in his typing today.
14:42 bmills joined #evergreen
14:42 * Dyrcona triple checks his script to run for this weekend's patch update for typos.
14:43 terran I'll keep my name on there for testing then, but everyone else feel free to jump in :)
14:46 terran If it can solve the problem of odd spacing and apostrophes in names, then it will be hugely useful for us in Georgia.
14:46 kmlussier terran: And hugely useful for us everywhere else too! :)
14:48 Dyrcona I'm not sure it does anything with apostrophes or odd spacing. I'd have to look again.
14:48 terran I haven't looked at the code - just based that on the initial report
14:49 kmlussier I was hoping it would do something with hyphens. My recollection is that it does indeed handle odd spacing issues.
14:49 terran From experience, I'd say we have more issues with spacing and apostrophes than diacritics because staff don't usually enter the names with the diacritics. Although, with more people using self-registration, this will probably change.
14:51 terran kmlussier: hyphens would be great, too
14:52 kmlussier OK, devs, we're ahead of schedule this month! Draft agenda for next week's meeting at http://wiki.evergreen-ils.org/dok​u.php?id=dev:meetings:2016-06-01
14:52 terran kmlussier++
14:52 kmlussier I'll send a reminder out to the dev list.
14:53 kmlussier But I first want to make sure key people can make it.
14:53 kmlussier Particularly if their name is on the agenda. Or if they are an RM that might be reporting on 2.11
14:53 * terran is watching a LibraryAware webcast and the have a Kathy Lussier too
14:54 kmlussier terran: Is that the Kathy Lussier from Novelist?
14:54 terran kmlussier: yeah
14:54 kmlussier I've been following her career through my vanity Googling.
14:54 terran kmlussier: https://www.youtube.com/watch?v=bO-uoO4TWq8
14:55 kmlussier She used to be a spokeperson for Winn-Dixie years ago. And then I was shocked when I saw she made the jump to libraries.
14:57 terran kmlussier: Ha! I have yet to find another Terran McCanna.
14:57 terran kmlussier: Maybe she jumped to libraries after seeing your career progress!
14:57 * kmlussier thinks she gained a FB friend through mistaken identity too.
14:58 kmlussier terran: The funny thing is, I started off in communications before I was a librarian, so we have that in common too.
15:01 Dyrcona Cue the Twilight Zone music.....
15:07 terran Cousins, identical cousins
15:11 ericar joined #evergreen
15:19 * Dyrcona wonder if LP 1208875 applies to 2.10.
15:19 pinesol_green Launchpad bug 1208875 in Evergreen "OPAC: My Account: Download Checkout History CSV breaks when there are a large number of items in the history" [Medium,Confirmed] https://launchpad.net/bugs/1208875
15:21 Dyrcona Guess I can check that next week.
15:24 jeff I'd like to start using SIP2 AF messages for more things (we use them for a friendly "we need to update your information, please come to the desk" for expired patrons), but it appears that our self checkout kiosks no longer display the patron screen messages when the patron scans their card.
15:24 jeff Best I can do it get them to appear on some receipts, and to appear if you've failed to auth with a pin.
15:24 jeff (and probably on success when using a pin, but also not helpful)
15:36 Stompro Interesting, our audit tables were never cleared out after our test loads, so they contain unrelated records with the same id numbers.  I wonder if that is an issue?
15:36 kmlussier gmcharlt: I see you've been assigned to bug 1437103 for a while. Are you still working on that one?
15:36 pinesol_green Launchpad bug 1437103 in Evergreen "unexpected popup dialogs appear at checkin" [Undecided,Confirmed] https://launchpad.net/bugs/1437103 - Assigned to Galen Charlton (gmc)
15:36 * kmlussier also wonders if she should remove the pullrequest tag on it.
15:37 gmcharlt yes and yes
15:38 JBoyer Stompro: The auditor tables are never consulted by the system (they're essentially write-only) so aside from causing serious staff confusion you don't have to worry about it. That said, you can also blow away everything with an audit_time > your go-live date and nothing will mind.
15:39 jeff @quote add <Jboyer> aside from causing serious staff confusion you don't have to worry about it.
15:39 pinesol_green jeff: The operation succeeded.  Quote #153 added.
15:39 JBoyer WHOA, HEY. Maybe if you want to wipe out the old entries, you should use audit_time < your go live date. They would not be very useful the other way 'round.
15:39 Dyrcona Stompro: We only keep a few of stuff in the auditor tables, 'cause some fill up quickly.
15:40 Dyrcona s/few of/few months of/
15:41 Dyrcona I have found the auditors handy when staff want to know what happened with a patron, or there's a question if a recent bib record update touched a certain record.
15:43 Stompro JBoyer, thanks, I was going to do a big series update, and having the old value as a "backup" is really nice.
15:57 gsams_ joined #evergreen
16:05 bmills joined #evergreen
16:10 kmlussier @quote random
16:10 pinesol_green kmlussier: Quote #47: "< Dyrcona> The latest Perl is dying post I've seen is in a discussion thread in the Emacs community on G+." (added by csharp at 03:11 PM, March 27, 2013)
16:10 Stompro Hmm, multiple tornades/cold funnels forming in town.  Fun.
16:10 kmlussier Stompro: I'm not sure we use the same definition for 'fun.'
16:13 JBoyer kmlussier, Stompro: I'm willing to bet that means he can stop working for a bit, maybe chill out in a hallway. Depending on the day that's fun enough. (I've had several of those lately.)
16:13 Stompro I'm in the basement already, so I can work right through a close hit.
16:13 JBoyer Hmm. Then I agree with kmlussier, no fun.
16:14 JBoyer (srsly though, I do hope everything is ok and minimal damage, etc.)
16:14 jeffdavis terran: I just pushed an additional commit to my working branch for bug 1576435, but now I see you have assigned yourself to that bug
16:14 pinesol_green Launchpad bug 1576435 in Evergreen 2.9 "Force "Include inactive patrons?" on patron reg duplicate search" [Medium,Confirmed] https://launchpad.net/bugs/1576435
16:15 Stompro They seem to be mostly harmless cold air funnels, nothing too big.
16:15 Stompro http://media.graytvinc.com/images/492*350/F​unnel+cloud+South+Moorhead+May+27+2016.jpg
16:16 kmlussier jeffdavis: For testing on Bug Squashing Day. We haven't set up the Sandboxes yet, so we'll be able to grab the new commit.
16:17 jeffdavis kmlussier: ah, perfect, I had hoped to test as part of Bug Squashing Day - I'll update the ticket
16:33 jvwoolf left #evergreen
16:44 terran Stompro: "harmless"?
16:44 terran Stompro: Be safe and good luck!
16:45 terran jeffdavis: I can give you that one if you want
16:45 Stompro terran, so far, they are just like big dust devils with no energy behind them, even when they touch down they don't do any damage.
16:47 terran I'm tornado-shy after living in Florida for 8 years. One smashed pieces of small aircraft through the ciner block walls of a library I worked at - fortunately, it was Christmas day, the only time campus was empty
16:47 Stompro They just gave the all clear, tornado warning lapsed. Yeah!!
16:47 terran Phew!
16:50 terran jeffdavis: to rephrase - I can send you the sandbox info once it's set up so that you can test your fixes on the web client too
16:53 jeffdavis terran: sure, that would be great, thanks
18:05 kmlussier Have a nice weekend #evergreen!
18:06 rlefaive joined #evergreen
18:16 kmlussier joined #evergreen
18:17 kmlussier docs.evergreen-ils.org appears to be down
18:17 kmlussier I need to run, but maybe somebody else has a moment to poke rsoulliere
18:17 * kmlussier leaves for real this time. :)
19:44 jeff Enough of mohawk is offline that I doubt it's worth trying to reach rsoulliere.
20:15 rlefaive joined #evergreen
21:16 jeff docs.evergreen-ils.org appears to be reachable again, presumably along with the rest of Mohawk College. :-)
21:26 bmills joined #evergreen

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat