Evergreen ILS Website

Search in #evergreen

Channels | #evergreen index




Results

Result pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143

Results for 2024-01-04

09:02 dguarrac joined #evergreen
09:14 mantis1 joined #evergreen
09:16 Dyrcona I've noticed that with psql 16, \df+ <function> no longer shows the function definition.
09:22 Dyrcona I had to use \ef <function> to open it in a test editor, which gives you the SQL used to create the function.
09:24 Dyrcona Interesting... psql 10 gives an error when doing \df+ on a pg 15 database. I wonder if \df+ from psql 16 works on a Pg 16 database. It probably does.
09:25 * Dyrcona loads a dump into pg 16 to see what happens.
09:26 Dyrcona Heh... "Talk Soup" by Weird Al just started playing.... :)
09:26 mantis1 talksoup++
09:27 Dyrcona "Listen to me! Listen to me! Listen to me!" :P
09:30 * Dyrcona updates a script for pg 16 on the test db server.
09:32 Dyrcona Whee! Just copy, paste, and edit 3 lines.
09:35 JBoyer Dyrcona, so long as you specify enough params to uniq-ify it, \sf should show you the function source
09:35 JBoyer (similar to \df+ I mean)
09:35 Dyrcona JBoyer: OK. I was going to check with psql 16 on a pg 16 database because I think its an issue client server mismatch and not a change in features.
09:36 JBoyer Oh, I see what you mean. Yeah, the queries backing that feature may have changed / broken / been removed in psql 16.
09:36 Dyrcona Now that I have used it, I think I prefer \ef, at least when I'm running psql locally and talking to a remote server.
09:37 Dyrcona I also plan to finally get around to adding Pg 16 support for Evergreen, so this will be a good first test.
09:43 Dyrcona I suppose it is a good sign that pg_restore has not produced any output to the screen.
09:43 smayo joined #evergreen
09:51 BDorsey_ joined #evergreen
12:28 jvwoolf joined #evergreen
12:55 sleary joined #evergreen
13:28 smayo joined #evergreen
13:38 csharp_ Dyrcona: I tested out all but one of the LP scripts you shared and with a couple of Python 3-ish changes, they appear to work
13:39 csharp_ the release.py one is untested since it appears to make changes and I wanted to get my head around it first
13:39 csharp_ smayo may do some work on things too - we're still in research mode to make sense of the release process
13:47 jvwoolf joined #evergreen
13:58 dguarrac_ joined #evergreen
14:11 mdriscoll joined #evergreen
14:20 mdriscoll joined #evergreen
14:25 mdriscoll I want to copy some patrons from a production system to a test system and I need their password to work.  I have the password hash but not sure how to do the insert so the password works and isn't set to literally 'd41d8cd98f00b...'  Any ideas?
14:31 mdriscoll joined #evergreen
14:34 jeff mdriscoll: that looks like the start of the md5 hash of an empty string. you'll probably want to take a look at the actor.passwd table.
14:36 jeff mdriscoll: if you copy a user's row from actor.usr and actor.passwd (and actor.usr_address, actor.card, etc), then the copied user on the test system should end up with the same password as on the source system.
14:39 mdriscoll jeff: thanks. I think actor.passwd is the part I was missing.
14:41 jeff mdriscoll: depending on how empty your test system db is, you may need to worry about conflicts, renumbering ids, etc. Even if you don't, consider that if you manually insert ID values, you'll want to either bump sequences or know that eventually you'll run into an error when some future insert gets that manually-inserted value from its default sequence.
14:42 jeff (depending on what kind of a test system this is, and how long it will be around, and other things, you may not care)
14:48 mdriscoll jeff: I'm altering a script I use for loading patrons where I usually set the password and let the database trigger crypt the plain text.  I let the database create the new ids but duly noted about bumping sequences.
15:01 mmorgan1 joined #evergreen
15:10 smayo joined #evergreen

Results for 2024-01-03

11:01 Rogan btw, I'm not in that cage match - if your editor works for you then power to you :)
11:01 Rogan heh
11:02 berick by the same token, a couple of git checkout commands are gravy compared to the rest of the eg/osrf install docs.
11:03 Rogan and I've made use of berick's ansible scripts to automate it when wanting to just throw something up quick(ish) for testing
11:05 berick but tarballs have pre-compiled / pre-downloaded stuff, so it's more than just a checkout, of course.
11:18 csharp_ mantis1: just a quick warning about virtualbox (or any VM running on a PC/laptop) - make sure the RAM is sufficient to run a VM that takes 4GB RAM minimum, and probably 2 CPUs
11:20 csharp_ mantis1: at GPLS we used to repurpose older servers or even PCs to run as a dedicated VM host, but that might be a rabbit hole
12:16 mantis1 but it's good now: https://docs.google.com/forms/d/e/1FA​IpQLSfjPGS3IZYkJxNZslkYaUYfwX24QxXRkt​rDvALM6E1jQZfGhQ/viewform?usp=sf_link
12:19 berick mantis1: thanks!
12:22 csharp_ mantis1++
12:24 bshum mantis1: I'll be curious if 4 GB of RAM Is sufficient for a small test VM.  I feel like I was bumping up on problems last time I sized something that small, and it worked better with 6-8
12:25 bshum Might just be my tricky memory.
12:25 mantis1 berick++
12:25 mantis1 bshum: we did allocate more ram out I believe but I'll send an update on specs and how this goes
12:25 csharp_ bshum: you're probably right, but I'm guessing the RAM on a typical laptop/PC is maybe 8GB? and Windows is a hog
12:26 csharp_ (assuming we're talking about Windows 10/11 prolly?)
12:26 bshum csharp_: Oh certainly.  Windows :P
12:26 Dyrcona With KVM on a Linux host 4GB is enough for basic testing. If you really want to do something with it, you'll need more RAM.
12:26 bshum @karma Microsoft
12:26 pinesol bshum: Microsoft has neutral karma.
12:29 csharp_ given Microsoft's relatively recent tolerance and sometimes support of open source software, they don't get as much negative karma from me as they used to :-)
15:11 mantis1 left #evergreen
15:28 Stompro joined #evergreen
15:35 JBoyer Looking forward to the forthcoming gaming soundtrack from Character Limit Break
15:46 pinesol News from commits: LP#2044141 (follow-up) tweaks to OPAC tests GitHub action <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=631c7b​e752a7c9f5d5b91e26d24be949d0c7a4ea>
15:46 pinesol News from commits: LP2044141: Run javascript unit tests in github actions <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=514ad0​c2c1b845d501a820d0d28b4fe2caede1e7>
16:16 pinesol News from commits: LP#2046970 Poorly Cropped Reports Icon <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=db508c​9037a44cc08dcf0a9f1ef102a70fe3542d>
17:15 jihpringle joined #evergreen
17:16 mmorgan left #evergreen

Results for 2024-01-02

