Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Thursday, October 8th, 2009

< Wednesday, October 7th, 2009Raw Log FileFriday, October 9th, 2009 >
#TimeNickMessage
#01:24:23jeff has joined #evergreen
#02:24:30mck9 has left #evergreen
#06:00:55eguesttest has joined #evergreen
#06:44:43eguesttest has quit IRC
#06:45:23eguesttest has joined #evergreen
#07:20:10eguesttest has quit IRC
#07:27:16eguesttest has joined #evergreen
#07:57:02mck9 has joined #evergreen
#07:59:11gmcharlt has quit IRC
#08:01:45eguesttesthello evryone
#08:02:00eguesttest i installed the postgresql 8.3
#08:02:09eguesttestwould that work for evergreen
#08:05:15eguesttesthello
#08:17:26gdunbar has joined #evergreen
#08:31:07eguesttesthello
#08:31:17eguesttest has quit IRC
#08:31:22eguesttest has joined #evergreen
#08:31:37eguesttesthello
#08:36:04gmcharlt has joined #evergreen
#08:36:57eguesttest has quit IRC
#08:37:37eguest309 has joined #evergreen
#08:38:00eguest309hello evryone
#08:40:27eguest309was installing evergrre and run into a small hitch
#08:41:26eguest309 has quit IRC
#08:41:45eguest309 has joined #evergreen
#08:42:55eguest309is it possibe to install evergreen 1.4.0.6 with postgre 8.3 instead of 8.2
#08:43:20eguest309i used aptitude and i ended up installing 8.3 instead of the recommended 8.2
#08:43:35eguest309is it possible to install it
#08:47:18mrpeters-isleguest309: i am thinking I remember being told no
#08:47:22mrpeters-isli did the same thing by accident
#08:47:28mrpeters-islyou need to install postgres 8.2 via stow
#08:47:33mrpeters-islthere are some directions on the wiki at open-ils.org
#08:53:09eguest309okay
#08:54:19eguest309i have a slow internet conection so running aptitude update
#08:55:01eguest309 takes a long time to run and even with that sometimes i cant get the package stow when i run apt-cache search stow
#08:55:20eguest309does it have any dependencies
#08:56:22eguest309i mean does stow have any dependancies
#08:57:10gmcharlteguest309: just perl
#08:57:35eguest309okay
#08:57:41gmcharltbtw, you can go to http://packages.debian.org/<package_name>, e.g., http://packages.debian.org/stow to get such information
#08:58:30eguest309thanks
#08:59:29eguest309i am using ubuntu so i think packages.ubuntu.com should do
#09:02:30eguest309thanks anyway
#09:04:47tel has joined #evergreen
#09:23:49eguest309small question
#09:25:21eguest309in the installation of the postgresql you use hte make command to install it ,however in the installation of opensrf there is an aptitude install make to install the make package?i dont ge this .if it isnt there in the first place how can it be even used for the installation of hte postresql
#09:25:31mrpeters-isleguest309: ok
#09:26:42mrpeters-isleguest309: i think the opensrf prerequisites make file is what you are refering?
#09:27:03eguest309no
#09:28:23kgs has joined #evergreen
#09:28:41eguest309there is an aptitude comnand step 3 of installing opensrf
#09:29:10eguest309this installs the make package but if it isnt there already how can u hae installed the postgre?
#09:29:18eguest309becaue that also uses make
#09:37:18eguest309hello
#09:46:37natschil has joined #evergreen
#10:07:30sarabee_ has joined #evergreen
#10:08:51sarabee has quit IRC
#10:18:24eguest309h
#10:29:20eguest309 has quit IRC
#10:44:32kbeswick has joined #evergreen
#10:46:47zed2 has joined #Evergreen
#10:58:14natschilzed2: #openils-evergreen!
#11:04:02phasefx_hey now :)
#11:08:38natschilit was a response to his post in #openils-evergreen :)
#11:19:47_dkyle_can anyone explain how the copy_status field is used in table action.transit_copy?
#11:25:34miker__dkyle_: it records the status that the copy had before the transit and will get back when the transit completes
#11:26:34miker_(though I think the IDL calls it a bool today, which is wrong ... though it doesn't matter in pratice other than for reporting, since it's purly descriptive otherwise)
#11:28:47phasefx_it gets a little non-intuitive when it comes to hold transits, I believe the copy status there will be On Hold Shelf before the item arrives
#11:30:47_dkyle_miker_: so having a action.transit_copy record with no dest_recv_time and a copy_status of 7 seems strange - yes? and the asset.copy in question has a status of 0
#11:33:43_dkyle_miker_: phasefx_: is copy_status in both action.transit_copy and action.hold_transit_copy used only for reporting?
#11:35:28phasefx_it gets used for actually setting the item status from In Transit to something else
#11:38:42_dkyle_so wouldn't finding items with action.transit_copy records without a dest_recv_time, and having a status in asset.copy other than In Transit, indicate a problem?
#11:39:24phasefx_I'd say so
#11:39:44phasefx_not sure what happens when a transit is cancelled, though
#11:40:13_dkyle_I was just trying to figure where to see if a transit is cancelled
#11:40:16phasefx_that may be what happened
#11:40:44phasefx_I don't see that table in the stock auditor schema
#11:40:57phasefx_we should probably add a cancel_time field
#11:44:03_dkyle_agreed
#11:44:57miker_anyone mind pointing some eyes on http://svn.open-ils.org/trac/ILS/changeset/14305 ?
#11:45:51miker_when a transit is canceled, the status of the copy is reset using copy_status and the transit row is deleted
#11:46:34phasefx_so something else is happening
#11:46:59phasefx_miker_: I'll poke at the marc editor in a bit
#11:48:18miker_phasefx_: thanks
#11:49:14miker_re the transit, yeah, I suspect that the item was manually edited -- not sure if the copy editor protects In Transit or not (phasefx_?) but you can certainly do that in sql ;)
#11:50:31_dkyle_thanks for clarifying the transit stuff, it was just a couple records I stumbled on, doesn't seem to be systematic, so a manual edit seems likely
#11:59:03phasefx_yeah, the item editor and the Actions -> Mark Item Damaged, etc. should be disallowing changes to certain magical statuses
#11:59:44phasefx_in constants.js, jump to 'magical_statuses'
#12:07:34Branflakes has joined #Evergreen
#12:11:29tel has quit IRC
#12:16:07tel has joined #evergreen
#12:20:05natschilto send an empty array to an opensrf service, can I simply send, e.g [] from javascript?
#12:28:00dbs_fly has joined #evergreen
#12:28:57dbs_flycan someone set a mtg date for next week and publicize it? we can link to a wiki page
#12:29:22dbs_flyand develop an agenda over the weekend, maybe
#12:30:38dbs_fly1.6 status, translations, future release approach, bug tracking (atz++)... off the top of my head
#12:31:27natschildoes sending [] as a param to a perl opensrf service convert it to a perl empty array?
#12:36:01miker_as in, $session->request('some.method' => $param1, [], $param3) ? ... the second param will be an empty array, yes
#12:37:24natschilmiker_: as in var n = new Request("my_module:my_method", [])
#12:37:51miker_natschil: ahh, in javascript
#12:37:59natschilyessir
#12:38:00miker_IIRC, that will send /no/ params
#12:38:39miker_if you want an empty array, you'd do: var n = new Request("my_module:my_method", [[]])
#12:38:44natschilmiker_: how about if I change that to new Request("my_module:my_method", param1, param2, [], param3..)
#12:38:44miker_I think... phasefx_ ?
#12:38:54miker_see, now I'm confused
#12:39:01dbs_fly(wednesday and later is good for me) - and sorry for the abruptness, cell phone typing is hard
#12:39:37miker_I thought Request expected the second position to be the list of params to send.. so, I'll defer to phasefx_ and berick
#12:40:00phasefx_ has some abstractions for RemoteRequest, where it works like "method", [ list of parameters ]
#12:40:23phasefx_but the lower level method is more like param, param, param, I think
#12:40:35miker_natschil: but, you may want to look at the translator instead of the old remote-request/gateway stuff. and look at the dojo wrappers for that too
#12:40:49natschilmiker_: does the translator work in the browser?
#12:41:00miker_yes
#12:41:01phasefx_and the translator stuff is relatively new to me too
#12:41:05natschilsweet. I'll have a look
#12:41:13miker_and matches the backend style more closely
#12:41:14eguest309 has joined #evergreen
#12:41:32miker_create session -> request -> recv -> ... -> disconnect
#12:42:08miker_you can use stateful sessions, just like in the perl bindings
#12:43:06natschilmiker_: where does it live?
#12:43:41miker_it, being the javascript binding that use the translator?
#12:43:51natschilphasefx_: should Request work with a list of parameters when calling the function, or with a list of params inside an array?
#12:43:53natschilmiker_: yep
#12:44:50miker_in the opensrf repo, it's in src/javascript/
#12:45:12natschilmiker_: does it have dojo namespace?
#12:45:19miker_IIRC, it gets installed into /openils/var/web/js/dojo/opensrf/
#12:45:30miker_it does...
#12:45:43miker_sec, I'll find a usage statement or 3 :)
#12:45:45natschil found it.
#12:45:58miker_DojoSRF
#12:46:27natschilhmm...looks like something else also lives in OpenSRF.*
#12:46:45miker_yes
#12:46:59miker_the DojoSRF.js stuff fixes it all up
#12:46:59natschiloh right, OpenSRF was the old name, but DojoSRF is the new name
#12:47:01natschilthanks
#12:47:07miker_well, not really
#12:47:30miker_DojoSRF is just a dojo-izing wrapper to the OpenSRF js
#12:47:38natschiloh allright.
#12:48:15miker_openils.PermaCrud uses the underlying opensrf API extensively
#12:48:41miker_well, most of the openils dojo namespace does
#12:48:52jamesrf has joined #evergreen
#12:49:07atz has quit IRC
#12:49:48atz has joined #evergreen
#12:58:16phasefx_@later tell miker_ using k_book template, if you Add/Replace 008, then Add/Replace 006, the 010 tag becomes "und"
#12:58:16pinesolphasefx_: The operation succeeded.
#13:03:54dbs_flymarc editors will some day become self-aware and destroy the world
#13:04:15dbs_flyfor now, they are content to merely mess with us
#13:08:51dbs_flyphasefx: quick suggestion for Newsletter - collect news items on a wiki page leading up to the official publication so more people can directly contribute
#13:09:02sylvardbs_fly: take me to your leader/06
#13:09:21dbs_flymaybe with a temate that includes contact info for followup
#13:09:31dbs_flytemplate
#13:09:45dbs_flysylvar++
#13:09:59dbs_flyokay, fly time - later
#13:10:14dbs_fly has quit IRC
#13:11:22eguest309 has quit IRC
#13:34:42brendan_ga has quit IRC
#13:37:14miker_phasefx_: thanks
#13:47:01brendan_ga has joined #evergreen
#13:51:22phasefx has quit IRC
#13:58:35natschilgiven my $req = $m_ses->request($method, params); do I need to call $req->gather(1); to make sure that it actually gets run?
#14:10:45bericknatschil: ->request sends the request. ->gather(1) collects the result. if you don't care about the results, you don't have to call gather()
#14:10:56berickIOW, request actually does stuff
#14:13:31natschilberick: strange.... it complained about there not being a transaction when I didn't gater(), but when I added it it seemed to work.
#14:13:34natschil tests it again.
#14:14:55natschilhmm, maybe I changed something else, can't seem to reproduce that behaviour again.
#14:17:16natschilhow can I restart a single perl service?
#14:18:10natschilberick: running
#14:18:11natschilmy $transaction_resp = $pcrud_ses->request("open-ils.pcrud.transaction.begin",$auth);
#14:18:12natschil $transaction_resp->gather(1);
#14:18:22natschilworks, but not when I remove the last line there...
#14:24:56tel has quit IRC
#14:25:09tel has joined #evergreen
#14:26:31tel has joined #evergreen
#14:33:20natschildoes anyone know what this could mean? "Can't call method "queue_wait" on an undefined value at /usr/local/share/perl/5.10.0/OpenSRF/AppSession.pm line 882."
#14:39:39miker_natschil: sound's like you've got a broken session object. queue_wait() is called by both send() and recv() (and therefore by gather() and wait_complete() and failed())
#14:40:18natschilmiker_: if the server returns -1, could this be the cause of this?
#14:40:52natschilmiker_: or what could break a session object?
#14:40:53miker_that's too broad for me to make a guess at. "return" at what level?
#14:44:11natschilsorry, the perl server method returning -1... I know that in the c code returning -1 causes opensrf to send an error message.
#14:56:59natschilmiker_: FYI, the problem was caused by me calling $request->gather(1) twice.
#15:00:26miker_ahh
#15:00:48miker_yeah, after gather(1), the connection is closed and the session disconnected
#15:01:22miker_sounds like we need to protect recv() (or a friend) with a $self->connected() test
#15:30:26mck9 has left #evergreen
#15:36:03mck9 has joined #evergreen
#15:51:40phasefx has joined #evergreen
#15:57:37matt______ has joined #evergreen
#16:00:25natschil has quit IRC
#16:02:06kbeswick has quit IRC
#16:02:32r123 has left #evergreen
#16:06:46tel has quit IRC
#16:13:23luckilissa has joined #evergreen
#16:13:39luckilissahi
#16:14:01luckilissais anyone here?
#16:14:49luckilissahmm
#16:15:27luckilissa has left #evergreen
#16:16:58gmcharlt has quit IRC
#16:26:40jamesrf has quit IRC
#16:29:30phasefx_@later tell luckilissa lots of folks lurk, but don't notice activitiy right away
#16:29:30pinesolphasefx_: The operation succeeded.
#16:50:48matt______ has quit IRC
#17:15:12tel has joined #evergreen
#17:39:44gmcharlt has joined #evergreen
#17:48:07gdunbar has quit IRC
#18:12:26doug__ has joined #evergreen
#18:13:13doug__what is CTCP version?
#18:13:19doug__i'm looking for basics
#18:13:43doug__i don't know anthing about open source installation
#18:13:57doug__i've downloaded the file for installation
#18:14:08doug__i want to install on a vista machine
#18:14:13doug__where do i start?
#18:14:42doug__i've extracted the files
#18:17:11doug__ has quit IRC
#19:17:15Branflakes has quit IRC
#19:52:48tel has joined #evergreen
#20:08:39tel has quit IRC
#20:25:06atz has quit IRC
#20:25:47atz has joined #evergreen
#21:09:29brendan_ga_ has joined #evergreen
#21:13:30brendan_ga has quit IRC
#21:56:00kgs has quit IRC
#23:36:53gmcharlt has quit IRC
< Wednesday, October 7th, 2009Raw Log FileFriday, October 9th, 2009 >