Evergreen ILS Website

IRC log for #evergreen, 2019-10-30

| 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
04:55 serflog joined #evergreen
04:55 Topic for #evergreen is now Welcome to the #evergreen library system channel! | We are publicly logged: http://irc.evergreen-ils.org/evergreen | Large pastes at http://paste.evergreen-ils.org | Can't speak? Make sure your nickname is registered and that you are identified to freenode services: https://freenode.net/kb/answer/registration
05:18 cmalm_ joined #evergreen
07:08 rjackson_isl joined #evergreen
08:36 alynn26_away joined #evergreen
08:47 mmorgan joined #evergreen
09:01 Dyrcona joined #evergreen
09:43 Dyrcona Wow! pg_upgrade with --link is fast!
10:13 yboston joined #evergreen
10:26 jvwoolf joined #evergreen
10:47 sandbergja joined #evergreen
11:02 pinesol News from qatests: Failed Installing Angular web client <http://testing.evergreen-ils.org/~li​ve/test.29.html#2019-10-30T11:00:51,705085251-0400 -0>
11:03 berick [91m30 10 2019 04:43:51.445:ERROR [launcher]: [39mNo binary for ChromeHeadless browser on your platform.
11:03 berick Please, set "CHROME_BIN" env variable.
11:04 berick phasefx: ^--
11:05 phasefx berick: that's causing the npm ERR! code ELIFECYCLE at the bottom?
11:05 berick phasefx: yep
11:05 phasefx set it to what?
11:05 berick your mileage may vary, but on Ubuntue: CHROME_BIN=/usr/bin/chromium-browser
11:05 berick heh, Ubuntue
11:05 berick L'Ubuntue
11:05 phasefx so do we actually need to install chromium?
11:06 phasefx or should we, rather?
11:06 berick phasefx: it should be installed w/ the makefile installer
11:06 berick just have to tell the test engine how to find it
11:06 phasefx berick++
11:06 JBoyer Currently the -developer target installs it, I need to add a -tester instead.
11:07 phasefx fwiw, the tester is calling the -developer target
11:13 JBoyer I'm surprised that not finding chromium could possibly cause ELIFECYCLE though. Usually it just runs the tests in firefox instead and goes on,
11:14 phasefx I'm going to fire off the installer now; we'll get one more RSS error, but I can inspect the  state of the vm then and look for chromium
11:15 JBoyer I am also fairly certain that Debian and L'Ubuntue use different filenames. The package names are different and I don't think Debian uses a -browser suffice
11:15 JBoyer suffix, either.
11:15 sandbergja joined #evergreen
11:16 phasefx but I can say chromium is in the package list when the tester gathers the list of installed packages (it used to be chromium-browser; I thought chromium was a game)
11:17 JBoyer It is a game, but I think Debian added a suffix to the game no one (statistically) installs, while Ubuntu went the opposite direction.
11:17 phasefx in that case.. https://packages.debian.org/st​retch/amd64/chromium/filelist says it should be /usr/bin/chromium
11:19 * phasefx aborted the install, http://testing.evergreen-ils.org/~live/ looks awesome :)
11:19 Dyrcona I was getting ELIFECYCLE the other day after updating node and doing npm install.
11:20 JBoyer phasefx, I don't suppose you totally blew away /usr/local/lib/node_modules and so on? that's what it took to un-stick one of my dev servers. :/
11:20 Dyrcona I had to blow the pre-existing Node installation away and reinstall the new one: https://pastebin.com/AXMCWyHC
11:21 JBoyer (I may be off on the path too, that's from memory, which frequently fails ECC ;) )
11:21 phasefx JBoyer: there's a pristine and very minimal install of debian that we have snapshotted that the vm gets refreshed from, so it's doing pretty much everything from scratch twice a day
11:22 JBoyer Ah, not that then. :)
11:22 Dyrcona Nope, guess not...
11:24 Dyrcona Chromium has been acting "strange" for me on Ubuntu 19.10 lately, but I haven't rebooted since I noticed it, just logged out and back in (for an unrelated reason).
11:31 phasefx alright, new test running with CHROME_BIN set
11:32 * phasefx should add an env dump at the end along with the installed debian and cpan packages
11:33 phasefx be funny if installing chromium unsets my CHROME_BIN :)
11:38 JBoyer Chrome was in, but now CHROME_BOUT
11:39 phasefx it's an ELF on a shelf
11:41 Dyrcona phasefx++
11:42 JBoyer phasefx++
11:43 phasefx we are such nerds
11:43 Dyrcona Indeed!
11:44 Christineb joined #evergreen
11:44 Dyrcona Which reminds me to tell JBoyer that I wrote the C program to login via SIP2 and set it up as haproxy check program on my test system. I statically linked it because of the chroot.
11:48 JBoyer Dyrcona, not too lousy to track down the necessary libraries, eh?
11:50 Dyrcona Well, the sip2 login only requires libc...
11:52 Dyrcona The other programs in the chroot require about 38 libraries.
11:52 JBoyer That's not too bad.
11:54 Dyrcona All for bash, grep, tr, and curl.
11:54 Dyrcona Mosly, for curl. :)
11:57 sandbergja joined #evergreen
12:01 JBoyer that makes sense.
12:03 Dyrcona Yeah, all the crypto libs.
12:08 jihpringle joined #evergreen
12:10 khuckins joined #evergreen
12:12 nfBurton joined #evergreen
13:03 pinesol News from qatests: Failed Installing Angular web client <http://testing.evergreen-ils.org/~li​ve/test.29.html#2019-10-30T12:49:55,792101429-0400 -0>
13:03 pinesol News from qatests: Failed Log Output: osrfsys.log - Expected 3 errors but encountered 6. <http://testing.evergreen-ils.org/~li​ve/test.76.html#2019-10-30T12:49:55,833819643-0400 -2>
13:46 jeffdavis I'm awed and a little frightened by the wide_hold_data SQL query: https://git.evergreen-ils.org/?p=Evergr​een.git;a=blob;f=Open-ILS/src/perlmods/​lib/OpenILS/Application/Storage/Publish​er/action.pm;h=213ed59e;hb=HEAD#l2155
13:46 Dyrcona :)
13:47 Dyrcona jeffdavis are you perchance chasing a bug where copies don't show up on the hold shelf that should?
13:47 mmorgan Heh.
13:47 jeffdavis yep, just testing that fix locally before putting in production
13:49 Dyrcona We've been running it in production for a few months.
13:52 jeffdavis yeah I'm not worried about it at all, just following local procedure - I expect we'll have it in prod tonight :)
14:20 miker jeffdavis: the fun thing is that the query is performant! :)
14:43 khuckins joined #evergreen
14:46 stephengwills Is there a way to toggle the actor.usr.super_user flag via the web client?
14:48 Dyrcona stephengwills: Nope. Only in the database itself.
14:49 Dyrcona Depending on what you're trying to do, you can make a global administrator group that has all permissions and all locations and use that instead. (I much prefer that over setting super_user.)
14:50 stephengwills I’ll play with it, thanks.  I am trying to take that bit flag away from someone :). thanks
14:50 nfBurton joined #evergreen
14:50 Dyrcona Well, that's easy in the database.
14:53 mmorgan So what's the difference between super_user vs. the EVERYTHING permission?
14:56 csharp I believe super_user = true doesn't even check perms, but it's been a while since I looked at that
14:56 Dyrcona Well, perm checks bail with a positive response if super_user is true.
14:57 Dyrcona It used to be that super_user worked more often than EVERYTHING at depth 0, but that has been fixed for a few years, now.
14:57 mmorgan So super_user would be as powerful as the system account?
14:57 csharp looks like they are effectively the same: https://pastebin.com/79sfd2nM
14:57 Dyrcona Yes, it is.
14:58 csharp from the set_user_perms sub in Open-ILS/src/perlmods/lib/O​penILS/Application/Actor.pm
14:58 Dyrcona The default sysadmin account is a super_user. I don't recommend using it because you have to go into the database to remove it. Permission groups are easier to manage.
14:58 jvwoolf joined #evergreen
14:59 csharp oh - wait, that's for setting user permissions, maybe not everything
14:59 Dyrcona They're effectively the same.
14:59 mmorgan Ok, good to know!
14:59 mmorgan Dyrcona++
14:59 mmorgan csharp++
14:59 Dyrcona IIRC, super_user has been around longer than the EVERYTHING permission, so it remains.
15:32 jvwoolf1 joined #evergreen
15:37 stephengwills would a hard boundary affect permissions?  If staff-brA relied on consortium perm settings and then I set a hard boundary at 1, just under the consortium, is it possible that staff-brA might lose some permissions?
15:38 stephengwills I have a staff who just lost the ability to register a patron while I was messing with boundaries.
15:39 berick stephengwills: hold boundaries?  those don't affect user/staff permissions.
15:39 stephengwills nod.  one wouldn’t think so.
15:39 stephengwills I’ll keep flogging it.
15:54 * csharp blinks
15:55 csharp was the RM vote held today, I peeked in at 3:00 and didn't notice activity
15:55 csharp s/,/?/
15:56 berick csharp: i think the vote was only going to be called if we got more than 2 nominations
15:56 csharp oh - I see :-)
15:56 berick so, congrats csharp  :)
15:56 csharp hooray!
15:56 * csharp high fives self
15:56 mmorgan csharp++
15:57 mmorgan Congrats!
15:57 yboston joined #evergreen
15:57 csharp berick: congrats to you too
15:57 berick gracias!
15:57 mmorgan berick++
15:57 csharp wondertwin powers ACTIVATE
15:57 mmorgan Congrats!
15:57 berick form of.. co-RM-squad
15:57 csharp Evergreen 3.5 - code name "Cowtown"
15:57 berick heh
15:58 JBoyer I thought there were 2 nominations? or was that just one dark lord and one apprentice, since only two there are?
15:59 * csharp practices force lightning in the corner
16:01 berick JBoyer: my understanding, that it is.
16:08 Dyrcona Yeah, that's the way I understand it.
17:00 berick select * from config.global_flag | grep name ~ 'opac';
17:00 berick i just did that in psql
17:00 csharp pg_upgrade++
17:01 csharp berick: huh - not working for me: ERROR:  syntax error at or near "|"
17:01 jeff berick: yeah... probably works about as well as SQL in your shell.
17:01 csharp oh I see
17:01 csharp :-)
17:01 jeff though now I'm intrigued by the idea of a shell script called SELECT...
17:02 csharp I do that kind of thing a lot - especially SQL from bash
17:02 jeff LWP used to create a GET and HEAD script in your path, iirc.
17:04 mmorgan left #evergreen
17:26 jvwoolf joined #evergreen
17:41 guel joined #evergreen
17:41 guel Hi, Does someone know where is saved (in wich table in database) the CIRCULATE AS TYPE catalog values?
17:55 csharp guel: asset.copy - the field is circ_as_type
17:55 csharp oh - hmm
17:57 guel joined #evergreen
17:58 csharp guel: asset.copy - the field is circ_as_type
17:58 csharp guel: if you provide more context as to why you're asking about that, someone may have advice
18:01 guel csharp thanks, I want to know if the values "Language material, kit, mixed materials, etc", are saved in any database table
18:02 csharp ah - yeah - those are somewhere in metabib.record_attr I think - I may have that wrong
18:04 csharp actually, looks like they are in config.coded_value_map
18:05 csharp guel: https://git.evergreen-ils.org/?p=Evergre​en.git;a=blob;f=Open-ILS/src/sql/Pg/950.​data.seed-values.sql;h=32dcd0fffab163035​7025128b8cbf9fa0d31291a;hb=HEAD#l7380
18:06 guel csharp, thanks, that's what I was looking for,
19:05 cmalm joined #evergreen
19:56 sandbergja joined #evergreen
20:44 tlittle joined #evergreen
21:43 sandbergja joined #evergreen
22:04 pinesol joined #evergreen
22:05 serflog joined #evergreen
22:05 Topic for #evergreen is now Welcome to the #evergreen library system channel! | We are publicly logged: http://irc.evergreen-ils.org/evergreen | Large pastes at http://paste.evergreen-ils.org | Can't speak? Make sure your nickname is registered and that you are identified to freenode services: https://freenode.net/kb/answer/registration
22:13 sandbergja joined #evergreen
23:02 pinesol News from qatests: Failed Installing Angular web client <http://testing.evergreen-ils.org/~li​ve/test.29.html#2019-10-30T23:00:46,869129834-0400 -0>
23:12 sandbergja joined #evergreen
23:44 sandbergja joined #evergreen

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