14:12 Dyrcona berick++ I was just getting there.
14:17 Dyrcona I should probably rename Evergreen\Utils\Session to Evergreen\Utils\AuthSession in case I ever implement OpenSRF\Session.
14:18 Dyrcona or maybe rename it to Evergreen\AuthSession... I'm still figuring out the API.
14:30 Dyrcona I also question how useful this code is going to be for its original purpose: Testing changes to Aspen. My Fieldmapper is a lot more sophisticated than what Aspen does.
14:31 Dyrcona hah!
14:31 Dyrcona The song that's starting now: "Watch out! You might get what you're after..." Burning Down the House by Talking Heads.
14:31 berick heh

Results for 2023-12-28

10:07 * mmorgan would love to see item templates moved to the database - maybe to that very table!
10:08 Dyrcona I thought they were in user settings? That's bib templates, isn't it?
10:26 Dyrcona Is there a standard for the miscellaneous.adoc file under RELEASE_NOTES_NEXT?
10:32 Dyrcona Hmm.. I could add a PgTap regression test or something like that. Might as well.
10:40 Dyrcona Apparently, one can only check if a column constraint exists and not its definition?
10:42 mmorgan Dyrcona: Yes, item templates are in user settings in a big blob per user. Tough to manage. Bib templates moved to the db would be good also. That's bug 1131238.
10:42 pinesol Launchpad bug 1131238 in Evergreen "Move MARC templates into the database" [Wishlist,Triaged] https://launchpad.net/bugs/1131238
10:43 Dyrcona mmorgan: I remember that bug. :)
10:44 Dyrcona I guess I'll give up on a regression test since it won't be easy to do what I want. I'll just specify that one should check the table definition before and after applying the patch.
10:59 smayo joined #evergreen
11:08 Dyrcona We should take some time to go through the bugs to find those that are "lost." I'm just looking at the ones with patches right now, and I see a few that might need some attention.
11:39 Dyrcona Some bugs have had folks assigned to them for a long time, and I wonder if the bugs are still being looked at.

Results for 2023-12-27

09:55 dguarrac_ joined #evergreen
11:03 sandbergja joined #evergreen
14:03 sandbergja joined #evergreen
14:10 Dyrcona So, I think I found a bug in SuperCat while testing my changes. I don't think I wrote this bug, either. It looks like there is insufficient fleshing for stat cat entries.
14:12 Dyrcona /opac/extras/supercat/retr​ieve/marcxml/acp/<copy_id> Gives an internal server error and the error message indicates that the stat cat entries are not fleshed: Can't locate object method "opac_visible" via package "3" (perhaps you forgot to load "3"?)
14:12 Dyrcona And, yeahp. They aren't fleshed properly.
14:23 Dyrcona Then, I sometimes wonder if I get the URI correct because some of these are producing 500 errors with nothing useful in the logs.
14:49 Rogan joined #evergreen
14:51 Dyrcona Yeah. Guess I'lll have to Lp that. Adding asce => [qw/stat_cat/] to the "flesh" list in two places fixes it.
14:51 mmorgan Dyrcona++
14:55 Dyrcona It's hard to test your own changes when you encounter other bugs. :)
14:56 Dyrcona This means my feature branch will likely need a rebase before it can be merged if the bug fix goes in first.
15:18 Dyrcona Yeah, I made my local fix based on my feature branch and I get a conflict cherry-picking the change to a clean branch base on main. :)
15:27 Dyrcona Well, that's interesting. The stat cats are empty even though it doesn't crash. Guess it needs more work.

Results for 2023-12-15

11:16 sleary_ joined #evergreen
11:25 jihpringle joined #evergreen
11:42 jvwoolf joined #evergreen
12:05 Bmagic does it make sense to anyone that a text message would make it to the cell phone using the test feature in the my account opac for one account but not another account. Using the same phone number and carrier on both accounts?
12:06 jvwoolf Same sending address for both?
12:06 Bmagic yep, same server
12:07 Bmagic I can see the process all the way through, and the mail logs in one case is "Sent" and the other  is "Service Unavailable"
12:27 kmlussier I am very much looking forward to the day when we no longer send our texts that way. NOBLE has been looking at other options for the past couple of months.
12:27 jeff That answer doesn't help you solve the problem, but hopefully it helps confirm that there may be no clear reason other than you're hitting rate limits and spam filters and intentional brownouts/deegredations of the target service.
12:31 jeff we spend on average a little over $0.01/message to not have to worry about it.
12:38 Bmagic ok, it was a differenting sending address. haha. The two accounts were attached to two different org units, and the test template walks up the org tree to find an accosiated email address, and found one that isn't allowed to sen through our relay. Mystery solved
12:38 Bmagic phew, I was losing my mind
12:39 jeff phew. next time, keep the above in mind also. :-)
12:40 jeff my understanding is that time of day can also influence carrier SMTP to SMS gateways.

Results for 2023-12-14

10:00 jvwoolf joined #evergreen
10:00 sleary joined #evergreen
10:12 sandbergja joined #evergreen
10:16 csharp_ Bmagic> Dyrcona: Just testing my tarball, and I got this while building the old concerto set: psql:assets_concerto.sql:58: ERROR:  update or delete on table "record_entry" violates foreign key constraint "browse_entry_def_map_source_fkey" on table "browse_entry_def_map"
10:16 csharp_ terranm saw that same error yesterday - currently trying to reproduce it
10:18 csharp_ and.... no, I can't reproduce it on 3.12.0
10:18 csharp_ (from git, not tarball, if that matters)
10:21 Bmagic csharp_++
10:22 Bmagic I don't think the build process messes with the concerto set, but, of course, the base schema build is there in the rel_11 branch. I would think that if there was an issue with the schema, the enhanced concerto would have the problem too
10:36 redavis_reboot joined #evergreen
16:22 adam_reid ok, thats fair, so does Evergreen need to be aware of the page earlier in the process?
16:22 jeff just the tt2 bits, or Evergreen variables/functions also?
16:23 jeff do you have the tt2 source somewhere? that would answer some of the questions. it sounds like public data?
16:23 adam_reid I'm not 100% the difference, I think just the tt2 bits
16:24 adam_reid no source anywhere yet, to test the idea I basically just made a blank test page, I assumed it would resolve but didn't expect to be asked to login by default
16:24 jeff which path did you put it at?
16:25 adam_reid at the time /openils/var/templates_custom/opac/test.tt2
16:26 adam_reid I figured if the simple test worked I would start to see what was possible, the page was essentially blank, once logged in everything worked fine, pulled in a few carousels and they worked
16:26 adam_reid just didn't want users to need to log in
16:30 terranm I'm not 100% certain, but you may need to add it into EGCatLoader.pm to route
16:31 terranm Example - https://git.evergreen-ils.org/?p=wor​king/Evergreen.git;a=commit;h=fc361e​eb6759c7af074b14f8faa9b9c4d37bbb77
16:34 adam_reid interesting... right, seems that addition would've required a similar setup, looks like a great place to start looking, THANKS terranm
16:39 jeff depending on your needs, you can drop a tt2 file in a place outside of the opac dir, like (using your example above) /openils/var/templates_custom/local/test.tt2
16:40 jeff (without needing to define a route, etc)
16:41 terranm jeff++
16:44 * JBoyer Eg tarballs rebuilt, uploaded, and updated.
16:44 adam_reid interesting, thanks jeff. I'll play around with that too!

