| *** ktwilight has joined #zope3-dev | 00:07 | |
| *** ignas has joined #zope3-dev | 00:09 | |
| *** Ariel_Calzada has joined #zope3-dev | 00:16 | |
| *** jsadjohnson_ has quit IRC | 00:17 | |
| *** jodok has quit IRC | 00:48 | |
| *** MrTopf has quit IRC | 00:59 | |
| *** ktwilight has quit IRC | 00:59 | |
| *** tarek has quit IRC | 01:06 | |
| *** dunny has joined #zope3-dev | 01:25 | |
| *** Ariel_Calzada has quit IRC | 01:50 | |
| *** ignas has quit IRC | 02:15 | |
| *** pbugni has joined #zope3-dev | 02:30 | |
| *** jfroche__ has joined #zope3-dev | 02:40 | |
| *** Ariel_Calzada has joined #zope3-dev | 02:43 | |
| *** Ariel_Calzada has left #zope3-dev | 02:44 | |
| *** jfroche_ has quit IRC | 02:56 | |
| *** rocky has quit IRC | 03:02 | |
| *** ousado has joined #zope3-dev | 03:21 | |
| *** ousado_ has quit IRC | 03:35 | |
| *** b52GM has quit IRC | 04:06 | |
| *** b52laptop has quit IRC | 04:06 | |
| *** b52GM has joined #zope3-dev | 04:06 | |
| *** b52laptop has joined #zope3-dev | 04:06 | |
| *** huajie has joined #zope3-dev | 04:14 | |
| *** malthe has quit IRC | 04:17 | |
| *** stub has joined #zope3-dev | 04:30 | |
| *** b52laptop has quit IRC | 04:44 | |
| *** b52GM has quit IRC | 04:45 | |
| *** malthe has joined #zope3-dev | 04:47 | |
| *** ousado_ has joined #zope3-dev | 05:20 | |
| *** stub has quit IRC | 05:22 | |
| *** malthe has quit IRC | 05:31 | |
| *** ousado has quit IRC | 05:37 | |
| *** edgordon has quit IRC | 05:39 | |
| *** malthe has joined #zope3-dev | 05:39 | |
| *** jsadjohnson has quit IRC | 05:52 | |
| *** jsadjohnson has joined #zope3-dev | 06:01 | |
| *** febb has joined #zope3-dev | 06:11 | |
| *** febb has quit IRC | 06:23 | |
| *** jsadjohnson has quit IRC | 06:26 | |
| *** tarek has joined #zope3-dev | 06:32 | |
| *** malthe has quit IRC | 06:36 | |
| *** whit has joined #zope3-dev | 06:46 | |
| *** jsadjohnson has joined #zope3-dev | 06:49 | |
| *** jsadjohnson has quit IRC | 06:57 | |
| *** philiKON_ has joined #zope3-dev | 07:13 | |
| *** philiKON has quit IRC | 07:28 | |
| *** pbugni has quit IRC | 07:32 | |
| *** chacha_chaudhry has joined #zope3-dev | 07:55 | |
| *** huajie has quit IRC | 07:56 | |
| *** whit has quit IRC | 08:00 | |
| *** markusleist has quit IRC | 08:48 | |
| *** zagy has joined #zope3-dev | 08:48 | |
| *** zagy_ has joined #zope3-dev | 08:58 | |
| *** zagy has quit IRC | 08:58 | |
| *** afd__ has joined #zope3-dev | 08:59 | |
| *** jukart has joined #zope3-dev | 09:03 | |
| *** dunny has quit IRC | 09:10 | |
| *** yvl has joined #zope3-dev | 09:13 | |
| *** ghendi has joined #zope3-dev | 09:18 | |
| *** naro has joined #zope3-dev | 09:18 | |
| *** tarek has joined #zope3-dev | 09:29 | |
| *** ghendi has quit IRC | 09:29 | |
| *** hdima has joined #zope3-dev | 09:31 | |
| *** romanofski has joined #zope3-dev | 09:33 | |
| romanofski | moin :) | 09:35 |
|---|---|---|
| *** tarek has quit IRC | 09:40 | |
| *** jodok has joined #zope3-dev | 09:54 | |
| *** bigkevmcd has joined #zope3-dev | 10:07 | |
| *** ghendi has joined #zope3-dev | 10:10 | |
| *** markusleist has joined #zope3-dev | 10:18 | |
| *** tarek has joined #zope3-dev | 10:23 | |
| *** dobee has joined #zope3-dev | 10:32 | |
| *** greenman has quit IRC | 10:32 | |
| *** greenman has joined #zope3-dev | 10:34 | |
| *** hazmat has quit IRC | 10:37 | |
| *** jodok has quit IRC | 11:01 | |
| *** jodok has joined #zope3-dev | 11:03 | |
| *** greenman has quit IRC | 11:06 | |
| *** greenman_ has joined #zope3-dev | 11:06 | |
| *** Aiste has joined #zope3-dev | 11:16 | |
| *** ktwilight has joined #zope3-dev | 11:17 | |
| *** aross has joined #zope3-dev | 11:34 | |
| *** regebro has joined #zope3-dev | 11:44 | |
| *** mgedmin has joined #zope3-dev | 11:47 | |
| *** greenman_ is now known as greenman | 11:51 | |
| *** aross has quit IRC | 12:13 | |
| *** MJ has joined #zope3-dev | 12:17 | |
| *** salfield has quit IRC | 12:22 | |
| *** MrTopf has joined #zope3-dev | 12:26 | |
| *** afd__ has quit IRC | 12:27 | |
| *** MrTopf has quit IRC | 12:27 | |
| *** MrTopf has joined #zope3-dev | 12:27 | |
| * Theuni kicks setuptools in the groin | 12:37 | |
| Theuni | I'm experiencing that problem where setuptools won't extract data files that it included in an sdist. anybody got any pointers? | 12:37 |
| *** greenman_ has joined #zope3-dev | 12:40 | |
| *** greenman has quit IRC | 12:40 | |
| *** dunny has joined #zope3-dev | 12:41 | |
| *** twcook has joined #zope3-dev | 12:51 | |
| *** chacha_chaudhry has quit IRC | 12:56 | |
| *** mkerrin has joined #zope3-dev | 13:06 | |
| *** ignas has joined #zope3-dev | 13:06 | |
| *** jodok has quit IRC | 13:07 | |
| *** jodok has joined #zope3-dev | 13:08 | |
| *** salfield has joined #zope3-dev | 13:10 | |
| *** alga has joined #zope3-dev | 13:21 | |
| *** aclark|away is now known as aclark | 13:26 | |
| *** jodok has quit IRC | 13:26 | |
| *** rocky has joined #zope3-dev | 13:39 | |
| *** J1m has joined #zope3-dev | 13:42 | |
| *** pyqwer has joined #zope3-dev | 13:44 | |
| *** ghendi has quit IRC | 13:50 | |
| *** ghendi has joined #zope3-dev | 13:51 | |
| *** benji has quit IRC | 14:00 | |
| *** chacha_chaudhry has joined #zope3-dev | 14:07 | |
| *** J1m has quit IRC | 14:15 | |
| *** gstratton has joined #zope3-dev | 14:23 | |
| *** b52laptop has joined #zope3-dev | 14:25 | |
| *** dunny has quit IRC | 14:43 | |
| *** jukart has quit IRC | 14:50 | |
| dobee | Theuni: data files are only included when you have an svn checkout afaik | 14:52 |
| dobee | otherwise you have to tell explicitly which data files | 14:53 |
| *** jukart has joined #zope3-dev | 14:54 | |
| Theuni | yeah, i know. | 14:55 |
| Theuni | it's something more subtle | 14:55 |
| Theuni | i gave up on it for now | 14:55 |
| *** ThomasKarlRichte has joined #zope3-dev | 14:55 | |
| *** baijum has joined #zope3-dev | 14:58 | |
| *** Ariel_Calzada has joined #zope3-dev | 15:07 | |
| *** xbeanx has quit IRC | 15:13 | |
| *** xbeanx has joined #zope3-dev | 15:15 | |
| *** srichter has joined #zope3-dev | 15:17 | |
| *** ChanServ sets mode: +o srichter | 15:17 | |
| * baijum tried out zopeproject 0.4 : http://www.baijum.info/z3/screencasts/zopeproject.html | 15:17 | |
| *** niemeyer has joined #zope3-dev | 15:21 | |
| *** benji has joined #zope3-dev | 15:22 | |
| *** Ariel_Calzada has quit IRC | 15:23 | |
| *** MJ is now known as MJ|lunch | 15:23 | |
| *** jodok has joined #zope3-dev | 15:23 | |
| *** greenman_ has quit IRC | 15:31 | |
| *** chacha_chaudhry has quit IRC | 15:41 | |
| benji | srichter: I've done some reworking of the "real" testbrowser branch that I should explain if you intend on doing some work on it; if so, just let me know | 15:45 |
| *** markusleist has quit IRC | 15:47 | |
| *** twcook has quit IRC | 15:50 | |
| *** ThomasKarlRichte has quit IRC | 15:53 | |
| *** MJ|lunch is now known as MJ | 15:53 | |
| srichter | benji: ok, I will not to get to it this week, but I am planning to work on it during the sprint | 15:55 |
| *** ktwilight has quit IRC | 15:56 | |
| benji | that's fine; we'll see how far I get before then | 15:56 |
| CrippsFX | hey srichter | 15:56 |
| srichter | hey | 15:57 |
| CrippsFX | it appears that I won't be able to make it to the sprint regardless of means for transportation :( | 15:57 |
| CrippsFX | ... the assignments are coming in a bit heavier than I'd expected. | 15:58 |
| CrippsFX | although, having something like Ekiga and VNC set up *shouldn't* be a problem for me if someone on that end is willing to deal with it. | 15:59 |
| jpfarias | hey guys | 16:10 |
| jpfarias | a zope3 sprint coming? | 16:10 |
| jpfarias | I would like to participate in some way | 16:10 |
| jpfarias | dunno how though | 16:10 |
| jpfarias | lol | 16:10 |
| jpfarias | I never participated on a sprint before | 16:10 |
| *** WebMaven has joined #zope3-dev | 16:14 | |
| *** stub has joined #zope3-dev | 16:16 | |
| CrippsFX | jpfarias: simply put, showing up is the *best* way ;) | 16:16 |
| gstratton | Is it possible to ask the component architecture for classes providing an interface? | 16:16 |
| jpfarias | CrippsFX: is it gonna be an online or in person sprint? | 16:17 |
| *** netshade has joined #zope3-dev | 16:17 | |
| *** netshade has left #zope3-dev | 16:18 | |
| CrippsFX | jpfarias: it's in person ... the sprint is going to be held just outside of Boston. If you want I'll get you the URL for the page with all the details. | 16:21 |
| gstratton | Just Google for foliage sprint | 16:22 |
| jpfarias | well | 16:22 |
| *** stub has quit IRC | 16:22 | |
| jpfarias | I'm a few thousand miles away :-( | 16:22 |
| jpfarias | I'm in Brazil | 16:22 |
| jpfarias | lol | 16:22 |
| CrippsFX | jpfarias: oh, well then ... that might not work out so well ;) | 16:23 |
| jpfarias | :-P | 16:24 |
| *** rcrafton has joined #zope3-dev | 16:24 | |
| *** Ariel_Calzada has joined #zope3-dev | 16:28 | |
| *** regebro has quit IRC | 16:32 | |
| *** regebro has joined #zope3-dev | 16:34 | |
| *** Ariel_Calzada has quit IRC | 16:34 | |
| *** WebMaven has quit IRC | 16:35 | |
| *** WebMaven has joined #zope3-dev | 16:38 | |
| *** jsadjohnson has joined #zope3-dev | 16:40 | |
| *** ghendi has quit IRC | 16:42 | |
| *** ghendi has joined #zope3-dev | 16:49 | |
| *** baijum has quit IRC | 16:53 | |
| *** J1m has joined #zope3-dev | 16:56 | |
| CrippsFX | okay, in my Zope root I have mysite->mysiteManager->myPau->LDAPAuthenticatorPlugin ... LDAPAuthenticatorPlugin is registered as a utility as so: <utility factory="mysite.ldap.plugin.LDAPAuthenticatorPlugin" name="LDAPAuth" /> in mysite/ldap/configure.zcml ... now, when I'm running localhost:8080/mysite/++etc++site/mypau/@@configure.html all works well, but when I select the "LDAPAuthenticatorPlugin" and make that the default authenticator plu | 16:59 |
| CrippsFX | gin and hit the "change" button, I get an internal server error, a traversal error, to be specific ... the error itself is: TraversalError: (<zope.app.publisher.browser.viewmeta.MenuAccessView object at 0xb445ba8c>, 'zmi_actions') and a full traceback is available upon request. Can somebody help me figure out what is wrong with my mypau configuration and/or my LDAPAuthenticatorPlugin ? | 16:59 |
| CrippsFX | wow ... that was a long description. | 17:00 |
| mgedmin | do you have a second traceback in your system log? | 17:05 |
| CrippsFX | I have the traceback in the Zope instance's error log, if that's what you're asking. | 17:06 |
| CrippsFX | a second traceback ... I can get it to make a second, or third , or fourth traceback ;) | 17:07 |
| CrippsFX | but the only difference between tracebacks, really, is the address of the MenuAccessView object. | 17:08 |
| mgedmin | no, I guess that TraversalError hides the real exception | 17:08 |
| CrippsFX | oh. No, there's only the TraversalError traceback ... but it hiding the *real* problem somehow doesn't surprise me. | 17:09 |
| mgedmin | there should be some reason why MenuAccessView['zmi_action'] is not accessible | 17:09 |
| mgedmin | err, 'zmi_actions' | 17:09 |
| CrippsFX | as I mentioned on friday, though, I have no experience using pdb, so Imma need a bit of help or time if it comes to that. | 17:10 |
| CrippsFX | yeah. That makes sense. | 17:10 |
| CrippsFX | would you like me to lisppaste6 the full traceback ? | 17:10 |
| mgedmin | you might as well | 17:11 |
| CrippsFX | to me it looks like something isn't playing nicely with TAL expressions ... but again, that *should* be something else. | 17:11 |
| CrippsFX | kk. | 17:11 |
| mgedmin | I suspect some menu item's property is raising some unexpected exception | 17:12 |
| mgedmin | or maybe it barfs when trying to check permissions because LDAPAuthenticatorPlugin is broken in some way | 17:12 |
| lisppaste6 | CrippsFX pasted "Unknown Traversal error" at http://paste.lisp.org/display/47844 | 17:12 |
| CrippsFX | mgedmin: I'm prone to thinking that it's the LDAPAuthenticatorPLugin being broken somehow, but I'm not sure how. | 17:13 |
| *** WebMaven has quit IRC | 17:13 | |
| mgedmin | try to insert 'import pdb; pdb.set_trace()' in MenuAccessView.__getitem__ | 17:14 |
| CrippsFX | k. | 17:15 |
| *** WebMaven has joined #zope3-dev | 17:15 | |
| mgedmin | or maybe 'if menuId = "zmi_actions": import pdb; pdb.set_trace() | 17:15 |
| mgedmin | (with a newline after the :) | 17:15 |
| CrippsFX | okay, I've got that set ... so now, I take it, I'm supposed to restart my zope server and then try running the trouble code again? | 17:18 |
| *** WebMaven has quit IRC | 17:20 | |
| *** fcorrea has joined #zope3-dev | 17:23 | |
| mgedmin | yes | 17:27 |
| mgedmin | and when you get the (pdb) prompt in the console, look around with 'l' and step with 's' | 17:27 |
| mgedmin | I suspect you'll step right into getMenuItems() | 17:27 |
| CrippsFX | kk | 17:29 |
| *** malthe has joined #zope3-dev | 17:29 | |
| *** aclark is now known as aclark|fww | 17:30 | |
| CrippsFX | my first step was menu.py->getMenu() | 17:31 |
| CrippsFX | from which I stepped into zope.component._api.py -> queryUtility() ... looks like it might be awhile before I reach the interesting stuff ;) | 17:32 |
| *** nathany has joined #zope3-dev | 17:34 | |
| *** ktwilight has joined #zope3-dev | 17:35 | |
| mgedmin | ouch, yes, skip that | 17:37 |
| mgedmin | 'r' will run the method until it returns, then let you continue stepping | 17:37 |
| mgedmin | 'n' will step over a statement without going inside the called functions | 17:37 |
| *** projekt01 has joined #zope3-dev | 17:38 | |
| *** ghendi has quit IRC | 17:44 | |
| CrippsFX | ahh. I'll start making use of those now ;) | 17:46 |
| CrippsFX | so, "getMenuItems()" is the one I want to be looking at, you say? | 17:48 |
| *** hdima has quit IRC | 17:49 | |
| mgedmin | maybe | 17:49 |
| mgedmin | the interesting question #1 is: does it get as far as to the inside BrowserMenu.getMenuItems() | 17:49 |
| mgedmin | the interesting question #2 is: does it make it through the first for loop in that method | 17:50 |
| CrippsFX | answer to #1: yes, it makes it to zope/app/publisher/browser/menu.py(176)getMenu() .. and I'm about to find out the answer to question #2 | 17:51 |
| CrippsFX | wait ... don't have answer #1 yet ... soon (I hope) | 17:54 |
| *** whit has joined #zope3-dev | 17:55 | |
| *** malthe has quit IRC | 17:56 | |
| CrippsFX | okay, now the answer to #1 is: yes. | 17:57 |
| *** ruda_porto has joined #zope3-dev | 17:59 | |
| *** jodok has quit IRC | 18:00 | |
| lisppaste6 | CrippsFX annotated #47844 with "pdb -> BrowserMenu.getMenuItems()" at http://paste.lisp.org/display/47844#1 | 18:04 |
| CrippsFX | mgedmin: check that out. | 18:04 |
| CrippsFX | KeyError() | 18:04 |
| *** malthe has joined #zope3-dev | 18:05 | |
| *** jukart has quit IRC | 18:07 | |
| *** faassen has joined #zope3-dev | 18:13 | |
| *** faassen has joined #zope3-dev | 18:14 | |
| *** ruda_porto has quit IRC | 18:19 | |
| *** theskrill has joined #zope3-dev | 18:19 | |
| mgedmin | ta-dah! | 18:25 |
| mgedmin | item.available() raises the error | 18:25 |
| mgedmin | the very first one | 18:26 |
| mgedmin | I think item.available is the one that performs security checks | 18:26 |
| CrippsFX | so that tells you that ... I have a bad permission option somewhere? | 18:29 |
| jap | 99 | 18:30 |
| jap | whoops, more fat fingers | 18:30 |
| * CrippsFX blinks at jap | 18:30 | |
| CrippsFX | :P | 18:30 |
| *** hazmat has joined #zope3-dev | 18:31 | |
| *** ChanServ sets mode: +o hazmat | 18:31 | |
| CrippsFX | you mean: (9'-')9 ? | 18:31 |
| CrippsFX | (it's kirby sticking up his dukes) | 18:31 |
| jap | :) | 18:31 |
| * benji crosses his eyes and sees Kirby in 3D. | 18:32 | |
| CrippsFX | lol @ benji | 18:32 |
| *** wreutz has joined #zope3-dev | 18:36 | |
| *** zagy_ has quit IRC | 18:40 | |
| *** pbugni has joined #zope3-dev | 18:41 | |
| *** theskrill has left #zope3-dev | 18:42 | |
| *** hazmat has left #zope3-dev | 18:45 | |
| gstratton | Hi all, I want to validate that an object meets a zope schema | 18:48 |
| gstratton | It looks a bit tricky; does anyone know of example code? | 18:48 |
| naro | gstratton: you can easily validate an object meets an interface. Look to zope.interface.verify | 18:52 |
| * CrippsFX can't think straight right now. | 18:58 | |
| *** tarek has quit IRC | 18:58 | |
| *** nathany has quit IRC | 19:11 | |
| *** run|home has joined #zope3-dev | 19:13 | |
| *** faassen has quit IRC | 19:16 | |
| *** projekt01 has quit IRC | 19:17 | |
| *** MrTopf has quit IRC | 19:18 | |
| *** nathany has joined #zope3-dev | 19:20 | |
| *** whit has quit IRC | 19:24 | |
| *** whit has joined #zope3-dev | 19:25 | |
| *** Ariel_Calzada has joined #zope3-dev | 19:26 | |
| *** MrTopf has joined #zope3-dev | 19:32 | |
| *** Ariel_Calzada has quit IRC | 19:33 | |
| *** run|home has quit IRC | 19:33 | |
| *** MJ has quit IRC | 19:37 | |
| xbeanx | How can I search a catalog across multiple indices for a keyword? Using ICatalog.searchResults(Index1='keyword', Index2='keyword') it seems to perform an ANDed search.. | 19:41 |
| xbeanx | Do I just have to call searchResults() for each index? | 19:41 |
| xbeanx | If so, then the results I get back from each call to searchResults() may overlap, and I will get duplicate hits. | 19:42 |
| *** mark___ has quit IRC | 19:43 | |
| *** jukart has joined #zope3-dev | 19:48 | |
| *** MrTopf has quit IRC | 19:48 | |
| *** RaFromBRC has joined #zope3-dev | 19:50 | |
| philiKON_ | xbeanx: in short, you'll have to do intersections or unions of the results | 19:53 |
| philiKON_ | but not of searchResults | 19:53 |
| philiKON_ | searchResults already resolves the intids to objects | 19:53 |
| philiKON_ | it's much more efficient to work just with integers for the union or intersection | 19:53 |
| philiKON_ | i suggest taking a look at hurry.query | 19:53 |
| philiKON_ | it allows you to phrase searches like that quite easily | 19:54 |
| *** tarek has joined #zope3-dev | 19:57 | |
| xbeanx | thanks philiKON_ .. I was looking at SchoolTool and noticed they used hurry.query.. I'll look further in that direction. | 19:57 |
| *** tarek has quit IRC | 20:00 | |
| *** dobee has quit IRC | 20:01 | |
| *** jsadjohnson has quit IRC | 20:06 | |
| *** tarek has joined #zope3-dev | 20:07 | |
| *** yvl has quit IRC | 20:08 | |
| *** jodok has joined #zope3-dev | 20:09 | |
| *** tarek has quit IRC | 20:10 | |
| *** zagy has joined #zope3-dev | 20:14 | |
| *** jukart has quit IRC | 20:20 | |
| *** edgordon has joined #zope3-dev | 20:24 | |
| *** jsadjohnson has joined #zope3-dev | 20:25 | |
| *** yvl has joined #zope3-dev | 20:25 | |
| *** afd_ has quit IRC | 20:26 | |
| *** afd_ has joined #zope3-dev | 20:26 | |
| gstratton | Naro: doesn't zope.interface.verify just check that the object claims to implement the interface | 20:31 |
| *** malthe_ has joined #zope3-dev | 20:31 | |
| naro | yes | 20:31 |
| gstratton | It doesn't check it against the schema | 20:31 |
| *** malthe has quit IRC | 20:32 | |
| gstratton | Right. I want to check that it actually meets the schema. | 20:32 |
| gstratton | Surely that's been done before? | 20:33 |
| * mgedmin shrugs | 20:33 | |
| mgedmin | probably | 20:34 |
| * CrippsFX punches every bee in the face | 20:34 | |
| naro | schema is defined in interface, isn't it ? | 20:34 |
| mgedmin | gstratton: do you mean you want to check schema field constraints, or just the presence of attributes? | 20:34 |
| gstratton | The constraints | 20:34 |
| mgedmin | you could check how forms do it, I guess | 20:34 |
| CrippsFX | gstratton: that being the case, there are examples in Phil's books of how to do validation within the interface file. | 20:35 |
| CrippsFX | *in Phil's book | 20:35 |
| CrippsFX | chapter 4, sections 4 and 5 for the second edition | 20:36 |
| gstratton | Yup, just found it. Thanks! | 20:36 |
| CrippsFX | you're welcome :) | 20:36 |
| CrippsFX | mgedmin: I'm sorry if this sounds like I'm lazy, but the result I (*we*) found earlier for the cause of the traversal error is an indication that either 1)I'm supposed to remove a security proxy, or 2)I have incorrectly defined a permission somewhere, correct? | 20:38 |
| *** agroszer has joined #zope3-dev | 20:38 | |
| CrippsFX | *defined == defined || assigned | 20:39 |
| CrippsFX | er ... ** defined == (defined || assigned) | 20:39 |
| CrippsFX | heh ... | 20:39 |
| *** alecm has joined #zope3-dev | 20:40 | |
| mgedmin | CrippsFX: dunno, but I suspec the problem is that the LDAP whatever plugin is broken | 20:45 |
| mgedmin | have you figured out what the KeyError is? | 20:45 |
| mgedmin | pdb, sadly, doesn't display full error information when you get an exception during interactive debugging | 20:45 |
| *** pelle_ has joined #zope3-dev | 20:45 | |
| mgedmin | a traceback would be very valuable | 20:45 |
| mgedmin | I suppose you could temporarily remove the try:/except KeyError: from that traversal adapter | 20:46 |
| CrippsFX | yeah. I do believe the key error is that it's doing the "getMenuItems()" and receiving None, then trying to access one of them. | 20:46 |
| mgedmin | then you'd see the cause of the problem instead of that TraversalError | 20:46 |
| CrippsFX | this is true ... | 20:46 |
| mgedmin | no, definitely not | 20:46 |
| CrippsFX | okay. | 20:46 |
| mgedmin | getting None would not cause a KeyError | 20:47 |
| mgedmin | item.available() throws the KeyError | 20:47 |
| mgedmin | but the reason was not apparent from your paste | 20:47 |
| mgedmin | (because pdb is brain-dead) | 20:47 |
| CrippsFX | alright ... where is the traversal adapter located? | 20:47 |
| CrippsFX | hahaha. Yeah ... brain dead, but useful for getting *closer* to the problem. | 20:47 |
| mgedmin | you can find it in your original traceback | 20:47 |
| CrippsFX | kk. | 20:47 |
| mgedmin | .../zope/traversal/adapters.py line 52, iirc | 20:47 |
| CrippsFX | I'll remove the set_trace(), run it again, and go through the traceback to find it. | 20:49 |
| CrippsFX | zope.traversing.adapters line 52 ... so yep ... kk, I'll check that out. | 20:50 |
| CrippsFX | mgedmin: well, that's interesting: KeyError: 'login' | 20:53 |
| mgedmin | the ldap thingy probably returns principals without a login attribute | 20:53 |
| mgedmin | or something like that | 20:53 |
| mgedmin | I really don't remember much about zope 3 auth right now | 20:54 |
| CrippsFX | yeah, well, I've found the spot in my ldap plugin: Module ship.ldap.plugin, line 65, in principalInfo <newline> if login == self.creds['login']: | 20:54 |
| CrippsFX | so, that is more than likely. | 20:55 |
| *** dobee has joined #zope3-dev | 20:55 | |
| CrippsFX | wait ... | 20:55 |
| CrippsFX | ahhhhh ... that was a subtle mistake ... | 20:56 |
| CrippsFX | heh ... it's because I created a method called _ldapconnection(self, credentials) ... and promptly forgot to pass it the "credentials" argument :P | 20:57 |
| CrippsFX | at least I hope that's it. | 20:58 |
| CrippsFX | no, I guess that's not it either. | 20:59 |
| *** malthe_ has quit IRC | 20:59 | |
| *** mkerrin has quit IRC | 21:00 | |
| *** pelle_ has quit IRC | 21:01 | |
| CrippsFX | jarg. | 21:02 |
| *** dobee has quit IRC | 21:02 | |
| CrippsFX | well, mgedmin : thanks for the help. It got me this far, now I know roughly what the problem is, so now I can go about trying to fix it. That's further than I had come/would have come on my own. | 21:03 |
| CrippsFX | ... and now I know how to use pdb, which will come in handy. | 21:03 |
| * benji casts +3 pdb on CrippsFX. | 21:05 | |
| *** nathany has quit IRC | 21:06 | |
| CrippsFX | :P | 21:06 |
| benji | Now you can venture into the Forest of Tracebacks and come back alive. | 21:06 |
| * CrippsFX saves and only takes 10 damage | 21:06 | |
| CrippsFX | ;) | 21:06 |
| *** ignas has quit IRC | 21:06 | |
| *** pelle_ has joined #zope3-dev | 21:08 | |
| CrippsFX | w0000! ... no more system error! | 21:09 |
| *** agroszer has quit IRC | 21:09 | |
| *** netshade has joined #zope3-dev | 21:13 | |
| *** dunny has joined #zope3-dev | 21:19 | |
| CrippsFX | mgedmin: thanks to you, and helping me to debug, my LDAPAuthenticatorPlugin works, now all I have to do is apply groups from the ldap server to Zope principals, but ... that's a job for another day. | 21:21 |
| CrippsFX | cheers for now. | 21:21 |
| * mgedmin waves | 21:22 | |
| *** srichter has quit IRC | 21:26 | |
| *** srichter has joined #zope3-dev | 21:26 | |
| *** Ariel_Calzada has joined #zope3-dev | 21:26 | |
| *** ChanServ sets mode: +o srichter | 21:26 | |
| *** mgedmin has quit IRC | 21:27 | |
| *** edgordon has quit IRC | 21:27 | |
| *** Jell-O-Fishi has joined #zope3-dev | 21:27 | |
| *** jodok_ has joined #zope3-dev | 21:30 | |
| *** jodok has quit IRC | 21:48 | |
| *** dobee has joined #zope3-dev | 21:55 | |
| *** ktwilight has quit IRC | 22:02 | |
| *** zagy has quit IRC | 22:03 | |
| *** xbeanx has quit IRC | 22:03 | |
| *** edgordon has joined #zope3-dev | 22:05 | |
| *** pbugni has quit IRC | 22:05 | |
| *** wreutz has quit IRC | 22:06 | |
| *** xbeanx has joined #zope3-dev | 22:08 | |
| *** alga has quit IRC | 22:10 | |
| *** naro has quit IRC | 22:20 | |
| *** dobee has quit IRC | 22:22 | |
| *** jukart has joined #zope3-dev | 22:22 | |
| *** jukart_ has joined #zope3-dev | 22:26 | |
| *** jukart has quit IRC | 22:26 | |
| *** jukart has joined #zope3-dev | 22:27 | |
| *** jukart_ has quit IRC | 22:27 | |
| *** netshade has left #zope3-dev | 22:29 | |
| *** edgordon_ has joined #zope3-dev | 22:30 | |
| *** edgordon has quit IRC | 22:31 | |
| *** ktwilight has joined #zope3-dev | 22:35 | |
| *** jukart_ has joined #zope3-dev | 22:39 | |
| *** jukart has quit IRC | 22:39 | |
| *** xbeanx has quit IRC | 22:42 | |
| *** nathany has joined #zope3-dev | 22:43 | |
| *** MrTopf has joined #zope3-dev | 22:45 | |
| *** markusleist has joined #zope3-dev | 22:46 | |
| *** greenman has joined #zope3-dev | 22:48 | |
| *** greenman has quit IRC | 22:48 | |
| *** dobee has joined #zope3-dev | 22:50 | |
| *** RaFromBRC is now known as RaFromBRC|lunch | 23:00 | |
| *** pbugni has joined #zope3-dev | 23:07 | |
| *** ignas has joined #zope3-dev | 23:08 | |
| *** salfield has quit IRC | 23:15 | |
| *** jukart_ has quit IRC | 23:19 | |
| *** dobee has quit IRC | 23:27 | |
| *** rocky is now known as rocky|away | 23:33 | |
| *** rcrafton has quit IRC | 23:36 | |
| gstratton | jsadjohnson: where do I get the customer name from for the billing? | 23:37 |
| gstratton | It doesn't seem right to have to look at the customer's name in the CRM container | 23:38 |
| *** WebMaven has joined #zope3-dev | 23:40 | |
| gstratton | Sorry, wrong room! | 23:42 |
| *** greenman has joined #zope3-dev | 23:42 | |
| * benji is glad he's not the only private-but-meaningless-without-context-channel-spammer. | 23:43 | |
| *** alga has joined #zope3-dev | 23:45 | |
| * WebMaven is very glad of that too. | 23:49 | |
| *** RaFromBRC|lunch is now known as RaFromBRC | 23:50 | |
| benji | We should start a support group. But the channel will only ever get accidental messages. | 23:50 |
| *** Ariel_Calzada has quit IRC | 23:53 | |
| *** rcrafton has joined #zope3-dev | 23:56 | |
| *** Ariel_Calzada has joined #zope3-dev | 23:58 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!