Time |
Nick |
Message |
02:16 |
|
eglogbot joined #evergreen |
02:16 |
|
Topic for #evergreen is now Welcome to #evergreen (https://evergreen-ils.org). This channel is publicly logged. |
02:16 |
|
jeff joined #evergreen |
02:16 |
|
Keith__isl joined #evergreen |
02:19 |
|
abneiman joined #evergreen |
02:27 |
|
jeff joined #evergreen |
03:20 |
|
phasefx_ joined #evergreen |
03:24 |
|
tsadok joined #evergreen |
04:44 |
|
bshum joined #evergreen |
05:14 |
|
jonadab joined #evergreen |
06:02 |
pinesol |
News from qatests: Testing Success <http://testing.evergreen-ils.org/~live> |
07:28 |
|
rjackson_isl_hom joined #evergreen |
08:35 |
|
mmorgan joined #evergreen |
08:38 |
|
mantis joined #evergreen |
09:06 |
|
Dyrcona joined #evergreen |
09:22 |
|
rfrasur joined #evergreen |
09:23 |
Dyrcona |
Pg 14 was released yesterday, so guess I'll add it to my testing server. I may drop Pg 9.6 later this month. |
09:25 |
Dyrcona |
Also, for those who care, I set up a VM with 680GB of space so I can test what happens when I upgrade a production Evergreen server from Ubuntu 18.04 to Ubuntu 20.04. I've got a server running 20.04, but I typically do pg_restore which fixes the indexes. |
09:32 |
Dyrcona |
Looks like we may get to drop a dependency: Note, selecting 'postgresql-14' instead of 'postgresql-contrib-14' |
09:34 |
Dyrcona |
That appears to be true for 10 through 14 when using the PostgreSQL community apt repo. |
09:35 |
Dyrcona |
They all say that postgresql-contrib-VERSION is a purely virtual package. |
09:46 |
csharp_ |
got curious about that - looks like the -contrib package used to break out the modules described in https://www.postgresql.org/docs/10/contrib.html but now is bundled in the main package |
09:52 |
Dyrcona |
Yeahp. |
09:52 |
Dyrcona |
They're separate packages on 9.6. |
09:59 |
Dyrcona |
So, I've got Pg 14 with the plprofiler installed and running. I'll work on configuring it and loading a test dump next week. |
10:00 |
Dyrcona |
Looks like the default password format changed. I'll have to read the release notes if that means anything for upgrades. |
10:00 |
|
jvwoolf joined #evergreen |
10:36 |
mantis |
Has anyone successfully found the macro for copy barcode used in something like autorenewal notices? I tried copy_details.barcode, copy.barcode, and cid.barcode |
10:39 |
mantis |
Unsure if particular environments need to be made to the notice either to get the barcode to appear |
10:39 |
JBoyer |
mantis, are you creating a new template or modifying an existing one? |
10:40 |
mantis |
JBoyer: modifying |
10:40 |
mmorgan |
mantis: Our overdue notices use circ.target_copy.barcode |
10:40 |
JBoyer |
I guess I should have asked if you're modifying a stock one :) |
10:41 |
Dyrcona |
mantis: Does your template have a line like [% FOR circ IN target %] ? |
10:41 |
mantis |
Yes |
10:41 |
mantis |
I would say its mostly stock |
10:41 |
Dyrcona |
What mmorgan said should work. |
10:41 |
mantis |
mmorgan: thanks! |
10:41 |
mantis |
mmorgan++ |
10:41 |
JBoyer |
In any case, there isn't necessarily a copy object that just exists, it usually has to be pulled via the get_copy_bib_basics() helper, and that's usually assigned to something like copy_details. |
10:42 |
Dyrcona |
mantis: It works only inside that loop, which is most likely where you want it anyway. |
10:42 |
JBoyer |
mantis, if you tell us which one you're editing (specifically autorenewal, or something else) we can tell how the copy details might be pulled. |
10:43 |
JBoyer |
Because mmorgan's suggestion depends on some other non-template settings to actually flesh out the copy object on the circ. |
10:43 |
mantis |
JBoyer: it's the autorenewal notify |
10:44 |
mmorgan |
Our autorenewal notify doesn't print the barcode, I've not tried it there. |
10:44 |
mantis |
I thought it was cid.barcode because of this: |
10:44 |
mantis |
[%- SET copy_details = helpers.get_copy_bib_basics(cid) -%] |
10:44 |
mantis |
but now I'm seeing it's bib basics |
10:45 |
mantis |
but I also see [%- SET cid = circ.target_copy || udata.copy -%] in the same template |
10:45 |
mmorgan |
It looks to me like get_copy_bib_basics does not return the barcode |
10:47 |
Dyrcona |
Our autorenewal notice does print the barcode: Barcode: [% circ.target_copy.barcode %] |
10:47 |
alynn26 |
Our Autorenewal notices use Barcode: [% circ.target_copy.barcode %] for the barcodes. |
10:48 |
alynn26 |
here is our complete Notice: https://pastebin.com/W9HX39TK |
10:49 |
JBoyer |
My favorite notice. :D |
10:49 |
mantis |
alynn26++ |
10:50 |
* JBoyer |
semi-seriously thought about having that replace the stock notice because of the complaints at the time re:stock |
10:50 |
Dyrcona |
mantis: This is what our action_trigger.environment looks like for the auto-renewal notice: https://pastebin.com/DvpUsTwi |
10:51 |
* Dyrcona |
tried using paste.evergreen-ils.org and was told: service unavailable. |
10:52 |
Dyrcona |
I believe that you'll want to have something with target_copy added to the environment if it is not already there. |
10:56 |
Dyrcona |
mantis: I suspect you will need to add target_copy to the environment based on what you pasted here: [%- SET cid = circ.target_copy || udata.copy -%] |
10:57 |
Dyrcona |
And, you will need to change that line to [%- SET cid = circ.target_copy.id || udata.copy -%] |
11:02 |
mantis |
Dyrcona++ |
12:07 |
|
jihpringle joined #evergreen |
12:50 |
* rfrasur |
ponders the intersection of the words "favorite" and "notice" as it pertains to complaints in Evergreen. |
13:17 |
|
jvwoolf joined #evergreen |
13:27 |
JBoyer |
rfrasur, compare it to stock sometime and see if you can tell why I'm a fan of the customized version. ;) |
13:28 |
rfrasur |
Oh, I have no doubts. And remember some of the changing it, too. It's just a fun thought exercise. |
13:28 |
rfrasur |
Also |
13:28 |
rfrasur |
parts++ |
13:29 |
* mmorgan |
ponders the intersection of "fun" and "thought exercise" :) |
13:29 |
mmorgan |
rfrasur++ |
13:29 |
rfrasur |
lol! |
14:26 |
Keith__isl |
Does anyone know offhand if Boopsie just...up and vanished? Like the Needful Things shop? |
14:32 |
Keith__isl |
Looks like they are owned by Solus UK now? |
14:33 |
Dyrcona |
Dunno. The website comes up blank for me. |
14:34 |
Keith__isl |
We have a process that uploads stuff that puts stuff in their FTP server bi-monthly. Guessing that address changed and nobody told us. >.> |
14:36 |
Dyrcona |
We have a similar process, and it will run tonight. |
14:36 |
Dyrcona |
Maybe they're just having server issues. The website is returning "empty" pages. |
14:40 |
Keith__isl |
I'll roll the dice with a support ticket - if it's just temporary server issues, it'll be a quick and easy bump to some support agent's handled tickets. :) |
14:41 |
* Dyrcona |
checks if Boopsie is still installed on his phone. |
14:43 |
jeff |
HTTP/1.1 503 Service Unavailable: Back-end server is at capacity |
14:43 |
Dyrcona |
Nah. Looks like I didn't install it when I got my new phone. |
14:43 |
Dyrcona |
Under attack maybe? |
14:44 |
jeff |
There are many posibilities. I've no reason to guess that over any other possibilitiy, though. |
14:44 |
jeff |
@decide Hanlon's Razor or Occam's Razor |
14:44 |
pinesol |
jeff: go with Hanlon's Razor |
14:45 |
Keith__isl |
Which is the one about malice being the simplest solution? |
14:45 |
jeff |
Neither of those two. :-) |
14:45 |
Dyrcona |
Ha! |
14:45 |
Keith__isl |
Neither? ...OR BOTH! ;3 |
14:46 |
Dyrcona |
| is inclusive either or both can be true. |
14:46 |
jeff |
there is also Grey's Law, which is a play on Clarke's Law. |
14:47 |
jeff |
(er, Clarke's third law) |
14:48 |
Keith__isl |
Going to need to bring in legal counsel to navigate all of these laws. |
14:55 |
Dyrcona |
Finagle's Law? |
14:58 |
Dyrcona |
Anyone here using pgbouncer? It was suggested over in #postgresql when I asked about a work_mem setting. |
14:59 |
Dyrcona |
Also, someone is trying to cram a 1GB json object into a single field. I wonder kind of application uses a 1GB json blob? |
15:00 |
|
mantis1 joined #evergreen |
15:39 |
csharp_ |
Dyrcona: I've not used pgbouncer, but I've considered it - I think dbs was using it at one point? |
15:56 |
|
jvwoolf left #evergreen |
16:17 |
|
stephengwills joined #evergreen |
16:25 |
Dyrcona |
I may consider using pgbouncer since we seem to have a lot of idle connections. |
16:26 |
berick |
i've experimented with pgbouncer and liked what I saw. haven't used it beyond that though. |
16:30 |
Dyrcona |
good to know. |
16:44 |
pinesol |
News from qatests: Failed Installing OpenSRF pre-requisites <http://testing.evergreen-ils.org/~live//archive/2021-10/2021-10-01_16:00:02/test.7.html> |
16:49 |
Dyrcona |
Nothing that we can fix: Hash Sum mismatch |
16:52 |
JBoyer |
ETRYAGAIN |
16:55 |
Dyrcona |
Yeah. |
17:06 |
Dyrcona |
Well, I'm calling it a day/week. Have a good weekend, everybody! |
17:17 |
|
mmorgan left #evergreen |