Results for 2023-12-13

09:26 Dyrcona sandbergja++
09:28 * Dyrcona ponders how much the PHP Evergreen objects should resemble their Perl counterparts.... There are two ways I could implement property access, and one is similar to the Perl way, the other is more like public property access. I could do both.
09:30 jmurray-isl For some reason, the concept of "PHP Evergreen objects" leaves a bad taste.
09:32 Dyrcona jmurray-isl: I have reasons for implementing Evergreen client code with PHP, mainly to do with testing Aspen code changes. I'm going a bit farther than I might actually need to go and implementing actual classes for a client, fieldmapper, requests, objects, and probably another to represent class metadata.
09:38 pinesol News from commits: Docs: release notes for 3.11.2 <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=82d206​eebd22b89a9ea002cb58188adf1c84169d>
09:39 jmurray-isl Dyrcona: I get it.  It's mostly just the principle for me.
09:41 Dyrcona jmurray-isl++
09:46 jmurray-isl Indeed.
09:47 Dyrcona CLI programming in PHP is a different thing, and it's easier/better in some ways.
09:48 jmurray-isl Agreed.  My initial work with VuFind was pre-Zend.  The cli harvest scripts were much easier to troubleshoot.
09:51 Dyrcona I kind of like using the interactive mode (aka REPL) for testing code. The only problem is having to restart when I change a class definition. (In Lisp, I can just reload the file and it will replace the existing code definitions.)
09:54 sandbergja Dyrcona: 3.10.4 release notes pushed
09:56 Dyrcona sandbergja++
09:56 mmorgan sandbergja++
11:28 Dyrcona Looks like just --disabled-password.
11:28 mantis1 joined #evergreen
11:30 Dyrcona yeah, i know... I should script this with ansible.
11:40 kmlussier Dyrcona: On the other hand, it's always good to have an opportunity to test the steps in the README.
11:46 Dyrcona Oof. have to start over. I started installing prerequisites for the wrong branch.
11:53 Dyrcona Maybe another burrito will help?
11:58 jihpringle joined #evergreen
14:08 pinesol News from commits: Docs: final updates to 3.12 release notes <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=807fb5​cf59f4ba65a4d668cfbf87627fbf36ebb9>
14:10 jvwoolf joined #evergreen
14:14 jmurray-isl win 2
14:16 Dyrcona Live tests are failing. Guess I'll need to figure out what I did wrong.
14:18 Dyrcona heh. --load-all-sample might help. :)
14:23 Dyrcona yeah, that's much better.
14:33 jihpringle joined #evergreen
16:09 pinesol News from commits: LP2046362 Button type for staff portal catalog search <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=533b9e​5bcc11dc99bd5a0d1393bb8a46934c7d18>
16:09 pinesol News from commits: Forward port 3.10.3 to 3.10.4 db upgrade script <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b6d73e​faac01e2604d6871d1bcf704b4fcb41f14>
16:18 smayo joined #evergreen
16:20 Bmagic Dyrcona: Just testing my tarball, and I got this while building the old concerto set: psql:assets_concerto.sql:58: ERROR:  update or delete on table "record_entry" violates foreign key constraint "browse_entry_def_map_source_fkey" on table "browse_entry_def_map"
16:21 Bmagic oops, Dyrcona's not here
16:27 Bmagic enhanced concerto loaded ok though
16:27 Bmagic not sure if that's "ok" but I've put the tarball on the web server (I think that the concerto issue isn't related to the tarball)

Results for 2023-12-12

15:10 mmorgan No updates this month due to release business, but I'm fine with keeping it as an action item.
15:10 Dyrcona #action mmorgan will explore moving LP stats to community site and automating same
15:10 Dyrcona OK. Carrying it forward.
15:11 Dyrcona #info sandbergja will investigate getting more tests into gh actions
15:11 sandbergja bug 2044141 adds the OPAC js tests to run in github actions
15:11 pinesol Launchpad bug 2044141 in Evergreen "Run OPAC javascript unit tests in github actions" [Undecided,New] https://launchpad.net/bugs/2044141
15:11 Dyrcona Awesome sauce.
15:11 sandbergja I'm interested in seeing if gh actions can run the pgtap tests next
15:12 Dyrcona #info  bug 2044141 adds the OPAC js tests to run in github actions
15:12 sandbergja I'm okay keeping this item assigned to me
15:12 Dyrcona I was just about to ask.
15:12 Dyrcona #action sandbergja will see if gh actions can run the pgtap tests
15:13 Dyrcona Ok. Unless anyone has anything else to say about previous action items, I'll move on to
15:13 Dyrcona #topic OpenSRF Releases
15:13 Dyrcona #info OpenSRF 3.2.4 and 3.3.0-beta released 2023-12-05
15:13 smayo joined #evergreen
15:14 Dyrcona I would post a link to the email, but I think that got trickier recently.
15:14 JBoyer I'm planning to take a look at the beta for some testing soon
15:15 Dyrcona I've been using the main branch on most of my test systems so far, so I guess I'm using the beta now... I'll check and make sure.
15:16 Dyrcona i added to the next topic before the meeting, so if you haven't yet, you might want to reload the agenda in your browser.
15:16 Dyrcona #topic Evergreen Releases
15:16 Dyrcona #info Evergreen 3.12 release candidate available 2023-12-06
16:08 Dyrcona Two would be all of them, woudn't it?
16:08 JBoyer I'm not sure voting will do much unless a "yes" vote is taken as volunteering to take part
16:09 JBoyer and yes, it's just 3.10.4 and 3.11.2 tomorrow
16:09 Dyrcona jeff: That's possible already. I've done it for test releases.
16:09 JBoyer (or whenever)
16:09 jeff Dyrcona: good! it's possible that no "ensuring" is needed.
16:09 Dyrcona I'll volunteer to build and upload 3.10.whatever, if we can get other roles fileld.

Results for 2023-12-11

15:05 jvwoolf joined #evergreen
15:22 jvwoolf joined #evergreen
16:09 jvwoolf left #evergreen
16:20 Dyrcona Sure. I'll just "steal" the CurlWrapper PHP class from Aspen, then make "simple" OSRFGatewayClient and EvergreenFieldmapper classes so I can write programs to test alternate back end calls for Aspen with PHP....Now, I'm thinking I need an OSRFRequest class, possibly an OSRFSession class, and more!
16:57 mmorgan1 left #evergreen
16:58 kmlussier joined #evergreen
18:48 jihpringle joined #evergreen

Results for 2023-12-08

08:58 kmlussier1 joined #evergreen
09:08 * Dyrcona should implement a Fieldmapper that doesn't depend on OpenSRF being installed.
09:16 Dyrcona Guess I'll just copy the Aspen PHP code today because I want to play with enhancements to the Aspen Evergreen driver.
09:17 Dyrcona And.... I don't want to install Aspen to test things before submitting pull requests.
09:24 Dyrcona Oh, nifty.... Aspen looks up each class from the IDL as it needs it, but caches the results in memcached. I was gonna just grab the whole IDL at the start of a program and parse it.
09:27 Bmagic Dyrcona++
09:41 dguarrac joined #evergreen
12:41 Dyrcona Yeah, search and replace was faster to do.
12:42 smayo joined #evergreen
12:59 smayo joined #evergreen
13:01 * Dyrcona caused a deadlock on a test database. yay..... whatever....
13:42 jihpringle joined #evergreen
13:43 Dyrcona There are two URLs where one can get the IDL aren't there?
13:46 Dyrcona Oh, right.
15:26 mantis1 left #evergreen
15:30 Dyrcona "They say these days are made of rust..." Or should that be Rust? Eh, berick?
15:33 Stompro I'm looking at how Aspen categorizes things as fiction/non-fiction... and it categorizes poetry as Fiction by default?  Which seems wrong for how Libraries usually categorize things.
15:33 Dyrcona Command line programming with PHP: I don't recommend it if you don't need to for some crazy reason... like oh, testing  the Aspen Evergreen driver without installing Aspen.
15:35 Dyrcona Stompro: Most of that comes from the MARC, I wager. Not sure if poetry can also say "fiction" in the coded values/wherever that lives, but I've seen lots of crazy stuff in MARC records over the years...decades.
15:36 Dyrcona Come to think of it, I don't recommend web programming with PHP, either.
15:36 Dyrcona :)

