2008-04-07T00:15:38 *** greg-g has quit IRC 2008-04-07T01:18:37 *** tristanbob has joined #OpenILS-Evergreen 2008-04-07T01:19:36 *** tristanbob__ has quit IRC 2008-04-07T01:46:22 *** dbs has quit IRC 2008-04-07T02:25:06 *** Mark__T has joined #openils-evergreen 2008-04-07T04:33:08 *** Mark__T has left #openils-evergreen 2008-04-07T04:35:44 *** Mark__T has joined #openils-evergreen 2008-04-07T08:39:20 *** edc_detached is now known as ecorrado 2008-04-07T08:48:44 *** dbs has joined #OpenILS-Evergreen 2008-04-07T08:55:15 *** asmodai has quit IRC 2008-04-07T08:56:34 *** asmodai has joined #OpenILS-Evergreen 2008-04-07T09:43:56 miker_: if you wanna hand of the opac lassos, i can take 'em from here 2008-04-07T09:49:51 *** gmcharlt has joined #OpenILS-Evergreen 2008-04-07T09:50:11 I'm sure miker_ is hoping / wishing that I would do something 2008-04-07T09:50:33 *** jbfink_ has joined #openils-evergreen 2008-04-07T09:52:18 hey, we have a jbfink_ in the house 2008-04-07T09:52:32 hey hey hey 2008-04-07T09:54:22 dbs: will look into drupal problem shortly. 2008-04-07T09:54:37 yeah - not looking too pretty! 2008-04-07T09:56:35 hah, yes, fs is full. 2008-04-07T09:56:42 should alert real admin about this, I guess. 2008-04-07T09:58:31 *** Karen_ has joined #OpenILS-Evergreen 2008-04-07T10:00:04 * jbfink_ is meanwhile being a good citizen and cleaning out his slice of /home 2008-04-07T10:00:32 * dbs makes a mental note to write shorter status updates 2008-04-07T10:00:37 hah, it's not you. 2008-04-07T10:00:46 unfortunately, restarting mysql in this case didn't fix anything. 2008-04-07T10:00:55 *frumple* 2008-04-07T10:01:14 "sts 08/4/7 fs=0 jbfink r00lz" 2008-04-07T10:01:31 heh 2008-04-07T10:02:16 how the hell do you "clear cache" as they say on that page? Without having access to any drupal management stuff? Or is it a mysql thing that I don't know about? 2008-04-07T10:02:46 I'm looking at trunk/Open-ILS/web/opac/common/js/init.js and thinking that I need to modify statusbar.xml to include an entity for "Search Group:" and change init.js to unhide the text 2008-04-07T10:03:06 jbfink_: cache in that case is probably compiled php files 2008-04-07T10:03:30 compiled php files? huh. 2008-04-07T10:04:17 there's an .inc file which references clearing cache. 2008-04-07T10:04:32 * jbfink_ thinks he should do a mysqldump before getting happy with this. 2008-04-07T10:04:38 *** Mark__T has left #openils-evergreen 2008-04-07T10:05:29 of course, that would necessitate me ferreting out the mysql password. 2008-04-07T10:06:23 ah, there we go. 2008-04-07T10:07:23 ah - and if caching is enabled, it looks like one needs to set a minimum lifetime for the cache ("none" does the opposite of what you expect and keeps cached stuff around forever) 2008-04-07T10:07:53 jbfink_: you are of course right, this is all in-db stuff. sometimes drupal is mighty annoying 2008-04-07T10:07:56 (sorry eg folks) 2008-04-07T10:08:19 * berick chuckles 2008-04-07T10:11:30 dbs: okay, dumped. cursory glance, it looks okay, but do you know how to flush cache in mysql? 2008-04-07T10:12:05 perhaps I should just RTFG. 2008-04-07T10:12:31 jbfink_: just to be clear - are we talking the drupal cache (which keeps stuff in mysql) or something completely unrelated to mysql? 2008-04-07T10:12:42 dbs: pretty sure it's mysql at this point. 2008-04-07T10:12:57 it *looks* like I just log into mysql and use FLUSH, but I'm not sure.... 2008-04-07T10:12:59 s/completely unrelated to mysql/mysql-specific that is completely unrelated to drupal) 2008-04-07T10:13:03 http://dev.mysql.com/doc/refman/4.1/en/flush.html 2008-04-07T10:14:39 yeah, "reset query cache" or "flush tables" for the mysql-specific stuff 2008-04-07T10:15:02 (double-sorry, miker_, for bringing mysql talk into this hallowed domain) 2008-04-07T10:15:10 dammit, I need RELOAD privs which the conifer mysql user doesn't have. Jesus. Am I the only one who grants all privs to primary users of databases? 2008-04-07T10:15:27 maybe that's bad, but this is annoying. 2008-04-07T10:16:07 I tend to grant all to the primary user of a database. guilty. 2008-04-07T10:17:31 * jbfink_ grrs not being sysadmin anymore. It's good some of the time, but irritating others. 2008-04-07T10:17:41 dbs: anyway, I've fired off a message nicely asking for RELOAD, so we'll see how it gose. 2008-04-07T10:17:49 heretical talk is now over!!! 2008-04-07T10:19:06 /kickban dbs 2008-04-07T10:19:32 /quit at least it was in the general context of mysql suckiness 2008-04-07T10:19:44 :) 2008-04-07T10:23:02 in the meantime, today I wipe EG and start anew. 2008-04-07T10:23:06 -= THIS MESSAGE NOT LOGGED =- 2008-04-07T10:23:18 dbs: dumb question. Guelph machines have debian already installed or no? 2008-04-07T10:24:00 jbfink_: heh - guelph machines have debian installed - but it's a 32-bit kernel 2008-04-07T10:24:03 -= THIS MESSAGE NOT LOGGED =- 2008-04-07T10:24:15 oh cripes, so I should go up there and reinstall OS, good. 2008-04-07T10:24:24 'cos 32 bit kernel is useless! Useless, I say! 2008-04-07T10:24:27 they read my install docs and interpreted the title as "preferred operating system" 2008-04-07T10:24:40 well, no problem, it's an easy install. 2008-04-07T10:24:48 well, they plan to reinstall with 64-bit and have everything ready for us on Friday 2008-04-07T10:24:48 * jbfink_ reminds self to burn 64 bit debian install disc. 2008-04-07T10:24:51 oh oh oh 2008-04-07T10:24:53 okay. 2008-04-07T10:25:03 because they have to do all of their backup / vulnerability testing 2008-04-07T10:25:07 ahh yes. 2008-04-07T10:26:16 * dbs notes that he must update the install doc to say "64-bit is GOOD! and it has been tested now..." 2008-04-07T10:26:42 dbs: okay, even dumber question -- if the OS installed and everything is fine and groovy, why do I need to be local at all? Can't we install EG remotely? 2008-04-07T10:26:59 * jbfink_ fervently hoping this hasn't been addressed before and thus coming across as an idjit. 2008-04-07T10:27:28 * jbfink_ notes, an even bigger idjit than when he was in channel a few days ago making noises about autogen.sh not working when run against opensrf.xml, har har. 2008-04-07T10:28:11 jbfink_: as long as you can get out to the interwub, remote should be fine 2008-04-07T10:28:34 jbfink_: it should be fine, that's why you have the vpn account and even access to the remote console for rebooting 2008-04-07T10:28:46 dbs: well and good, okay. Still have day blocked off. 2008-04-07T10:28:53 moi aussi 2008-04-07T10:29:12 it'll be nice to see 'free' report 16GB instead of 3GB 2008-04-07T10:29:42 indeed. 2008-04-07T12:12:52 so jbfink_ - are you reinstalling your local machine and trying to load bibs on biblio-dev? 2008-04-07T12:13:47 dbs: yes to both, although I am going to do reinstall local first. 2008-04-07T12:14:28 heh - I would suggest kicking off the bibs first, cause you'll have at least 6 hours to focus on reinstall :) 2008-04-07T12:14:59 To: evergreen-dev 2008-04-07T12:15:03 From: rsinger 2008-04-07T12:15:14 berick: re lassos, here's what we need: the count columns should be trimmed to one (I'm coalescing the result inside the display function, maybe just do that earlier) and the lassos for the current library being searched should show up in the range dropdown. no fetching method for them yet, but I can provide that if you'd like 2008-04-07T12:15:18 oh dear 2008-04-07T12:15:21 Subject: Gr8 work 2008-04-07T12:15:40 Body: when will EG be available for windows and mysql, thanks! 2008-04-07T12:15:50 rsinger: hahaha 2008-04-07T12:15:59 To: rsinger 2008-04-07T12:16:09 From: eeevil 2008-04-07T12:16:27 Subject: [Re] Gr8 work 2008-04-07T12:16:32 well, half of that question is on the FAQ now :) 2008-04-07T12:16:41 Body: Right after you install vmware 2008-04-07T12:17:03 eeevil: you took the words right out of my mouth 2008-04-07T12:17:12 To: eeevil 2008-04-07T12:17:16 From: rsinger 2008-04-07T12:17:32 Subject: Re: [Re] Gr8 work 2008-04-07T12:17:55 Body: I can't find the install wizard, plz advise, kthx 2008-04-07T12:18:00 To: support@vmware.com 2008-04-07T12:18:09 From: dbs 2008-04-07T12:18:38 the mouse, it does nothing! 2008-04-07T12:18:39 Subject: Does VMWare Server support the Platform? 2008-04-07T12:18:58 ironically... 2008-04-07T12:19:08 dbs: much of the platform runs on vms 2008-04-07T12:19:17 rsinger: that's no surprise :) 2008-04-07T12:19:23 eeevil: sounds good. as far as lasso fetching.. at this point all lassos are global? IOW, we just need a method that returns all of them? 2008-04-07T12:19:36 not vax 2008-04-07T12:21:03 berick: well, no, actually ... I was thinking that it should just show the ones related to the library you're searching right now. IOW, there's a test lasson on dev with 2 ARL libs and one HALL lib. display that if you're at one of those three. 2008-04-07T12:22:18 rsinger: hey, I have a 19' vax monitor you might be interested in 2008-04-07T12:22:30 nineteen feet! 2008-04-07T12:22:35 ha 2008-04-07T12:22:41 where would i put it?! 2008-04-07T12:22:41 19" 2008-04-07T12:22:53 eeevil: green screen? 2008-04-07T12:22:57 DAMN YOU SHIFT KEY! DAMN YOU FOR NOT READING MY MIND 2008-04-07T12:23:02 or vaxwindows? 2008-04-07T12:23:25 rsinger: no! color! sync-on-green, though, and I can't find a modern card to drive it 2008-04-07T12:23:25 Hmm. So if I'm at Laurentian, and want to search Health, Etc., Library Lasso (HELL), if LU isn't part of HELL then I have to choose a HELL library, then choose HELL when the lasso appears? 2008-04-07T12:23:45 dbs: that was my concern 2008-04-07T12:23:51 dbs: this is just the first step 2008-04-07T12:23:54 eeevil: oh, with all the little bnc connectors on that back for rgb? 2008-04-07T12:24:06 eeevil: okay, baby steps are cool 2008-04-07T12:24:08 dbs: they will show up globaly on the lib picker 2008-04-07T12:24:25 heh ... just trying not to kill berick 2008-04-07T12:24:32 rsinger: yes 2008-04-07T12:24:53 eeevil: i had a monitor like that when i worked at utk 2008-04-07T12:25:26 actually, there was a dec vaxwindows terminal there, too... but it was grayscale 2008-04-07T13:11:21 *** ecorrado is now known as edc_fooding 2008-04-07T14:15:43 *** mjgiarlo has joined #openils-evergreen 2008-04-07T14:33:30 *** edc_fooding is now known as ecorrado 2008-04-07T14:37:28 *** eeevil has quit IRC 2008-04-07T14:38:08 *** eeevil has joined #openils-evergreen 2008-04-07T14:44:34 *** eeevil has quit IRC 2008-04-07T14:47:08 *** eeevil has joined #openils-evergreen 2008-04-07T15:00:17 *** greg-g has joined #openils-evergreen 2008-04-07T15:52:25 dbs: you here? 2008-04-07T15:52:37 AYE 2008-04-07T15:52:59 trying to run marc2bre.pl on bib in /home/dan/Evergreen-trunk 2008-04-07T15:53:23 but it's got default postgres settings, and I don't remember having to edit marc2bre directly in EG stable. 2008-04-07T15:53:50 don't want to break anything else that might be hanging about. 2008-04-07T15:56:19 jbfink_: step 1: create a work directory in YOUR OWN DAMNED HOME DIRECTORY! (just kidding about the caps) 2008-04-07T15:56:27 erg ha ha, yes. 2008-04-07T15:56:41 step 2: check /openils/conf/opensrf.xml for the relevant database settings 2008-04-07T15:57:09 yah, I can see them. 2008-04-07T15:57:18 just didn't know if marc2bre had changed significantly from stable to trunk 2008-04-07T15:57:21 I am treading carefully. 2008-04-07T15:57:28 step 3: check the scripts I munged in /home/opensrf/LU_import/ 2008-04-07T15:58:23 jbfink_: oh, yeah, there were some good changes between stable and trunk - for one, marc2bre.pl will automatically figure out a safe starting ID (assuming people don't add bibs while you're doing the processing) 2008-04-07T16:05:47 aha aha aha 2008-04-07T16:06:10 XMLENT XML Parse Error: not well-formed (invalid token) at line 1: parsing /openils/var/web/opac/extras/slimpac/start.html: data \x1f\x8b\b, referer: http://biblio-dev.laurentian.ca/opac/en-US/skin/default/xml/index.xml 2008-04-07T16:06:39 results from XMLENT being very unhappy about mod_deflate compressing the html page before being fed XML to parse. 2008-04-07T16:10:22 heh 2008-04-07T16:11:15 same for DTDs I imagine 2008-04-07T16:11:56 well - weird, it was working for en-US, so forget that. some strange HTML vs. XML inconsistency I guess. 2008-04-07T16:45:50 *** dbs has quit IRC 2008-04-07T16:59:19 *** ecorrado is now known as edc_detached 2008-04-07T18:03:41 *** Karen_ has left #OpenILS-Evergreen 2008-04-07T18:44:29 *** gmcharlt has quit IRC 2008-04-07T18:58:09 *** dbs has joined #OpenILS-Evergreen 2008-04-07T19:19:03 *** lisppaste6 has quit IRC 2008-04-07T19:29:57 *** lisppaste6 has joined #openils-evergreen 2008-04-07T19:50:34 * dbs wearily gets back on the i18n horse 2008-04-07T20:21:45 * miker_ shuts down to install a couple Gs of RAM 2008-04-07T20:32:44 fun 2008-04-07T20:39:02 *** miker_ has quit IRC 2008-04-07T20:46:54 *** miker_ has joined #openils-evergreen 2008-04-07T20:53:16 *** djfiander has joined #OpenILS-Evergreen 2008-04-07T20:53:38 berick: where's fieldmapperdojoData.js? 2008-04-07T20:53:46 berick: where's fieldmapper/dojoData.js? 2008-04-07T20:55:33 djfiander: it's in the dojo-admin branch ... 2008-04-07T20:55:34 *** rsinger has quit IRC 2008-04-07T20:55:49 easier to fetch a copy from the acq server 2008-04-07T20:55:54 so svn up on the acq branch isn't going to work ;-) 2008-04-07T20:56:05 not entirely, no 2008-04-07T20:56:25 i'm not actually relying on fieldmapper/dojoData.js right now 2008-04-07T20:56:35 so we can comment it out 2008-04-07T20:56:39 so I can just comment... right 2008-04-07T21:03:40 * dbs wonders how miker_'s power boost feels 2008-04-07T21:03:54 nice :) 2008-04-07T21:03:58 I can stretch out now 2008-04-07T21:04:15 run firebug for a few hours now without restarting ffx 2008-04-07T21:04:19 heh 2008-04-07T21:04:54 getting closer. "OpenSRF is not defined" 2008-04-07T21:05:14 djfiander: not finding opensrf.js ? 2008-04-07T21:05:17 that's in the oils-acq-fund-grid 2008-04-07T21:05:23 djfiander: safari? 2008-04-07T21:05:25 * dbs stares at bindings.xml trying to figure out why a simple getString() truncates right after "->" in a message 2008-04-07T21:05:29 ffox 2008-04-07T21:06:06 yup. not finding opensrf.js 2008-04-07T21:06:21 dbs: boo... try -> ? 2008-04-07T21:06:33 miker_: I suppose. yuck. 2008-04-07T21:06:47 yuck indeed ... 2008-04-07T21:07:30 also in dojo-admin, I expect 2008-04-07T21:07:34 djfiander: y'll have to 'ln -s' or copy opensrf.js, opensrf_xhr.js, and JSON_v1.js 2008-04-07T21:07:42 djfiander: from the OpenSRF repo 2008-04-07T21:07:51 I suppose we could preprocess the strings at load time ... .replace(/>/g,'>') or whatever ... 2008-04-07T21:08:16 berick: ok 2008-04-07T21:08:31 berick: doesn't the ils makefile do that? 2008-04-07T21:08:44 miker_: if I was doing a real install, it might ;-) 2008-04-07T21:08:52 ahh 2008-04-07T21:09:02 hmmmmm 2008-04-07T21:09:15 dbs: hrm.. you know, /technically/ only '<' needs to be escaped... 2008-04-07T21:09:31 miker_: I know, that's why I was very confused 2008-04-07T21:09:35 yeah 2008-04-07T21:09:51 but it looks much more like a string length error, as the -> is now getting truncated at -& 2008-04-07T21:09:57 so it's probably a property of the dialog 2008-04-07T21:10:03 ahh... 2008-04-07T21:10:21 well, there you go... it wasn't that 2008-04-07T21:12:20 ok, I now have a bunch of empty, stylish, grids :) 2008-04-07T21:12:21 berick: have you started poking at the lasso stuff? 2008-04-07T21:12:35 djfiander: I have some full, boring grids 2008-04-07T21:12:53 well, they're berick's stylish grids. 2008-04-07T21:13:00 berick: should I be seeing funds? 2008-04-07T21:13:13 djfiander: you should.. any JS errors? 2008-04-07T21:13:39 nope 2008-04-07T21:13:44 um... wait 2008-04-07T21:13:51 there it is... standard_network_error_alert gives us a message + msg.substr(0, 100) 2008-04-07T21:13:59 djfiander: oh.. one other thing. you need to define the translator host in development.ini: 2008-04-07T21:14:02 osrf_http_translator_host = acq.open-ils.org:80 2008-04-07T21:14:22 dbs: that's ... odd. keeel it! 2008-04-07T21:14:35 kill the substr() entirely? 2008-04-07T21:14:48 dbs: sure, no? 2008-04-07T21:14:53 miker_: i haven't done any lassoing 2008-04-07T21:14:57 berick: k 2008-04-07T21:14:58 or boost to 1024 just in case... 2008-04-07T21:17:01 well, I'm not sure why we're limiting it 2008-04-07T21:17:33 I mean, in that particular case it would seem that we /need/ to see the whole message... it's an error message 2008-04-07T21:18:16 miker_: true enough. it's not like we're going to hit an unterminated string 2008-04-07T21:19:13 and some stuff from the staff client too :D 2008-04-07T21:19:29 not in JS 2008-04-07T21:19:47 (unterminated string, I mean) 2008-04-07T21:20:04 ok ... biab. then, more admin interfaces 2008-04-07T21:20:18 the admin stuff is really sexy 2008-04-07T21:20:27 I need to get out more. 2008-04-07T21:20:41 heh 2008-04-07T21:20:57 well, compared to the old CGIs, yeah, I wanna have its baby 2008-04-07T21:21:02 dbs: the alert stuff used to not handle very large payloads very well (larger than the screen), but I think it should throw up scrollbars now 2008-04-07T21:21:33 phasefx_: I can always test 2008-04-07T21:23:17 berick: OrgTree.js? 2008-04-07T21:24:03 djfiander: OrgTee.js and fmall.js are generated from a running system.. you should grab those from acq.open-ils.org 2008-04-07T21:24:29 odd. I've got an fmall.js in my tree. must be funky 2008-04-07T21:24:42 http://acq.open-ils.org/oils/media/js/openils/ 2008-04-07T21:24:59 hmm 2008-04-07T21:27:26 ok, now I've got a javascript alert: "The JSAN library object is missing" 2008-04-07T21:27:33 phasefx_: yep - nice scrollbars 2008-04-07T21:27:41 dbs++ 2008-04-07T21:41:48 berick: ok, where does JSAN.js go and who expects to load it? 2008-04-07T21:42:07 djfiander: only the staff client uses JSAN.js 2008-04-07T21:42:16 don't need it 2008-04-07T21:42:19 well, fmall.js is trying to use it 2008-04-07T21:42:25 wth 2008-04-07T21:42:29 the one that I just d/ld 2008-04-07T21:42:47 djfiander: http://acq.open-ils.org/oils/media/js/openils/fmall.js 2008-04-07T21:42:47 it's not the real fmall.js 2008-04-07T21:43:09 odd. 2008-04-07T21:43:14 let me try that again 2008-04-07T21:43:58 there was a wrapper for chrome that would pull/eval fmall.js based on the server host entered.. I don't remember the rationale for that or if it's still being used.. 2008-04-07T21:44:53 wtf 2008-04-07T21:46:56 ok, fmall.js that's installed is the fake one. but ffox is fetching a short one that tries to play with JSAN. 2008-04-07T21:49:09 djfiander: should I grid-ify the picklist list page? 2008-04-07T21:49:11 djfiander pasted "fmall.js according to ffox" at http://paste.lisp.org/display/58782 2008-04-07T21:49:54 phasefx_: where is that version of fmall.js coming from? 2008-04-07T21:50:19 chrome/content/OpenILS/util/fmall.js 2008-04-07T21:50:26 berick: leave it for now. I need the practice :) 2008-04-07T21:50:37 oh... cache. 2008-04-07T21:51:20 I remember why it exists now.. bleh. remote/local xul interaction sucks 2008-04-07T21:51:40 yup. cache 2008-04-07T21:51:42 cache-- 2008-04-07T21:51:58 djfiander: ok, cool. ok if I continue to work on the fund/funding_source/provider administration pages? 2008-04-07T21:52:07 berick: yup 2008-04-07T21:52:11 cool 2008-04-07T21:52:34 hmm... 2008-04-07T21:52:40 no error messages. 2008-04-07T21:52:48 but no data in funding grids either 2008-04-07T21:53:34 djfiander: did you set the osrf_http_translator_host and osrf_http_translator_path vars in your development.ini files? 2008-04-07T21:53:53 hah! 2008-04-07T21:54:03 more specifically: 2008-04-07T21:54:05 osrf_http_translator_host = acq.open-ils.org:80 2008-04-07T21:54:05 osrf_http_translator_path = /osrf-http-translator 2008-04-07T21:54:05 you told me about the host, but you didn't say anything about the path :P 2008-04-07T21:54:11 berick-- 2008-04-07T21:54:11 berick: Error: You're not allowed to adjust your own karma. 2008-04-07T21:54:17 berick-- 2008-04-07T21:54:22 heh, thanks ;)_ 2008-04-07T21:54:22 let me help you with that 2008-04-07T21:56:17 there. a stylish grid full of data 2008-04-07T21:56:26 alright.. 2008-04-07T21:56:35 what a PITA, huh? ;) 2008-04-07T21:56:53 setup.exe will take care of it all 2008-04-07T21:56:55 I don't mind. it's all billable time ;-) 2008-04-07T21:57:14 is anything like http://acq.open-ils.org/oils/acq/base/index.html supposed to work these days? 2008-04-07T21:57:47 dbs: probably not. that's what we're dojofiying 2008-04-07T21:57:48 dbs: i need to get the acq server working with apache.. been focusing on 'paster' dev 2008-04-07T21:58:07 berick: all righty then 2008-04-07T21:58:52 I'm just hang out in the i18n ghetto for a while longer 2008-04-07T22:00:18 dbs: one day I'll be able to do dev work again and help out 2008-04-07T22:01:09 phasefx_: yeah, you should stop training people and do some real work 2008-04-07T22:01:25 someone's gotta fix my errors 2008-04-07T22:03:52 hell, I'm just happy someone other than me is poking at the client :) 2008-04-07T22:06:28 phasefx_: I'd like to teach some of the button bars to automatically tab-ify when they get too wide for my little 1024x768 screen 2008-04-07T22:06:49 go for it 2008-04-07T22:06:52 especially when someone translates the button labels to french or superlongen german 2008-04-07T22:07:17 but my highest priority is just finishing the first pass of the damned i18n 2008-04-07T22:08:46 I've been trying to stick with entities/properties any time I add something new to trunk.. but it's been a pain going between trunk/ and rel_1_2/ like that. Luckily I'm done with adding anything to rel_1_2 unless Murphy asks nicely 2008-04-07T22:09:12 dbs: base/index.html doesn't do anything, but this works:http://acq.open-ils.org/oils/acq/funding_source/list 2008-04-07T22:09:26 i get occaisonal errors (not sure why), but mostly stable 2008-04-07T22:13:25 phasefx_: yeah, I know it's a pain. thanks for putting up with it 2008-04-07T22:13:42 berick: I got a 500 error 2008-04-07T22:14:06 yeah, it's being very finicky 2008-04-07T22:14:13 apache, that is 2008-04-07T22:14:29 berick: cool, it worked once for me. I believe! 2008-04-07T22:22:40 Farmer's Almanac: "To err is human, but to really foul things up requires a computer." 2008-04-07T22:24:22 that's what my coffee coaster at work says, too 2008-04-07T22:24:30 :D 2008-04-07T22:37:36 *** EGUEST322 has joined #openils-evergreen 2008-04-07T22:41:49 *** EGUEST322 has quit IRC 2008-04-07T22:54:27 berick: a little help? 2008-04-07T22:55:08 I've sent off the opensrf request, and have got the answer back, in javascript 2008-04-07T22:55:35 msg = r.recv(); var picklist = msg.content() 2008-04-07T22:55:40 k 2008-04-07T22:55:44 where are the picklist methods defined? 2008-04-07T22:56:02 * djfiander is very clearly cutting & pasting from the Fund.js example 2008-04-07T22:56:42 djfiander: they are accessor/mutoator methods magically created by either the fieldmapper.Fieldmapper dojo module, or fmall.js + fmgen.js 2008-04-07T22:56:48 ok 2008-04-07T22:56:52 mutator 2008-04-07T22:56:57 that's what I was starting to figure out. 2008-04-07T22:57:03 djfiander: API calls or instance methods? 2008-04-07T22:57:13 instance methods. 2008-04-07T22:57:23 what miker_ said... 2008-04-07T22:57:24 like, title(), etc 2008-04-07T22:57:33 they match the fields in fm_IDL.xml 2008-04-07T22:57:59 good old fieldmapper... ah, that brings back early pylons memories... 2008-04-07T22:58:01 so I look in the faux fmall.js and I find the "jub" line... and it's got fields 2008-04-07T22:58:19 djfiander: and, again, if you want to turn a list of fieldmapper objects into a dojo data store, steal fieldmapper.dojoData from the dojo-admin branch ;) 2008-04-07T22:58:49 miker_: except that berick's not using that, and the Fund stuff works fine, apparently 2008-04-07T22:58:54 hrm... berick, are you generating one for the acq branch? 2008-04-07T22:59:04 djfiander: I think that's because it's a generated file 2008-04-07T22:59:11 well, many/most of the ACQ objects are fleshed 2008-04-07T22:59:16 s/I think// 2008-04-07T22:59:16 yeah, we need to discuss that, actually 2008-04-07T22:59:28 ah. 2008-04-07T22:59:35 I'm doing something _hard_ 2008-04-07T22:59:36 which, IIR, won't work with miker_ magic data flattener. 2008-04-07T22:59:37 :P 2008-04-07T22:59:42 we need just one dojo fm API, IMO ... 2008-04-07T22:59:46 berick: why? 2008-04-07T22:59:47 miker_: no, just building a hash by hand 2008-04-07T22:59:53 berick: sure it will 2008-04-07T23:00:21 berick: oh, you mean you replace the real data with objects 2008-04-07T23:00:36 well, that can be taken into account 2008-04-07T23:01:05 miker_: right.. i have a fund object with fleshed owner, for example, i want the grid to display owner().shortname(), or whatever 2008-04-07T23:02:03 (this is just my opinion, but) I'm not crazy about shoving tons of magic into a "build a thing for me" method and then having to set a bunch of flags that require I understand how it works ... that's the general vibe I get with your store builder 2008-04-07T23:02:39 store builder? 2008-04-07T23:02:44 oh, the grid builder? 2008-04-07T23:02:53 oh, well, that should be controlled by the grid structure itself, not by the store or the model, IMO 2008-04-07T23:03:02 yeah 2008-04-07T23:03:30 meh, it's about 5 lines of code that i don't want to repeat. not meant for power user, but great for the same ol' grid over and over 2008-04-07T23:03:49 s/user/use/ 2008-04-07T23:04:30 miker_: what exactly should be controlled by the grid? 2008-04-07T23:04:58 whatever... I'm definitely getting back a set of jubs in my osrf response. but the jub fields aren't working for me as accessors. what do I need to do? 2008-04-07T23:04:59 berick: well, that's kinda my point ... we should be designing one API, not 2 (and more to come) ... "you want a store from a pile of data? call this method. now toss that at a tree or a grid of a combobox or a ...." 2008-04-07T23:05:39 miker_: oh, i agree. i'm still fumbling around in the dark with dojo right now 2008-04-07T23:06:28 djfiander: what jub field are you trying to access? (just curious) 2008-04-07T23:06:41 well, now that I'm looking at it, it's not simple. 2008-04-07T23:06:48 hang on 2008-04-07T23:06:56 id 2008-04-07T23:07:06 djfiander: js error? 2008-04-07T23:07:06 djfiander: an aside, did I plant the fake fmall.js notion in your head with the staff client fmall.js? Are you guys really using a faux fmall.js for acq? 2008-04-07T23:07:21 jub.id is not a function 2008-04-07T23:07:25 phasefx_: 2008-04-07T23:07:37 phasefx_: yes, for right now, we are using a static fmall.js 2008-04-07T23:07:47 that's the error, btw 2008-04-07T23:08:31 djfiander: can you log/alert js2JSON(jub) and see what kind of object it actually is? 2008-04-07T23:09:49 it's f'ing huge, but starts with 2008-04-07T23:10:05 [{}++c":"jub",... 2008-04-07T23:10:13 oops 2008-04-07T23:10:27 [{"__c":"jub",... 2008-04-07T23:10:49 looks like a list of jub's... 2008-04-07T23:11:25 and the Fund stuff isn't returning a list of Funds? 2008-04-07T23:12:14 no, the Fund code is using a streaming method. 2008-04-07T23:12:28 lemme look at the jub code.. 2008-04-07T23:12:32 which method are you currently calling? 2008-04-07T23:12:42 open-ils.acq.lineitem.picklist.retrieve 2008-04-07T23:13:08 which returns an array. duh 2008-04-07T23:13:15 hee 2008-04-07T23:14:36 djfiander: i'd like to make that a streaming call, actually 2008-04-07T23:14:54 berick: ok. email me what I need to know. I've gotta go to bed. 2008-04-07T23:14:57 laters 2008-04-07T23:14:59 if you want to leave your code as-is, i can change the perl 2008-04-07T23:15:00 djfiander: ok 2008-04-07T23:15:32 no, it makes sense to use a streaming call in the long run 2008-04-07T23:15:47 might as well make that explicit in the javascript or somebody else will get confused too. 2008-04-07T23:15:50 g'night 2008-04-07T23:15:52 *** djfiander has quit IRC 2008-04-07T23:19:51 man, conifer.mcmaster.ca is still down :( 2008-04-07T23:20:33 arg ... putting kid back down 2008-04-07T23:20:34 back