Open Source Integrated Library System

Evergreen on IRC

#openils-evergreen Logs for Tuesday, September 22nd, 2009

< Monday, September 21st, 2009Raw Log FileWednesday, September 23rd, 2009 >
#TimeNickMessage
#01:01:10dbs has quit IRC
#01:42:47r123__ has joined #openils-evergreen
#01:44:05twirlip_ has joined #openils-evergreen
#01:45:14twirlip has quit IRC
#01:59:43r123 has quit IRC
#02:17:44lisppaste6makekee pasted "untitled" at http://paste.lisp.org/display/87484
#02:25:03lisppaste6makekee pasted "settings-tester" at http://paste.lisp.org/display/87485
#04:03:56r123__ is now known as r123
#04:29:22eguest309 has joined #openils-evergreen
#05:45:23eguest309_ has joined #openils-evergreen
#05:45:25eguest309 has quit IRC
#05:45:26eguest309_ is now known as eguest309
#05:49:37natschil has joined #openils-evergreen
#06:34:18eguest309 has quit IRC
#07:21:32kgs has joined #openils-evergreen
#08:40:44mck9 has joined #openils-evergreen
#08:47:26mrpeters-islanoopa: i am happy to show you the code for Indiana's splash page
#08:47:51mrpeters-islit will show you how to launch most of the most common staff client functions
#08:51:41wlayton has joined #openils-evergreen
#08:53:02senator has joined #OpenILS-Evergreen
#09:00:46natschil has quit IRC
#09:04:53jenny has joined #OpenILS-Evergreen
#09:15:15natschil has joined #openils-evergreen
#09:26:43natschil has quit IRC
#09:49:48mrpeters-isl has quit IRC
#09:49:54mrpeters-isl has joined #openils-evergreen
#09:50:15wlayton has quit IRC
#09:50:19wlayton has joined #openils-evergreen
#10:02:53mrpeters-islif anyone has any tips/documentation for the usage of the import scripts (import_bibs.sh) in rel_1_6_0_0 for example, i would greatly apprecaite them!
#10:03:01natschil has joined #openils-evergreen
#10:35:41jenny1 has joined #OpenILS-Evergreen
#10:39:07meliss has joined #OpenILS-Evergreen
#10:53:08jenny has quit IRC
#10:57:43wlayton has quit IRC
#10:57:51wlayton has joined #openils-evergreen
#11:16:45anoopamrpeters-isl I used the import demo which has that script and am somewhat familiar
#11:19:39jenny has joined #OpenILS-Evergreen
#11:23:58mrpeters-islerr, its actually importer.sh that i need help with
#11:25:17jenny1 has quit IRC
#11:31:14brendan_ga has quit IRC
#11:43:14anoopayea it seems to be calling the same scripts that import_bibs.sh calls...what's the issue?
#11:45:23weather15 has joined #openils-evergreen
#11:45:49weather15Hello
#11:47:12anoopaHello
#11:48:47weather15Hi
#11:49:37weather15I am wondering how evergreen compares with other popular library systems
#11:49:44mrpeters-islanoopa: for starters, Usage: importer.sh {Config File} {MARC file} {Output File} [{key file}]
#11:49:51mrpeters-islwhat is the config? what is the output? etc.
#11:51:06weather15I am thinking of using evergreen to power a small private collection and I am wondering if I am looking at the wrong solution
#11:51:52mrpeters-islweather15: evergreen is a great solution
#11:51:58mrpeters-isldo you have any specific questions?
#11:52:08weather15I have used it before
#11:52:24weather15I am also wondering if an ISO install is available?
#11:52:41mrpeters-islweather15: no, not that I am aware of though im sure you or someone else could create one
#11:53:02mrpeters-isli assume you are meaning an ISO of the os with the evergreen software already installed, no?
#11:53:19weather15I could create one
#11:53:32anoopaweather15 there is one available
#11:53:48weather15where could I find this?
#11:53:52anoopamrpeters-isl I think the config is for the evergreen db access info
#11:53:59mrpeters-islanoopa: interesting, i hadnt seen one
#11:54:14anoopamrpeters-isl I'll check and make sure hold on
#11:54:24weather15okay
#11:54:27mrpeters-islanoopa no rush...help out weather15
#11:54:49anoopaweather15 > http://www.open-ils.org/dokuwiki/doku.php?id=virtual:virtualbox:lenny
#11:55:30weather15could use it but I'm looking for something that is not dependant of an os already being installed
#11:56:26mrpeters-islweather15: yeah, though im not sure what you would be acheiving by having an "ISO" of evergreen
#11:56:39mrpeters-islit still has to have a host OS (usually Debian or Ubuntu)
#11:57:06mrpeters-islso im sure you could create a custom ISO of one of those distro's with Evergreen configured, but I am not sure it would be much of a shortcut
#11:57:14anoopaweather15 evergreen might be overkill for your needs
#11:58:03brendan_ga has joined #OpenILS-Evergreen
#11:58:06mrpeters-islweather15: perhaps you could look into a hosted solution? there are some out there who will provide this service, of course at a cost
#11:58:30mrpeters-islthis would allow you to simply run the staff client on your local machines while all of the evergreen "inner workings" would be hosted elsewhere
#11:59:32weather15I happen to like to have more than I need for the future
#12:00:06weather15Plus I like hosting things my-self so if issues arrise such as internet down time I can still access the server on the local network
#12:00:23weather15Also I always like to use OSS
#12:02:08jeffin that case, evergreen might be just enough overkill for you! ;-)
#12:02:45mrpeters-islindeed
#12:03:04mrpeters-isli think its the right solution
#12:03:33mrpeters-islget a box up and running with the Evergreen Software and then perhaps image that install somehow and backup to your choice of media so you always have a "fresh install"
#12:03:46mrpeters-islwe're all here to assist with the installation of the software
#12:09:36anoopamrpeters-isl weather15 yea the image has Evergreen 14.0.4 and fake data already thanks to dbs
#12:10:19mrpeters-islyes, but its not an "ISO"
#12:10:28mrpeters-islstill requires a host OS to be installed + virtualbox
#12:10:47mrpeters-isli think weather15 was simply looking for an image he could "install" which would include OS and Evergreen and then be done with it
#12:10:51mrpeters-islbut i will allow him to clarify
#12:10:57anoopaaaa
#12:11:08weather15yes that is correct
#12:11:23weather15Anyhow I would not mind trying to make one for the community
#12:11:26anoopaI get it...I should see if there is some way I can save that image as an iso hold on
#12:11:38anoopagood you do it : )
#12:15:14miker_@later tell dbs http://acq.open-ils.org/opac/en-US/skin/default/xml/rdetail.xml?r=1139 in IE
#12:15:14pinesolmiker_: The operation succeeded.
#12:15:28miker_@later tell dbs also, I hate IE
#12:15:28pinesolmiker_: The operation succeeded.
#12:18:48mrpeters-islweather15: http://wiki.linuxquestions.org/wiki/Live_CD_distributions#Create_your_own_Debian_Live_CD
#12:19:00mrpeters-islmight be able to create a live cd with one of the virtualbox images
#12:19:23mrpeters-islanother - http://www.debuntu.org/how-to-customize-your-ubuntu-live-cd
#12:33:06weather15 has quit IRC
#12:33:58anoopamiker_ if I may...what's the issue with that link and IE?
#12:45:48miker_anoopa: nothing now :) ... IE is just a huge pain to program around
#12:46:45miker_but now I see that a version of the fix is already in svn (but more IE specific than what I did)
#12:48:27anoopamiker_ argh hear that. Of course if the closed source basterds support only IE we should say support for everything but IE...if only.
#12:50:18miker_heh
#12:50:48dbs has joined #openils-evergreen
#12:53:35gmcharltmrpeters-isl: re import.sh, it's simple (if not simple-minded)
#12:53:53gmcharltmrpeters-isl: it's purpose is purely to load MARC bib records, it doesn't handle copies
#12:54:27gmcharltmrpeters-isl: the config parameter is just the path to opensrf.xml
#12:54:46gmcharltMARC file is just a file in MARC format
#12:55:28gmcharltthe output file parameter is a misnomer - the script doesn't actually have any output per se except for log messages printed to screen
#12:57:05anoopagmcharlt are you sure the config is not for db info...that's what I thought it was
#12:57:07dbsmiker_: hate for IE is the glue that holds the Web universe together
#12:57:50dbs is watching his IE8 instance lock up as it attempts to load the concat version of that same record for comparison
#12:58:22gmcharltanoopa: opensrf_core.xml, actually is want it wants, not openils.xml
#12:58:47anoopahmm I'm comparing import_bibs.sh from import_demo and importer.sh from /src/extras
#12:59:10gmcharltyeah, importer.sh seems a bit out of date
#12:59:46anoopayea gmcharlt I was going to tell mrpeters-isl that he should not use importer.sh but look at the import demo download and redo some things differently
#13:00:10gmcharltthe keys parameter, which gets passed to marc2bre.pl, is now deprecated according to marc2bre.pl, for example, in favor of tcn_dumpfile
#13:00:18anoopawe can still use regular MARC instead of MARC-XML as suggested in import_bib
#13:01:05gmcharltright, marc2bre.pl will accept either MARC or MARCXML
#13:02:15dbsjust depends on which toolchain you prefer to convert from MARC to MARCXML - MARC::File::XML or yaz-marcdump :)
#13:02:42anoopanow tcn_dumpfile is new to me is that where we do mappings for MARC?
#13:03:00gmcharltdbs: often the answer is both, depending on exactly how the incoming MARC blobs are broken
#13:03:18dbsaah, http://laurentian.concat.ca/opac/en-CA/skin/lul/xml/rdetail.xml?r=345631 is the comparison record - looks like miker_ improved the spacing of concatenated fields in IE
#13:03:20miker_dbs: btw, just ingore the @later ... different issue
#13:03:36miker_and, yes, spacing is improved for title
#13:03:38dbsgmcharlt++
#13:03:43dbsmiker_++
#13:04:23jeffoh, and 0.91 (and 0.92) are out!
#13:04:28jeffgmcharlt++
#13:04:30jeffmiker_++
#13:04:39jeff(for that stray space being killed)
#13:05:08anoopasince the super-devs are here a quick question...I want to open up our demo setup's config (I asked this yesterday) via our svn
#13:05:25miker_dbs: do you have a located uri example record?
#13:05:35dbsmiker_: will grab one for you
#13:06:48anoopaI suspect opensrf_core.xml and live-db-setup.pl as the only files that hold sensitive data...I mean in /openils/conf and /openils/var/ (I am excluding run log lock folders in var)
#13:07:09gmcharltanoopa: tcn_dumpfile = outputs all TCNs assigned and used during the marc2bre.pl; if you are running multiple files through separate marc2bre.pl runs, you'd use the TCN file dumped by the previous run as the value for the --used-tcn-file parameter
#13:07:32gmcharltdoing that avoids TCN collisions when it comes time to load the records into the database
#13:07:40dbsanoopa: opensrf.xml contains database credentials
#13:07:42anoopaah
#13:07:57anoopadbs does it...hmm
#13:08:02atzwhy is DoB "hidden" when I select a patron from patron search.... but displayed in the list of "hits" right next to the "hidden" subframe?
#13:08:22anoopaah yes it does...how did I miss that
#13:08:49jenny1 has joined #OpenILS-Evergreen
#13:09:34anoopaok so I'll use the example files for those 3 and am going to open up the rest...oh and what about the bootstrap files as far as I can tell they are safe to be visible to all...right?
#13:09:49phasefx_atz: search columns are configurable. Really need to tie that "hidden" thing to an org setting so it too is more easily configurable
#13:11:00phasefx_and then tie the default column visibility for the list to the same org setting
#13:11:48atzphasefx: yeah, the current situation is not coherrent.
#13:12:11phasefx_atz: you can tell we hang around librarians too much when we use the socratic method of pointing such things out :)
#13:12:38atzv. true
#13:13:27phasefx_atz: so in short, the <hidden> thing was a proof of concept for a library that should only be in trunk currently, and hasn't been scrutinized for sanity until you just did it :)
#13:14:23atzi was afraid of that. those type of permission-sensitive tweaks really need to have intentional architecture behind them, and not just one off toggles somewhere.
#13:14:24phasefx_bug it and I'll fix it; atz++
#13:14:29atzk
#13:15:27phasefx_and it's not a true <hidden>, more of a display speedbump for prying eyes
#13:15:39phasefx_click on it to reveal dob, etc.
#13:16:45atzphasefx: it's just flat "<Hidden>" for me
#13:17:00atzno mouseover, or link
#13:17:01phasefx_ughers
#13:17:34atztext isn't selectable either... which is annoying
#13:18:03phasefx_it's missing a class name, click_link
#13:18:09dbsmiker_: bah, sorry, try http://comet.cs.uoguelph.ca/opac/en-CA/skin/lul/xml/rdetail.xml?r=2032831 in IE vs. FF
#13:19:35dbsmiker_: ugh, let me mod the asset.uri entry for that
#13:20:24miker_thanks
#13:20:43miker_hey ... I got a fix
#13:20:45miker_I think
#13:20:53miker_in IE8, anyway
#13:21:20miker_in /openils/var/web/opac/skin/default/xml/rdetail/rdetail_summary.xml, on line 129, in the query, remove the >s ... query='volumes volume uris uri'
#13:21:22phasefx_atz: http://svn.open-ils.org/trac/ILS/changeset/14088 I think a lot of that we can refactor out into a common overlay (you were looking at the vertical patron summary; there's a variant for horizontal display)
#13:21:56dbsmiker_: there we go, replaced the text in asset.uri with "Foo foo bar"
#13:22:09dbsmiker_: okay, I can give that a shot
#13:22:17miker_http://acq.open-ils.org/opac/en-US/skin/default/xml/rdetail.xml?r=1544 in IE (has an alert, ignore)
#13:22:37dbsyep, ignored the alert first time around :)
#13:24:43dbsmiker_: nice, that seems to shake it up! well done
#13:25:29miker_mike_-- # for assuming the true selectors are faithfully replicated on all browswers
#13:26:02dbsie-- # forever and always, amen
#13:26:04jenny has quit IRC
#13:27:24dbs goes to put baby to sleep
#13:38:25mrpeters-isl reads up
#13:38:46mrpeters-islso it sounds as if there is no publicly available method for importing bibs/holdings and generating the copies and copy locations?
#13:40:23atzmrpeters-isl: there should be scripts on wiki or in Contrib repo
#13:40:26dbsmrpeters-isl: http://coffeecode.net/archives/184-Unicorn-to-Evergreen-migration-rough-notes.html is my attempt to document one such process
#13:40:58mrpeters-isldbs: thanks! this looks much like what i need
#13:42:05dbs(albeit out of date - e.g. missing the stuff for localized URIs, although the corresponding scripts are in the ILS-Contrib/conifer/trunk/tools directory IIRC)
#13:48:21pinesol has joined #openils-evergreen
#13:48:56phasefx_test
#13:49:27jenny has joined #OpenILS-Evergreen
#13:55:20phasefx_ is experimenting with pinesol, please bare with him :)
#13:56:03pinesol has joined #openils-evergreen
#13:57:21atzhrm... get error viewing patron detail too
#13:57:22atzFIXME: If you encounter this alert, please inform your IT/ILS helpdesk staff or your friendly Evergreen developers.
#13:57:22atzTue Sep 22 2009 13:56:15 GMT-0400 (Eastern Daylight Time)
#13:57:22atzError determining whether to disable checkout.
#13:57:41mrpeters-isldbs: did you somehow extract your holdings data from the MARC records to get this - i9780195402537|DESMARAIS|DESM-CIR|DESM-CIR|BOOKS|30007000000033 |1|0|20030612|0|0|FC 23 C65|LC|
#13:57:58mrpeters-islor did unicorn allow you to export delimited holdings data like this natively?
#13:58:38dbsunicorn exports pipe-delimited holdings data
#13:58:59mrpeters-isli see
#13:59:08mrpeters-islsadly, most of the time i don't think we have that luxury :)
#13:59:08gmcharltmrpeters-isl: alas, not all ILSs make it easy to do that, so often you're stuck parsing item information embedded in fields in the bib record
#13:59:13dbsthe import_demo approach was written for sites that had holdings exported as part of the bibs
#13:59:20dbs(albeit pretty poorly)
#13:59:45mrpeters-islgmcharlt: yeah, definetly not and I think thats how Equinox handles most of our data at this point
#14:00:03mrpeters-islim headed down for some training on this ni November, but trying to have some knowledge up front
#14:07:13jenny1 has quit IRC
#14:07:46agJohn has joined #openils-evergreen
#14:10:05diogenes_Does anyone have a matrix of feilds used across various ILS systems for holdings?
#14:10:36diogenes_If not maybe we could collectively compile a list for the community at large.
#14:11:02dbsmiker_: I can't help but look at the other "return dojox.data.dom.textContent(item)" and think that it should have a " || item.innerHTML" appended to it as well
#14:14:16gmcharltdiogenes_++
#14:17:31miker_dbs: which one?
#14:17:46miker_dbs: er, rather, what line number
#14:18:42miker_dbs: the default slot handler?
#14:19:34miker_dbs: yeah, the funny thing is, I think it's a problem with CDATA ... that, apparently, is not considered text content by IE
#14:19:52dbsmiker_: aww, man
#14:20:06anoopamrpeters-isl what ILS are you getting the data from?
#14:20:16anoopadiogenes_ ++
#14:20:57mrpeters-islanoopa - you name it, we'll be importing from it
#14:21:39dbsmiker_: yeah, line 62: http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/web/js/dojo/openils/BibTemplate.js#L62
#14:22:48miker_yeah, that works in IE
#14:23:25anoopamrpeters-isl ah cool cool
#14:24:10dbsmiker_: okay, and of course all the uses in rdetail_summary work. You're getting quarter-brained dbs these days.
#14:24:18miker_I mean, I guess we could return a format for a bib that used <![CDATA[ ... ]]> to wrap text ... but we don't today
#14:45:27twirlip_ is now known as twirlip
#15:32:35mrpeters-islall - see this search - http://evergreen.lib.in.us/opac/en-US/skin/default/xml/rresult.xml?if=&it=&lf=&a=&la=&cl=&d=1&l=102&s=rel&sd=asc&adt=ml&tp=&t=author%3Amagazine&av=&rt=multi
#15:32:46jenny has quit IRC
#15:32:58mrpeters-isltrying to clean up these entries (mark them deleted=t) but I cant seem to find any in database location to pull out those items
#15:33:25mrpeters-isltried
#15:33:25mrpeters-islSELECT ac.id, ac.circ_lib, rsr.title, rsr.author FROM asset.copy ac INNER JOIN reporter.simple_record rsr ON ac.id = rsr.id WHERE rsr.author IN ('magazine', 'Magazine', 'MAGAZINE') AND ac.circ_lib=103;
#15:33:44mrpeters-islbut reporter.simple_record doesnt seem to have any entries where author matches those
#15:34:01mrpeters-islquestion is, what tables could i use to find the id's of those items who meet this criteria?
#15:35:28natschil has quit IRC
#15:36:02dbsmrpeters-isl: metabib.full_rec? tag = 100, subfield = 'a', value = 'MAGAZINE'
#15:37:00anoopadbs real_full_rec in my db
#15:37:03mrpeters-islDid not find any relation named "metabib.full_rec.value".
#15:38:16dbsanoopa: as of 1.4, metabib.full_rec should be a nicely indexed view on metabib.real_full_rec
#15:38:23mrpeters-isldisgregard
#15:38:24mrpeters-isli got it
#15:39:04anoopadbs do'h I do have that need to remember views are better than tables
#15:39:19dbsanoopa: sometimes :)
#15:39:20anoopamrpeters-isl how?
#15:40:02mrpeters-islselect * from metabib.full_rec.value WHERE tag=100 AND subfield='a' AND value='MAGAZINE";
#15:40:11mrpeters-islor something like that to suit your needs
#15:40:58anoopaah ok so what dbs suggested
#15:41:21mrpeters-islERROR: cross-database references are not implemented: "metabib.full_rec.value"
#15:41:23mrpeters-islcrap
#15:41:32mrpeters-islwhy would that be?
#15:42:08lisppaste6mrpeters-isl pasted "sql to fix "MAGAZINE"" at http://paste.lisp.org/display/87521
#15:42:17mrpeters-isldoes my sql just suck?
#15:45:10senatormrpeters-isl: select * from metabib.full_rec ... i think. instead of from metabib.full_rec.value
#15:47:03anoopahmm actually
#15:47:43mrpeters-islyeah, actually my sql is all f'd up
#15:48:22dbsweird looking join condition :)
#15:48:27anoopaI would say metabib.full_rec.value does work
#15:48:40anoopayea the join looks weird
#15:48:42mrpeters-isldbs: probably, im pretty new (modifying an example of yours actually! haha)
#15:49:21anoopamrpeters-isl I'll try running it here one sec
#15:49:36mrpeters-islthis one works (but no results)
#15:49:41lisppaste6mrpeters-isl annotated #87521 "untitled" at http://paste.lisp.org/display/87521#1
#15:50:03miker_mrpeters-isl: ac.id is not the same as mb.id
#15:50:13mrpeters-islmiker_ yeah, i was beginning to wonder that
#15:50:32mrpeters-islhow can i join those so that i can spot check the titles/authors before marking the copies in ac.id deleted?
#15:50:50anoopawhere is this ac.id?
#15:50:57dbsmrpeters-isl: I think you'll need to follow mfr.record -> asset.call_number.record -> asset.copy.call_number
#15:51:00mrpeters-islasset.copy.id
#15:51:19anoopaaah
#15:51:34miker_asset.copy.call_number -> asset.call_number.id, asset.call_number.record -> mfr.record
#15:51:58mrpeters-islwhew
#15:52:04dbsLike Blondie says, one way, or another
#15:52:57mrpeters-islasset.call_number.id = asset.copy id?
#15:53:02miker_no
#15:53:12mrpeters-isloh man
#15:53:16mrpeters-islim all confused now lol
#15:53:16miker_asset.copy.call_number = asset.call_number.id
#15:53:36miker_and asset.call_number.record = metabib.full_rec.record
#15:53:53jenny1 has joined #OpenILS-Evergreen
#15:53:53mrpeters-islok
#15:54:07miker_and that's looking for an author of 'magazine' and friends
#15:54:25mrpeters-islyeah, thats a bit more clear
#15:54:48miker_sec, I'll annotate
#15:54:59mrpeters-islok
#15:55:28meliss has quit IRC
#15:56:34mrpeters-islonly thing i forsee is that none of those tables give a title
#15:56:38miker_mrpeters-isl: is that what you're trying to do, find bibs with an author ILIKE 'magazine'?
#15:56:47mrpeters-islunless dummy_title has a value
#15:56:55mrpeters-islmiker_: yes, see http://evergreen.lib.in.us/opac/en-US/skin/default/xml/rresult.xml?if=&it=&lf=&a=&la=&cl=&d=1&l=102&s=rel&sd=asc&adt=ml&tp=&t=author%3Amagazine&av=&rt=multi
#15:57:11mrpeters-isli want to mark all of those records as deleted in asset.copy
#15:57:38mrpeters-islbut i need to give it a visual once over to make sure we don't delete anything that may, for some reason actually have an author "magazine"
#15:57:42lisppaste6miker_ annotated #87521 "finding titles and authors" at http://paste.lisp.org/display/87521#2
#15:58:52miker_well, I removed dummy_title and dummy_author, but you can add those back into the select list
#16:00:02mrpeters-islsure
#16:00:10mrpeters-islyour's actually gives enough info though
#16:00:36[1]atz has joined #openils-evergreen
#16:03:20lisppaste6mrpeters-isl annotated #87521 "untitled" at http://paste.lisp.org/display/87521#3
#16:03:34mrpeters-islmiker_ that annotation look sane for updating those records?
#16:04:09miker_mrpeters-isl: I'd suggest using a subselect ... sec
#16:04:25mrpeters-islyeah, an example of that would be great :)
#16:06:52lisppaste6miker_ annotated #87521 "updating" at http://paste.lisp.org/display/87521#4
#16:07:44mrpeters-islwhew, these can get quite complicated but its very cool when they work!
#16:07:59mrpeters-islmakes evergreen awesome for reporting too, since postgres can be used to get this sort of data
#16:08:05mrpeters-island update it, of course
#16:08:08mrpeters-islthanks miker_!
#16:10:36miker_np
#16:14:44atz has quit IRC
#16:14:46[1]atz is now known as atz
#16:24:18wlayton has quit IRC
#16:30:55jenny has joined #OpenILS-Evergreen
#16:39:25diogenes_ has quit IRC
#16:47:30jenny1 has quit IRC
#17:28:42weather15 has joined #openils-evergreen
#17:28:58weather15Hello
#17:30:22weather15I have installed evergreen and am nowhaving problems loging into the staff client
#17:30:44lisppaste6weather15 pasted "Staff Client Error" at http://paste.lisp.org/display/87526
#17:31:34weather15Any insights on what to do?
#17:31:35jenny has quit IRC
#17:33:57jenny has joined #OpenILS-Evergreen
#17:34:07lisppaste6weather15 pasted "Also Part Of The Error" at http://paste.lisp.org/display/87527
#17:35:28weather15Hello
#17:42:38jenny has quit IRC
#17:50:27jamesrf_ has joined #openils-evergreen
#17:50:46jamesrf_ is now known as jamesrf
#17:53:43weather15Hello
#17:53:50jamesrfhi
#17:54:51weather15I have installed evergreen and am nowhaving problems loging into the staff client
#17:55:08jamesrfcan you search the OPAC?
#17:55:08weather15<lisppaste6> weather15 pasted "Staff Client Error" at http://paste.lisp.org/display/87526
#17:55:38weather15<lisppaste6> weather15 pasted "Also Part Of The Error" at http://paste.lisp.org/display/87527
#17:56:09weather15I have no titles this is a fresh install but I can access http://www.mydomain.com and I get the opac
#17:56:29jamesrfcan you log in to the "My Account" part of the OPAC?
#17:57:30weather15yes I can
#17:59:58phasefx_that schema action does not exist is scary
#18:00:20phasefx_any errors when you built your database?
#18:01:01weather15nope
#18:01:01weather15would you recommend that I re-create the database if so how?
#18:01:05phasefx_in psql, does \d action.* produce any output?
#18:01:35weather15give me a minute
#18:02:36weather15nope no output
#18:03:37phasefx_weather15: yeah, something went wrong with your installation
#18:04:10phasefx_for wiping my database, I do something like this:
#18:04:21phasefx_perl Open-ILS/src/support-scripts/eg_db_config.pl --create-schema --user evergreen --password evergreen --hostname localhost --database evergreen > db_wipe.log && less db_wipe.log
#18:04:36phasefx_depending on how yours is configured, you may need to tweak those arguments
#18:04:55phasefx_errors from 000.english.pg82.fts-config.sql are expected
#18:04:55weather15hold on a minute
#18:05:16phasefx_but if ERROR exists for any other file in that log, then something is wrong
#18:06:17weather15what users should run this as root, opensrf, postgres ?
#18:06:57phasefx_I don't think it matters; I do root or opensrf
#18:09:04jamesrf has quit IRC
#18:09:34jamesrf has joined #openils-evergreen
#18:11:21weather15Why would the database be the issue though because the error is open-ils.circ.survey.retrieve.required
#18:11:50phasefx_open-ils.circ.survey.retrieve.required is looking for a table in the database that doesn't exist in your installation
#18:12:21phasefx_you're missing the entire action. schema, which holds things like circulations, hold requests, transits, etc.
#18:12:36phasefx_ doesn't know why you're missing such things though :(
#18:14:22weather15I re-created the database and the error still exists
#18:14:51phasefx_paste the contents of your db_wipe.log?
#18:15:22weather15where is this log liocated?
#18:15:52weather15*located
#18:16:10phasefx_in the example I pasted, I redirected output to a file like so, > db_wipe.log that would have went into the current working directory, wherever you ran the command
#18:19:24weather15okay give me a minute
#18:20:07kgs has quit IRC
#18:23:08lisppaste6weather15 pasted "Database Re-Create Log" at http://paste.lisp.org/display/87531
#18:23:56phasefx_weather15: okay, I found what got you
#18:23:56phasefx_psql:012.schema.vandelay.sql:150: ERROR: language "plperlu" does not exist
#18:24:00phasefx_HINT: Use CREATE LANGUAGE to load the language into the database.
#18:24:21phasefx_there's a step in the installation instructions where you add plperlu and friends to the database
#18:24:28phasefx_recall any errors there?
#18:24:58weather15no I will try it again
#18:25:59weather15createlang: language installation failed: ERROR: could not load library "/usr/local/stow/pgsql/lib/plperl.so": /usr/local/stow/pgsql/lib/plperl.so: undefined symbol: boot_DynaLoader
#18:26:29weather15createlang plperlu evergreen
#18:26:42phasefx_ah, did you compile postgres from source or use a package?
#18:27:13weather15source
#18:27:43phasefx_this 8.2?
#18:27:43weather15Sorry my error I ran that from command line not logged into postgres
#18:27:55phasefx_ah
#18:27:55weather15I logged in to postgres and the commands ran fine yes it is 8.2
#18:28:01phasefx_coool
#18:28:26phasefx_you'll want to redo step 4 with eg_db_config.pl
#18:28:26weather15now what?
#18:28:37phasefx_you're going from http://evergreen-ils.org/dokuwiki/doku.php?id=server:1.4.0:install, right?
#18:29:08weather15yup give me a minute
#18:29:20phasefx_or you can re-use the command I gave earlier that produced db_wipe.log
#18:29:43phasefx_after that, I think you're ready to go. Make sure everything opensrf is stopped, and then start it back up
#18:30:13weather15How can I delete that database all together?
#18:30:42phasefx_that I don't know
#18:31:01phasefx_the db_wipe thing will re-create all the schemas, which is a pretty good substitute
#18:31:32weather15I tried drop database evergreen and I get ERROR: database "evergreen" is being accessed by other users
#18:31:40phasefx_as user postgres, dropdb
#18:32:01phasefx_any opensrf processes running? or a psql shell left connected?
#18:33:01weather15okay now it worked
#18:34:32weather15following wiki instructions I get this error: createlang: language installation failed: ERROR: could not load library "/usr/local/stow/pgsql/lib/plperl.so": /usr/local/stow/pgsql/lib/plperl.so: undefined symbol: boot_DynaLoader
#18:35:32weather15now what do I do?
#18:35:48phasefx_that was as user postgres?
#18:36:47weather15yup
#18:38:23phasefx_now we're outside my realm of familiarity. I'd punt to the mailing list with your steps and current error
#18:39:24weather15This is strange the file /usr/local/stow/pgsql/lib/plperl.so exists
#18:40:44phasefx_do you have multiple postgres installations?
#18:40:58phasefx_the createlang for the wrong one may be getting sued
#18:41:29weather15I might I don't think so
#18:41:29weather15how can I check?
#18:43:48phasefx_try using the fullpath /usr/local/stow/pgsql/bin/createlang instead of a mere createlang
#18:47:18weather15nope
#18:51:42phasefx_yeah, I'm at a loss and have to bow out for a while. I'd try the list again
#18:51:47weather15Should I do another install?
#18:52:22weather15 has quit IRC
#18:54:17phasefx_@later tell weather15 nm /usr/local/stow/pgsql/lib/plperl.so | grep Dyna yielded U boot_DynaLoader
#18:54:17pinesolphasefx_: The operation succeeded.
#18:56:15phasefx_@later tell weather15 more google digging.. I'd try this perl -MExtUtils::Embed -e 'print;' if that fails, you m to get ExtUtils::Embed from CPAN
#18:56:15pinesolphasefx_: The operation succeeded.
#18:56:51Jwreid has joined #openils-evergreen
#18:57:10Jwreid++
#18:58:27Jwreid has quit IRC
#19:12:03kgs has joined #openils-evergreen
#19:23:25jamesrf has quit IRC
#19:35:35jamesrf has joined #openils-evergreen
#20:02:48mck9 has left #openils-evergreen
#20:08:32jamesrf has quit IRC
#20:08:47mck9 has joined #openils-evergreen
#20:32:36kgs has quit IRC
#20:32:36greg-g has quit IRC
#20:32:36edbarrett has quit IRC
#20:32:36_dkyle_ has quit IRC
#20:32:36sylvar has quit IRC
#20:32:36bradl has quit IRC
#20:32:36berick has quit IRC
#20:32:36_bott_ has quit IRC
#20:32:36kbeswick has quit IRC
#20:32:36phasefx_ has quit IRC
#20:32:36dbs has quit IRC
#20:32:36brendan_ga has quit IRC
#20:32:36anoopa has quit IRC
#20:33:30kgs has joined #openils-evergreen
#20:33:30dbs has joined #openils-evergreen
#20:33:30brendan_ga has joined #openils-evergreen
#20:33:30greg-g has joined #openils-evergreen
#20:33:30anoopa has joined #openils-evergreen
#20:33:30edbarrett has joined #openils-evergreen
#20:33:30sylvar has joined #openils-evergreen
#20:33:30_dkyle_ has joined #openils-evergreen
#20:33:30bradl has joined #openils-evergreen
#20:33:30berick has joined #openils-evergreen
#20:33:30kbeswick has joined #openils-evergreen
#20:33:30phasefx_ has joined #openils-evergreen
#20:33:30_bott_ has joined #openils-evergreen
#21:01:17brendan_ga has quit IRC
#21:27:56CinncinatiILS has joined #openils-evergreen
#21:28:41brendan_ga has joined #OpenILS-Evergreen
#21:47:59CinncinatiILSbrendan_ga++
#21:48:49CinncinatiILS has quit IRC
#22:21:40agJohn has quit IRC
#23:50:02jeffphasefx++
#23:50:17jeff(for fixing the duplicate rows in holds lists bug)
#23:50:51phasefx_hrmm, do I need to backport that? is oils persist in 1.6? *looks*
#23:51:17jeffmaybe i'm thinking of the wrong bug.
#23:51:44phasefx_no, just trunk
#23:51:47jeff1.2 and 1.4 have issues with holds (i think) being doubled when you do some things.
#23:51:57phasefx_ah
#23:51:59jeffmy memory is vague. maybe it was only 1.2, also.
#23:52:28jeffi ran into it a lot the first two weeks after our go live, and i don't remember if it was reported or "known"
#23:53:03phasefx_I don't remember it
#23:53:50jeffi'll see if i can duplicate
#23:54:00phasefx_cool deal
< Monday, September 21st, 2009Raw Log FileWednesday, September 23rd, 2009 >