Open Source Integrated Library System

Evergreen on IRC

#openils-evergreen Logs for Monday, March 2nd, 2009

< Sunday, March 1st, 2009Raw Log FileTuesday, March 3rd, 2009 >
#TimeNickMessage
#00:12:06eby_ has quit IRC
#01:32:40dbs has quit IRC
#04:19:51natschil has joined #openils-evergreen
#07:20:54rsinger has joined #OpenILS-Evergreen
#07:33:36BenO has joined #openils-evergreen
#07:47:29kgs has joined #openils-evergreen
#08:58:46dbs has joined #openils-evergreen
#09:08:01phasefx has joined #openils-evergreen
#09:11:58sarabee has quit IRC
#09:20:33phasefxdbs: rock #re: n810
#09:20:36phasefxnow I want one :)
#09:21:32dbsberick/phasefx: I pointed to the (I think) OpenSRF fixes for http://svn.open-ils.org/trac/ILS/ticket/45
#09:22:35dbsphasefx: they're pretty useless devices, imho. gadgets. I'd rather spend $400 on a netbook with a full keyboard than the same for the n810
#09:23:23mrpeters-islhey all, im currently building a .chm helpfile for evergreen from all of our documentation...how tough would it be to replace the "stub" under "Help" with this chm?
#09:23:41phasefxah, I felt similarly with an ipaq my old place of work gave me
#09:25:03dbsHmm. I'd love for http://svn.open-ils.org/trac/ILS/ticket/40 to get some attention (language picker / openils.I18N broken on everything except Firefox)
#09:26:12dbsmrpeters-isl: roughly, it's found in Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
#09:29:22dbsphasefx: basic question - can XUL fire off external processes (like invoking the Windows help viewer for CHM)?
#09:29:40phasefxyes
#09:30:13phasefxtake a peek in print.js for an example of the DOS (LPT1) Print kludge
#09:30:14dbscool, so between menu_frame_menus.xul and menu.js mrpeters-isl should be good to go
#09:30:19phasefxthat fires off a batch file :)
#09:30:31dbs hasn't tried printing yet
#09:31:27mrpeters-isl:) thanks guys
#09:33:26phasefxmrpeters-isl: eventually we'll be using that Help menu for something more portable than a Windows .chm file, but we can make a preference to toggle between stock behavior and custom behavior
#09:34:00mrpeters-islyeah, i wasnt sure how best to make a help file
#09:34:10mrpeters-isli wanted something searchable for keywords, and this was the first thing to pop in to my head
#09:34:17mrpeters-islbut since its all html right now, im sure its easily portable to other formats
#09:34:25phasefx nods
#09:38:19sarabee has joined #openils-evergreen
#09:39:15dbsI wonder if we should focus on knocking down known bugs in EG 1.4.0.2 and osrf 1.0.4 to get another bugfix release out this week
#09:55:23dbs*crickets*
#09:56:26phasefxjust give me stuff to shoot and I'll set aside time :)
#09:58:20berickdbs: i'll look at the language picker problem
#09:58:39berickprob. later today
#09:58:54dbsphasefx: how about this one? http://svn.open-ils.org/trac/ILS/ticket/43
#09:59:01dbsberick: I love you, man.
#09:59:55dbsphasefx: I was poking at rdetails.js and friends a bit to try and figure out why the display wasn't working, but the code is a little twisted
#10:00:46phasefxhrmm.. opac is a box I haven't looked inside of yet
#10:01:38phasefxI can certainly try though
#10:02:21dbsphasefx: oh, OPAC was berick's magic? Hmm
#10:02:32dbsI can give you another one, phasefx - similar issue in the staff client
#10:03:37dbscreate a 4-deep hierarchy, create callnums and copies at the deepest level; the holdings maintenance screen won't respect "Show only libs with holdings" / won't automatically open to your work OU if it's at the deepest level
#10:03:53phasefxokay, that's something I can poke on
#10:03:57dbsnot even in the n810!
#10:04:56dbsI'll tackle the cs_CZ broken build thingy, fwiw
#10:05:04phasefxexcellent
#11:03:11robin786 has joined #openils-evergreen
#11:24:44dbsberick: hmm, mixing HTML into the localized strings is not normally recommended - you don't really want to have translators responsible for ensuring that the <h3></h3> match
#11:24:48dbshey robin786!
#11:30:10bericklmcfarland: ^-- see dbs' comment above
#11:31:07bericklmcfarland: one solution would be to apply a css class to the element with that translated text that makes it behave like an <h3> element
#11:31:31berickinstead of hard-coding the <h3> into the string
#11:34:23dbsor (probably naive) something like dojo.create('td', {innerHTML: "<h3>" + localeStrings.SURVEY_FOOT_LABEL + "</h3>", style: "width: 100%"}, footRow);
#11:40:35lmcfarlandI like the idea of adding the html into the dojo.create...any cons to that, that anyone can think of?
#11:41:40berickno cons here
#11:44:39jeffdavis has quit IRC
#11:47:02dbsso now we know the secret to berick's industrious productivity: committing stuff on behalf of other devs! :)
#11:48:17bericksshhhh
#11:48:18dbslmcfarland: upon reflection, either way seems like a sane approach. you might want to add a class to the h3 as well, just in case you decide to style it via CSS later
#11:48:46dbs(if you decide to stuff the h3 in there instead of styling the td directly, natch)
#11:49:02lmcfarlanddbs: good point, thanks :)
#11:51:09phasefxmay want to escape the localized string to prevent <html> in that case
#11:52:31dbsphasefx: in which case? are you thinking a translator or sys admin is going to try to stuff an HTML document in there to do malicious things?
#11:53:45phasefxI was thinking of accidents, a < or something as part of a translation
#11:54:20phasefxcommon.foo_is_less_than_bar ' %1$s < %2$s '
#11:54:45dbsphasefx: ah, I see what you're getting at; as a build-time thing rather than a run-time thing, yeah?
#11:55:08phasefxwell, I was thinking run-time, but build-time might be better
#11:56:51dbsphasefx: hard to control, really - there are currently some in-localized-string HTML bits that are hard to work around
#11:56:52phasefxI guess it would already have to be escaped if an entity.. but not as a property.. not sure when in POTS format
#11:57:01dbsopac.dtd.pot:msgid "Selected field does <u>not</u> contain the following words"
#11:57:09phasefxmmmm
#11:57:45phasefxmaybe down the road just have a process that checks for and warns for such things
#11:58:10dbsYeah. I think build-time warning on those sorts of things is a good approach
#11:58:41dbsIdeally you don't have that situation occur at all. but reality conflicts...
#12:00:25dbsrobin786: btw, I'm Dan Scott -- assuming you're Robin from Algoma?
#12:07:32eby_ has joined #OpenILS-Evergreen
#12:09:09robin786hey everyone i am indeed robin form algoma, sorry for the delay, logged in and my boss called me away
#12:10:34robin786dan, you suggested i start with recalls, that works for me, has anyone out there started or is working on something already?
#12:15:14dbsrobin786: as far as I know, there is nothing underway
#12:15:28dbsgreen fields :)
#12:16:43robin786ok good (safe) place to jump in
#12:16:47robin786:)
#12:17:34robin786I'll ask for comments on the conifer group, Mcmaster seemed to have a very complex sort of thing going on
#12:19:10dbsrobin786: sounds like a good place to start - our requirements are pretty minimal, we do about 50 (manual!) recalls a year; windsor does more than that; mcmaster sounded like they issued recalls every minute
#12:20:32robin786lol! i know, I'm thinking of a simple system backed up with a rules wizard kinda thing for the power users like mcm
#12:22:21robin786what do you think?
#12:22:29robin786back in 5 min - boss calling
#12:23:14dchriste has joined #OpenILS-Evergreen
#12:25:35dchristeHi folks. I'm having a problem running autogen.sh after changing the library hierarchy (this is a new install of 1.4, so no real data to worry about)...
#12:26:11dchristeI get "Updating fieldmapper" and then "No Response from settings server... going to sleep"
#12:27:13lisppaste6dchrise pasted "osrfsys.log section for autogen" at http://paste.lisp.org/display/76368
#12:28:02dchristeI'm not sure where to begin poking at this... :-)
#12:33:14dchristeDoing a "ps wax |grep OpenSRF" shows controller, master, listener, and 5 drones for [opensrf.settings]
#12:34:13jeffdavis has joined #openils-evergreen
#12:34:14dchristeI can do a "login admin open-ils" from srfsh
#12:38:09dchristeWhat would be the syntax for calling opensrf.settings.host_config.get from srfsh? (I've never really used srfsh before.... are there docs?)
#12:42:58natschildchristie: I'm not sure, but try something like "request opensrf.settings.host_config.get" and then add some arguments (note: I'm not sure this will work)
#12:45:25natschildchristie: sorry, I think "request opensrf.settings host_config.get" would work better
#12:46:17dchristeHmm...Received Exception:
#12:47:00dchristeName: osrfMethodException Status: Method [host_config.get] not found for OpenSRF::Application::Settings
#12:48:10dchristeI don't see a Settings.pm in /openils/lib/perl5/OpenILS/Application... ?
#12:48:12natschildchristie: probably the command was wrong, I havn't used srfsh a lot myself, so probably I am not a good adviser :)
#12:48:21dchriste:-)
#12:49:36natschilptw: has anyone used the virtualbox ubuntu 1.4 image?
#12:51:19dchristenatschil: nope, sorry
#12:53:38robin786me neither, sorry
#12:57:02robin786speaking of local installs, the IT dept here is setting up a server for me to play on :) and want to know which OS install, should i go with debian or umbuntu?
#12:57:19robin786does it make any difference really?
#13:03:20jamesrf has joined #openils-evergreen
#13:09:18natschilrobin786: well, they are both very similar, ubuntu is basically of a derivative of debain, so I don't think it makes a difference. Just make sure you have the right version, as e.g the newest ubuntu doesn't provide postgresql8.2
#13:11:13robin786right! that's what I'm after
#13:11:23robin786which version of umbuntu would you recommend
#13:11:45natschilwell, I myself have very little experience of using evergreen, I've only installed it on ubuntu 8.4
#13:12:04robin786if you know off the top of your head, it could save me some time, if not, don't worry about it
#13:12:06natschiland that wasn't a successful install :), still working on getting it to work
#13:14:25natschilrobin786: ubuntu 8.04 = ubuntu hardy heron. There might be some issues with postgresql 8.3 and 8.2 getting mixed up though, as when installing the prequisites it installs postgresql-client8.3, when version 8.2 is available. I don't know if this is a problem, so I just changed the prequisites installer to install 8.2, but I don't know if it makes a difference. If you get something with postgresql version numbers mixed up, maybe you should check
#13:14:26natschilthat
#13:14:40natschilevergreen requires postgresql 8.2
#13:16:52dbssorry robin786 - split for lunch
#13:17:28robin786no prob
#13:17:38robin786thanks natschill!
#13:18:52dbsrobin786: I just committed the patch to rel_1_4 branch that enables it to work with PostgreSQL 8.3. Debian Lenny is probably your best bet
#13:19:10robin786yeah, i'm aware of the need for 8.2, was wondering if there was a distro of debian or umbuntu that bundled that version to save some trouble
#13:19:25robin786ok Lenny it is!
#13:19:27robin786thanks!
#13:20:26natschildchristie : about what you said earlier about srfsh: you could try doing "introspect opensrf.settings" and searching the output of that for host_config.get
#13:21:23natschilrobin786: yeah, ubuntu 8.04 does bundly postgresql 8.2, but the prequisite installer installs some 8.3 packages, but I'm sure lenny will work well as well
#13:21:44robin786thanks
#13:24:43dbsdchriste / natschil : request opensrf.settings opensrf.settings.host_config.get "/bootstrap"
#13:24:48dbswill give you better results
#13:25:21natschilthanks dbs, finally someone is here who really understands evergreen :)
#13:25:39dbsrobin786: what I'm saying is that you can just use pgsql 8.3 as of rel_1_4 branch... unofficially, of course
#13:26:18dbsbut that would match our current environment on dwarf, which would be a good thing :)
#13:27:48jeffsounds like the more people running 8.3 in test/dev environments the better :)
#13:27:49robin786yup thanks dbs
#13:28:03dbsjeff: that's my take on it :)
#13:28:14jeff(of course, i say that and we'll have something committed that breaks 8.2 in production somewhere else... ;)
#13:28:41natschildbs: Are there any problems related to doing that ? (using postgresql 8.3)
#13:29:53dbsnatschil: if you're comfortable working with a branch (rel_1_4) rather than a release (1.4.0.2), then I don't think so. ... but ... I can't guarantee it. and working with a branch can mean other kinds of pain.
#13:30:28dbsphasefx: is this still a bug? http://svn.open-ils.org/trac/ILS/ticket/28 - if so, we should probably put a version / milestone on it
#13:30:50natschildbs: yeah, maybe I should get the release working first, before I try the branch :)
#13:32:19dbs resumes battle with http://svn.open-ils.org/trac/ILS/ticket/43 which is probably public enemy # 1 for his library at the moment
#13:35:09eby_ has quit IRC
#13:40:25jeffare there any utility js functions available to the staff client for "add this as an argument to this url, using ?foo=bar or &foo=bar as appropriate?
#13:40:29eby_ has joined #OpenILS-Evergreen
#13:41:59phasefxdbs: still a bug # 43
#13:42:21dbsphasefx: 43, yes. 28?
#13:45:07_natschil has joined #openils-evergreen
#13:45:57phasefxdbs: sorry, meant 28
#13:46:49jeffthere's another aspect to that.
#13:47:05jeffyou can generate patron credit from patron credit by overpaying and selecting "apply change as patron credit"
#13:51:57_natschil has quit IRC
#13:52:02_natschil has joined #openils-evergreen
#13:53:46natschil has quit IRC
#14:06:13dchristedbs: thanks - that (the srfsh request) returns a whole whack of data, so I'm guessing that's not the problem....
#14:26:05EGUEST074 has joined #openils-evergreen
#14:41:51dchristeAnyone else here seen the "No Response from settings server...going to sleep" when running autogen.sh?
#14:42:12dchristeor is it just me? :-/
#14:42:50dbsdchriste: I would double-check your opensrf and router usernames and passwords and hostnames in opensrf_core.xml
#14:43:51dchristedbs: will do, thanks....
#14:52:15jeffdavispossibly stupid question: why does EG 1.4 want to install postgres 8.3 on intrepid?
#14:52:21dchristedbs: looks ok, all according to server:1.4.0:install doc on the wiki
#14:52:47dchristejeffdavis: no postgres 8.2 on intrepid.... :-(
#14:52:48jeffjeffdavis: specifically what package name?
#14:52:59dbsjeffdavis: not stupid, but is it just installing the client and dev bits?
#14:53:17jeffdavisdbs: yeah, just those.
#14:53:40dbsso - pgsql 8.3 client bits happily connect to down-level servers
#14:53:49jeffdavisah, ok, cool.
#14:53:52dchristejeffdavis: also, heads-up.... perl 5.10 installed by default
#14:53:55dbsas for the server-dev bits, they could probably be thrown out
#14:54:52_natschil has quit IRC
#14:54:55jeffdavisdchriste: thanks!
#15:02:49jeffdavis looks into downgrading perl and starts to get a headache...
#15:05:11dbswhy downgrading perl?
#15:07:38jeffdavisis 5.10 reliable for running EG?
#15:07:46jeffdavisI thought there was an issue there.
#15:08:50dbsjeffdavis: on intrepid, there's a stupid warning that gets thrown, but it doesn't affect anything to my knowledge
#15:09:23dbshttps://bugs.launchpad.net/ubuntu/+source/perl/+bug/303765 - scares people, but that's about it
#15:10:28jeffdavis feels his headache disappear
#15:10:56dbsjeffdavis: of course, if something doesn't work there I'm not to blame :)
#15:11:11jeffdavisheheh.
#15:11:33jeffdavisfortunately, it's a personal test install. I can be a guinea pig.
#15:12:24dbsguinea_pigs++
#15:17:22dchristethere was something else about 5.10.... I think a perl library path somewhere was/is looking in the perl 5.8 directories?
#15:17:31dchriste wishes he'd written that bit down....
#15:35:57dchristeAnother strange bit that may or may not have anything to do with my autogen woes: my apache2 error.log has a bunch (5) of "No Response from settings server... going to sleep" as well.
#15:47:17robin786 has left #openils-evergreen
#15:50:52jamesrf has quit IRC
#15:57:34sarabee has quit IRC
#15:58:10sarabee has joined #openils-evergreen
#16:07:33jasonzou has joined #openils-evergreen
#16:08:42phase_bb has quit IRC
#16:10:24jasonzou has quit IRC
#16:10:45jasonzou has joined #openils-evergreen
#16:16:02jamesrf has joined #openils-evergreen
#16:19:56sarabee has quit IRC
#16:20:31sarabee has joined #openils-evergreen
#16:22:22sarabee has quit IRC
#16:22:54sarabee has joined #openils-evergreen
#16:24:15sarabee has joined #openils-evergreen
#16:32:14evette-mlc has joined #openils-evergreen
#16:39:43jamesrf has quit IRC
#16:49:55rsinger has quit IRC
#16:54:21_dkyle_ has left #openils-evergreen
#16:54:43dchriste has quit IRC
#16:55:11rsinger has joined #OpenILS-Evergreen
#16:56:10jamesrf has joined #openils-evergreen
#16:56:10sarabee has quit IRC
#16:57:18sarabee has joined #openils-evergreen
#16:57:18evette-mlc has quit IRC
#16:58:19sarabee has quit IRC
#16:58:42sarabee has joined #openils-evergreen
#16:59:58sarabee has joined #openils-evergreen
#17:01:14sarabee has joined #openils-evergreen
#17:21:44sarabee has quit IRC
#17:22:33sarabee has joined #openils-evergreen
#17:27:34sarabee has quit IRC
#17:28:25sarabee has joined #openils-evergreen
#17:58:22denials has quit IRC
#17:58:22greg-g has quit IRC
#17:58:24denials has joined #openils-evergreen
#17:58:24greg-g has joined #openils-evergreen
#18:01:44sarabee has quit IRC
#18:03:32sarabee has joined #openils-evergreen
#18:05:23jeffdavis has quit IRC
#18:05:23phasefx2 has quit IRC
#18:05:23sarabee has quit IRC
#18:05:23eby_ has quit IRC
#18:05:23lisppaste6 has quit IRC
#18:05:23miker_ has quit IRC
#18:05:23berick has quit IRC
#18:05:23arnt1 has quit IRC
#18:05:23jeff has quit IRC
#18:05:23edbarrett has quit IRC
#18:05:23gmcharlt has quit IRC
#18:05:23skmurphy has quit IRC
#18:05:23BenO has quit IRC
#18:05:23brendan_ga has quit IRC
#18:05:23jamesrf has quit IRC
#18:05:23rsinger has quit IRC
#18:05:23phasefx has quit IRC
#18:05:23lmcfarland has quit IRC
#18:05:23agJohn has quit IRC
#18:05:23till_ has quit IRC
#18:05:23kados has quit IRC
#18:05:51sarabee has joined #openils-evergreen
#18:05:51jamesrf has joined #openils-evergreen
#18:05:51rsinger has joined #openils-evergreen
#18:05:51eby_ has joined #openils-evergreen
#18:05:51jeffdavis has joined #openils-evergreen
#18:05:51phasefx has joined #openils-evergreen
#18:05:51BenO has joined #openils-evergreen
#18:05:51phasefx2 has joined #openils-evergreen
#18:05:51lmcfarland has joined #openils-evergreen
#18:05:51lisppaste6 has joined #openils-evergreen
#18:05:51agJohn has joined #openils-evergreen
#18:05:51miker_ has joined #openils-evergreen
#18:05:51berick has joined #openils-evergreen
#18:05:51skmurphy has joined #openils-evergreen
#18:05:51edbarrett has joined #openils-evergreen
#18:05:51gmcharlt has joined #openils-evergreen
#18:05:51till_ has joined #openils-evergreen
#18:05:51arnt1 has joined #openils-evergreen
#18:05:51jeff has joined #openils-evergreen
#18:05:51kados has joined #openils-evergreen
#18:05:51brendan_ga has joined #openils-evergreen
#18:11:37dbslmcfarland / berick: getting "dijit.CheckedMenuItem is not a constructor" error on survey page, fyi
#18:13:17dbshmm, one sec...
#18:15:04dbsit helps to be running with dojo 1.2 - duh
#18:15:05dbsdbs--
#18:15:46sarabee has quit IRC
#18:16:36sarabee has joined #openils-evergreen
#18:18:16sarabee has joined #openils-evergreen
#18:23:19eby_ has quit IRC
#18:31:13rsinger has quit IRC
#18:45:41sarabee has quit IRC
#18:46:38sarabee has joined #openils-evergreen
#19:01:31EGUEST896 has joined #openils-evergreen
#19:05:00EGUEST896 has left #openils-evergreen
#19:33:03rsinger has joined #OpenILS-Evergreen
#19:34:45sarabee has quit IRC
#19:35:21sarabee has joined #openils-evergreen
#19:36:19agJohn has quit IRC
#19:48:11eby_ has joined #OpenILS-Evergreen
#19:59:24sarabee has quit IRC
#20:00:15sarabee has joined #openils-evergreen
#20:02:16sarabee has quit IRC
#20:05:19sarabee has joined #openils-evergreen
#20:06:20sarabee has quit IRC
#20:07:44sarabee has joined #openils-evergreen
#20:16:46sarabee has quit IRC
#20:17:24sarabee has joined #openils-evergreen
#20:22:53jamesrf has quit IRC
#20:23:23jamesrf has joined #openils-evergreen
#20:27:45jamesrf has quit IRC
#20:31:26sarabee has quit IRC
#20:32:16sarabee has joined #openils-evergreen
#20:55:41sarabee has quit IRC
#20:56:17sarabee has joined #openils-evergreen
#21:19:20sarabee has quit IRC
#21:20:47sarabee has joined #openils-evergreen
#21:38:35sarabee has quit IRC
#21:39:05sarabee has joined #openils-evergreen
#21:41:45sarabee has joined #openils-evergreen
#21:42:23kgs has quit IRC
#21:47:43sarabee has quit IRC
#21:48:10sarabee has joined #openils-evergreen
#22:12:58sarabee has quit IRC
#22:14:41sarabee has joined #openils-evergreen
#22:34:36sarabee has quit IRC
#22:35:22sarabee has joined #openils-evergreen
#22:42:12sarabee has quit IRC
#22:45:07sarabee has joined #openils-evergreen
#23:07:38sarabee has quit IRC
#23:08:27sarabee has joined #openils-evergreen
#23:10:29sarabee has quit IRC
#23:11:55sarabee has joined #openils-evergreen
#23:25:51eby_ has quit IRC
#23:35:19dbsmiker_: found that I had to switch open-ils.ingest to stateless = 0 in trunk - make sense to you?
#23:52:44sarabee has quit IRC
#23:53:34sarabee has joined #openils-evergreen
#23:57:37sarabee has quit IRC
#23:57:53sarabee has joined #openils-evergreen
#23:59:10sarabee has joined #openils-evergreen
< Sunday, March 1st, 2009Raw Log FileTuesday, March 3rd, 2009 >