Results for 2023-12-07

08:16 BDorsey joined #evergreen
08:32 Dyrcona joined #evergreen
08:43 mmorgan joined #evergreen
08:54 Dyrcona Do the Angular and AngularJS tests work with Firefox and Chromium snaps?
08:58 Dyrcona Apparently not: Firefox have not captured in 60000 ms, killing.
08:59 Dyrcona snaps--
09:02 mantis1 joined #evergreen
09:07 mantis1 I have commands for it but just wanted to check before I try
09:08 Dyrcona You can remotely delete branches if you own them.
09:09 mantis1 Drycona++
09:20 Dyrcona How long should the nightwatch tests run? I suspect that they're not working with the firefox snap.
09:20 dguarrac joined #evergreen
09:32 Dyrcona Maybe it was doing something. I see output in logs/.
09:44 Dyrcona Yeah. ng e2e works with the Firefox snap.

Results for 2023-12-06

15:12 pinesol berick: go with Canapés
15:13 Dyrcona csharp_++ I'll have to investigate Iron & Wine.
15:15 Dyrcona Oh, I guess my other mistake was "CASE" after "END" in a values list. Postgres complained about the syntax.
15:17 Dyrcona I suppose I should come up with some pgtap tests for the db changes.
15:20 Dyrcona Now that I think about it, those two commits might be wrong. The auto_renewal column isn't used to mean auto-renewal is allowed. It means that the renewal was an auto-renewal, doesn't it......
15:23 mantis1 Question on this commit: https://git.evergreen-ils.org/?p=wor​king/Evergreen.git;a=commit;h=fb7e31​fd790074a1b62c882913395400223556ad
15:23 mantis1 I would like to remove the po files from the commit.  What I have been doing is git rm <file> after checking out the working branch locally then saved the commit, but after I pushed, the files remained
15:49 Dyrcona "As we get older...Stop making sense. You won't find her waiting long...."
15:50 Dyrcona Talking Heads come around on the shuffle again.
16:23 Dyrcona t/regress/lp1773452_copy_state_post_checkin.pg:11: ERROR:  null value in column "auto_renewal_remaining" of relation "circulation" violates not-null constraint
16:23 Dyrcona Looks like I get to update another test, too.
16:28 Dyrcona But, wait! There's more!
16:32 Dyrcona I bet I've broken some perl tests, too. I'll have to check those tomorrow.
16:35 Dyrcona it's gonna be fun going through the circ and staff client code making sure that the auto_renewal fields actually get a value put into them. I suppose i could cop out and add 'default 0'.
16:36 Dyrcona pgtap tests have been updated at least.
16:38 Dyrcona Might be strange for me to say this, but we need more tests.
17:09 mmorgan left #evergreen

Results for 2023-12-05

10:19 berick sandbergja: branch updated. thanks for the heads up.
10:19 sandbergja Thanks, berick!
10:20 collum joined #evergreen
10:27 Dyrcona I sometimes think our triggers are out of hand. I'm updating tcn_source on 10,000 bib records and according to ps it's using 16GB of RAM and 88% of a CPU on my test database.
10:27 Dyrcona I'm pretty sure it's mostly being used by the maintain 901 trigger, which is actually why I am doing this.
10:32 Dyrcona I wonder if using a transaction and deferring all triggers would help with the speed of this?
10:36 Dyrcona Actually, it's probably smple rec and some of the other triggers, too. I'm not sure I want to disable simple rec in a transaction. I'll have to investigate the triggers a bit more.
10:40 pinesol News from commits: LP1850473 (follow-up): Update DOM selector in nightwatch test <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=bddc37​2d27e4ac9298ef6d265534c3b14529b2a2>
10:41 Dyrcona No, I don't want to disable any triggers. It would lead to locking and possible dead locks. Setting session replication role is overkill since it disables all triggers.
10:45 Dyrcona Looks like the ingest triggers are getting fired, too, but they.... Oh wait. The marc changes....
10:53 Dyrcona Trying different batch sizes, with a limit on a subquery, It did 10 in 5 seconds 100 in 26 seconds and 1000 took 4 minutes 23 seconds and used a lot more memory.
13:27 Dyrcona --csv option to psql doesn't properly quote strings apparently.
13:28 Dyrcona ha! I'm not paying enough attention. LibreOffice had a "from row" 1322 still set on the CSV import from the other day.
13:30 Dyrcona The delete was attempted multiple times.
13:59 csharp_ Dyrcona: waiting can be just waiting - becomes a deadlock when two processes start waiting on each other
14:00 csharp_ but seems like a matter of time - I'm nervously watching a very slow parallel reingest on a test server and many of the PG procs are in "waiting" state
14:01 csharp_ reingest began ~11:30 a.m. yesterday - a little over half done per the batch count
14:07 Dyrcona csharp_: My case was nearly catastrophic. Cascading deadlocks stemming from a process trying to delete a staff account with thousands of owned records. It was acquisitions account. The person doing the delete tried it at least 3 more times after the first timed out in the client.
14:10 Dyrcona This sort of thing used to happen so much in Horizon with Sybase, that I made a little GUI in Java to show me the deadlocked processes. From that I could identify the most likely culprit process. I could then click its row in the table, type Ctrl-k and that would send the Sybase equivalent of pg_cancel_backend. Every now and then, I consider adapting that to PostgreSQL and Evergreen.
14:13 Dyrcona Looks like someone was also loading MARC order records at the same time. I may have clobbered their backend process, not sure. I tried to only cancel the delete_usr queries.
14:23 Dyrcona Speaking of long-running processes my update of tcn_source on 530,105 bibs where it is '' has been running for 1day, 5 hours, and 27 minutes at this point.
14:25 Dyrcona Fortunately, that is on a test system, or I'd have probably had to cancel it for deadlocks.
14:29 smayo joined #evergreen
14:58 jonadab joined #evergreen
15:01 csharp_ Dyrcona: holy moly

