Evergreen ILS Website

IRC log for #evergreen, 2015-07-15

| 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:16 ningalls joined #evergreen
00:26 bbqben joined #evergreen
01:03 Mark__T joined #evergreen
01:03 Mark__T joined #evergreen
01:03 ningalls joined #evergreen
01:24 bbqben joined #evergreen
03:16 jonadab joined #evergreen
07:30 Shae joined #evergreen
07:31 _robbat21irssi joined #evergreen
07:31 goood_ joined #evergreen
07:32 ningalls_ joined #evergreen
07:33 dbs_ joined #evergreen
07:50 rjackson_isl joined #evergreen
07:58 ericar joined #evergreen
07:59 jboyer-laptaupe joined #evergreen
08:21 akilsdonk joined #evergreen
08:41 jboyer_laptaupe joined #evergreen
08:44 jboyer_laptaupe Cool, cool, cool. I forgot this laptop likes to forget how the internet works several times per day. Good thing I work exclusively online... oops.
08:46 mmorgan joined #evergreen
08:46 tsbere jboyer_laptaupe: Could be worse. For the last few weeks my friend's router has been forgetting that it is supposed to be routing every three hours or so, give or take 10 min.
08:56 mrpeters joined #evergreen
09:02 kmlussier g'morning
09:02 kmlussier @coffee
09:02 * pinesol_green brews and pours a cup of El Patron Nicaragua Espresso, and sends it sliding down the bar to kmlussier
09:03 kmlussier @coffee [someone]
09:03 * pinesol_green brews and pours a cup of Aricha Selection Seven Ethiopia Yirgacheffe, and sends it sliding down the bar to dbwells
09:07 jboyer_laptaupe tsbere, I'd rather buy a router than a laptop. ;) (Also, I've love it if this thing would go 3 hours. :,( )
09:07 jboyer_laptaupe morning kmlussier!
09:07 jboyer_laptaupe (If I'm going to remarking, may as well be sociable.)
09:08 tsbere jboyer_laptaupe: At least your laptop likely doesn't need a factory reset and reconfiguration to get working again. >_>
09:08 kmlussier jboyer_laptaupe: You're always sociable! :)
09:08 jboyer_laptaupe tsbere, ouch, that is a bit extreme.
09:09 jboyer_laptaupe It may help me though, I suspect it's because I upgraded some chipset drivers. Haven't wanted to burn a full weekend rebuilding it from factory. :/
09:10 tsbere jboyer_laptaupe: My friend has ordered parts to build himself a new router from scratch, rather than buy one off the shelf. He figures that way he might have the ability to get log info at least...
09:13 csharp DD-WRT FTW!
09:16 mrpeters joined #evergreen
09:17 tsbere csharp: That works best when the router has a "replace firmware" option in the first place. He got a *really* cheap one. <_<
09:25 yboston joined #evergreen
09:33 maryj joined #evergreen
09:49 lualaba joined #evergreen
09:50 lualaba Hello folk
09:50 lualaba how to make visible records in opac?
09:50 lualaba evergreen=# select count(*) from biblio.record_entry;  count  -------      8 (1 row)
09:51 kmlussier lualaba: Have you added items to the records?
09:52 lualaba do you me barcodes?
09:53 lualaba i have 4 files and need to import into system (i just import 8 marc record) using mark importer
09:53 kmlussier lualaba: Yes, I mean call numbers and barcodes. You need to have items/copies on the record before they will be visible in the opac.
09:54 kmlussier But you should be able to find those records from the staff client even when they are not visible in the opac.
09:54 lualaba i can also import from file
09:55 kmlussier lualaba: Yes, you can also import the copies from a file.
09:56 lualaba my goal is to copy lybrary on other system (i have 4 files: barcodes, catalogers, biblio records) wha tis the best approach?
09:56 lualaba using staff client or directly ipdate in DB?
09:57 lualaba i have empty DB
09:58 kmlussier lualaba: If you can import that data, it will probably be the best approach. But you need more than the barcodes. Each copy also needs a call number, for example.
09:58 lualaba i have also call numbers
09:58 kmlussier The documentation I linked to earlier talks about how to get those copies in the system - http://docs.evergreen-ils.org/2.8/_migrati​ng_your_call_numbers_copies_and_parts.html
09:59 kmlussier lualaba: How many records are in the files you are importing?
09:59 lualaba now is 10 (but will be 40K)
10:00 lualaba i need fisrt import biblio records and then orthers?
10:00 kmlussier For 10 records, you could also import them using the Batch Import in the staff client. For the 40k, you'll want to follow that other documentation. It's way too large to use the staff client.
10:01 csharp tsbere: ah ;-)
10:02 lualaba somewhere i can find step by step instruction with examples?
10:02 jboyer-laptaupe joined #evergreen
10:03 jboyer__laptaupe joined #evergreen
10:06 kmlussier lualaba: http://docs.evergreen-ils.org/2.8/_mig​rating_your_bibliographic_records.html and  http://docs.evergreen-ils.org/2.8/_migrati​ng_your_call_numbers_copies_and_parts.html are the only step-by-steps I'm aware of.
10:06 kmlussier lualaba: I would suggest trying to follow those instructions. If you follow the instructions and come across specific problems, the folks in here should be able to help you out.
10:09 lualaba Thank you
10:10 jwoodard joined #evergreen
10:12 dbs lualaba: the SQL files in Open-ILS/tests/datasets/sql/ are a kind of evolved version of those docs, albeit with the express purpose of populating dummy data in the database for testing purposes
10:13 dbs but if you like SQL, it might help you put the pieces together for things like electronic URIs (856 fields), parts, call number prefixes and suffixes, shelving locations, etc
10:16 kmlussier dbs++
10:27 collum joined #evergreen
11:29 bmills joined #evergreen
11:36 kmlussier Is today definitely a point release day? Should I be working on release notes?
11:37 bshum kmlussier: Actually I was just thinking about that.
11:38 bshum And there's not a lot on my radar at the moment that requires cutting today.
11:38 * bshum checks with berick
11:39 bshum Given that I only see doc changes and maybe one bug fix
11:39 bshum I'm going to say that this might not be an urgent maintenance release.
11:39 * kmlussier didn't see a bug fix
11:39 bshum And we can wait till next month or something.
11:39 kmlussier I was just about to look at bug 1204671
11:39 pinesol_green Launchpad bug 1204671 in Evergreen "Fund tags are not carried over during fund propagation" (affected: 2, heat: 18) [Medium,Confirmed] https://launchpad.net/bugs/1204671
11:39 bshum Or maybe save it towards when the 2.9 alpha happens end of this month.
11:40 kmlussier But I can't see creating a point release just for that bug fix.
11:40 bshum In a couple weeks
11:40 kmlussier I also wanted to make larger changes to the point release notes because I still think the acknowledgements are a bit confusing. If I had a little bit of time to work on that, I wouldn't complain. :)
11:40 bshum https://bugs.launchpad.net/evergreen/+bug/1465830 was pushed to master, etc. but dbwells set the status back to Confirmed/High because of some issue he saw?
11:40 pinesol_green Launchpad bug 1465830 in Evergreen 2.7 "presence of relator terms or codes in $e or $4 can prevent authority headings linking" (affected: 3, heat: 16) [High,Confirmed]
11:40 bshum http://git.evergreen-ils.org/?p=Evergreen.git;a=c​ommit;h=a0ada5bf53c1bb3abe7dfcc11029d380f075d0ec
11:40 pinesol_green [evergreen|Yamil Suarez] LP#1465830: authority linker now ignores $e and $4 in bib name headings - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=a0ada5b>
11:41 berick yeah, i see the same, single bug fix in 2.8: LP#1465830: authority linker now ignores $e and $4 in bib name headings
11:42 bshum I'm fine with delaying the maintenance cuts this round.
11:42 bshum Gives us more time to clear the backlog :(
11:42 kmlussier It looks like that bug should probably be resolved in some fashion before a release is cut.
11:45 kmlussier Speaking of clearing out the backlog, it looks like we have some signedoff tags for code that hasn't been merged yet. I don't know how many are bug fixes.
11:55 bmills joined #evergreen
12:02 bbqben joined #evergreen
12:09 RoganH joined #evergreen
12:20 _robbat2|irssi joined #evergreen
12:21 jboyer-laptaupe joined #evergreen
12:46 bmills joined #evergreen
13:07 kmlussier The first line of the contributing page on the wiki says: "A major goal of the Evergreen ILS Project is to become a long term, sustainable, community driven development effort. "
13:07 kmlussier Could I make the argument that, since the time that this page was originally written, we have become a sustainable, community-driven development effort?
13:09 bshum "A major goal of the Evergreen ILS Project is to continue encouragement of long term, sustainable, community driven development effort."
13:09 bshum :P
13:10 kmlussier RIght now, I have it as "For the Evergreen ILS Project to continue as a long-term, sustainable, community-driven development effort..."
13:11 lualaba_ joined #evergreen
13:12 lualaba_ Hi, I Run load_all.sql and know i have records in DB, If i generate files like this sql i will able transfer one library to another correct?
13:19 lualaba_ I have 4 files with data and i will try to modify if please check examples:
13:19 lualaba_ http://paste.evergreen-ils.org/13
13:20 lualaba_ i will use load_all.sql + perl scripts (any suggestion?)
13:23 jeffdavis Ugh, pcrud is giving "transaction begin" errors in our multi-server environment (but not when connected directly to a specific individual EG server, oddly).
13:23 jihpringle joined #evergreen
13:26 berick jeffdavis: OSRFTranslatorConfig in eg_vhost.conf is the usual cause of that
13:26 bshum Oh good times.
13:27 berick jeffdavis: oops, i mean OSRFTranslatorCacheServer
13:27 berick should match your EG memcache server configs
13:28 jeffdavis berick: oho, very interesting, thank you!
13:56 gsams I'm having a day...  Colo center had massive power outage about 7 hours ago, consortium servers are still down...
13:56 kmlussier Heh. So I just tried the "find" command that's mentioned in the "Before you contribute" section of http://wiki.evergreen-ils.o​rg/doku.php?id=contributing so that I could update the number of lines of code we have in Evergreen.
13:56 kmlussier Looks like we've gone down since then. I got 873,998.
13:57 akilsdonk_ joined #evergreen
13:57 * kmlussier decides to round up.
13:57 * bshum feels gsams' pain
13:58 kmlussier gsams: Sorry to hear it.
13:58 kmlussier @dessert gsams
13:58 * pinesol_green grabs some Pecan Pie for gsams
13:58 gsams I'm feeling like a nervous wreck just waiting
13:58 gsams if it were evergreen troubles, I'd have been in and working on it hours ago
13:59 gsams kmlussier++ #Pecan Pie happens to be a favorite
14:00 kmlussier Pecan pie makes everything in life better.
14:05 bmills joined #evergreen
14:08 kmlussier bshum gets a higher number than me; https://www.openhub.net/p/evergreen​/analyses/latest/languages_summary is lower. I'm going with bshum's higher number of close to 1 million lines of code.
14:08 * bshum shrugs
14:09 * bshum likes the openhub stat trend
14:09 bshum Where JS lines went down April to May
14:09 bshum Likely because we killed off the scripts :D
14:11 * bshum wonders how much will go away when we remove selfcheck and jspac code
14:11 jeff just out of curiosity, what command are you two running?
14:11 bshum jeff: kmlussier was working off the http://wiki.evergreen-ils.o​rg/doku.php?id=contributing page
14:12 kmlussier find . -name “*[.pm|.pl|*.py|*.c|*.h|*.sql|*.js|*.xml|*.​css|*.html|*.xhtml|*.ac|*.am|*.tt2|*.xul]” -exec cat {} \; | wc -l
14:12 bshum The "find" command embedded there in the "Before you contribute" section
14:12 kmlussier I was making some other updates to the page and decided to give it an overall re-read.
14:12 bshum I wondered if it was grabbing more than it should based on stuff in git
14:13 jeff yeah, i don't have faith in that command as written.
14:13 bshum Kind of how I felt when I read it.
14:13 bshum But I ran it anyways.
14:13 berick bshum is a rebel
14:14 bshum And a traitor.
14:14 berick bshum++
14:14 bshum :)
14:15 bshum Maybe more like git ls-files | xargs cat | wc -l
14:15 bshum http://stackoverflow.com/questions/4822471​/count-number-of-lines-in-a-git-repository
14:15 kmlussier Should I just go with the openhub number then? I think the idea is to give potential contributors some sense of the scale of the project.
14:15 bshum Which I get 1887517 lines then
14:15 bshum :P
14:16 tsbere git ls-files | grep '^.*\.\(pm\|pl\|py\|c\|h\|sql\|xml\|c​ss\|html\|xhtml\|ac\|am\|tt2\|xul\)$' | xargs cat | wc -l
14:16 bshum With tsbere's I get 537499 (which is closer to the ohloh number)
14:16 csharp @praise add You don't want to get mixed up with someone like $who.  $who is a loner, Dottie. A rebel.
14:16 pinesol_green csharp: The operation succeeded.  Praise #10 added.
14:16 csharp @praise 10 bshum
14:16 * pinesol_green You don't want to get mixed up with someone like bshum. bshum is a loner, Dottie. A rebel.
14:17 bshum Hahahaha
14:17 bshum csharp++
14:18 kmlussier I get 1887866 with git ls-files | xargs cat | wc -l . bshum and I are very close on that one.
14:18 kmlussier And 537844 with tsbere's
14:19 * kmlussier flips a coin.
14:19 bshum You're on master right?  Not any other branch or checkout?
14:19 tsbere A more "exclude" variant: git ls-files | grep -iv '^.*\.\(po\|jpg\|png\|exe\)$' | xargs cat | wc -l
14:19 tsbere Hmmm. We have gifs too, don't we
14:20 jeff yeah. we have jpg, JPG, png, PNG, gif, svg...
14:20 bshum And ico
14:20 tsbere Well, the i part of the -iv is "case insensitive", I believe
14:20 tsbere so we don't have to worry about the case diffs there ;)
14:21 jeff also js, which the original "find" command included but tsbere's first ls-files did not
14:21 tsbere What about the .java files?
14:21 jeff i think we might be focusing on the wrong thing here. :-)
14:22 bshum Hehe
14:22 kmlussier yeah
14:22 * tsbere prefers "exclude the ones we don't want" because of this instead of "include the ones we do want"
14:22 * kmlussier prefers going with the openhub numbers. :)
14:25 ericar_ joined #evergreen
14:26 jeff i'm not sure that we need to state a given number of lines for this purpose.
14:27 jeff if we did, there are lots of tools that can help us come up with a reasonable number, including the one that openhub itself uses: https://github.com/blackducksw/ohcount
14:27 gsams kmlussier++ #Sounds like the easy option to me!
14:29 jeff distilling a bit, the paragraph is obviously shorter:
14:29 jeff > Familiarize yourself with the code. The Evergreen project contains [a large amount] of source code, documentation and data [...]. There is a lot of fairly interdependent code, and contributors must learn what to touch and what not to touch.
14:31 jeff "must learn what to touch and what not to touch" jumps out as... something, i'm not sure what.
14:31 bshum Yeah
14:31 bshum That could use some touchup
14:31 bshum Or just get dropped.
14:32 akilsdonk joined #evergreen
14:33 tsbere "There is a lot of fairly interdependent code, and contributors must learn how the different pieces interact."
14:34 Christineb joined #evergreen
14:55 kmlussier @love DokuWiki
14:55 pinesol_green kmlussier: The operation succeeded.  kmlussier loves DokuWiki.
14:55 kmlussier Specifically, for remembering the edits I was making when Firefox decided to crash on me.
15:08 jboyer-laptaupe joined #evergreen
15:14 jlitrell joined #evergreen
15:26 * gsams is having a hard time keeping calm and carrying on.
15:27 kmlussier Still now power?
15:27 kmlussier That is, no power
15:27 gsams supposedly power is on, just waiting for them to make it to my ticket and turn the servers back on or something.
15:27 gsams More frustrating is that I've received no emails about the incident at all
15:28 csharp gsams: so is the colo far away from you?
15:28 gsams It's about hour and a half ish on a good day
15:28 * bshum remembers that place, if it's still the same place.
15:28 * mmorgan sympathizes with gsams. No power = No fun :-(
15:28 csharp yowza
15:28 gsams bshum: same place
15:29 gsams it's in the heart of dallas more or less
15:29 bshum Yeah, fun times.
15:29 gsams I'm actually thinking of making the drive anyway, but I can't get to the server
15:29 bshum Seems like forever ago now.
15:29 * csharp remembers power blips about 6.5 years ago that illustrated that our redundant power wasn't actually redundant and kept knocking PINES offline
15:29 lualaba_ joined #evergreen
15:29 bshum Chaos monkeys.
15:29 lualaba_ hi i try to restore DB
15:30 csharp that's almost worse than a full outage
15:30 lualaba_ build-db.sh localhost 5432 evergreen postgres evergreen 9.3.7
15:30 gsams csharp: I wouldn't want to deal with random blips, but this is killing me
15:30 lualaba_ Could not determine the version of PostgreSQL you have installed.  Our best  * * guess was:  (error)
15:31 csharp lualaba_: does the output of 'sudo dpkg -l | grep postgres' show that it *is* installed?
15:32 csharp actually, no need for sudo there 'dpkg -l | grep postgres' will be sufficient
15:32 lualaba_ for sure installed and i have records in DB
15:34 csharp lualaba_: what is the output of ' psql -qtc 'show server_version;' | xargs | cut -c1,3'
15:35 csharp lualaba_: you may need to do that as the postgres user
15:35 jboyer_laptaupe joined #evergreen
15:35 gsams and spam firewall was blocking emails from the colo center...
15:35 gsams awesome!
15:36 csharp yowza
15:43 lualaba_ joined #evergreen
15:44 lualaba_ ii  postgresql-9.3                                    9.3.7-0ubuntu0.14.04
15:45 lualaba_ postgre is installed and running
15:59 gsams And in reply to "things are good, are you still down?", "No, we need a power cycle", "you should email the colo center that you emailed initially, even though we replied to your ticket asking the question."
16:03 jeff "are you sure you want us to just power cycle these? i hope there aren't SSDs in the servers..."
16:04 jeff i feel for both you and the folk on the other side. never fun.
16:07 gsams I've been put on priority apparently
16:12 lualaba_ please help to restore and empty postgre DB
16:13 lualaba_ i got error version is not ok postgre version 9.3
16:14 jboyer-laptaupe joined #evergreen
16:22 jwoodard gsams: Can we just host the server locally? Put in a shed with a window a/c unit. lol
16:23 gsams I actually have the space to host it, but not necessarily the bandwidth
16:23 gsams I also have better redundancy apparently
16:24 jwoodard Granted these things happen once in a blue moon but when they do happen, it hurts.
16:25 mmorgan We host our servers locally, and recently had two unrelated extended power outages.
16:25 mmorgan The good news is that we will soon have a standby generator :)
16:27 lualaba_ joined #evergreen
16:29 gsams We have some pretty solid back up power supplies (would last our current servers for a few hours at least) but beyond that we don't have backup generators.
16:29 gsams I have thought on the idea of locally hosting a few times though
16:44 sarabee joined #evergreen
16:49 jboyer-isl joined #evergreen
17:04 pinesol_green Incoming from qatests: Test Success - http://testing.evergreen-ils.org/~live/test.html <http://testing.evergreen-ils.org/~live/test.html>
17:08 jlitrell joined #evergreen
17:15 mmorgan left #evergreen
17:16 lualaba_ Hello i empty DB
17:36 gsams huzzah!  It's back up and running!
17:43 gsams server comes up, takes less than a minute to get service restored.
18:14 ldw joined #evergreen
18:16 dbs lualaba: I _think_ postgresql 9.3 should be fine for the latest versions of Evergreen, you should be able to just hit return if I recall correctly
18:17 dbs lualaba: but you shouldn't be using build_db.sh directly; running "eg_db_config --create-schema" (with all the other options of course) will blow away your existing database
19:03 jlitrell joined #evergreen
19:55 gsams jwoodard: You handy?
19:58 gsams Anyone ever get an email regarding Email2SMS not accepting a from address?  I'm not sure what might be going on there
21:08 finnx joined #evergreen
21:25 jonadab joined #evergreen
23:47 Christineb joined #evergreen
23:55 eby joined #evergreen

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