Evergreen ILS Website

IRC log for #evergreen, 2020-07-17

| 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:37 sandbergja joined #evergreen
00:44 sandbergja joined #evergreen
01:00 mrisher joined #evergreen
01:00 mrisher joined #evergreen
06:01 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
06:55 Dyrcona joined #evergreen
07:06 Dyrcona Grabbing 1206.
07:16 pinesol [evergreen|Mike Rylander] LP#1886852: Protect against dupes in hold-copy map function - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=53b9dec>
07:16 pinesol [evergreen|Jason Stephenson] LP#1886852: Stamping Upgrade Script - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=145f3da>
07:29 rjackson_isl_hom joined #evergreen
07:44 RBecker joined #evergreen
07:58 rfrasur joined #evergreen
08:39 mantis1 joined #evergreen
09:39 alynn26_away joined #evergreen
10:28 abowling joined #evergreen
11:38 jvwoolf joined #evergreen
11:51 Dyrcona joined #evergreen
11:51 Dyrcona joined #evergreen
12:23 jvwoolf1 joined #evergreen
12:52 khuckins joined #evergreen
13:16 troy__ joined #evergreen
13:20 Dyrcona csharp++
13:56 Dyrcona csharp++ # Because mail server administration is a thankless job.
13:59 berick @band add The Thankless
13:59 pinesol berick: Band 'The Thankless' added to list
14:00 rfrasur csharp++ # mail server admin is a NECESSARY but thankless job.  Hopefully you can trade in some of the karma for cookies or a steak.
14:00 rfrasur or...an impossible burger.  Whatever your preference.
14:06 Dyrcona @blame [band] for [dunno]
14:06 pinesol Dyrcona: I know it was you, Blighted Tormenter Contours. You broke Dyrcona's heart. You broke Dyrcona's heart. for Have you run autogen.sh?
14:07 Dyrcona pinesol: You are a poet!
14:07 pinesol Dyrcona: What we have here is a failure to communicate.
14:55 jvwoolf joined #evergreen
15:01 sandbergja joined #evergreen
15:22 Bmagic_ anyone already solve the issue of building Evergreen on 16.04 and getting the "Angular version X requires a newer version of node" ?
15:24 berick Bmagic_: we install node from source to match the version angular needs.  any chance you upgraded EG but didn't rerun the make file installer?
15:25 Bmagic hmm, don't think so
15:25 Bmagic 3.2.3 on Ubuntu 16.04 - just installed the OS 1 hour ago and immediately started running through the EG build
15:27 Bmagic node was on 8.x something and Angular CLI was wanting v10 or higher
15:27 Bmagic at this point, I've manually installed a newer vesrion of node, trying to satisfy Angular CLI - which worked, but now I have a build issue later
15:28 Bmagic binding.target.mk:131: recipe for target 'Release/obj.target/binding/src/binding.o' failed
15:28 Dyrcona Bmagic: If you install the ubuntu-xenial-developer prerequisites then you will get the correct version of Node for 3.3.2 and the correct version of Angular (7.0.something).
15:28 Bmagic weird, that's exactly what I thought I did. Will go back
15:29 Dyrcona You have the wrong version of Angular for Evergreen 3.2.
15:29 berick Bmagic: ng --version
15:29 berick should show version 7.x.y
15:29 Bmagic Angular CLI: 6.1.5
15:29 Bmagic Node: 12.18.2
15:30 berick Bmagic: what about @angular-devkit/core version?
15:30 berick should be in the ng --version output
15:30 Bmagic @angular-devkit/core              0.7.5
15:30 pinesol Bmagic: Can't locate Snark.pm in @INC
15:31 berick heh, those version numbers aren't helpful
15:31 Bmagic are they what we expect for EG 3.2.3 ?
15:31 Dyrcona Bmagic: That's definitely the wrong version of Node for 3.2 and things won't work.
15:32 Bmagic yeah, I upgraded it due to the previous complaint from Angular CLI
15:33 berick Bmagic: grep 'angular/core' Open-ILS/src/eg2/node_module​s/@angular/core/package.json
15:33 Bmagic package.json is calling for "@types/node": "~8.9.4",
15:33 Bmagic berick: lots of hits
15:34 Bmagic "@angular/core@6.1.6"
15:34 berick that's.. strange
15:34 berick angular should be version 7 on 3.2
15:34 Bmagic I'll start over I guess. Not sure where I misstepped
15:34 berick the versioning could be wonky for that batch, though
15:34 Dyrcona Bmagic: You will have to delete Node and start over with Node 8.11.4.
15:35 Bmagic (it's all scripted so....)
15:35 berick i't not necessarily a problem, just unexpected
15:35 berick Bmagic: did you 'rm -rf node_modules' after you updated Node?
15:35 Bmagic yepper
15:35 Bmagic but I could kill it globally too
15:36 Dyrcona You have to delete node from /usr/local/, too.
15:37 berick i have had to do that as well after changing node versions
15:37 Dyrcona If you change Node versions, that is. I can tell you that Node 12 will NOT work with Evergreen 3.2.
15:37 jeffdavis https://pastebin.com/W3Be8aXi <- commands for fully clearing out node if it helps
15:38 Bmagic jeffdavis++ # much helpful
15:39 Bmagic ok, node is wiped out totally
15:39 Bmagic going to reset the Evergreen repo and start from the top
15:39 Dyrcona jeffdavis++
15:43 jeffdavis csharp: any idea if PINES has custom code that would cause 856s with ind2=2 to display? They don't display in my 3.5 test environment. (bug 1230380)
15:44 pinesol Launchpad bug 1230380 in Evergreen "856 electronic access link doesn't display when 2nd indicator is anything other than 0 or 1" [Wishlist,Confirmed] https://launchpad.net/bugs/1230380
15:46 mantis1 left #evergreen
15:50 Dyrcona jeffdavis: It should be a relatively easy change in the get_marc_attrs BLOCK of misc_util.tt2. We've got some other modifications to that block related to 856 tags.
15:52 Dyrcona jeffdavis: Just open it up and search for tag="856"
15:54 Dyrcona And, with that, I'm signing out. Have a nice weekend, everyone!
16:19 Bmagic berick: got the installation procedure up to the point where I just finished installing the developer prereqs. Now when I issue ng --version
16:20 Bmagic "Node.js version v8.11.4 detected.:"
16:20 Bmagic "The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0."
16:20 Bmagic the issue seems*  like I am (somehow) installing a newer version of Angular CLI?
16:24 Bmagic from "node_modules/@angular/core/package.json" - I have "@angular/core@6.1.6"
16:25 Bmagic (again)
16:25 Bmagic Open-ILS/src/eg2/package.json contains thils line "@angular/core": "^6.1.0",
16:29 berick Bmagic: what was it, eg 3.2.3?
16:29 Bmagic tags/rel_3_2_3 has that value set to ^6.1.0 and tags/rel_3_2_4 has it set to ^7.2.2
16:30 Bmagic yep 3.2.3
16:30 Bmagic I wonder if it will "fix" if I update that value to 7.2.2
16:30 berick Bmagic: ok, yeah, 3.2.3 is kind of funky
16:31 berick Makefile.common does not specify an Angular version
16:31 Bmagic I'm sure it used* to build... before the internet changed itself
16:31 berick npm install -g @angular/cli
16:31 berick so it's probably installing too modern of a version of ang
16:31 berick nah, it's busted.
16:31 berick it used to build before the internet moved on ;)
16:32 Bmagic yeah, darn. ok. No way of getting this working anymore?
16:32 berick you could tweak Makefile.common to install Ang 7 and backport package.json from 3.2.4 -- that might work
16:32 berick or update to 3.2.4 -- probably a minor update
16:33 Bmagic I am a little confused though. You're saying that it's installing a "new" version. How can I tell what version of angular is really* installed now?
16:33 Bmagic the package.json file seems to say that it's 6.x version (which is older than 7 right?)
16:34 berick yes, but Makefile.install doens't know that it should install v. 6
16:34 berick what's the full output of this again?  /usr/local/bin/ng --version
16:34 Bmagic the output of that command is kind of funny
16:34 Bmagic here I'll paste it
16:35 berick yeah, minus the goofy branding
16:35 Bmagic lol, paste site is down
16:35 Bmagic https://pastebin.com/VHbTunYw
16:36 Bmagic used pastebin instead of paste.evergreen-ils.org
16:36 berick does not it not have a line like this? Angular CLI: 8.3.17
16:36 Bmagic nope
16:36 Bmagic it's basically an error message
16:36 berick ok, it must really hate old Node
16:37 Bmagic I'll try nabbing the 3.2.4 package.json file and overwrite the one from 3.2.3
16:37 berick Bmagic: /usr/local/lib/node_modules​/@angular/cli/package.json
16:37 berick top of that file
16:38 Bmagic "_id": "@angular/cli@10.0.3",
16:40 Bmagic took a peak at "extras/install/Makefile.common" - it seems to execute: "npm install -g @angular/cli"
16:40 berick bingo
16:40 berick global ang version too new
16:40 Bmagic doesn't seem to specify a version
16:40 berick that's what I was saying :)
16:40 berick that's the problem
16:40 Bmagic with node, though, can we ignore global in favor of "local" node_modules?
16:41 berick no you still need the global 'ng' executable
16:41 berick which uses global node_modules
16:41 Bmagic gotcha
16:41 berick so makefile.common needs
16:41 berick npm install -g @angular/cli@^7.0.7
16:41 Bmagic there we go - ok
16:41 Bmagic I can do that
16:42 berick and the package.json from 3.2.4
16:42 Bmagic roger, tasking the satelites
16:42 berick and you might need to kill package-lock.json as well at the base the eg2 directory
16:42 Bmagic I was going to delete the container
16:42 Bmagic :)
16:42 berick well i mean when you install into the new container
16:43 berick you'll have to commit a change to the repository you install from
16:43 berick or also copy that back from 3.2.4
16:43 Bmagic I suppose I could make a commit on the working repo for this... I was just going to manually edit the files right before ansible does it's stuff
16:44 berick oh however you do it
16:44 Bmagic if this ends up working, I'll commit it somewhere for the greater good :)
16:44 berick well, 3.2.3 is pretty old and the issue is fixed in the next version, so..
16:45 Bmagic just my luck :)
16:45 berick yep, you just missed the cutoff
16:50 mrisher_ joined #evergreen
16:57 Bmagic berick: I spyed the cli install fly by. 7.0.7!
16:58 Bmagic I guess that makes me the spy!
16:58 Bmagic spyed/spied haha
16:59 Bmagic I don't think I written that word in the past tense
16:59 berick Oh, To Spy the Cli Fly By
17:01 Bmagic I'm sorry to say that the build is still failing.....
17:01 Bmagic ERROR in node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
17:04 Bmagic give up I guess
17:04 Bmagic I'll give 3_2_4 a spin
17:45 Bmagic whats the link to the "old" dojo interface for local admin / group penalty thresholds?
17:45 Bmagic eg/staff/admin/global/admin/grp_penalty_threshold doesn't seem to do it
17:45 abowling1 joined #evergreen
17:56 sandbergja joined #evergreen
17:58 abowling joined #evergreen
18:01 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
18:28 abowling1 joined #evergreen
18:49 abowling joined #evergreen
20:39 sandbergja joined #evergreen
21:20 mrisher joined #evergreen
22:17 dbwells joined #evergreen
22:27 sandbergja joined #evergreen

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