2008-04-29T00:45:04 *** phase_bb has quit IRC 2008-04-29T00:57:43 *** asmodai has joined #OpenILS-Evergreen 2008-04-29T01:34:27 *** Mark__T has joined #openils-evergreen 2008-04-29T01:46:38 *** dbs has quit IRC 2008-04-29T05:18:34 *** ibbo has joined #OpenILS-Evergreen 2008-04-29T08:22:23 *** greg-g has joined #openils-evergreen 2008-04-29T08:25:45 *** dbs has joined #openils-evergreen 2008-04-29T08:43:58 * dbs muses about cmake instead of autotools for build system 2008-04-29T08:49:07 who uses it now? 2008-04-29T08:49:52 phasefx_: KDE was the first project I experienced with it 2008-04-29T08:50:11 cool 2008-04-29T08:50:36 http://www.cmake.org/HTML/About.html 2008-04-29T08:53:09 phasefx_: do you have any suggestions for narrowing down where the client is blowing up with xulrunner 1.8.1.14? 2008-04-29T08:53:27 (re: http://paste.lisp.org/display/59806 ) 2008-04-29T08:54:58 register patron (ue.xhtml) seems to be afflicted; I was wondering whether it's an XHTML vs. XUL thing. Flailing a bit. 2008-04-29T08:55:23 hrmm.. that sucks. I was wondering if it was a JSAN/eval thing, but ue.xhtml doesn't use JSAN 2008-04-29T08:55:25 new marc record fails for a different reason 2008-04-29T08:58:31 I'm thinking of just adding debugging statements everywhere until I narrow down exactly where the exception is being thrown 2008-04-29T08:59:56 well, according to that paste, it's in chrome/content/util/browser.js, in 'get_content' : function() { 2008-04-29T09:00:04 phasefx_: and I have more bugs for you, with a known cause and possible wide distribution 2008-04-29T09:00:10 probably thrown when trying to access .contentWindow 2008-04-29T09:00:44 miker_: k 2008-04-29T09:02:26 phasefx_: well geez, that narrowed things down considerably :) 2008-04-29T09:04:01 we need to make unexpected errors more fatal, I think, instead of trying to recover 2008-04-29T09:07:43 good news is that there are only a few places in the mozilla source that throw NS_ERROR_XPC_SECURITY_MANAGER_VETO 2008-04-29T09:08:06 good, because I'm stupid enough to consider just inserting universalxpconnect privilege granting everywhere 2008-04-29T09:08:18 try it 2008-04-29T09:08:22 :) 2008-04-29T09:08:26 that's what I do :D 2008-04-29T09:09:04 * dbs spins up "Cargo Cult" from magnatunes.com 2008-04-29T09:13:18 miker_: Any possibility of getting a bit of your time on the tuning issue today? 2008-04-29T09:13:22 hey, I have that :) 2008-04-29T09:15:32 dbs, thanks for the magnatunes.com link. never seen that site before, and it looks interesting. 2008-04-29T09:15:48 * atheos listening to Lara St. John - Bach Violin Concertos 2008-04-29T09:16:11 it kinda-sorta looks like there's some variable scoping issues going on, too - xulG isn't defined in ue.js - sigh 2008-04-29T09:16:39 atheos: hey, my pleasure! btw, I saw Lara St. John at a recital a few years back 2008-04-29T09:16:59 *** gmcharlt has joined #OpenILS-Evergreen 2008-04-29T09:17:10 dbs: if the get_content stuff in browser.js isn't working, then ue.js will not have access to xulG. browser pushes xulG into the frame/window holding those interfaces 2008-04-29T09:18:13 which is something that's not normally allowed (reaching into an iframe, for example), and is even more difficult to do with remote xul (reaching into something) 2008-04-29T09:20:08 agJohn: sure thing, just let me get into the office 2008-04-29T09:20:10 ah, and as register patron uses an iframe, maybe that got tightened up in xulrunner 1.8.1.14? but that wouldn't explain why 1.2.1.4 still apparently works. grr. 2008-04-29T09:20:24 * dbs is straining his tiny brain 2008-04-29T09:20:47 No problem, miker_. Thanks. 2008-04-29T09:21:09 dbs: that is true, hrmm 2008-04-29T09:21:09 things start off with a bang in the javascript console; after logging in, the very first error is that _l is not defined in org_utils.js 2008-04-29T09:22:14 when the OPAC uses org_utils.js, I wonder where _l is defined 2008-04-29T09:22:25 OrgTree.js 2008-04-29T09:22:36 and it's there, in opac/common/js/OrgTree.js 2008-04-29T09:29:16 dbs: you recently changed the autogen sub-scripts IIRC ... maybe a subtle syntax error? 2008-04-29T09:29:51 miker_: recently changed them to add "var" to the _l definition 2008-04-29T09:30:01 but that was in response to this problem 2008-04-29T09:30:24 ahh 2008-04-29T09:31:15 basically - just trying to quiet down the noise in javascript console (all those frickin' warnings!) to focus on the real problem 2008-04-29T09:32:00 * miker_ really drives now 2008-04-29T09:32:01 biab 2008-04-29T09:32:05 in prefs.js, set javascript.options.strict to false :) 2008-04-29T09:32:40 *** kdbdk has joined #openils-evergreen 2008-04-29T09:34:23 false will just show javascript errors 2008-04-29T09:39:25 phasefx_: yeah, or click on the "Errors" button 2008-04-29T09:39:58 but warnings sometimes indicate that something actually is wrong... 2008-04-29T09:40:44 true 2008-04-29T09:40:50 hmm, like Warning: assignment to undeclared variable util 2008-04-29T09:40:50 Source File: chrome://open_ils_staff_client/content/main/JSAN.js 2008-04-29T09:40:50 Line: 208 2008-04-29T09:41:28 that's the fourth warning in, followed by "reference to undefined property util.window" 2008-04-29T09:41:57 they wouldn't have started forcing var declaration would they? 2008-04-29T09:42:03 so all the JSAN libraries in chrome/content/util (or server/util) live in an object named util 2008-04-29T09:43:22 at the top of each, it should do var util if util is undefined (though the syntax/structure weirds me out.. that if (typeof util == 'undefined') var util = {}; is supposed to work 2008-04-29T09:43:44 sorry, I feel like my IQ has slipped below 100 in the past couple of days 2008-04-29T09:44:19 maybe they fixed it so that syntax does what I would actually expect it to do (ie. nothing) 2008-04-29T09:44:45 if (foo) { var blah; } blah shouldn't been outside of the block, but it can be 2008-04-29T09:44:50 right, so the typeof operator is probably triggering the first warning, and then once it's declared the warnings should go away 2008-04-29T09:48:47 might also trying