Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Saturday, February 11th, 2012

< Friday, February 10th, 2012Raw Log FileSunday, February 12th, 2012 >
#TimeNickMessage
#02:55:38csharp__ has quit IRC
#02:55:51enhancin has quit IRC
#02:56:09edoceo has quit IRC
#02:57:44csharp__ has joined #evergreen
#02:58:08mcarlson has quit IRC
#02:58:08b_bonner has quit IRC
#02:59:38mcarlson has joined #evergreen
#03:00:08b_bonner has joined #evergreen
#03:08:33edoceo has joined #evergreen
#03:45:45_bott_ has quit IRC
#03:46:23_bott_ has joined #evergreen
#03:49:08mcarlson has quit IRC
#03:50:09mcarlson has joined #evergreen
#04:38:18natschil has joined #evergreen
#04:39:32natschilHi, the "official" documentation doesn't seem to mention this, so I'll ask here.... does one still have to setup cron to run various scheduled tasks such as thawing holds etc?
#07:07:06tsberenatschil: There is still an example crontab file. Things like Action/Triggers, hold retargeting for pull lists and such, fine generation, etc are still handled by cron jobs.
#07:34:47natschiltsbere: ok thanks
#07:35:13natschil has quit IRC
#08:04:52granitize has joined #evergreen
#08:06:09granitize1 has joined #evergreen
#08:09:15granitize has quit IRC
#08:59:54hopkinsju has quit IRC
#09:03:16granitize1 has quit IRC
#09:58:39granitize has joined #evergreen
#10:43:55granitize has left #evergreen
#11:19:10granitize1 has joined #evergreen
#12:37:15granitize has joined #evergreen
#12:40:26granitize1 has quit IRC
#12:59:36granitize1 has joined #evergreen
#13:01:41granitize has quit IRC
#13:07:23granitize1 has quit IRC
#13:11:24granitize has joined #evergreen
#13:12:07mcarlson has quit IRC
#13:12:07b_bonner has quit IRC
#13:12:07tsbere has quit IRC
#13:13:03granitize has quit IRC
#13:13:24mcarlson has joined #evergreen
#13:13:24b_bonner has joined #evergreen
#13:13:24tsbere has joined #evergreen
#13:45:47natschil has joined #evergreen
#13:46:11natschiltsbere: where is this example crontab file located?
#13:46:23natschiltsbere: (that you mentioned earlier today)
#13:47:50natschiltsbere: is it this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-admin:cron_services ?
#14:11:07natschilnevermind, I found it.
#14:12:31natschilreshelving_complete.srfsh doesn't seem to work on 2.1, anybody know why this could be?
#14:12:51natschil goes to check launchpad
#14:24:56tsberenatschil: How long have your items been in reshelving status?
#14:25:27natschiltsbere: either I have no items in reshelving status, or for over a year
#14:25:51tsberenatschil: Are the "over a year" ones deleted?
#14:26:20natschiltsbere: probably not.
#14:26:30natschiltsbere: how would I know
#14:26:39tsberethe deleted flag on asset.copy
#14:26:55natschiltsbere: select * from asset.copy where deleted=true?
#14:27:17tsberenatschil: Yea. Perhaps with a "and status = whatever number reshelving is"
#14:27:55natschiltsbere: how do I know what number reshelving is?
#14:28:48natschiltsbere: would it do any harm to run delete from asset.copy where deleted=true?
#14:29:29tsberenatschil: I think that will just trigger the "don't really delete" trigger.
#14:29:45tsbereas for reshelving, select * from config.copy_status should give you the id numbers, I think
#14:29:53natschiltsbere: all of the "status" values are either 0,5 or 7, with most of them being 0.
#14:30:23tsbereThat sounds somewhat right. 0 is Available. Forget what 5 and 7 are.
#14:30:29tsbereI think 7 might be reshelving....
#14:30:53natschiltsbere: from the error message I get when running the reshelving complete script, it looks like 7 might be reshelving
#14:31:23tsbereWait, you are getting an error?
#14:31:27natschiltsbere: yes.
#14:31:34tsbereI don't think you mentioned that earlier.
#14:31:41natschiltsbere: sorry, my bad.
#14:32:56natschiltsbere: the error basically spits out a bunch of sql, including a ? for the placeholder. What is weird is that if one replaces that ? with something like "24h", the sql runs okay, but it also says that ParamValues:1=undef , suggesting that it has no parameter
#14:33:13natschilI would paste the sql, but I currently have no internet on the computer I am running evergreen on.
#14:33:19tsbere1=undef is the problem. Are you giving the script a parameter?
#14:34:01natschiltsbere: I haven't changed the script from what it is at install, so yes.
#14:34:10tsbereOh, wait, the default srfsh script does that.....hmmm.....
#14:34:44natschiltsbere: I first thought it might be because I have no reshelving intervals set up, but it still gave the same error even after I had set them up.
#14:35:08natschiltsbere: the error message also includes that DBD::Pg::st execute failed: called with 3 bind variables when 1 are needed
#14:35:26tsberehmm
#14:36:47tsbereNope, don't see an obvious issue in 2.1 for that.
#14:38:09natschiltsbere: weird. the only other part of the of the sql that looks weird to me is BTRIM(setting.value,'"')
#14:38:25natschiltsbere: let me have a look at the open-ils.storage code and get back to you.
#14:38:45tsbereThat is to remove quotes from the setting. The quotes make it a valid json string.
#14:39:37natschiltsbere: do you happen to know off the top of your head where the perl services are stored?
#14:39:51tsbereBefore or after install?
#14:39:56natschiltsbere: after
#14:40:07tsbereProbably somewhere in /usr <_<
#14:40:25tsbere uses find / -name 'action.pm' and similar usually
#14:41:03natschilthanks, I will look at the source code
#14:43:54natschilweird, I can't see anything that would be obviously wrong.
#14:49:31natschiltsbere: I decided to replace the question mark with '24h', and I still get the same error, which is even weirder.
#14:49:51tsbereWell, you may have to restart the service first
#14:49:57natschiltsbere: given the fact that running the sql on its own gives me no errors.... hmm, maybe there is an error with how open-ils.storage connects to the database
#14:50:01natschiltsbere: I did
#14:50:09natschiltsbere: and the error message reflected my change
#14:50:16tsbereThis a clean install on a new server or an upgrade from pre-2.1?
#14:50:25tsbere(database aside)
#14:50:31natschiltsbere: clean install
#14:50:37natschilthe database is not
#14:52:51natschiltsbere: maybe the error is the fact that the run() method is provided too many parameters
#14:53:07natschiltsbere: ha, there we go.
#14:54:18natschilline 161 of Storage/Publisher/action.pm should read "$sth->execute($window);" instead of "$sth->execute($window,$window,$window);"
#14:55:00tsbere-droid has joined #evergreen
#14:55:41natschiltsbere: if you have a running 2.1 system, it might be a good idea to check whether /openils/bin/reshelving_complete.srfsh works for you. If not, then it seems like the line mentioned above is e could be why it doesn't
#14:56:08tsbereI have master systems
#14:56:33tsbere-droid has left #evergreen
#14:57:09natschiltsbere: sorry for my lack of knowledge... what do you mean with that?
#14:58:04tsbereWe run our production servers on the master branch out of git.
#14:59:24natschiltsbere: doesn't that mean you need to constantly upgrade?
#14:59:33natschil(I mean things like the staff client)
#14:59:34tsbereMeh. Not that bad.
#14:59:57tsbereTis a sinch since I wrote the "enable the xulrunner automatic upgrade" patch ;)
#15:00:12natschilif your reshelving complete script works, good then.
#15:00:32natschilthat would mean someone has fixed that bug already.
#15:07:18edoceo has quit IRC
#15:08:00natschilbtw, I just did a search on evergreen and noticed that on the side pane, there are no longer links that have "related subjects".... is there any easy way to get those back?
#15:09:04tsbereStuff moved. Some things are best left till TPac, IMO. Beyond that, I never ran an actual system pre-2.1, really, and thus can't say where things went.
#15:09:54natschilTPac?
#15:10:16tsbereNot that we don't get requests for "can we have that?" when our libraries see catalogs running 1.4, 1.6, or 2.0 with things they want. >_>
#15:10:33tsbereTPac - The Template Toolkit OPAC. Coming in 2.2.
#15:12:58natschilthere must have been a major rewrite at some point, then?
#15:13:19natschil(I used to know more about evergreen as I did a lot with it and opensrf about a year ago, but since then it seems a lot has changed)
#15:13:25tsbereTPac is written from scratch, currently alongside the JSPac
#15:15:32natschiltsbere: what's weird though is that the "related subjects" links on the side used to exist and seemed to work well, but probably there was some reason to remove them.
#15:15:47natschilanywho, I need to go, thanks for the help!
#15:16:54natschiloh I see, the "subjects" list has been moved into the record summary, that explains everything.
#15:16:58natschil has quit IRC
#16:12:06moodaepo has joined #evergreen
#16:13:10bshum@later tell natschil The reshelving issue was fixed with http://git.evergreen-ils.org/?p=Evergreen.git;a=commit;h=a70e7212db7e4932d2447019d0bd2b71f6db4e48 but that isn't in 2.1.1
#16:13:10pinesol_green`bshum: The operation succeeded.
#17:09:25moodaepo has quit IRC
#21:12:59moodaepo has joined #evergreen
#21:42:09moodaepo has quit IRC
#21:42:14hopkinsju has joined #evergreen
#23:06:10tater-laptop has quit IRC
#23:09:55csharp___ has joined #evergreen
#23:11:08csharp__ has quit IRC
#23:21:38b_bonner has quit IRC
#23:27:11b_bonner has joined #evergreen
< Friday, February 10th, 2012Raw Log FileSunday, February 12th, 2012 >