Results for 2023-12-04

14:49 smayo joined #evergreen
15:03 kmlussier1 joined #evergreen
15:04 kmlussier1 left #evergreen
15:08 pinesol News from commits: LP#2045581 Test Failure on Main today <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b72137​59bebdec1259f46d863dec25575913661d>
15:08 pinesol News from commits: LP1850473 Temporarily silence ESLint in bad HTML <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ea2d0d​dc0aba3d5b589c800bbdeba55192df2bb2>
15:08 pinesol News from commits: LP1850473 Manually silence ESLint HTML errors <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=63ca3d​0ea60b7a9d4b3a65f54b769fb3b725ee89>
15:08 pinesol News from commits: LP1850473 More button linting <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=c08cca​dbeff1b077b00386c8a0d17e658b574c50>
15:08 pinesol News from commits: LP1850473 Lint issues with base accesskey anchors <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=490fea​284c7190c0d2255231d28c97f71bf6d2ff>
15:08 pinesol News from commits: LP1850473 More button lint issues <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=eb3376​232a8a950d5ea3d3a8383b6b15f03dcb90>
15:08 pinesol News from commits: LP1850473 Change links to buttons <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=544630​57e75b748aa6c34dd28e0a117d29cf172a>
15:08 pinesol News from commits: LP1850473 Fix button type lint errors <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=a5cd7f​e3dfa59a9d017d06f8c2b77515f3b340fa>
15:08 pinesol News from commits: LP1850473: manual and automated eslint fixes <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ef751a​dd7ac424e396bdb2735c4a0ed11252419d>
15:08 pinesol News from commits: LP1850473: Add eslint rules <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b51d7b​7a611f5535bc94470932fc586e75174662>
15:10 sleary We can't add the "needsrebase" tag in bulk, can we? :(
15:18 jvwoolf joined #evergreen
15:18 Dyrcona sleary: Can't really do anything in bulk on launchpad without using the APIs, and then there are limits.

Results for 2023-12-01

13:49 kmlussier jeffdavis: When I started, the community was on 1.6. I remember at our first MassLNC meeting, Dyrcona was telling us we should all be looking to migrate to 2.0 because it would have all the new stuff coming with the KCLS grant. In the end, we went live with later releases, but I can't forget all the hype around that one particular release.
13:49 kmlussier 3.5 doesn't seem long ago to me because it happened after I left.
14:00 Dyrcona For us 3.5.3 was April of 2021. I had a quick look at our old 3.5.3 branch and didn't see anything in the DB upgrade. I bet there was a patch to Vandelay or something like that.
14:05 Dyrcona I think I'm going to have to postpone my fix test until Monday at the latest. It doesn't look like my script to dump the pretest data for later comparison with post-test data is going to finish in a reasonable time.
14:06 Dyrcona My test db refreshes this Sunday morning, so I'd have to do this all over again anyway.
14:09 Dyrcona The '80s were just 20 years ago, right? :)
14:13 kmlussier Dyrcona: Yes, they absolutely were. Please don't tell me any differently.
14:13 kmlussier And I'm still 39 years old.

Results for 2023-11-30

