Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Thursday, August 18th, 2011

< Wednesday, August 17th, 2011Raw Log FileFriday, August 19th, 2011 >
#TimeNickMessage
#00:15:30bshum has quit IRC
#00:15:59bshum has joined #evergreen
#00:38:25bshum has quit IRC
#00:38:25bshum has joined #evergreen
#00:44:54mfaizchhi i have an installation problem can anybody help
#00:48:41mfaizch ./autogen.sh -c /data/openils/conf/opensrf_core.xml -u
#00:48:58mfaizchthis command is giving error
#00:51:03mfaizch./autogen.sh -c /openils/conf/opensrf_core.xml -u
#00:51:34mfaizcherror == Updating Evergreen organization tree and IDL using '/openils/conf/opensrf_core.xml'
#00:51:53mfaizchUpdating fieldmapper
#00:52:42phasefxmfaizch: I'm responding to your email as we speak
#00:52:47mfaizchException: OpenSRF::EX::Session 2011-08-18T00:50:46 OpenSRF::Utils::SettingsClint /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 Session Error: router@private.localhost/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!
#00:53:22mfaizchplease guide me out of this as i have stoped believing it will ever work
#00:53:47mfaizchi am following the document as it is but no use
#00:56:18phasefxmfaizch: if you do this, do you get output? grep \\[ERR /openils/var/log/*.log
#00:57:06phasefxif you do, use http://paste.lisp.org/new/evergreen to share
#00:57:43phasefx(and paste the resulting URL back into the channel, since the paste bot appears to be not on channel today)
#01:06:21mfaizchit repeats the same message again and again
#01:06:34mfaizchwhich i pasted
#01:06:57mfaizchException: OpenSRF::EX::Session 2011-08-18T00:50:46 OpenSRF::Utils::SettingsClint /usr/local/share/perl/5.10.0/OpenSRF/Utils/SettingsClient.pm:103 Session Error: router@private.localhost/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!
#01:09:01phasefxso we want the very error message from /openils/var/log/*.log, preferably after stopping everything, clearing the logs, and then starting things up slowly, one piece at a time
#01:09:13phasefxthe very first error message, I mean
#01:11:30mfaizchit scrolls away
#01:11:53mfaizchhow do i clear logs
#01:12:18phasefxif you've already done stop_all, then you can do rm /openils/var/log/*.log
#01:14:59Faiz_ok got it all errors cleared
#01:15:09Faiz_now what do i do
#01:15:29phasefxps -aef | grep opensrf
#01:15:44phasefxdo you see lines like OpenSRF Drone ?
#01:17:17Faiz_not at
#01:17:21tsbere has quit IRC
#01:17:24tsbere_ has joined #evergreen
#01:18:07phasefxFaiz_: alright, so just to be safe, let's be sure services are stopped: /openils/bin/osrf_ctl.sh -l -a stop_all
#01:19:08Faiz_confirmed
#01:19:22Faiz_it says not running
#01:19:28phasefxnow we start the router like so: /openils/bin/osrf_ctl.sh -l -a start_router
#01:20:26Faiz_OpenSRF Router not started, but PID file exists, removing file and starting
#01:21:17phasefxooh, I don't like that, means things haven't been stopped cleanly in the past
#01:21:52phasefxosrf_ctl.sh is smart enough these days to handle stale PID's, but let's be extra careful and do /openils/bin/osrf_ctl.sh -l -a stop_all again
#01:22:05phasefxthen do rm /openils/var/run/*
#01:22:34Faiz_i used this command and it started without error
#01:22:51phasefxand delete the logs again rm /openils/var/log/*.log
#01:23:13Faiz_ /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -l -a stop_all
#01:23:32Faiz_ok i will follow your commands
#01:26:03Faiz_done
#01:26:40phasefxalright, so if everything is stopped and the logs cleared and /openils/var/run is emptied, then let's start the router again: /openils/bin/osrf_ctl.sh -l -a start_router
#01:27:08Faiz_yyes it says
#01:27:20Faiz_Starting OpenSRF Router
#01:27:29Faiz_without error
#01:27:29phasefxnow let's grep the logs for errors: grep \\[ERR /openils/var/log/*.log
#01:28:07Faiz_grep: /openils/var/log/*.log: No such file or directory
#01:28:46phasefxhrmm.. do you have opensrf_core.xml configured to use syslog? or to log to some other directory?
#01:29:16Faiz_no i have followed the document no persnal settings
#01:30:21Faiz_in srfsh the log path was changed as /tmp/srfsh.log but not other than that
#01:30:55Faiz_should i chk this file
#01:31:00Faiz_right away
#01:32:14phasefxin /opensrf/conf/opensrf_core.xml, there should be <logfile> stanzas that have paths including /openils/var/log/ The ones mentioning syslog should be commented out (with <!-- and -->)
#01:32:47phasefxif you do ps -aef | grep Router do you see any OpenSRF Router's?
#01:33:55Faiz_yes 2 of them
#01:34:07Faiz_opensrf 5558 1 0 01:26 ? 00:00:00 OpenSRF Router
#01:34:18Faiz_opensrf 5557 1 0 01:26 ? 00:00:00 OpenSRF Router
#01:34:32phasefxthat's good, though it worries me there's nothing in /openils/var/log/, but maybe it's my logging level (which is non-standard) that makes them show up right away for me
#01:35:02phasefxlet's try to the perl services next: /openils/bin/osrf_ctl.sh -l -a start_perl
#01:35:27phasefxif you're familiar with top, run top after doing that and wait until the CPU usage dies down, then quit top
#01:38:21Faiz_pearl says everthing started and am not not familiar with top i ran it and quit as things settle
#01:38:43phasefxnow let's test the logs again: grep \\[ERR /openils/var/log/*.log
#01:39:24Faiz_blank nothing
#01:39:35phasefxcool
#01:39:49phasefxalright, now for the c services: /openils/bin/osrf_ctl.sh -l -a start_c
#01:40:17Faiz_Starting OpenSRF C (host=localhost)
#01:40:23Faiz_it has also started
#01:40:30phasefxand the logs again: grep \\[ERR /openils/var/log/*.log
#01:40:47Faiz_nothing again
#01:41:56phasefxgood
#01:42:11phasefxnow the moment of truth: /openils/bin/autogen.sh -u
#01:43:06Faiz_Updating fieldmapper
#01:43:22Faiz_Updating web_fieldmapper
#01:43:38Faiz_this is the error line
#01:43:42Faiz_Can't call method "opac_visible" on an undefined value at org_tree_html_options.pl line 54.
#01:43:51Faiz_and more over
#01:44:24Faiz_grep \\[ERR /openils/var/log/*.log returns nothing again
#01:45:58phasefxokay.. are you using the opensrf.xml/opensrf_core.xml based on the .example files from the Evergreen distribution or from OpenSRF?
#01:46:36Faiz_yes
#01:46:47phasefxone good test would be: grep open-ils.actor /openils/conf/opensrf_core.xml
#01:46:51phasefxshould get two lines
#01:47:18Faiz_yes
#01:47:23Faiz_2 lines indeed
#01:47:39Faiz_ <service>open-ils.actor</service>
#01:50:48phasefxlet's try this, start srfsh
#01:51:27Faiz_"textcode":"LOGIN_FAILED",
#01:51:39Faiz_"desc":"User login failed",
#01:52:06phasefxno, instead of trying to login, try request open-ils.actor open-ils.actor.org_types.retrieve
#01:52:09Faiz_"ilsevent":1000,
#01:52:20phasefxin srfsh
#01:52:52phasefxif you get something like [ { "__c":"aout", ... "Consortium".. etc., that's good
#01:53:30Faiz_thats what i get verticallly :)
#01:53:46phasefxnow try the same thing, but org_tree instead of org_types
#01:54:08Faiz_that would be \
#01:54:11phasefxshould get some nested "__c":"aou" 's
#01:54:26Faiz_request open-ils.actor open-ils.actor.org_tree.retrieve
#01:54:31phasefxright
#01:55:06Faiz_it says command not found
#01:55:37phasefxdouble-check spelling
#01:56:04Faiz_request open-ils.actor open-ils.actor.org_tree.retrieve i paste this command in ssh window
#01:56:41phasefxhrmm, try using the up arrow until you get to the org_types command, and then change it directly, instead of cut/paste
#01:57:27Faiz_ok my mistake
#01:57:31Faiz_it says
#01:57:34Faiz_Received no data from server
#01:57:47Faiz_and Request Completed Successfully
#01:58:00Faiz_Request Time in seconds: 0.108489
#01:58:06phasefxnow that's very weird, but would explain the error with org_tree_html_options.pl
#01:58:35phasefxhave you modified the org tree at all (say, in psql?)
#01:59:02Faiz_no not at all
#01:59:10Faiz_where would i do that
#01:59:11phasefxand, any errors in /openils/var/log/ ?
#01:59:32phasefxit would be a database table, actor.org_unit, but if you left it alone, we'll ignore that avenue
#02:00:06Faiz_no errors still
#02:00:30Faiz_yes i did left it alone
#02:00:57phasefxalright, you should update the mailing list with your new error, and the fact that open-ils.actor.org_tree.retrieve is returning no data from the server in srfsh
#02:01:06phasefx has to get some sleep, alas
#02:04:37Faiz_ok willl do that
#02:05:39phasefxif you would, try replying to my last email, so that things will be threaded in folks' mail readers
#02:06:29phasefx = Jason Etheridge on the list
#02:06:52mfaizchoh its you
#02:07:04mfaizchwas looking for you since day before yesterday
#02:07:11mfaizchwait for a minute
#02:07:20mfaizchi will post it as you say
#02:08:19Faiz_as in my email i have first error on memcached
#02:09:34Faiz_and i follow the document as it it is why is my memcached not running it shows disabled and than i have to enable it in # /etc/default/memcached
#02:10:41Faiz_was thinking will get the error if we start from start
#02:10:56phasefxincidentally, just searching the mailing list, other folks have had the method "opac_visible" error. There are multiple potential causes
#02:11:18Faiz_ok am listning
#02:12:18phasefxI don't see any that might apply to you just skimming quickly. You're not changing language settings in the config files, for example
#02:12:33phasefxolder versions of EG too
#02:13:09Faiz_no not at all no change in language settings
#02:13:25phasefxalright, must really go now. Hopefully someone will have an "ah ha" moment, and respond to your email
#02:14:14Faiz_ok will post on the mailing list
#02:14:36Faiz_am trying to install it from las 12 days
#02:14:45Faiz_and stuck with it
#02:15:59phasefxprobably something silly we're overlooking. g'night (from my perspective:)
#02:17:11Faiz_yes good noght have nice dreams wit Faiz running Evergreen :)
#03:04:22Faiz_ has quit IRC
#03:09:49mfaizchis therer any one who can help
#03:52:27mfaizchi have an installation problem can any body help
#04:14:18hughbris has joined #evergreen
#04:44:51edoceo has quit IRC
#05:00:23bjwebb has joined #evergreen
#05:00:23bjwebb has joined #evergreen
#06:34:00natschil has joined #evergreen
#07:31:47dbs has joined #evergreen
#07:33:28kmlussier has joined #evergreen
#08:26:04tsbere_ is now known as tsbere
#08:27:03sfortin has joined #evergreen
#08:29:11collum has joined #evergreen
#08:29:11atheos has quit IRC
#08:29:58atheos has joined #evergreen
#08:31:03bjwebb has quit IRC
#08:51:31mrpeters-isl has joined #evergreen
#09:14:04collsk12 has joined #evergreen
#09:15:46collsk12Good morning all! I have a quick (hopefully) question for the room: Any idea why I would be getting a "Can't call method "opac_visible" on an undefined value at org_tree_html_options.pl line 54." error, when running autogen.sh for the first time? I tried Googling to no avail.
#09:17:24akilsdonk has joined #evergreen
#09:19:27tsbere can never remember how to link to a mailing list message. Or rather where to link to them from
#09:20:15dbs generally goes to markmail, then finds the original archive entry on list.georgialibraries.org by date
#09:20:29tsberecollsk12: http://libmail.georgialibraries.org/pipermail/open-ils-dev/2011-August/007479.html ?
#09:21:44collsk12tsbere: You rock! Thank you so very much!!
#09:22:55dbsso what's our strategy when we know the current stable release is broken out of the box?
#09:23:34phasefxassign blame, drive our developers before us, and hear the lamentations of their spouses
#09:24:28tsbere blames postgres
#09:24:30tsbere:P
#09:24:47gmcharltinvest in the stock of brown bag manufacturers?
#09:26:50gmcharltthough seriously, is it just time to do a cut of 2.0.9, or am I missing something?
#09:26:56dbsWell - do we pull the 2.0.8 release and point back to 2.0.7 until we confirm that https://bugs.launchpad.net/evergreen/+bug/826844 resolves the problem and push out 2.0.9?
#09:27:43dbsand do we do any reflection like "Geez, what steps can we take to prevent this particular problem from happening again in future releases?"
#09:27:48StephenGWills has joined #evergreen
#09:30:03yboston has joined #evergreen
#09:30:54dbsIn which case a possibility would be to add to the testing checklist: "Add a new library to the org tree; run autogen.sh; confirm that you can add users / items to that library"
#09:31:49tsberedbs: Amazingly enough, that might not have caught this issue
#09:31:50collsk12The fix worked. My suggestion might be to update the wiki with a note referencing the bug.
#09:32:16dbstsbere: I'm saying add a test that would catch the issue, obviously
#09:33:16dbsalthough if reading 826844 says that postgresql's behaviour is variable, then we're doomed
#09:33:17tsberedbs: The code as is works fine for me in 2.1/master on postgres 9, so if I was running the test (and I did run that kind of test) then I wouldn't have had it fail on me.
#09:34:08dbstsbere: so if it's an 8.4 difference, then that suggests that one person running a test in one environment - or a bunch of people running a test but all in the same environment - isn't enough
#09:34:34dbsand if it's a 2.0 vs. 2.1 difference, did anyone test it in 2.0?
#09:34:35tsbere admits to not having a 2.0 testing setup with postgres 8.4
#09:34:44tsbereor a 2.0 testing setup at all
#09:34:56collsk12Is there any talk about moving away from postgres? Maybe towards mysql?
#09:35:02mrpeters-isl has quit IRC
#09:35:11mrpeters-isl has joined #evergreen
#09:35:19dbs looks at http://testing.evergreen-ils.org still running but way below it's potential
#09:35:22dbss/it's/its
#09:35:57phasefxcollsk12: no, we depend too heavily on postgres specific stuff
#09:36:02tsbereHow difficult would it be to rig stuff up to allow for someone to literally run multiple postgres server instances on a test box *just* to make sure the base schema appears to load?
#09:36:42collsk12phasefx: Worth a shot ;) Thanks.
#09:37:23dbscollsk12: I would argue that mysql is worth a shot - of the lead variety
#09:37:35natschil has quit IRC
#09:38:30dbstsbere: postgresql 8.4 / 9.0 happily co-exist on the same box
#09:38:38berickand that was worth a shot.. of the rim variety *rimshot*
#09:38:43collsk12dbs: Oooh...not a fan, I presume.
#09:38:48tsberedbs: I know that. I was thinking from the buildbot side more than anything
#09:38:53dbscollsk12: you presume correct :)
#09:39:37eeevilcollsk12: fair warning, dbs has been heavily steeped in DB2 ;)
#09:39:39dbstsbere: the difficulty probably lies in getting the credentials right
#09:39:59dbsberick++
#09:40:20dbsberick: we're finished our "escape output" pass over the T-PAC?
#09:40:22tsberedbs: can buildbot be told "this test is to run this file you don't control"? Because I am willing to set up a VM to do nothing but sit there and let buildbot tell it to test the base schemas.
#09:40:23eeevil(fairer warning -- /I've/ lost so much time and data to mysql that I feel reparations are in order)
#09:40:26phasefxcollsk12: my favorite is how mysql will "helpfully" truncate data, say if you overflow a numeric :)
#09:41:02collsk12phasefx: LOL!
#09:41:19berickdbs: as far as I can tell, we slayed the beast
#09:41:22collsk12eeevil: DB2, eh?
#09:41:26berick does another quick scan
#09:41:49berickdbs: you looked at parts/advanced?
#09:42:03ebyphasefx: yeah ran into that with a primary key once
#09:43:01dbstsbere: buildbot can be told to do just about anything, so running a particular script is fair game; generally it's considered a best practice to try and build as much into the Makefile as possible
#09:43:13phasefxeby: oy
#09:44:21dbsso if there was a "make test_schema" target that did nothing in the absence of a file containing database connection parms, that would be a possibility
#09:45:46dbsberick: I would still like to factor out the "<big><strong>" type markup and inline style attributes and such back into CSS, but that can be done in master
#09:46:00berickdbs: you'll find no argument here
#09:46:18dbsberick: Oh, come on, you love big strong HTML
#09:46:29berickit makes me feel safe and warm
#09:46:49berickand surrounded by markup
#09:48:12phasefxmarc, 21, slim, not
#09:48:33bjwebb has joined #evergreen
#09:48:33bjwebb has joined #evergreen
#10:01:26natschil has joined #evergreen
#10:07:18collsk12 has quit IRC
#10:09:22tsberedbs: I suspect that make test_schema should, in part, drop the entire database and make it from scratch
#10:09:29dbsso muhammad faiz's problem is likely the 2.0.8 problem?
#10:10:16dbstsbere: if we're testing clean installs, for sure; that means ensuring that the user has perms to createdb, createlang, etc, so more sysadmin work to setup the env correctly
#10:11:00tsberedbs: Easy solution? Allow passwordless sudo to a make target that does all of that for the postgres user. ;)
#10:11:30tsbereEven better, if written correctly that make target can be used for actual installs
#10:12:31tsberedbs: Alternatively, use the remote methods of doing everything, actually
#10:16:43dbsanything that makes actual installs easier _and_ increases testing capability has to be good
#10:17:09tsberedbs: I will work on a shell script that the makefile could call
#10:17:32tsbereOr rather, a sql file that can be called with psql and a -v option
#10:18:08dbstsbere: cool - will the makefile then call eg_db_config.pl to actually create the schema?
#10:18:24tsberedbs: That would be my view
#10:18:32dbssounds great
#10:19:02dbsphasefx: thanks for the autogen.sh pull
#10:19:35tsbere wishes the phone would stop ringing, though
#10:20:06phasefxdbs: 2.1 is still an option (if such changes seem okay for 2.1), but I don't have a setup for testing at the moment
#10:20:41dbsphasefx: we kind of have to get it into 2.1, as otherwise people will be calling cache-generator.sh for one release
#10:20:56phasefx nods
#10:22:46sal_ has joined #evergreen
#10:24:46sal_Windows client (from trunk) compiled/installed/runs fine with xulrunner 3.6.20. If there was a change to application.ini I was supposed to make, I didn't (and it seems to work fine.)
#10:25:40bshumsal_++ for testing that
#10:28:14sal_:-)
#10:28:15dbsphasefx: Once the T-PAC is merged, I think master should become 2.1-RC3 anyways
#10:29:02phasefx(. O)
#10:31:25berickheh
#10:33:16sal_* exposes ignorance... Would like to patch in the chargeable loans feature (bug 806131) into the build I'm working on (gitted trunk/master originally). And I can't seem to figure out how. Do I need to start from scratch, or is there a way to patch in the changes after the fact?
#10:33:25gmcharltdbs: that's one way to stave off the day until we have to actually write release notes ;)
#10:35:04sal_(swears she could do this in svn at one point ;-) )
#10:36:54dbsgmcharlt: we should probably be writing release notes when features get merged and details are fresh in our minds anyway
#10:37:51natschil has quit IRC
#10:38:04dbsI'm just frustrated to have features like the openlibrary integration merged a couple of days past the feature cut-off date and not likely to see the light of an actual release until, say, April
#10:38:24gmcharltdbs: I agree in principle. to toss out an idea, for major commits or major merge commits that itnroduce a new feature, maybe add decorate to the commit message to indicate that the message is a detailed description suitable for release notes
#10:38:35gmcharltmight be one way of filtering noise
#10:39:13gmcharlteven if say a DIGer later rewrites the note, that gives a start point
#10:39:43dbs"decorate" - so, say we merge the T-PAC today, is that just a convention in the commit message?
#10:40:27gmcharltyeah, e.g., something like - "for-release-notes" in the commit message
#10:41:23dbssal_: you could do something like "git diff origin/master working/Evergreen <email address hidden>/SIP2_chargeable_loans" and try applying the diff to your build, if your build isn't in git
#10:41:35dbs(that's probably a horrible way to do things, but I'm a horrible person)
#10:42:23gmcharlt notes that for that purpose, 'git apply' is one of the git subcommands that *doesn't* require that you be inside a git repo
#10:44:03dbsberick: should we go ahead and wire up the "Basic catalog" link in the JSPAC to point at the TPAC pre-commit?
#10:44:25berickdbs: let's do it
#10:44:49dbsI guess we'd need a corresponding "Dynamic catalog" link in the TPAC, although in practice I bet that there are few people who want to go in that direction
#10:45:05dbsCool - I was just thinking that would help the for-release-notes commit message :)
#10:45:13dbs will make it so
#10:45:16berickagreed
#10:45:58bshumleed++ # I'll try some of those diffs to see how they play with our system, but thanks muchly!
#10:48:00leedbshum: no problem, the create views at the bottom were added because of the drop cascades i had to do earlier in the diff. Was a 2.0.7 DB prior to the upgrade, I'm hearing I was supposed to start with 2.0.8. Perhaps the script should have its name changed to 208-21-upgrade! Good luck.
#10:54:57tsberedbs: http://paste.lisp.org/display/124109
#11:02:17tsberedbs: I wonder if this shouldn't be placed in, say, the src/sql/Pg directory and added as a step in eg_db_config.pl. Say via a "--create-database" option?
#11:07:03dbsberick: merged the reciprocal T-PAC / JSPAC links
#11:07:10dbsand pushed
#11:07:17dbs looks at tsbere's link
#11:08:50berickdbs: cool. I'll give a little more time for nay's and merge, i guess, this afternoon
#11:09:17berickif anyone has anything in particular they'd like to add to the merge commit message, i'm all ears
#11:09:45dbstsbere: sounds like a reasonable plan
#11:10:20tsberedbs: I can try and make it happen in a branch for master. Any backporting for 2.0/2.1 will need to be looked at after (and likely have the script adjusted for 2.0)
#11:10:48dbstsbere: well, just getting it into master would be a win
#11:15:17natschil has joined #evergreen
#11:18:53natschil has quit IRC
#11:21:37dbsberick: I'm going to be out of "the office" for a few hours soon, but will try to help out with a merge commit message when I get back
#11:22:07dbs winces at the outdated http://evergreen-ils.org/dokuwiki/doku.php?id=faqs:evergreen_roadmap
#11:22:11berickdbs++
#11:23:36natschil has joined #evergreen
#11:25:50bradldbs: should put something like teleportation in there just to make sure people are paying attention
#11:27:28bradl-= THIS MESSAGE NOT LOGGED =-
#11:36:48dbsteleportation would cut down on transit times; we should get to work on that
#11:37:30gmcharltand a partial implementation of teleportation could make it easier to stretch materials budgets
#11:38:07tsbereteleportation could enable opac-based checkins. And checkouts. And fetching of overdue materials automatically. Etc.
#11:38:36StephenGWills hopes the new feature comes with fly-paper
#11:40:54bradl feels an Apr 1 press release forming
#11:58:57dbs adds tiny "Development conventions" section to http://evergreen-ils.org/dokuwiki/doku.php?id=dev:opac:template-toolkit
#11:59:50dbsunfortunately no teleportation section yet
#12:01:08tsbere tests his new --create-database option to eg_db_config.pl
#12:11:16dbsUpdated some of the top-level todos on http://evergreen-ils.org/dokuwiki/doku.php?id=dev:opac:template-toolkit:todos
#12:17:48tsberedbs: https://bugs.launchpad.net/evergreen/+bug/828878
#12:22:43dbstsbere: thanks, I'll try it out this afternoon
#12:22:49dbs heaps more onto the TODO pile
#12:27:58tsberedbs: Not sure how to do the "make test-database" part at this point. Check for a file that contains paramaters to eg_db_config.pl ?
#12:31:11natschil has quit IRC
#12:35:50bjwebb has quit IRC
#12:50:16sfortin has quit IRC
#13:04:02akilsdonk has quit IRC
#13:19:40tsbereLess than fun: Sending someone a spreadsheet (xls format), having them print it out, fill in the missing column by hand, and then mailing it back to you for you to process.
#13:32:30eeeviltsbere: did they take a poloroid picture of it on a wooden background, scan that, print that, and then mail it? because that would circle all the away around not-fun back to awesome
#13:34:00tsbereeeevil: No. I think this second one passed through the copy machine before and after being filled in by hand, though.
#13:35:35bshumselfcheck-mdlbry
#13:35:47bshumOops, barcode scanner in the wrong window :S
#13:35:57bshumSorry about that folks.
#14:59:50StephenGWills has left #evergreen
#15:02:45sfortin has joined #evergreen
#15:05:22akilsdonk has joined #evergreen
#15:12:02mfaizch has quit IRC
#15:14:13dbstsbere: "eg_db_config.pl --create-database", and "eg_db_config.pl --create-database --create-schema", appear to do what one would want right out of the box on Fedora 15; nice work with pg_config
#15:15:04tsbere:D
#15:15:36tsbereI did not want to hardcode the path for the contrib dir, because I have no clue if it is installed elsewhere on other distros we are supporting.
#15:15:51tsbereOr might support in the future, for that matter
#15:16:20dbsI'm a-gonna modify the README to take out the manual database creation bits (with the exception of the superuser account) and replace it with --create-database, then merge it
#15:16:27dbsyeah, excellent thinking
#15:17:09tsberedbs: Should the example "complete set of options" in the help for eg_db_config.pl be updated to include the --create-database?
#15:17:26dbsprobably
#15:17:34akilsdonk_ has joined #evergreen
#15:18:57akilsdonk has quit IRC
#15:19:25akilsdonk has joined #evergreen
#15:19:56tsberedbs: Also, may want to include instructions on manually using create_database.sql when, for whatever reason, you don't have the contrib directory anywhere but the actual database server.
#15:20:00dbsI guess this means that clients are going to have to install pg-contrib packages, which probably means installing pg-server, so a possible painpoint for production setups, but I think that's a reasonable tradeoff for the reduction in manual steps
#15:20:34tsbereI believe I put some basic "how to use this file alone" info in the top of the create_database.sql file
#15:21:14dbsYeah, I think that's a good idea. Possibly for the still-mythical "How to set up a real production Evergreen instance" document
#15:21:45tsbereThe fact that the sql file works standalone is a plus, IMO. :D
#15:21:53tsbere(provided you know what to tell psql)
#15:22:28akilsdonk_ has quit IRC
#15:27:42akilsdonk has quit IRC
#15:27:54akilsdonk has joined #evergreen
#15:37:40dbstsbere: committed
#15:37:44tsberedbs++
#15:37:52tsbere is looking over the readme changes now
#15:38:54dbsif there's a distro out there without pg_config, I don't wanna support it
#15:39:15dbswe should have used `pg_config --sharedir`/contrib ages ago in the docs. facepalm
#15:39:29tsbereHmmm. Both commits have only one sign-off. Oh well.
#15:40:16dbsah, crap. forgot to cherry-pick -s your commit into mine in my haste
#15:41:17tsberedbs: I only figured out that pg_config --sharedir could help when I read that contrib files are installed in "SHAREDIR/contrib"
#15:41:20dbsand I (personally) don't consider README commits to be quite as worrisome, but yeah, I could have just counter-posted a signed-off branch for you to then sign
#15:42:53tsbere wonders if this should now be backported, though
#15:45:46dbsI'll go on record to say I would like to see it backported to 2.1
#15:52:55dbs notes that various Conifer branches for T-PAC appear not to have been merged - specifically user/dbs/ttopac-refworks and user/dbs/ttopac-sfx-integration
#15:53:48berickdbs: IIRC, those branches were already merged into other branches that got merged
#15:53:51dbsalso need to provide an unwrapped script for user/dbs/ttopac-metabib-display-field to get it pullrequesty
#15:53:59dbsberick: but there's no config.tt2 file?
#15:54:13dbsoh wait
#15:54:30dbsI'm still on a checkout of tsbere's branch, which has no t-opac
#15:54:33dbsdbs--
#15:54:38tsbereheh
#15:56:14AaronZ-PLS has joined #evergreen
#15:57:20dbs gets back in sync with the t-pac
#16:07:40rangii read tupac when i see that
#16:07:49rangiand start singing california knows how to party
#16:07:57berick does too
#16:08:17berick sings picture me rollin' ;)
#16:08:29rangiheh
#16:19:39sfortin has quit IRC
#16:19:40natschil has joined #evergreen
#16:22:45collum has quit IRC
#17:00:13akilsdonk has quit IRC
#17:20:02dbsphasefx: problems creating org units in 2.0.8 smells strongly of the same evil bug
#17:20:53phasefxdid we do the === !== treatment in 2.0? I didn't think so
#17:23:01phasefxyou know, I'm not even sure if we fixed a refresh issue; I was so focused on just getting the org created
#17:26:49yboston has quit IRC
#17:36:08sal_ has quit IRC
#17:41:31phasefxyeah, in master, New Child doesn't update the interface correctly.. have to reload to see the placeholder org
#17:56:25kmlussier has quit IRC
#18:33:01dbs has quit IRC
#18:40:47dbs has joined #evergreen
#18:41:01dbstabs--
#18:41:03dbscopying and pasting SQL that contains tabs sucks
#18:44:20dbsgrabbing 0605
#19:07:20edoceo has joined #evergreen
#19:08:16dbs notes that rel_2_1 didn't have its config.upgrade_log updated for the last three upgrades, heh
#19:18:30tsberedbs: Were those upgrades applies to 2.1, or were they 2.0 and/or master only updates?
#19:18:37tsberes/applies/applied
#19:19:11edoceo has quit IRC
#19:19:20dbstsbere: you could answer that question yourself
#19:19:49tsbere is lazy and trying to figure out how to best lay out a new table or three
#19:20:04tsbere also isn't sure it is important at this point ;)
#19:22:14edoceo has joined #evergreen
#19:22:15phasefx counts dbs and tsbere as parts of his brain (mu hahaha)
#19:22:17dbshttp://git.evergreen-ils.org/?p=Evergreen.git;a=commitdiff;h=e3fd5900b8743458c48876a87304087c1d4c025f
#19:26:28tsbere isn't sure why he bid internally on something that requires him to edit the stat cat editing interface again.
#19:26:32tsbereI hate editing that interface
#19:27:54dbstsbere++
#19:27:59dbsmasochist
#19:28:37tsbere thinks it is because it will help with things like paying off his new car
#19:29:03dbs thinks dbwells' ou parent-protect fix would be a perfect use of the deprecates / supersedes stuff, but doesn't see any existing uses to date and doesn't want to step into that pile of unexercised worms
#19:29:15dbstsbere: what make/model?
#19:29:28tsbereHonda Insight
#19:29:33dbsoh nice
#19:30:46edoceo has quit IRC
#19:31:38tsbereHmmm
#19:32:33tsbereOver 4 weeks now, actually, and still running on the original tank of gas from the dealer.
#19:32:38tsbere:D
#19:32:43dbsvery nice :)
#19:33:46dbwellsJust in case people get anxious during the night and decide to roll 2.0.9, I wish to lobby that this get committed first as well. https://bugs.launchpad.net/evergreen/+bug/827523 It's a simple fix code-wise, and while not quite the problem that the other bug is, it is still much needed.
#19:34:24dbwellsI can also note that we are running it on our production 2.0 instance.
#19:35:16dbwells goes back to eating dinner
#19:36:38tsbere has a second project he has been told to go forward on that was originally a single OU setting and related code, but that he decided to split into two OU settings, and now is debating adding a third. :(
#19:39:53tsbereSometimes I think I put too much thought into making things flexible
#19:42:59edoceo has joined #evergreen
#19:47:16dbs is all for not making things flexible if there's a good argument that there is one true way of doing things
#19:47:29dbsavoiding config hell is good
#19:48:04phasefxjavascript in tables all the way :D
#19:48:22dbs hopes that tsbere / dbwells will offer some t-pac merge votes at some point
#19:48:42natschil has quit IRC
#19:49:05tsberedbs: The problem is I have, in looking how I am going to write the code, come up with good arguments AGAINST saying there is one way of doing things
#19:49:12tsbere<_<
#19:49:16dbshah
#19:49:57tsbereThe only argument for "one way of doing things" in this case, for me, is "the basic specs I have say there is only one way". I am not one to stick to the specs if it is going to be too limiting.
#19:50:10dbsWe're going to need an AI to assist people with Evergreen configuration
#19:50:31phasefx has some ideas for configuring the AI
#19:50:43tsbereAs for t-pac merge votes....I haven't had time to look at the merge branch yet, and thus do not feel confident offering my vote either way.
#19:50:57dbs0 is a vote
#19:53:56tsberedbs: Is there any reason there is a adv_copy_location_filter_row block that is never referred to anywhere else ever again in the tt opac?
#20:01:47edoceo has quit IRC
#20:07:11jeffgood evening
#20:08:44tsbereIs it good? I hadn't decided yet.
#20:20:01bericktsbere: you'll find lots of IDs in the t-pac that are never referenced. it was built from a skin of the JS opac and only partially cleaned up thus far
#20:21:07tsbere has done a wonderful job of making his VM choke
#20:21:54tsbereCopied a 3.2 gig file into it. I think it ran out of physical allocation and has to wait for the host machine to catch up.
#22:42:08MandersonCan someone tell me, are there socket files suppose to be created somewhere? http://pastebin.com/ezFeWpGR
#22:42:40Manderson/data/openils/var/sock/unix_sock was called out, but didn't exist on the filesystem.
#22:46:57phasefxManderson: I think later versions of opensrf stopped using them
#22:50:04Mandersonok.
#22:50:07Mandersonthanks
#22:54:04Mandersonstill having issues with the autogen.sh script. Keep getting the message "Can't call method "opac_visible" on an undefined value at org_tree_html_options.pl"
#22:54:07Mandersonany ideas?
#22:54:38phasefxsomeone else was getting that last night, and I couldn't figure out why
#22:55:17phasefxin srfsh, try retrieve open-ils.actor open-ils.actor.org_tree.retrieve
#22:55:17MandersonI think that was me
#22:55:33phasefxthere was Faiz_ and collsk12
#22:57:03Mandersonphasefx: is that the exact command? 'retrieve open-ils.actor open-ils.actor.org_tree.retrieve' ?
#22:57:50phasefxat the srfsh# prompt, which you get with /openils/bin/srfsh (but you may have to configure ~/.srfsh.xml)
#22:58:11Mandersonok...just making sure.
#22:58:36phasefxif you get back a data structure containing the word Consortium, that's good
#22:58:46phasefxif you get No response from server, that's bad
#22:59:05tsbereIf you don't, log in to the database with psql and "select * from actor.org_unit;" to see if you get results.
#23:00:37tsbere has a pile of "how to fix X" and "how to implement Y" to deal with tomorrow after some "test to see if you can figure out why Z doesn't work"
#23:03:08Mandersonhmm: srfsh# retrieve open-ils.actor open-ils.actor.org_tree.retrieve
#23:03:09Manderson???: retrieve open-ils.actor open-ils.actor.org_tree.retrieve
#23:03:51Mandersontsbere: I logged into the db and get 0 rows from that select statement.
#23:04:14tsbereManderson: Then I assume you fell victim to the "broken trigger prevents inserts to that table" bug
#23:05:01Mandersonoh.
#23:05:10phasefxManderson: sorry, use request instead of retrieve, for the first instance of retrieve
#23:05:19phasefxbut
#23:05:25phasefxpsql already told the true tale
#23:05:48MandersonIs there a fix for this?
#23:06:43Mandersonphasefx: you're right...the statement worked, but still "Received no data from server
#23:06:46Manderson"
#23:08:02phasefxManderson: https://bugs.launchpad.net/evergreen/+bug/826844
#23:09:57phasefxassuming a 2.0 instance of EG, I think you can feed this to psql: http://git.evergreen-ils.org/?p=Evergreen.git;a=blob_plain;f=Open-ILS/src/sql/Pg/upgrade/0605.schema.lp826844_org_unit_parent_protect_fix.sql;h=12cf25cb80a6b3c7a34b77d0fa0e923edb65caf3;hb=41f00b25bb95ac45c826304fb8e17844ad0e6fa2
#23:23:42Mandersonphasefx: ran that and everything looked like it worked OK...that table still has 0 rows though. Is there a subsequent script/scripts that need to be re-run in order to get that populated?
#23:26:14MandersonI am guessing the steps in the manual where we create the database schema?
#23:26:28phasefxoh, yeah, pooh, that's not enough
#23:48:31Mandersonalright, I've re-created the entire database, but I'm still returning 0 rows on that table.
#23:48:34Mandersonthoughts?
#23:56:14phasefxManderson: we're going to have cut a bugfix release of EG soon; unless you want to install the 2.0 branch from a git checkout, it may be better to wait for that
#23:57:02phasefxalternately, you could grab whatever files that launchpad ticket refers to and copy them into your source tree prior to install
#23:59:40MandersonI'll wait...I am in no hurry. Thanks for your help!
< Wednesday, August 17th, 2011Raw Log FileFriday, August 19th, 2011 >