Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Monday, October 24th, 2011

< Sunday, October 23rd, 2011Raw Log FileTuesday, October 25th, 2011 >
#TimeNickMessage
#02:09:02matt_carlson has joined #evergreen
#02:13:53matt_carlson has quit IRC
#02:14:22matt_carlson has joined #evergreen
#02:22:48darshan has joined #evergreen
#02:24:13darshanon 4th step while installing Evergreen 2.1 i m receiving an error of no such file or directory
#02:24:49darshanplz can ne1 say what could the reason for that
#02:25:37darshanand i have started installing from the installing prerequisite section
#02:41:25matt_carlson has quit IRC
#02:53:00darshanis der ne1 can help me plz
#06:34:06darshan?
#08:07:00mrpeters-isl has quit IRC
#08:12:19mrpeters-isl has joined #evergreen
#08:24:54Dyrcona has joined #evergreen
#08:24:54tsberedarshan: At this point, I must recommend you give up and spend a few weeks/months learning linux basics.
#08:29:54Dyrcona has quit IRC
#08:32:17_bott_ has quit IRC
#08:32:49Dyrcona has joined #evergreen
#08:32:59_bott_ has joined #evergreen
#08:45:53mrpeters-isl has quit IRC
#08:46:54darshan<tsbere> i hav learned them as much it is required
#08:47:10darshanand even hav download n untar that
#08:47:29darshanevergreen downlaod a
#08:47:40tsberedarshan: No, you have not. Come back after working at learning linux for a month.
#08:48:01mrpeters-isl has joined #evergreen
#08:48:26darshan<tsbere>eg_db_config.pl, described in the following section, sets the database connection information in opensrf.xml for you.
#08:48:59tsberedarshan: Until you learn more about linux we can not help you.
#08:49:04darshanwat does it mean i didnt found it in opensrf.xml file neither in opensrf_core.xml
#08:54:03darshanis ne1 ele
#08:54:08darshanele
#08:56:17darshaneg_db_config.pl where does it present
#08:56:34darshani have searc it but i didnt get it
#08:57:49darshan has quit IRC
#08:59:23collum has joined #evergreen
#08:59:23darshan has joined #evergreen
#08:59:36darshaneg_db_config.pl where does it present i have searc it but i didnt get it
#09:00:04tsberedarshan: Go. Learn. Linux.
#09:00:24darshanok
#09:00:56darshan<tsbere>if you cant help dont interrupt
#09:01:56mrpeters-isldarshan: you're not going to make any friends here if you don't have the basics down
#09:02:08mrpeters-islits impossible for someone to help you when you don't have a basic understanding of Linux
#09:02:32tsberedarshan: You have been struggling with things that you shouldn't be. This tells us that you do not have enough linux experience to install OpenSRF and Evergreen properly. Until you get that experience you will fail, no matter how much we help you.
#09:02:51tsberedarshan: Thus, either you need to go learn linux, or go hire a support company to get evergreen working for you.
#09:03:33darshan<tsbere>yes My dear freind ,i agree you
#09:04:41darshan<tsbere> tell me what does mailing list actually mean
#09:04:57darshani think now this u can ans as it is not related to linux
#09:05:04darshani mean its coding
#09:05:12darshanand command
#09:05:23mrpeters-islthere is no coding involved to get evergreen working
#09:05:28mrpeters-islabsolutely none
#09:05:54darshanya .thnk i have register for mailing list
#09:06:07tsberedarshan: a mailing list handles sending email within a group of people, usually via automated means although sometimes they are configured and run 100% manually, usually by people who don't know any better.
#09:06:16mrpeters-isldarshan: the answers on the mailing list are still goign to be "go get a book and learn linux"
#09:07:17darshan<mrpeters-isl> this time i m correct and i think i m asking for evergreen staff client module not about evergreen installation on linux
#09:07:43darshanand yes thanks <tsbere>
#09:07:51mrpeters-islyou can't use the staff client until you have the server side configured properly
#09:08:11darshanbtw i have already
#09:08:19mrpeters-islyou're asking about eg_db_config.pl, etc. which is not the staff client
#09:08:28darshani have use the default evergreen server
#09:08:39darshanof internet
#09:08:45mrpeters-isldarshan, what? there is no "default" server...
#09:08:53mrpeters-isldo you mean a DEMO server?
#09:08:59Meliss has joined #evergreen
#09:08:59kmlussier has joined #evergreen
#09:09:03mrpeters-islyou can't run your library off of a public demo
#09:09:03darshanyeah
#09:09:13darshanyes
#09:09:15darshancorrect
#09:09:29darshanwait i will show u
#09:09:36mrpeters-islso, what is your question then? i've yet to see you ask a question relating to the Staff Client
#09:10:04darshan<mrpeters-isl>ec2-50-17-155-54.compute-1.amazonaws.com
#09:10:14darshanthis server i m talking about
#09:10:27mrpeters-isli have no clue what that is darshan
#09:10:31mrpeters-islhas nothing to do with evergreen
#09:10:42darshanyeah
#09:11:31darshani was asking on evergreen staff client software which can install on any os ,as in my case i have install it in windows7
#09:11:47darshanfor basic learning of it
#09:12:09darshanand my last question was not anything related to linux
#09:12:15mrpeters-isldarshan: you aren't asking a question
#09:12:22mrpeters-islyou're just telling me things that you're doing
#09:12:50darshani have not ask you ,i hav ask to tsbere and even got my answer as well
#09:14:21darshan<mrpeters-isl> i think u need to read my question ,i even think you didnt read my question nicely last time which was to tsbere
#09:14:38darshanand now stop this topic
#09:14:52darshanand neways thanks for ur suggestion to learn linux
#09:14:59darshani will
#09:21:28mrpeters-isl has quit IRC
#09:21:57mrpeters-isl has joined #evergreen
#09:39:06darshaneg_db_config.pl where does it present
#09:39:19mrpeters-isl has quit IRC
#09:39:26mrpeters-isl has joined #evergreen
#09:41:10tsberedarshan: Please go learn linux. And maybe some English, if you can't understand the "Please go learn linux" part.
#09:42:28mrpeters-isllol
#09:42:52sfortin has joined #evergreen
#09:43:00dbwells__ is now known as dbwells
#09:43:05mrpeters-isldarshan: http://www.dummies.com/how-to/content/linux-for-dummies-cheat-sheet.html
#09:43:38tsbere is starting to suspect that SuperCat is broken on their production system. Or in Master in general.
#09:44:54mrpeters-isldarshan: http://www.linuxclues.com/articles/19.htm might also be helpful
#09:47:10jeffheh. receipt printing: Long weekend in Pest and Buda : Egy he%u0301t Pesten e%u0301s Buda%u0301n
#09:48:10Dyrconagotta love unicode!
#09:48:29darshan<tsbere> u go and learn it if you cant understand "dont interrupt if you cant answer"
#09:48:50jeff looks at 850256
#09:49:16mrpeters-isl thinks the behavior is getting a bit inappropriate
#09:50:13atheosmrpeters-isl, quit interrupting
#09:51:35mrpeters-isldarshan: what is your goal with Evergreen? Just curiosity? Are you working at/for a library?
#09:52:15mrpeters-islmaybe that will help us direct you to a support vendor who can help
#09:53:04mrpeters-islthere are some really great ones out there who can host and administer an Evergreen system for you, and then all you have to do is use it
#09:54:56darshanno but thanks,but i cant wait to learn it,the reason is very harsh to tell ,but i knew u all r not at all wrong but really i need to finish it in next 2 to 3 days
#09:55:10mrpeters-islbut knowing why, might help us
#09:55:22darshani have no chance left after dat
#09:55:30darshantry to understand
#09:55:31mrpeters-islno chance for what?
#09:56:39atheos has left #evergreen
#09:56:49darshani m about to switch in different field ,i mean in android and this is mine last task to complete it
#09:56:52atheos has joined #evergreen
#09:56:53atheos has left #evergreen
#09:57:11mrpeters-islyou are writing an Evergreen application for Android then?
#09:57:20darshanfor java
#09:57:32darshanweb
#09:57:34atheos has joined #evergreen
#09:57:43darshanwill be right back
#09:57:46mrpeters-islso you're just installing Evergreen for fun? For a job assignment? Auditioning for a job?
#09:58:09darshannope
#09:58:23mrpeters-islIf you're not working in a library, and are just interested in the OpenSRF framework, that's a bit easier for someone to help with. If you're not familiar with working in a library, even the staff side is going to be a struggle for you.
#09:59:25darshanthankx freind ur correct
#10:00:35mrpeters-islthen you shouldn't need to do anything with eg_db_config.pl
#10:00:56darshanmeans?\
#10:01:02mrpeters-islif you aren't running a library, i dont see the need to use Evergreen. OpenSRF maybe, but not Evergreen.
#10:01:15mrpeters-islhow do you plan to use OpenSRF in your Andriod/Java apps?
#10:02:24darshani m in some java project and ders a need to switch me ,so i want hurry up to install it but in well way
#10:02:39mrpeters-isli'm not understanding your translation
#10:04:07mrpeters-isldarshan: i insist you read through http://open-ils.org/dokuwiki/doku.php?id=opensrf:2.0:install step by step. If you can't get that working, perhaps you need to look into hiring someone to help you do your work.
#10:05:08darshandats opensrf
#10:05:17darshani have install it well
#10:05:24darshani m installing evergreen 2.1
#10:05:29mrpeters-islwell, installing Evergreen is just the same
#10:05:35mrpeters-islthe instructions are very clear
#10:05:53darshanthat only see read this
#10:07:59mrpeters-islplease ask questions here, not by pm
#10:08:51darshan m at this section Configure OpenSRF for the Evergreen application: in this link http://open-ils.org/documentation/install/README_2_1_0.html#_installation_instructions
#10:09:08mrpeters-island specifically what don't you understand?
#10:09:22mrpeters-islthe instructions tell you, exactly, what commands to run
#10:10:29darshanthat eg_db_config.pl, where it is describe
#10:11:08mrpeters-islso replace <user> <password> etc. with your values
#10:11:52darshani m not getting still
#10:12:05darshanwhere should i replace them
#10:12:51bshumdarshan: If you continue reading the next section of the instructions it'll explain what you need to do. As the line reads "described in the following section" meaning continue reading...
#10:13:24mrpeters-isldarshan: its quite simple my friend
#10:13:30mrpeters-islyou replace them in the command line
#10:13:48darshanok
#10:17:47adbowling-isl has joined #evergreen
#10:20:22bwicksall has quit IRC
#10:21:05bjwebb has joined #evergreen
#10:21:05bjwebb has joined #evergreen
#10:21:25mrpeters-islso, how'd that go darshan?
#10:25:11yboston has joined #evergreen
#10:28:35darshandidnt got u
#10:28:45mrpeters-islit didn't work?
#10:30:36darshandidnt reach there will let u knw soon
#10:30:50darshanbut thankx in advance my frndy :)
#10:44:06lisah___ has joined #evergreen
#10:53:23tsberehttp://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/cache_copy_visibility_dupes <_<
#10:53:34tsbere fights with that function *way* too frequently
#10:56:34mrpeters-islis RENEW_CIRC the only permission needed by a patron to check out an item? something else?
#10:56:58tsbere wonders what mrpeters-isl is looking for, as RENEW_CIRC likely has more to do with a renewal, than an initial checkout
#10:57:13mrpeters-islwell, thats what i was thinking too
#10:57:26mrpeters-islim trying to find the initial API call that's made when you circ an item
#10:57:36mrpeters-isli assume it has to check to see whether or not that patron can circ an item
#10:57:58mrpeters-islopen-ils.circ.checkout.full doesn't seem to have much to it
#10:58:47mrpeters-islperhaps i should be in Circ.pm instead of Circulate.pm
#11:01:06tsbereRENEW_CIRC is "renew someone else's circ"
#11:01:13mrpeters-islhttps://bugs.launchpad.net/evergreen/+bug/564008 is what I'm looking at. Was going to try to link up an ILS_EVENT for that scenario.
#11:01:33mrpeters-isljust can't seem to figure out with permission Dave was talking about, and of course he's gone now
#11:02:31tsbereOtherwise it looks like the system says you can check out to yourself. VIEW_PERMIT_CHECKOUT and COPY_CHECKOUT are for checking out to others, RENEW_CIRC for renewing others.
#11:03:10darshan <mrpeters-isl> <user>, <password>, <hostname>, <port>, and <dbname> do i really need to set all of them ?
#11:03:25mrpeters-islyes, of course you do darshan
#11:03:43mrpeters-islit can't connect to your database if it doesnt have credentials and what port to connect on
#11:03:55darshanhmm
#11:03:57mrpeters-islthough localhost 5432 should be sufficent, in your case
#11:04:14darshanthanku thank u
#11:04:16darshanheheheh
#11:04:27darshanand db name?
#11:04:38mrpeters-isli think you can figure that one out on your own
#11:04:46darshanok
#11:05:25darshanjust give me one hint how or where should i find it
#11:05:40mrpeters-isli'm sorry darshan. you can do it.
#11:05:49darshanhmm.ok
#11:05:55mrpeters-islit doesn't do you any good if i just tell yout the answer
#11:06:02tsberemrpeters-isl: Reading that bug, I am not sure what he is asking, or for what version of the system, but I am fairly certain the system currently throws prompts at you when things aren't allowed.
#11:06:07darshanwiil be back wiht news i have
#11:06:29mrpeters-isltsbere: yeah, it definetly does for most thinsg
#11:06:56mrpeters-isli was going to try to take that permission away from a group and see if i could replicate, but i can't see what permission it would be. By default, patrons don't have much and RENEW_CIRC was the only one related to circs.
#11:06:58tsberemrpeters-isl: All, I think. It may not be able to override them all, but it should throw *something* up whenever things fail.
#11:07:10mrpeters-islThe rest were holds, opac login, etc.
#11:07:29tsberemrpeters-isl: COPY_CHECKOUT and VIEW_PERMIT_CHECKOUT are needed when checking out to someone else.
#11:07:31mrpeters-isl wonders if this is a legacy circ script situation
#11:07:51mrpeters-islright, but the bug seems to indicate it's the patron who lacks a permission
#11:07:53tsbereBut only if not checking out to the logged in user. It skips those permission checks otherwise.
#11:08:16tsbereIf it is legacy scripts then it may be a poorly writen script
#11:09:16mrpeters-isl thinks we should mark this one as incomplete and take it off the wishlist
#11:09:39tsbereIncomplete or invalid. Not sure which is better.
#11:09:48mrpeters-islinvalid probably, now that you mention it
#11:09:58mrpeters-isli am almost certain it's a circ script that doesn't push an ils event
#11:10:03tsbereI will +1 that change. :P
#11:10:26tsbereInvite it to be re-opened if more info is provided?
#11:11:08mrpeters-islyeah, so in our system ComputerUsage can't circ items
#11:11:17mrpeters-island that's handled by pushing PATRON_EXCEEDS_CHECKOUT_COUNT
#11:11:36tsbereIn our system some of our groups have restricted circ rules
#11:11:55tsbereindb flags it as a generic circ not allowed error
#11:43:07matt_carlson has joined #evergreen
#11:45:21Dyrcona has quit IRC
#11:55:41darshan <mrpeters-isl> when i run that step its giving me error that password authentication failed for user postgres
#11:55:57darshanand i have checked its password in opensrf.xml its postgres only
#11:57:26Dyrcona has joined #evergreen
#11:58:27mrpeters-islthen you haven't set a password for your postgres user
#11:58:46mrpeters-islhttp://www.postgresql.org/docs/8.1/static/app-createuser.html
#11:59:06mrpeters-islwhatever username/password you choose for that, is what goes in the eg_db_config.pl
#11:59:43darshanyes i havent
#11:59:58darshanso in should set it now?
#12:00:11mrpeters-isldarshan: this is covered in the README
#12:00:25mrpeters-islread "Creating the Evergreen database" section again
#12:00:34darshanok
#12:00:46mrpeters-islin fact, it's what you should have done just before running eg_db_config
#12:00:58mrpeters-islcreateuser -s -P evergreen
#12:02:16darshani have enter at that time and i entered evergreen as an pass
#12:02:28mrpeters-islso then that is what you should put in your command line
#12:02:35darshanbut i m giving it in this
#12:02:50mrpeters-islcopy and paste the command you tried to run
#12:02:52darshanyes ,i putt it in but is not accepting
#12:03:00darshanperl Open-ILS/src/support-scripts/eg_db_config.pl --update-config \
#12:03:02mrpeters-isluse pastie.org or something like that so you dont flood the channel
#12:06:00mrpeters-isldarshan: http://pastie.org/2751217 is as best i can explain it
#12:06:15darshanok
#12:06:17darshansorry
#12:06:54mrpeters-isldo you understand the examples i've given there?
#12:07:10leed has joined #evergreen
#12:07:16darshanyes
#12:07:21darshani have done same
#12:07:23darshanbut
#12:07:36darshanwhats wrong i have done then
#12:07:53mrpeters-isldarshan; i dont know what you've done wrong because you didn't show us your command
#12:08:02mrpeters-islgo to pastie.org and post it, then give us the link
#12:08:15darshanok
#12:09:30darshanhttp://pastie.org/2751241
#12:10:08mrpeters-islok, lets try connecting to the database directly first
#12:10:30darshanok
#12:10:48darshanhow will i do dat
#12:10:49mrpeters-isltry: psql -U evergreen -W
#12:10:55darshanok
#12:11:00mrpeters-islit'll ask you for a password, then you should be at the psql terminal
#12:12:17mrpeters-islso, what happened?
#12:12:55darshanyeah you got it
#12:13:05darshanits giving me password error
#12:13:20darshancannot connect to it due to authentication failure
#12:13:21mrpeters-islwell, see my friend. you haven't supplied the correct password then
#12:13:40mrpeters-islI'd try "dropuser evergreen" and then recreate it
#12:13:42darshanso i should run that createuser script again
#12:13:50mrpeters-islmake sure you type the password twice exactly the same
#12:13:57darshanhmm.ok
#12:14:00darshanyes
#12:14:03darshanthnkx
#12:14:27mrpeters-islok. please let us know what happens so you can get help. i won't be able to help all afternoon.
#12:17:33darshansee when i switch to postgres user i typed createuser -s -P evergreen and two time password evergreen evergreen now when i m trying to switch from it to root using command it is giving me authentication error as sorry try again
#12:18:21darshanat first time is was giving me same and but i use logout to switch from it
#12:19:01mrpeters-isli don't understand what you're saying
#12:19:10mrpeters-islwhy would you switch from root to a postgres account?
#12:19:34darshanto createuser evergreen as said in document
#12:19:39mrpeters-isltry psql -U evergreen -W again, please
#12:20:20kmlussier has quit IRC
#12:20:41darshantried same thing
#12:20:53mrpeters-islthen darshan, you're not giving the right password
#12:21:01mrpeters-islplease clear your screen
#12:21:04mrpeters-isltype "clear"
#12:21:10darshansee give me a min to explain u plz frnd
#12:21:21mrpeters-island then i want you to go step by step and paste me your terminal so i can see what is happening
#12:21:35darshanok
#12:21:40mrpeters-isltell me when you are ready
#12:21:45darshanok
#12:21:55mrpeters-islwhat linux user are you logged in as?
#12:22:01mrpeters-islroot? postgres? opensrf?
#12:24:37mrpeters-islhello, darshan?
#12:24:59tsbere recommends mrpeters-isl give up, now ;)
#12:26:00mrpeters-isl dreams about barbies and justin bieber while waiting...
#12:26:21bgoble has joined #evergreen
#12:30:05darshanhttp://pastie.org/2751337
#12:30:34mrpeters-islok, darshan lets back up
#12:30:49mrpeters-islafter you issued createuser -s -P evergreen i bet you got an error saying that user already existed, didn't you?
#12:31:50mrpeters-islyou're running the right command but we have to get sorted out why your "evergreen" user isn't created. Since eg_db_config.pl can't authenticate, it can't create the database for you.
#12:32:24darshanno because i have ran command dropuser evergreen and deleted that evergreen as an postgres user
#12:32:41mrpeters-islok. and then you recreated it. good.
#12:32:41darshanno i want to say something which will help u
#12:33:01mrpeters-isluntil we get things to where you can issue "psql -U evergreen -w" we can't move on
#12:33:56darshanthat is when tried to move from postgres user account its asking me password and i didnt knew it as postgres account was already created i think
#12:34:09mrpeters-isldarshan: that's because postgres doesn't have "sudo" privelages
#12:34:19mrpeters-islit can't switch to another users account. thats for security reasons.
#12:34:26darshanok
#12:34:32mrpeters-islas the postgres user, type "psql -U evergreen -w"
#12:34:35mrpeters-island then type in your password
#12:34:50mrpeters-islyou should get a prompt like "evergreen=# " with the cursor flashing
#12:34:55darshanok boss as u say
#12:35:34mrpeters-islso, did you still get an authentication failed or are you at the terminal?
#12:37:08darshangot the failed error
#12:37:19kmlussier has joined #evergreen
#12:37:20mrpeters-islplease copy and paste the exact error
#12:37:25darshanits asking me insert password for evergreen user
#12:37:33mrpeters-isldon't try to retype it because things get lost in translation, i think
#12:37:41darshanbut when i typed evergreen as password i m receiving error
#12:37:55mrpeters-isli need to know the error in order to help
#12:38:10darshanno i tried it first n fresh attempt only
#12:38:17darshanok
#12:38:19darshanwait
#12:39:35darshanpsql :FATAL : Ident authentication failed for user "evergreen"
#12:40:00mrpeters-islhow about if you type "psql -U postgres"
#12:40:10darshanwait
#12:41:06darshansame only last "evergreen" is change with "postgres"
#12:41:22mrpeters-islok, lets try without a password this tiem
#12:41:33mrpeters-islas postgres -- "psql -U"
#12:41:38darshanok
#12:41:48mrpeters-islyou should see postgres=#
#12:41:58mrpeters-islto exit that, type "\q"
#12:42:06darshanno frnd
#12:42:16mrpeters-islwhat happened then?
#12:42:21darshanis says i required an arguemenr
#12:42:27darshan*arguement
#12:43:14mrpeters-islthere is no "i" argument for psql
#12:44:00mrpeters-islwhere are you typing "i" as an option!?
#12:44:17darshanits giving me error option reqires an arguement -- 'U'
#12:44:40mrpeters-isloh, right thats my fault...we have to give a username
#12:44:54mrpeters-islk, lets try something different this time
#12:44:59darshanok
#12:45:04mrpeters-islas postgres user, try creating an "evergreen2" user
#12:45:18darshanok boss
#12:45:44kmlussier has quit IRC
#12:46:33darshandone iset password as evergreen2
#12:47:01mrpeters-islok, so now lets try to run eg_db_config.pl again -- this time, change "evergreen" to evergreen2
#12:47:17mrpeters-islmake sure you are the root user before running that, too
#12:48:08darshanok
#12:48:08mrpeters-islif it fails, please copy us the EXACT error message. Don't try to rephrase it.
#12:48:48kmlussier has joined #evergreen
#12:53:24darshanhey it didnt gave me an error
#12:53:37darshanbut i want to sasy somethjing
#12:54:13darshanwhen i ran that command to connect psql ,psql -U evergreen2 -W it gave me same error
#12:56:34darshanait its giving me error even as evergreen2
#12:58:06mrpeters-islnot -W
#12:58:08mrpeters-isllower case w
#12:58:55darshanok
#12:58:57darshanhttp://pastie.org/2751484
#12:59:20kmlussier has quit IRC
#13:00:05mrpeters-islyou say "same error"
#13:00:08mrpeters-isli dont know what that erroris
#13:00:44darshanwith samll letter w as same error
#13:00:55mrpeters-isldarshan, i dont know what the error is
#13:01:15darshanyes giving u that
#13:01:20darshan1 min
#13:02:14kmlussier has joined #evergreen
#13:05:03msmith has joined #evergreen
#13:09:24darshanhttp://pastie.org/2751545
#13:13:39darshanwat happen
#13:13:42darshan?
#13:14:04darshani think its becos my postgres login doesnt have any password set
#13:14:19darshanwhile seeing error ,we can depict
#13:14:21mrpeters-islyeah, but it shouldnt be using the postgres user
#13:14:21darshandatr
#13:14:47darshanits alltime connecting to postgres user
#13:14:52darshanand not evergreen or evergreen2 user
#13:15:27darshanany prediction
#13:16:24mrpeters-isltry running the eg_db_config as postgres user maybe?
#13:16:56mrpeters-isli've isntalled evergreen hundreds of times probably, and i don't ever recall having this issue
#13:17:44darshanu mean createuser -s -P eg_db_config.pl and then runnig perl command with eg_db_config.pl as user
#13:17:45darshan?
#13:18:50mrpeters-islwait, you aren't really typing that, are you?
#13:18:59mrpeters-islcreateuser -s p eg_db_config.pl
#13:19:11mrpeters-islit should be "createuser -s -P evergreen"
#13:19:30darshanyeah ,i m not wrong
#13:19:37darshani m typing that only
#13:20:28mrpeters-isldarshan, i'm sorry but i have to go. i can't spend anymore time on this.
#13:20:40mrpeters-isli reccomend that you brush up on your linux and try coming back in a few weeks
#13:21:00darshanok as u say
#13:21:22darshanbut wat about this prb frnd
#13:27:06soundwerks has joined #evergreen
#13:30:09sndwrx has quit IRC
#13:39:07natschil has joined #evergreen
#13:40:27csharpwould anyone be able to recommend a particular "pgdiff" tool that would reveal the differences between the schemas of 2 evergreen DBs?
#13:40:31natschil has quit IRC
#13:41:05natschil has joined #evergreen
#13:42:08csharp tries 'apgdiff' from the squeeze repos
#13:43:57jeffdavis has quit IRC
#13:44:27phasefxcsharp: I've been playing with that, at least for schema only changes. It's not perfect (using the diff to actually upgrade a schema). You'll need to rearrange things
#13:44:47phasefx is still playing whack-a-mole with his
#13:46:11csharpphasefx: yeah - I'm just plodding through a couple of test instances of the 1.6.1-2.0 upgrade script and unhappy to be waiting 24-36 hours for the next error ;-)
#13:46:52phasefxI hear you
#13:48:58tsbere can't figure out what is wrong with their production system when it comes to IE
#13:49:01jeffdavis has joined #evergreen
#13:49:35matt_carlson has quit IRC
#13:50:29jeffhow can i ask git to show me the last time a file called "foo.xul" existed somewhere in the repository?
#13:50:42jeffi'd rather blow cpu and io than my time. :-)
#13:51:00jeff(in at least this case)
#13:51:00darshan psql :FATAL:password authentication failed for user "postgres"
#13:51:14tsberejeff: You could "git whatchanged" and then use the less / search for foo.xml
#13:51:21darshanerror while running perl script on installation of evergreen 2.1
#13:51:55jefftsbere: works. thanks!
#13:51:59jefftsbere++
#13:52:29matt_carlson has joined #evergreen
#13:54:21youdonotexist has joined #evergreen
#13:56:25darshan psql :FATAL:password authentication failed for user "postgres", psql :FATAL:password authentication failed for user "postgres"
#13:56:40darshanerror while running perl script on installation of evergreen 2.1
#13:58:34darshan has quit IRC
#14:15:02mrpeters-isldarshan: the answer is quite clear -- you need the password for the postgres user
#14:15:14mrpeters-islor you need to enable connections without a password in pg_hba.conf
#14:15:19tsberemrpeters-isl: You need join/part notices.
#14:15:27mrpeters-isloh dang it
#14:17:16csharpheh
#14:17:19mrpeters-islim half tempted to tell him to enable all in pg_hba.conf and put this to rest
#14:17:21jeffi'm trying to use a staff client css class to set display:none, and it doesn't seem to be taking effect. is there a way to show computed css for an element in the staff client?
#14:17:33mrpeters-isljeff: let me show you what i do
#14:17:47jeffmrpeters-isl: thanks
#14:17:52mrpeters-islwe wanted to hide the "delete user" button so we did:
#14:17:59csharpmrpeters-isl++ # perseverance
#14:18:29jeffi'm throwing a new class in global_custom.css, also tried patron_summary_custom.css -- doesn't seem to be working for me.
#14:18:50csharpapgdiff is choking on replication triggers :-/
#14:19:16tsberecsharp: pg_dump the schema only from both sides, then use regular diff?
#14:19:37csharptsbere: now that's a good thought ;-)
#14:19:47mrpeters-isl[command=cmd_patron_delete] { display: none }
#14:20:20jeffmrpeters-isl: and where (in which css file) are you defining that?
#14:20:33mrpeters-islpatron_display_custom.css, in this case
#14:20:33tsbereglobal_custom probably
#14:20:37tsbereOr there
#14:20:40phasefxjeff: re: computer css, the dom inspector can do it
#14:20:48phasefxs/computer/computed/ :)
#14:20:56jeffphasefx: hrm. i didn't see where. is there a trick to it?
#14:21:03tsbereAnyone have a clue why searching would be busted for IE?
#14:21:12mrpeters-islother than "because its IE?"
#14:21:31tsberedoesn't appear to be the case in general in master, but our customizations aren't doing it either, but our production system isn't happy.
#14:21:32phasefxjeff: should be a drop-down menu that has dom object, javascript object, computed style, etc.
#14:21:38mrpeters-isl cant help. he is only answering questions with IRC slang today
#14:22:05tsbereEven better? This is only the case *when you log in* <_<
#14:22:16mrpeters-islbefore or after login?
#14:22:22mrpeters-isllike, at the my account page or after you auth
#14:22:58jeffphasefx: got it.
#14:23:27tsberemrpeters-isl: Log in, go to any search page afterwards. Or try and log in from a place hold link.
#14:23:44mrpeters-isldo you have a fake user i could try with? and your OPAC URL?
#14:23:52mrpeters-isl tries his master too
#14:23:54jeffphasefx: it appears that the only css rules taking effect are those in xul.css. drat.
#14:24:45eeeviltsbere: some JS coming from http:, my guess
#14:24:52jeffphasefx: specifically, i'm re-visiting trying to use hide_patron_credit css class to hide patron credit UI bits.
#14:25:14tsbereeeevil: Isn't happening on my dev machine. Just our production machine. And I am using the same SSL cert on both. :(
#14:25:16mrpeters-islhmm my master is working
#14:25:31mrpeters-islits from like 10/11 though
#14:25:33tsberemrpeters-isl: The *only* problem machine I have right now is our production machine. :(
#14:25:41mrpeters-isl:(
#14:25:52jefftsbere: clear user in question's opac settings, log in and try again?
#14:26:02jefftsbere: or use a new user with no opac settings.
#14:26:02mrpeters-islmaybe try lowering your paranoia settings in IE?
#14:26:17mrpeters-isli think eeevil is on to it with the mixed HTTP/HTTPS stuff
#14:26:35tsberejeff: Every user seems to have this issue. But only in IE. FF isn't throwing a fit.
#14:27:08mrpeters-islcan i try here?
#14:27:26tsbereNot sure I want to be throwing dummy users into production. <_<
#14:27:44mrpeters-islmaybe put a bogus password on your account for a sec?
#14:27:54tsberelooks like, to me, an infinite loop is going on somewhere
#14:27:58tsbereat least from the CPU usage spikes
#14:29:02jeffphasefx: oh hey, it helps to have valid css. got it now.
#14:29:41phasefxjeff: rock
#14:30:22jeffphasefx: so, opinion on how to demonstrate "add this to global_custom.css to do BLAH" examples? put it commented out in global.css was my first thought.
#14:32:39phasefxI've done as much before. something like global_custom.css.example is fine with me too
#14:34:31kmlussier has quit IRC
#14:38:45tsbereSo, added fun? The point I am getting an ERROR in IE at is a try/catch block. Specifically, the end of the try block. Where I imagine it should be activating the catch. <_<
#15:01:15bgoble has quit IRC
#15:09:57jeffphasefx: i think we might want to re-think the way *_custom.css work.
#15:10:45tsberejeff: I wanted to make *_custom.css be a second css entry so that it would come *after* the default. But that could possibly break existing ones....
#15:10:47jeffphasefx: i guess i'll open a bug to discuss. currently, with xul referencing example.css and example.css @importing example_custom.css, example_custom.css has lower importance.
#15:12:02jeffi'd propose having example.css @import example_base.css and be otherwise empty. then, you could put anything local in example.css -- getting from current deployment custom css to that is tricky, though. perhaps just a big "hey, for 2.2 do this" and a "here's a script that might help, but you may need to tweak by hand"
#15:12:10jeffthere may be better approaches.
#15:13:11agJohn has joined #evergreen
#15:13:23tsberejeff: Have example.css include example_base.css and example_custom.css?
#15:13:27tsberein that order?
#15:13:42jefftsbere: testing.
#15:14:17agJohnHaving trouble w/ Z39.50 at client site; SRU level apparently not working right:
#15:14:26phasefx would prefer for custom css to come after stock css, but couldn't get @import to work like that
#15:14:31mrpeters-isl thinks we should just create _custom.css at install time from now on. We just need to give clear warning to sites who are upgrading that those files may need to be backed up.
#15:14:31agJohnyaz-client http://10.0.0.140/opac/extras/sru
#15:14:57tsberephasefx: @import can only appear first. Once a definition occurs in the file, @import stops working. :(
#15:14:59agJohn(sorry keep posting just one line--I'll get this figured out here in a minute!)
#15:15:15jefftsbere: seems to work!
#15:15:25mrpeters-islagJohn: are you trying to run a z39.50 server, or connect to one?
#15:15:27jeffso yeah, more testing needed, but i like that direction.
#15:15:34jefftsbere++
#15:16:00agJohnRun it....
#15:16:02agJohn# yaz-client http://10.0.0.140/opac/extras/sru
#15:16:04agJohnConnecting...OK.
#15:16:06agJohnZ> sru GET 1.1
#15:16:07agJohnZ> find hemingway
#15:16:09agJohnConnecting...OK.
#15:16:10agJohnHTTP Error Status=404
#15:16:12agJohnContent type does not appear to be XML
#15:16:13agJohnElapsed: 0.013263
#15:16:14phasefxtsbere: jeff: oh, I see what you guys are doing. coool
#15:16:21agJohnZ> format marcxml
#15:16:22agJohnBad format: marcxml
#15:16:25tsbereagJohn: paste sites. PLEASE.
#15:16:40agJohn(Sorry.)
#15:16:42tsberepaste.lisp.org or pastbin.ca or pastie.org or whatever ;)
#15:17:56mrpeters-islwhat version of evergreen?
#15:18:00jeffand as an added benefit, this has a cleaner migration path. example.css changes, example_base.css comes into existence, and example_custom.css works like it should -- the only downside is that rules that had been put in example_custom.css will suddenly become more important. :-)
#15:18:44jeffnow, how to have different staff client custom css...
#15:18:54jeff(er, per library in a ME-like consortium)
#15:18:54mrpeters-isldoes eg_vhost.conf have the SRU stuff? <Location /opac/extras/sru> and so on
#15:19:06agJohnagJohn just posted http://paste.lisp.org/display/125473
#15:19:09mrpeters-islthat would be smooth, jeff!
#15:19:10phasefxI think very relatively few folks are using _custom.css, and probably none where order matters currently
#15:19:27mrpeters-islcould give libraries access to their css directory and let them customize
#15:19:32agJohnmrpeters-isl--yes, eg_vhost.conf has SRU stuff (it connects, right?)
#15:19:46mrpeters-islwell, the way it 404's worries me
#15:19:48tsberejeff: I already have that worked out. Kindof.
#15:19:55phasefxjeff: maybe some SSI logic?
#15:20:09jeffphasefx: that's where i was leaning. what do you have, tsbere?
#15:20:10mrpeters-isli'm fearing that it can't find the API
#15:20:24jeffmrpeters-isl: does EI have a skin per library system in the public opac?
#15:20:26wolf29 has joined #evergreen
#15:20:35tsbere serves up different versions of the _custom.css files depending on domain the staff client connects to
#15:20:43mrpeters-islopen-ils.supercat Listener / Drones running, agJohn?
#15:20:47mrpeters-isljeff: we don't
#15:20:52phasefxanother option is to an org-derived classname onto the window, and have custom css look for that as part of the selection criteria
#15:21:05phasefxs/to an/to have a/
#15:21:11jefftsbere: oh, right. that's how ME is doing opac skins currently, iirc.
#15:21:49jefftsbere: just using a mod_rewrite rule?
#15:22:51wolf29Hi Y'all. Another dum question for you.
#15:22:53agJohnmrpeters-isl: Yup; listener/drone running (annotated the paste).
#15:22:58mrpeters-islok thats good
#15:23:12tsberejeff: Well, I combine it with some other stuff we do to make my life easier ;)
#15:24:31agJohnAlso applied the patch for https://bugs.launchpad.net/evergreen/master/+bug/875819 to my copy of WWW/SuperCat.pm
#15:24:42mrpeters-isldo you get any clues in the open-ils.supercat_unix.log ?
#15:25:32mrpeters-islI'm wondering if it might be worth trying to grab some records via OpenILS::Application::SuperCat in srfsh
#15:26:10phasefxcustom.js: try { addCSSClass( ses('ws_ou_shortname') ); } catch(E) {} custom.css: .BR1 label .foo { display: none; }
#15:26:49phasefxcustom.js: try { addCSSClass( document.documentElement, ses('ws_ou_shortname') ); } catch(E) {} custom.css: .BR1 label .foo { display: none; }
#15:27:42wolf29Where did I tell evergreen that I was using postgresql 9.1 - can't remember - and I am rolling back to 9.0, and don't really want to ./configure etc
#15:28:13agJohnmrpeters-isl: Nothing helpful in log. Shows it stopped and restarted (which I did to try to ensure it had loaded up the new version of SuperCat.pm).
#15:28:15agJohnNot sure what methods/params to use via srfsh, but does sound like a plan. I'll see what I can figure out.
#15:28:20mrpeters-islagJohn: request open-ils.supercat open-ils.supercat.call_number.browse 1
#15:28:47mrpeters-islor replace "1" with the biblio.record_entry.id of a known record
#15:28:57agJohnOK.
#15:29:03mrpeters-islbasically, i just want to make sure SuperCat is working
#15:30:10agJohnReturns data, yes.
#15:30:21csharpfor the logs, while I wasn't able to get apgdiff 1.4 from the squeeze repos, I downloaded apgdiff 2.3 from the project website and it worked for me
#15:30:24mrpeters-islok, that's good
#15:30:32mrpeters-islso the patch didn't break SuperCat
#15:30:48mrpeters-islagJohn: have you tried in the OPAC?
#15:31:01agJohnUh, no, actually....
#15:31:05mrpeters-islhttp://10.0.0.140/opac/extras/sru?version=1.1&operation=searchRetrieve&query=hemingway&maximumRecords=1
#15:31:18csharpcorrection: I was not able to get apgdiff 1.4 *to work*; it is available from the squeeze repos
#15:33:40mrpeters-islagJohn: you can peek at http://dev.evergreen.lib.in.us/opac/extras/sru?version=1.1&operation=searchRetrieve&query=hemingway&maximumRecords=1 for comparison
#15:34:14agJohnmrpeters-isl--this is what I get for working on a test system. The cache is dead cold so the OPAC is not returning anything anyway. But that's not the case on the live box that this is supposed to be a clone of...
#15:34:44mrpeters-islthe live is where you get the 404?
#15:35:03natschil has quit IRC
#15:35:25agJohnNot sure what 404 you're referring to....
#15:35:27agJohnLooks like Pg needs a bit of tuning. Interesting that the SRU attempt via yaz-client returned immediately and the pac search is just spinning.
#15:36:00agJohnDuh. Sorry. Behavior is apparently the same on both systems.
#15:36:00mrpeters-islyour error paste -- "HTTP Error Status=404"
#15:36:14bshumNot too out of character actually.
#15:36:32bshumI remember dbs used that example to show me how slow our 2.0 searches were :(
#15:36:35agJohnAt least with regard to this test; they're behaving the same.
#15:37:16tsbereFor the record, on my IE8 problem......apparently Firefox is a lot less likely to fall over dead when you log in with a corrupt reports/fm_IDL.xml
#15:39:00agJohnNope; take it back. The live system is working to this point. %$#@!
#15:39:02agJohnMoving on to the Z39.50 tests on the live system.... Sheesh. Sorry, but thanks, mrpeters-isl. I may be back to you w/ some questions about the Z39.50 level if that's not working.
#15:39:25mrpeters-islyeah, i'm not an expert on it...barely have our z39.50 working well
#15:39:36mrpeters-islbut it does work
#15:40:03mrpeters-islmaybe try http://foo.bar/opac/extras/sru?version=1.1&operation=searchRetrieve&query=dc.title+all+"baseball"&maximumRecords=0
#15:40:40bshumagJohn: It's not publicly visible right now right? (could configure a z39.50 against your server to test the SRU)
#15:40:47mrpeters-islhttp://evergreen.lib.in.us/opac/extras/sru?version=1.1&operation=searchRetrieve&query=dc.title+all+%22baseball%22&maximumRecords=1 is how it should look
#15:40:57mrpeters-islsearching all titles, for "baseball"
#15:43:48agJohnbshum: Well, the live system is *supposed* to be publicly visible but doesn't work. I was trying stuff out on the test system, but the SRU layer wasn't working until I replaced SuperCat.pm, apparently, with the patched version. Z39.50 is the goal, but since the SRU layer wasn't working, that was job 1. Clearly something's messed up on the test box in a different way than the live box--at...
#15:43:50agJohn...least Pg is not tuned properly; this much I know. Now the SRU layer is working on the live box, so just gotta figure out why the Z39.50 setup is not quite right.
#15:44:32mrpeters-islmaybe paste your config for simple2zoom?
#15:44:36bshumagJohn: Well let me know if I can help, though your syntax for the yaz-client looked weird to me.
#15:45:22mrpeters-islhttp://pastie.org/2752379 is our config for our z39.50 server
#15:45:32bshumThe connect URL that you specified in the example was the SRU, but I don't think we point to things like that.
#15:45:42wolf29 has quit IRC
#15:46:02mrpeters-island xml2marc-yaz.cfg -- http://pastie.org/2752384
#15:46:15agJohnThanks, bshum. They yaz-client syntax was supposed to be copied/pasted right from the directions. At any rate, that's now working so I'm looking at the config files; I think I may know what the problem is; I bet the config file lists the public, rather than the behind-the-firewall IP address... Just checking....
#15:46:57agJohnGotta be it; the localhost port works; the one that should be public does not....
#15:47:11agJohnAt least, the localhost port *connects*
#15:47:57agJohnShould I still be getting this:
#15:47:59agJohnZ> format marcxml
#15:48:01agJohnBad format: marcxml
#15:48:08mrpeters-isli dont think you should have to do that
#15:48:34mrpeters-islthough, i don't get any error if i use that
#15:48:47tsbereSo, I fixed my IE problems. Next up....Authorities and Bookbags. :(
#15:48:47bshumIt depends on what your xml2marc-yaz.cfg says I think
#15:48:55mrpeters-islyep, what bshum said
#15:49:08bshumThe "default" one doesn't have that as an option in it
#15:50:00agJohnsomething's definitely still messed up. find request returns:
#15:50:01agJohnSent searchRequest. & then: Target closed connection
#15:50:03agJohnI'll poke around in the config files. Thanks for posting yours, mrpeters-isl.
#15:50:10mrpeters-islnp
#15:50:12bshumProbably "format xml" would work better
#15:50:30bshumIf you were aiming for that specifically, though I think it defaults to xml
#15:50:51agJohnIndeed it's happy with that. (Directions need editing, I guess.)
#15:52:25bshumagJohn: Just curious, what version of Yaz are you running simple2zoom with?
#15:54:04agJohnUh, not sure....
#15:55:08bshumyaz-client -V should tell you (on the server side)
#15:55:21bshumWell, likely the same
#15:55:41agJohnYAZ version: 3.0.47
#15:56:06bshumAlright, that should be fine. (just making sure you're not on one of the "broken" versions of Yaz)
#15:56:36agJohnHelpful to know; thanks!
#15:59:25Meliss has quit IRC
#16:00:21sndwrx has joined #evergreen
#16:00:59sfortin has quit IRC
#16:01:13lisah___ has quit IRC
#16:01:21soundwerks has quit IRC
#16:04:28lisah___ has joined #evergreen
#16:09:12csharp-mobile has joined #evergreen
#16:10:23sndwrx has quit IRC
#16:11:57collum has quit IRC
#16:20:19csharp-mobile has quit IRC
#16:21:04sylvarIs there anyone using a 3M self-check machine who would share the login script string you're using (with username and password elided)?
#16:37:53lisah___ has quit IRC
#16:38:34lee_ has joined #evergreen
#16:41:12leed has quit IRC
#16:41:44tsberesylvar: The only 3M self checks I have seen had username and password input boxes in the config area.
#16:42:15sylvarok, thanks tsbere
#16:42:37tsbere has seen one set of 3M self checks from a configuration POV, though
#16:43:29jeff"script" is usually associated with the telnet connection option with SIP2. I've only dealt with RAW.
#16:46:07jeffdavis has quit IRC
#16:51:38jeffdavis has joined #evergreen
#16:59:24sndwrx has joined #evergreen
#17:03:45lee__ has joined #evergreen
#17:06:00lee_ has quit IRC
#17:12:58adbowling-isl has quit IRC
#17:21:28matt_carlson has quit IRC
#17:28:31Dyrcona has quit IRC
#17:30:38jamesrftsbere++ #c73466da
#17:40:18yboston has quit IRC
#18:20:30tsbere had to use git show to figure out what jamesrf was talking about ;)
#18:28:20jeffi would be worried if you didn't.
#18:31:09tsbereI recognize some of my more recent hashes more readily, actually. Partially from some of my cherry-picking fests.
#18:32:56youdonotexist has quit IRC
#18:36:03jamesrfheh i should have left off the last two characters maybe you would have been looking up html color codes
#18:38:18tsbereheh
#19:07:05Dyrcona has joined #evergreen
#19:53:51robbat2gmcharlt, perchance, would you have any suggestions for tracing down bad data that's causing Perl's Encode.xs to die while reading from MARC::Batch/Marc::File?
#19:53:54robbat2utf8 "\xC7" does not map to Unicode at /usr/lib/perl/5.10/Encode.pm line 174.
#19:54:09robbat2that's the sort of error, there's no actual die on that line, the error really comes from the Encode.xs
#19:54:18robbat2i've tried $PerlIO::encoding::fallback = Encode::WARN_ON_ERR | Encode::PERLQQ; without success
#20:04:59sndwrx has quit IRC
#20:12:36Dyrcona has joined #evergreen
#20:12:42Dyrcona has left #evergreen
#20:18:30wlayton has joined #evergreen
#20:30:02sndwrx has joined #evergreen
#21:42:55wlayton has quit IRC
< Sunday, October 23rd, 2011Raw Log FileTuesday, October 25th, 2011 >