09:22 Dyrcona joined #evergreen
09:39 Dyrcona due_date: "3812-01-17 23:59:59-05"  Sure, that's plausible.
09:40 mmorgan :)
09:41 Dyrcona And, it looks like a test or someone was messing with due dates. It was checked in in 2018.
09:41 mmorgan Or a barcode got scanned into the due date field?
09:42 Dyrcona mmorgan: That might be a possibility. 38120 looks like a valid item barcode prefix for Massachusetts.
09:43 Dyrcona I think I need to do something more sophisticated than just select max(due_date) from action.circulation; :)
09:43 Bmagic jeffdavis: are you working on SSO for Evergreen staff client?
09:44 Dyrcona I'm looking for things I can renew in my test database with a script to try out the osrf-gateway-v1.
09:44 Dyrcona I can wait until next week. The data should be refreshed on Sunday.
09:51 Dyrcona Think I'll give it a shot anyway.
10:03 Dyrcona Hm. Left joins with a where clause on "right_table.columns is null" seem to be a lot faster in Pg 15 than in Pg 10.
11:14 csharp_ eeevil: yeah, I didn't consider FTPS in my branch
11:14 csharp_ eeevil: yeah, that's a mistake - shouldn't have removed libnet-ssh-perl
11:14 eeevil well, yes, but just on the SFTP addition, it removes (it looks like) SSH support
11:14 csharp_ sorry libnet-ssh2-perl
11:15 csharp_ I removed it in the makefiles but still call it in the perl - that would have been caught in the fleetingist of testing
11:15 eeevil right, it might still get installed as a dep, which would be fine
11:15 csharp_ yeah
11:16 eeevil but, it looks like pure ssh2 support gets broken
11:20 Dyrcona Net::STFP::Foreign does not use libnet-ssh-perl unles you tell it to. That's actually the point of Net::SFTP::Foreign. It defaults to using the sftp client on the host.
11:21 * Dyrcona uses Net::SFTP::Foreign in several utility scripts.
11:22 Dyrcona berick++ jeff++ Thanks for the answers. I thought I was missing a couple.
11:23 Dyrcona I have another question, but I'll check the code, too. I think it's possible to login with user id and not barcode or username, right? I'm working on a program to test OPAC renewals through osrf-gateway-v1, in case anyone missed it.
11:23 csharp_ eeevil: are you looking at the latest I pushed?  I see the sub delete with } elsif ($self->type eq "SFTP") {
11:23 csharp_ or maybe I'm misunderstanding...
11:24 Dyrcona FTPS.... Ugh. Someone actually uses that?
11:34 csharp_ jeez, y'all
11:34 csharp_ don't you know libraries are still excited about Web 2.0?
11:34 eeevil "upload your EDI messages to the blockchain and..."
11:35 csharp_ eeevil++
11:37 csharp_ eeevil: with my code in place, tlittle and I were able to push files to a PINES-owned SFTP server - that's all the testing we've done
11:38 csharp_ tlittle has asked Ingram for a test account to push prod files to but that request appears to have flummoxed them
11:39 eeevil csharp_++
11:39 eeevil tlittle++
11:44 eeevil it certainly looks like it will work. though, to retain SSH/SCP support, the DESTROY sub should simply add an sftp->disconnect in addition to the ssh2->disconnect. other than that, maybe the need to implement delete_sftp, I don't see any obvious problems

Results for 2023-11-27

12:48 sandbergja I spent an embarassing amount of time troubleshooting why every request I made to the open-ils.serials service returned an error.  Fun fact: the service is actually called open-ils-serial.
12:49 sandbergja ^ open-ils.serial, rather
12:52 mantis1 joined #evergreen
13:03 jeffdavis abneiman: thanks for the reminder about the DYM-related search slowness bug - our testing results weren't as definitive as I would like but I believe the fix works, I'll make a signoff branch and update 2038472
13:04 jeffdavis I guess there's already a signoff branch, I'll just add a signoff via LP
13:07 Stompro joined #evergreen
13:08 abneiman jeffdavis++
13:08 abneiman thank you!
13:15 jeffdavis More specifically, our test environment remained somewhat slow after applying the fix, but I believe the remaining slowness was for other reasons. We decided not to enable DYM so we effectively stopped testing the fix at a certain point; it's possible that it introduces other issues, but no point in delaying the fix over such hypotheticals.
13:16 jeffdavis "other reasons" = slower hardware + that unrelated bug that required disabling a PG "optimization"
13:41 Dyrcona jeffdavis: I have not experienced the issue that "requires" disabling jit.
13:42 Dyrcona I'm using Pg 15 for quite a bit of testing. Of course, the VPN to where that server is just went down, so.....
13:42 jeffdavis required it on our test server, that is - we haven't seen it in production
13:43 Dyrcona I was in the middle of installing updates.... I'll have to check when I get access again. I might have disabled JIT after you reported the issue, but I also wanted to test your queries with JIT enabled.
13:44 pinesol News from commits: LP#2038472: stamp DB update <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=10527e​c78952a27d447f675a93d13e2846fa7ae6>
13:44 pinesol News from commits: LP#2038472: Revive DYM optimizations <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=7f72e2​2bc23ae887fefd98074a7415e852fcb4c0>
13:44 Dyrcona I knew that I should have just started my test program in a tmux session and installed updates after.
13:45 Dyrcona The test was not related to JIT, but to checking in and deleting copies from a spreadsheet.
13:51 Dyrcona VPN is definitely down. Wonder if the site also lost Internet?
13:53 Dyrcona I suppose I could test the changes to command line options on a local vm.
14:11 jihpringle joined #evergreen
14:12 Dyrcona Well, that looks like it will work. Guess I can test it on the training server.
14:16 csharp_ @decide open-ils.serial or open-ils.cereal
14:16 pinesol csharp_: go with open-ils.cereal
14:16 csharp_ a nutritious part of this complete breakfast!

Results for 2023-11-21

12:33 Dyrcona joined #evergreen
12:50 collum joined #evergreen
12:57 Dyrcona joined #evergreen
13:15 eeevil sandbergja: I'm pointing this in your general direction because you've been AWESOME about pushing for more test automation ... do you have thoughts about where we might want to stick the following test? `(cd Open-ILS/examples && xmllint --schema fm_IDL.xsd --noout fm_IDL.xml)`
13:19 sandbergja eeevil: ooh, good question!  Maybe we could lightly wrap it in a perl test?  Like run that command in backticks, and confirm that the exit code is 0?
13:20 sandbergja or something along those lines
13:21 eeevil maybe as part of `make check` directly? I don't have strong feelings about it, but would prefer it yell at us easily/quickly
13:22 sandbergja yes, +1 to yelling :-)
13:23 sandbergja example of the perl approach in the first subtest here: https://git.evergreen-ils.org/?p=work​ing/Evergreen.git;a=commitdiff;h=2f26​4c6ad779bacef4dd910bc63ece0174f82083 (the ok($output, 'runs without error');)
13:24 Dyrcona if you only want the return value, system() would be preferable to backticks, and if you care about the output, I'd prefer a pipe open, but that's just my Perl style....
13:25 sandbergja Dyrcona++ # thanks!  That is good to know.
13:27 Dyrcona Just running it from 'make check' would also be good.
13:49 terranm Bmagic or anyone - I'm trying to set one of  my test servers to have the Czech option in the staff client and I can't figure out what I'm missing. These are the set up instructions I have so far: https://wiki.evergreen-ils.o​rg/doku.php?id=newdevs:i18n
13:49 terranm Of course, now it is working
13:50 terranm No it's not. Argh
13:52 terranm at https://terran-testbox.gapines.org/eg/staff - Czech is working in the OPAC. On the eg login page the Czech option is appearing in the top menu, but when logged in and on an eg2 page it's not there
13:55 jvwoolf left #evergreen
14:30 jvwoolf joined #evergreen
14:33 jihpringle joined #evergreen

Results for 2023-11-20

17:35 jihpringle I think good to have it pulled out as its own bugs, since both of us initially missed it within that bug
17:35 Bmagic I agree
17:47 terranm Claiming 1397
17:51 pinesol News from commits: LP1965985 Empty alt text for OPAC decorative images <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b74e76​e25a0856674348bfc970858cf8b6d115df>
17:51 pinesol News from commits: LP2040314 BOOPAC 'send test email' link keyboard support <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=f15cb1​5e87518229e386cd7c28a767dba9d906e7>
17:51 pinesol News from commits: LP2040314 OPAC 'send test email' link keyboard support <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=c75831​ebb0f138ea4068f1aaa985946f5e8c94c8>
18:04 kmlussier left #evergreen
18:21 pinesol News from commits: LP2039750 Stamp upgrade script <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ba54e3​7d253058ce5bc446533d9115ffaf72361e>
18:21 pinesol News from commits: LP#2039750 Save Stat Cat Grid Settings <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=5bef90​979832bd4fe9250fea0a367c7ecba28d9b>
19:59 jihpringle joined #evergreen

Results for 2023-11-17

13:41 dguarrac You're welcome! I used to have to use it a whole bunch in a past life.
14:24 kmlussier left #evergreen
14:58 mmorgan1 joined #evergreen
15:11 pinesol News from commits: LP#2043437: stamp DB update <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b40431​111fd7f9bb20311788b3dc32b51d0fc90d>
15:11 pinesol News from commits: Revert "lp1895699: search results page lets user know that course materials filter... <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ead4f8​2da75728b459d12f595bd1bab5d2da1990>
15:11 pinesol News from commits: lp2043437: fix flakey test <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=00003d​7aa91bdf39272891da9f7c8e80aab24fb1>
15:11 pinesol News from commits: lp2043437: add missing import to CatalogModule <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ee6cb4​32f8d9eb1f8cc0b87665826c74a8d14dd4>
15:17 mantis1 left #evergreen
15:36 Dyrcona Well, one thing this project has revealed is that we should probably remove all of the 998 fields from our records.
15:50 Dyrcona Interesting how MarcStreamReader and MarcPermissiveStreamReader throw different exceptions, even if you tell the latter not to be permissive.

Results for 2023-11-16

