Evergreen ILS Website

IRC log for #evergreen, 2021-07-26

| 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
01:10 akilsdonk joined #evergreen
06:00 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
07:33 rjackson_isl joined #evergreen
07:47 collum joined #evergreen
08:36 mmorgan joined #evergreen
08:40 mantis joined #evergreen
08:52 mmorgan1 joined #evergreen
09:03 Dyrcona joined #evergreen
09:23 jvwoolf joined #evergreen
09:33 alynn26 joined #evergreen
10:02 berick joined #evergreen
10:08 dguarrac joined #evergreen
10:18 jvwoolf joined #evergreen
10:25 mantis We've had a couple of libraries report issues on intermittent service for their self check machines.  We're on 3.5.4 and use OpenKiosk for the interface.  Any thoughts?
10:41 mmorgan mantis: Not sure why they would see problems in Evergreen selfcheck but not client and opac. Could there be connectivity issues?
10:49 berick mantis: any chance the kiosks are going long stretches of time without use?  the auth tokens could be timing out.
10:50 jvwoolf1 joined #evergreen
10:59 jeff we commissioned a new AMH last week. the mapping of shelving location to sort bin is... different, and a bit more annoying than the previous AMH.
10:59 jeff as such, I'm looking at moving that information into Evergreen and returning sort bin in the checkin response.
11:00 jeff this part of the protocol docs is amusing to me:
11:01 jeff "This field should contain a bin number that indicates how the items should be sorted. The maximum practical number of sort bins for a patron using 3M SelfCheck system is probably only 3 or 4, but many digits are allowed to accommodate some sort of fantastic sorting device using a hierarchical bin numbering scheme."
11:04 Dyrcona That's in the AMH documentation?
11:05 jeff That's in SIP2 Protocol Definition.pdf :-)
11:05 jeff (the SIP spec from 3M, Updated April 11, 2006)
11:05 berick heh
11:06 Dyrcona I missed that before, but I usually just go in looking for what I want at the moment.
11:07 Dyrcona Field CL... That might be a useful addition to Evergreen.
11:09 jeff previously we used a Google Sheets document and a perl script to generate our sort matrix XML (in two different formats, since we had returns using two different versions of the software)
11:10 Dyrcona 'ON CONFLICT DO NOTHNG'++
11:11 Dyrcona The above is nice for adding more settings to an existing script and just running it again. lazy++
11:12 jvwoolf joined #evergreen
11:18 mantis berick: I think the traffic with the self checks at one library is used pretty often but the other unsure; I could ask for more info
11:18 mantis mmorgan: I also thought it was a connectivity problem, too, with the machines
11:38 Dyrcona berick | csharp_: I'm working on Quipu integration, and I'm thinking of moving the barcode generation to open-ils.actor.generate_barcode, a new API. If you don't think that's a good idea, I wonder if it should go into AppUtils. I think this could be useful elsewhere in the future.
11:40 Dyrcona Funny how things that sound like good ideas (like adding an entirely new service) end up being cast aside when the rubber meets the road.
11:41 Dyrcona I think I'll add it to AppUtils as a function for now.
11:43 berick Dyrcona: either makes sense to me
11:43 berick or both, for that matter :)
11:46 Dyrcona Yeah. I'll start with a function in AppUtils. It would be easy to add an API later, if needed.
11:49 Dyrcona Also, wrapping an API around a utility function might present the opportunity to hide some implementation details.
12:02 mantis When scanning a barcode in, 'cannot read length of 'null'' comes up via console.  This only happens with some barcodes.
12:02 mantis ^sorry this is with the self-check interface
12:03 jvwoolf1 joined #evergreen
12:06 jvwoolf joined #evergreen
12:06 Dyrcona mantis: What code line?
12:11 Christineb joined #evergreen
12:12 jvwoolf1 joined #evergreen
12:19 jvwoolf joined #evergreen
12:25 jvwoolf1 joined #evergreen
12:30 mantis selfcheck.js:474
12:30 mantis There are few subsets ,too
12:34 collum joined #evergreen
12:36 collum joined #evergreen
12:39 berick mantis: hm, that code assumes a patron email will be reasonably formatted
12:39 berick mantis: i'm guessing this user has a funky email address
12:39 berick that code should be smarter, though
12:40 Dyrcona Maybe no email address at all.
12:40 mantis berick: Right she doesn't have an email associated with this account
12:40 mantis And our self check offers email receipts
12:40 berick mantis: any chance a value is present in the email field that's not a valid email address?
12:41 berick say, a blank space
12:41 mmorgan Does the selfcheck observe the email checkout receipts by default user setting?
12:42 mmorgan mantis: Does the patron have that preference set?
12:44 berick that line of code should probably read: https://gist.github.com/berick/5​53ebda254a15e363ca019a5fb8dcd21
12:44 mantis Ah the patron I'm searching says "no email"
12:46 mantis Thank you all kindly
12:46 mantis berick++
12:46 mantis mmorgan++
12:48 mmorgan mantis: We have the org unit setting ui.patron.edit.au.email.regex set to this for the consortium: "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}"
12:49 mmorgan So the patron record can't be saved unless the email field *looks* like an actual email address.
12:49 mantis We were able to do something with our user preferences to unrequire the email address field when the box is unchecked.
12:50 mantis But that's a great suggestion thank you
13:08 mmorgan1 joined #evergreen
13:28 Dyrcona The tedium of fixing minor logic/typographical errors.
13:48 berick @ana The tedium of fixing minor errors.
13:48 pinesol berick: Mixed truth if finer geronimo
13:48 mmorgan berick++
14:10 Dyrcona Bleh.
14:10 Dyrcona Non-obvious bugs.
14:16 mmorgan no see-ums
14:17 Dyrcona The actor.generate_barcode function seems to not work under certain circumstances that I have not figured out yet.
14:17 Dyrcona I get an undef barcode, but that should only happen if the length is too short, which it isn't.
14:19 Dyrcona Hmm... It is too short... That's odd.
14:19 Dyrcona ternary_opertator--
14:21 Dyrcona Tryna be too clever. It wasn't the db function after all, just my Perl code.
14:25 Dyrcona Grr.... It's still isn't working!
14:33 Dyrcona Give up on being clever and it works. :)
14:50 jvwoolf joined #evergreen
14:51 jvwoolf2 joined #evergreen
15:07 berick you know what they say, cleverness killed the c...  cantaloupe!
15:23 Dyrcona :)
15:23 Dyrcona I think that I sometimes forget to do git pull before make install, also, so my fix doesn't always end up on the test system.
15:51 Dyrcona Hrm... I got o eg/opac/home on my test VM and Chrome 92 complains about too many redirects. I add a trailing slash, and it loads then ends up at a 404.
15:52 Dyrcona Hmm. Maybe that's not quire right, either. It's loading without /, now.
16:01 jvwoolf2 left #evergreen
16:06 mmorgan @blame the clever cantaloupes
16:06 pinesol mmorgan: everything was going great until the clever cantaloupes came along
16:06 Dyrcona @band add The Clever Cantaloupes
16:06 pinesol Dyrcona: Band 'The Clever Cantaloupes' added to list
16:26 mmorgan1 joined #evergreen
16:42 mmorgan joined #evergreen
17:04 mmorgan left #evergreen
18:00 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>

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