12:12 Dyrcona That's at 11:24 EST. :)
12:13 Dyrcona I've already done this for a set of records that evergreen-universe-rs doesn't like.
12:13 berick oh, gotcha
12:15 Dyrcona I think I'll put this down for now and work on a program to convert some marcxml to binary marc to see if CPAN's RT will let me upload that. I get a 403 when I try to upload the marcxml examples from the Rust test.
12:15 Dyrcona "That should only take half an hour," he said knowing it was very likely to be a lie.
12:16 Dyrcona Also, mexican_coca-cola++ It tastes so much better with cane sugar than with HFCS.
12:22 Dyrcona What? libmarc-perl does not install MARC::File and friends? I thought that it did.
12:35 Dyrcona I'm just full of complaints today, aren't I?
12:44 Bmagic you? never!
12:44 Dyrcona I'm installing MARC::File::XML with cpan set to local::lib, and there sure are a lot of prerequisites.
12:50 Dyrcona Failed 11/11 test programs. 3/5 subtests failed.
12:50 Dyrcona Right. I'll just run it on a server where this is already installed.
12:51 Dyrcona And, I'll wipe out the stuff that CPAN installed locally.
13:08 Dyrcona Looks like I may have to reboot. I just swapped monitors and the laptop doesn't see the new one.
13:33 Dyrcona Apparently, all of the software in the world has chosen this week to hate me: https://rt.cpan.org/Ticket/Display.html?id=1503​48&amp;results=a5d68555ff4b4354e65ce6ec51f76634 # Read to the bottom...
13:37 Dyrcona gmcharlt: RT on CPAN is apparently broken for uploads at the moment. I've tried 3 times to add a file of records to that ticket above.
13:39 Dyrcona Stompro++ I'll give MARC::Lint a whirl.
13:57 Dyrcona Stompro: It looks like MARC::Lint may help. I'm running a test program already.
13:59 Stompro I wonder if it will be too verbose, or if you can pick out the bigger issues.  I'm curious how it performs also?
13:59 Dyrcona And, maybe not so much: is_valid_checksum: Didn't get object! at /usr/share/perl5/Business/ISBN.pm line 481, <DATA> line 244.
13:59 Dyrcona Well, it gets totally clobbered by our data after bib id 233519.
14:58 Dyrcona Google sheets is 10 million cells, roughly speaking. Maximum column is zzz (or 18.278). I only have 2 columns.
15:00 Dyrcona LibreOffice Calc has a limit of 1,024 columns per row. Maximum number of rows is just over 1 billion. I hope I don't have to worry about the 32,767 characters per cell limit.
15:01 Dyrcona So as long as we stick with Google Sheets and LibreOffice, we should be OK. I doubt that I'll hit 10 million cells. It may go over 1 million rows.
15:01 Dyrcona Right, enough blather. I'll test the version that writes the CSV files.
15:03 * Dyrcona tries hot swapping monitors again. If I disappear, I had to reboot.
15:10 Dyrcona Well, looks like I have to reboot.
15:16 Dyrcona joined #evergreen

Results for 2023-11-14

10:27 pinesol News from commits: DOCS: LP#1871211 Follow-up eg_vhost.conf <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ded2dd​7815a9d3bcf0305c1b55dd53ee3f7ae4f4>
10:27 Dyrcona It probably should.
10:29 sandbergja joined #evergreen
10:30 sandbergja Dyrcona++ # thanks for taking a look at that live test
10:32 berick sandbergja++ # branches, redis, and more!
10:32 Bmagic sandbergja, abneiman, terranm, colum : Would you mind if I back ported this Docs commit to rel_3_12? ded2dd7815a9d3bcf0305c1b55dd53ee3f7ae4f4
10:33 sandbergja +1 from me
11:18 berick hm, i thought we did decide to make it default for post-3.12 main.
11:18 berick i could be misremembering
11:19 berick in part, i think, since it would only affect new installs
11:20 eeevil I thought we'd agreed that we should see what things look like after some more testing and review.
11:20 Dyrcona I'm not sure what we agreed at this point. Maybe we should have that discussion on the list?
11:20 eeevil where will there be more new installs than for the purpose of dev, though?
11:21 Dyrcona The dev meeting is also today.
11:37 eeevil since I came to complain ;) , I'm happy to pick them into main. are there objections?
11:38 eeevil man... my fingers are not moving in the right order today. rel_3_12
11:41 eeevil it's close to lunch time, so I'll leave the question open for a while. but, ping Dyrcona and sandbergja (in particular)
11:52 csharp_ eeevil: I'm good for what my opinion is worth
11:55 csharp_ I've lightly tested it on my puny server
11:55 csharp_ @band add Irregular Expressions
11:55 pinesol csharp_: Band 'Irregular Expressions' added to list
12:02 sleary can I still target bug fixes to 3.12 or is that bad manners at this point?
12:03 eeevil csharp_: it's worth One Full Commit Bit, as it happens, sir!
15:04 Bmagic no problem, carrying forward
15:04 Bmagic #action mmorgan will explore moving LP stats to community site and automating same
15:04 Bmagic #info sandbergja will write tutorial: "Do a database call (Galen’s cat counter)"#info sandbergja will write tutorial: "Do a database call (Galen’s cat counter)"
15:04 Bmagic #info sandbergja will go over the Nightwatch test reorg with folks at the Monday at 2pm ET meeting or another time as available
15:05 Bmagic go ahead sandbergja
15:05 sandbergja kinda fidddling with my partial draft for the tutorial
15:05 sandbergja probably need to check back with me next time :-)
15:05 Bmagic no problem
15:05 sleary sandbergja I looked at what you sent me a while back and it's looking great
15:05 sandbergja we didn't get around to moving the nightwatch tests, but we got them working!
15:05 sandbergja sleary++ # thanks for the review!
15:05 terranm sandbergja++
15:05 Bmagic #action sandbergja will write tutorial: "Do a database call (Galen’s cat counter)"
15:05 smayo sandbergja++
15:33 Bmagic sandbergja++ sleary++
15:33 sleary sandbergja++ # thanks for staying on top of linting!
15:33 Bmagic thanks again sandbergja! next....
15:33 Bmagic #topic New Business - Test failures, including at least one critical regression (bug 2043437) - Jane
15:33 pinesol Launchpad bug 2043437 in Evergreen "Three test failures on rel_3_12 and main" [Critical,New] https://launchpad.net/bugs/2043437
15:34 Bmagic #link https://bugs.launchpad.net/evergreen/+bug/2043437
15:34 sandbergja oh god, I have a bunch in a row :-D
15:34 Bmagic yes, yes you do
15:34 sandbergja we have 3 failing tests, one of which points to a major problem
15:34 sandbergja tests++ # catching that before we released it to users!
15:35 sandbergja specifically, the holdings view doesn't load (maybe just a missing import or something)
15:35 terranm sandbergja++ tests++
15:35 sandbergja I feel pretty strongly we should take care of those before building a beta.
15:35 mmorgan +1
15:37 Dyrcona When I said that I don't know how to fix the syntax error, I should have said that it's not obvious to me what's wrong.
15:37 Bmagic the course reserves issue is fine because the test is bad, so we're looking at the holdingsView.spec.ts issue, and the query issue
15:37 sleary we should fix the bad test since the problem is obvious, but yes
15:38 Bmagic agreed on fixing the test. Should each of the three things be it's own bug so folks can claim them?
15:38 Dyrcona Well, we could use a collab branch to avoid separate bugs, but I'll let the consensus decide.
15:40 Bmagic I assume this pause is because everyone is reading the bug
15:40 sandbergja :-)
15:41 Bmagic Dyrcona: that query works on two of my test systems
15:42 Dyrcona Bmagic: It blew up for me on a 3.12 vm with stock concerto and Pg 15. I tried the function by itself with different parameters.
15:43 Bmagic Just the query? Not integrated in Evergreen?
15:43 Dyrcona Different parameters, I mean interger array and string that should have matched.
15:43 Dyrcona Just the function by itself, as well as the query I pasted.
15:43 Dyrcona The query comes from the error output of the test.
15:44 JBoyer Fun thing: it worked for me on eg3.11 / pg15 and broke on 3.11 / pg14.
15:44 Bmagic ok, yes, it breaks on newer versions of the database
15:44 Bmagic bugsquash machine throws the error
15:46 Bmagic let's move this to post-meeting
15:46 Dyrcona JBoyer: Gotcha.
15:46 JBoyer Bmagic, +1
15:47 Bmagic #topic New Business - How can we get computers running our tests regularly again? - Jane
15:47 eeevil I'll also look at the search one, later
15:47 sandbergja #info for anybody wanting to run the tests, or try it out: https://wiki.evergreen-ils.org/doku.php​?id=dev:contributing:qa#types_of_tests
15:47 Bmagic sandbergja++
15:47 mmorgan sandbergja++
15:48 sandbergja I am just feeling fired up about tests, and wanted to see if there's capacity for getting buildbot running them automatically for us, or some new solution
15:48 Bmagic sandbergja: where's the buildbot now? (I've never known where that lives and who's in charge of it)
15:49 shulabear sandbergja++
15:49 sandbergja no clue.  Was it an EOLI server?
15:52 sandbergja the ng lint always passes, for reasons mentioned above hahaha
15:52 Bmagic haha
15:52 Bmagic not sure if we've arrived at anything I can put down as action
15:53 sandbergja I can investigate getting more tests into gh actions, if there aren't concerns with tying ourselves more to that platform
15:53 Bmagic #action sandbergja will investigate getting more tests into gh actions
15:53 JBoyer It doesn't have to be the projects definitive home to provide a useful function, even if temporarily,
15:54 Bmagic almost out of time
15:54 Bmagic #topic Keep an eye out for Angular 17 / Bootstrap 5.3 upgrade blockers and note them on bug 2043490 - Stephanie
15:54 pinesol Launchpad bug 2043490 in Evergreen "Angular 17 + Bootstrap 5.3 Upgrade" [Wishlist,New] https://launchpad.net/bugs/2043490
15:54 kmlussier sandbergja++ tests++
15:54 JBoyer (so long as it's still easy to run tests locally)
15:54 Bmagic #link https://bugs.launchpad.net/evergreen/+bug/2043490
15:54 Bmagic sleary: go for it
15:55 eeevil #info I've requested we keep XMPP as the default OpenSRF transport in EG main for the time being. There's no redis release of OpenSRF yet, so support is only in a side branch, and having redis be the default will make dev (especially backport-focused dev, like bug fixes) more painful because you can't just switch branches and test the code.  Also, I'm not convinced that it's deeply understood by more folks than berick, and that puts a lot of pressure
15:55 eeevil on him to Fix All The Things if Things need Fixing.  I'm asking here for any strong objections to applying the 2 existing commits that will make that so, as it is now for rel_3_12.  Barring any, I'll pick those commits into main and life will be a little simpler for all the not-testing-redis cases, for now.
15:56 eeevil (separately, I think I know where the search test failure is coming from, and I'll poke at it early tomorrow)
15:57 Bmagic eeevil: and when we've all installed and tested redis, then make it default?
15:58 eeevil Bmagic: well, and when more-than-Bill can help work on it, ideally, but yes. "when it and we are ready"
15:58 eeevil it's not something we should force Right Now, IMNSHO. but, hopefully, soon
15:58 eeevil for a definition of soon somewhere between "months" and "geologic time"
16:06 jihpringle joined #evergreen
16:06 shulabear bmagic++
16:10 Bmagic Dycona: that's strange. Worked for me on 3.9.1 and 3.11.1, but not busquash main
16:11 Dyrcona Bmagic: Are you talking about the function itself or the search test? I suspect the function has been broken since 0940, but doesn't look like it is used much.
16:12 Bmagic copy/paste the query I mean
16:13 Dyrcona I get a syntax error any time/any where I run the function.
16:14 JBoyer yeah, query_int_wrapper does so little I'm surprised we even have it (syntax escaping simplicity if I had to guess) but sometimes passing '()' as the second param is accepted and sometimes it's a syntax error, which is weird.
16:20 Dyrcona select query_int_wrapper(vlist, '()') from metabib.record_attr_vector_list where source =2; <- Blows up for me, even though record 2 is in metabib.record_attr_vector_list
16:20 Dyrcona Can we just replace it with the code from the function?
16:22 Dyrcona select vlist @@ '()'::query_int from metabib.record_attr_vector_list where source = 2; Also produces a syntax error at the text value '()
16:23 eeevil I wish I weren't orange right now ... TL;DR: no, we can't (without testing that we don't need it anymore -- and there were reasons)
16:24 Dyrcona eeevil: It's used in only 1 place AFAICT.
16:24 Dyrcona I've tried a few variations: '{}' also fails but null works.
16:25 eeevil Dyrcona: yes, and that 1 place is important. more later, though
16:45 eeevil I'm transforming back into pure eeevil, leaving my pumpkin state behind!
16:45 eeevil and, https://bugs.launchpad.net/ever​green/+bug/1438136/comments/12
16:45 pinesol Launchpad bug 1438136 in Evergreen 2.8 "OPAC searching significantly slowed by adding format filters" [High,Fix released]
16:45 eeevil that's why we have query_int_wrapper, and what we need to test before we stop trying to use it.
16:45 eeevil HOWERVER
16:46 eeevil that's not the problem here, regardless. the problem here is that we should never be sending an effectively-empty query_int (that is, and int array query "thing") to the database
16:47 eeevil that clause is a question of the data, but the question being asked is empty in this case. we need to elide the clause altogether
16:48 eeevil which we normally do (you don't always see a query_int clause either direct or via query_int_wrapper), but something is convincing us to generate an empty query_int at the perl level
16:49 eeevil I suspect an interaction with the new on_reserve() filter, but mostly because it's new and not because I can point to a problem with it
16:54 Dyrcona Well, that's somewhere to start. I was thinking of resorting to git bisect. I can take a look tomorrow morning, probably.
16:55 Dyrcona Anyway.... I'll turn into a pumpkin now.....
17:11 kmlussier left #evergreen

Result pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143