IRC log of #zope3-dev for Tuesday, 2007-08-07

*** malthe_ has joined #zope3-dev00:00
*** jinty has quit IRC00:01
*** mrevoir has quit IRC00:02
*** nerdalert has quit IRC00:03
*** faassen has quit IRC00:03
*** benji has quit IRC00:06
*** eldar has joined #zope3-dev00:09
*** gumpa has quit IRC00:11
*** schwendinger has quit IRC00:12
*** jodok has left #zope3-dev00:13
*** jodok has joined #zope3-dev00:13
jodokJ1m: ayt?00:13
J1myes00:13
jodoki've got a problem with zc.z3monitor (or was it ngi)?00:14
jodokwarning: unhandled write event00:14
jodokwarning: unhandled read event00:14
jodokit wrote about 24GB with these strings00:14
J1myipes00:14
jodoki remember we had that issue a few month ago00:14
*** Lumiere has quit IRC00:14
*** Lumiere has joined #zope3-dev00:14
J1myeah00:14
jodokbut i can't remember what the problem was00:14
J1mme neither :(00:14
jodoko.k. :)00:15
*** malthe has quit IRC00:20
*** malthe_ is now known as malthe00:20
*** pelle_ has joined #zope3-dev00:30
*** pbugni has joined #zope3-dev00:35
*** ignas_ has joined #zope3-dev00:41
*** ignas has quit IRC00:43
*** Ariel_Calzada has joined #zope3-dev00:49
*** RaFromBRC is now known as RaFromBRC|away00:49
wiggyJ1m: is there a way for a buildout recipe to store internal state somewhere?00:52
J1msure00:52
wiggyan API to .isntalled.cfg or so?00:53
J1mI don't know what your use case is.00:55
J1manything you stick in options will be stored in .installed.cfg.00:55
wiggyonly recompiling something if a specific option has been changed00:55
J1mYou can only read that data in an uninstall recipe.00:55
wiggyevery change currently runs install which cleans & rebuilds stuff which isn't needed00:56
wiggyso if I copy say options["setting"] to options["old_setting"] it'll persist and I can compare when install is invoked again?00:56
wiggythat'ld be nice00:57
J1mBut is options changes, then your part will be uninstalled.00:57
J1mYou can simply write data into your parts directory and not tell buildout you created the parts directory.00:58
*** xenru has joined #zope3-dev00:58
wiggyhm, and since I stick the place where I compile stuff in options.clear() it's deleted automatically as well00:58
wiggyso I need to do that manually as well00:58
J1mThen it would be up to you to figure out when you had to redo something.00:58
*** eldar has quit IRC01:00
*** hazmat has quit IRC01:03
*** pcardune has quit IRC01:08
*** ignas_ has quit IRC01:09
*** schwendinger_ has quit IRC01:14
*** natea_ has joined #zope3-dev01:19
*** Ariel_Calzada has quit IRC01:27
*** projekt01 has joined #zope3-dev01:27
*** hazmat has joined #zope3-dev01:40
*** ChanServ sets mode: +o hazmat01:40
*** RaFromBRC|away is now known as RaFromBRC01:42
*** dunny has joined #zope3-dev01:42
*** malthe has quit IRC01:46
*** hazmat has quit IRC01:49
*** jsadjohnson has quit IRC01:50
*** xenru has quit IRC01:51
*** nathany_ has joined #zope3-dev01:51
*** nathany has quit IRC01:52
*** jodok has quit IRC01:56
*** natea_ has quit IRC02:11
*** pcardune has joined #zope3-dev02:16
*** J1m has quit IRC02:19
*** ignas_ has joined #zope3-dev02:21
*** nathany_ has quit IRC02:41
*** natea_ has joined #zope3-dev02:49
*** rocky|away has quit IRC03:02
*** huajie has joined #zope3-dev03:03
*** pbugni has quit IRC03:04
*** mrevoir has joined #zope3-dev03:06
*** tarek_ has quit IRC03:08
*** natea_ has quit IRC03:13
*** niemeyer has quit IRC03:25
*** projekt01 has quit IRC03:52
*** whit has quit IRC04:02
*** natea_ has joined #zope3-dev04:05
*** mrevoir has quit IRC04:06
*** jsadjohnson has joined #zope3-dev04:06
*** pcardune has quit IRC04:10
*** alecm has quit IRC04:10
*** pcardune has joined #zope3-dev04:22
*** fcorrea has quit IRC04:31
*** ignas_ has quit IRC04:35
*** alecm has joined #zope3-dev04:51
*** ignas_ has joined #zope3-dev04:53
*** natea_ has quit IRC04:54
*** alecm_ has joined #zope3-dev04:55
*** RaFromBRC has quit IRC04:58
*** natea_ has joined #zope3-dev05:03
*** jsadjohnson has quit IRC05:04
edgordonwhen i programmatically add a site manager, it doesn't show up in the zmi. i can navigate to it, but i can't see it. any tips on what the problem is?05:04
*** huajie has quit IRC05:07
*** alecm has quit IRC05:11
*** alecm_ has quit IRC05:23
*** alecm has joined #zope3-dev05:41
*** ignas_ has quit IRC05:48
*** ignas has joined #zope3-dev05:55
*** sm has quit IRC05:56
*** alecm has quit IRC06:03
*** alecm has joined #zope3-dev06:05
*** alecm_ has joined #zope3-dev06:11
*** ignas has quit IRC06:11
*** alecm_ has quit IRC06:23
*** natea_ has quit IRC06:24
*** alecm has quit IRC06:28
*** natea_ has joined #zope3-dev06:29
*** philiKON has joined #zope3-dev06:32
*** b52lap has joined #zope3-dev06:39
*** philiKON_ has quit IRC06:41
*** alecm has joined #zope3-dev06:44
*** stub has joined #zope3-dev06:49
*** b52laptop has quit IRC06:56
*** cursor has joined #zope3-dev07:06
*** natea_ has quit IRC07:09
*** natea_ has joined #zope3-dev07:15
*** chacha_chaudhry has joined #zope3-dev07:20
*** hazmat has joined #zope3-dev07:21
*** ChanServ sets mode: +o hazmat07:21
*** hazmat has quit IRC07:21
*** dmpinheiro has joined #zope3-dev07:28
*** stub has quit IRC07:40
*** stu2 has joined #zope3-dev07:40
*** stu2 is now known as stub07:47
*** pcardune has quit IRC07:57
*** stub has quit IRC07:59
*** deo has quit IRC08:01
*** natea_ has quit IRC08:07
*** baijum has joined #zope3-dev08:12
*** natea_ has joined #zope3-dev08:28
*** romanofski has quit IRC08:41
*** alecm has quit IRC08:51
*** natea_ has quit IRC08:52
*** natea_ has joined #zope3-dev08:56
*** tjs has joined #zope3-dev08:56
*** sorin has joined #zope3-dev09:03
tjsG'day09:03
*** sorin is now known as sorindregan09:04
tjshaving a real issue with registering utilities that depend on looking up other utilities09:04
tjsif I have a utility that anywhere in its __init__ tries to use getUtility() I get ComponentLookupErrors09:05
tjswhen I try to register my utility09:05
tjsis there some way around this?09:06
tjsperhaps a method I could define on my util that would get called after all utils are setup?09:06
tjsor something..09:06
*** jodok has joined #zope3-dev09:21
*** dunny has quit IRC09:27
*** natea_ has quit IRC09:32
*** schwendinger has joined #zope3-dev09:34
*** jfroche has joined #zope3-dev09:40
*** natea_ has joined #zope3-dev09:42
*** tjs has left #zope3-dev09:43
*** kleist has joined #zope3-dev09:44
*** malthe has joined #zope3-dev09:46
*** romanofski has joined #zope3-dev09:49
romanofskimoin :)09:50
*** jodok has quit IRC09:51
*** naro has joined #zope3-dev09:55
*** jodok has joined #zope3-dev09:58
*** timte has joined #zope3-dev10:07
*** yvl has joined #zope3-dev10:08
*** cursor has quit IRC10:14
*** stub has joined #zope3-dev10:17
*** natea_ has quit IRC10:18
*** stub has quit IRC10:47
*** schwendinger has quit IRC11:06
*** jodok has quit IRC11:15
*** schwendinger has joined #zope3-dev11:15
*** malthe has quit IRC11:16
*** malthe has joined #zope3-dev11:16
*** jodok has joined #zope3-dev11:20
*** naro has quit IRC11:25
*** MJ has joined #zope3-dev11:27
*** ferrafox has joined #zope3-dev11:27
*** MJ has quit IRC11:29
*** norro has joined #zope3-dev11:31
*** goschtl has joined #zope3-dev11:32
*** junkafarian has joined #zope3-dev11:47
*** b52lap has quit IRC11:49
*** tarek has joined #zope3-dev11:50
*** norro_ has joined #zope3-dev11:51
*** norro has quit IRC11:54
*** MJ has joined #zope3-dev11:55
*** ccomb has quit IRC12:07
*** mgedmin has joined #zope3-dev12:09
*** richardkan has joined #zope3-dev12:14
*** norro_ has quit IRC12:18
*** b52laptop has joined #zope3-dev12:31
*** malthe has quit IRC12:43
*** markusleist has quit IRC12:58
*** bjdevlin has joined #zope3-dev13:23
*** projet01_ has joined #zope3-dev13:25
*** naro has joined #zope3-dev13:26
junkafarianis there a way to reference a requests geographical position within the zope framework?13:30
bigkevmcdwithin the usual limits imposed by what you want to do, http://svn.zope.org/z3c.iplocation/ might help13:31
*** jodok has quit IRC13:32
*** schwendinger has quit IRC13:33
*** mkerrin has joined #zope3-dev13:33
* junkafarian looks sheepish13:34
junkafarianhow do i include that in my local install?13:34
bigkevmcdyou need to put it on your python path13:35
bigkevmcdprobably in your $INSTANCE_HOME/lib/python13:35
bigkevmcdremember that it's a package, so...you'll want z3c to be in lib/python13:35
bigkevmcdthat does look like you need to licence some service to use it13:36
bigkevmcdIP location isn't very accurate using simple means, I'd presume that they provide a better way13:36
junkafarian'they'?13:37
bigkevmcdhave you looked inside the package?13:38
bigkevmcdit seems to use something called "ipligence-basic-demo.txt"13:38
bigkevmcdipligence would appear to be a company?13:38
bigkevmcdindeed...ipligence.com13:38
junkafarianhmz13:39
bigkevmcdalternatively, you could wrap GeoIP13:39
junkafarianlooking at the README13:39
bigkevmcdhttp://www.maxmind.com/app/python13:39
junkafarianah13:39
junkafarian^ looks very nice13:39
junkafarianit doesnt need to be accurate13:40
junkafarianit is for content distribution13:40
junkafarianeg where to duplicate files to13:40
*** dunny has joined #zope3-dev13:55
*** niemeyer has joined #zope3-dev14:05
*** Newfie2007 has joined #zope3-dev14:06
*** rocky has joined #zope3-dev14:11
*** cursor has joined #zope3-dev14:16
*** projet01_ has quit IRC14:22
*** faassen has joined #zope3-dev14:24
goschtlphiliKON: i have some questions about zope.paste. Do you have a minute?14:24
junkafarianbigkevmcd: worked a treat!14:26
junkafarianthanks14:26
*** dunny has quit IRC14:27
*** cursor has quit IRC14:36
philiKONgoschtl: just a minute14:38
philiKONgoschtl: btw, zope.paste is obsolete, sorta14:38
philiKONat least IMO14:38
bigkevmcdjunkafarian: which one?14:38
junkafarianthe GeoIP one14:38
philiKONgoschtl: zopeproject is sort of its successor14:38
bigkevmcdjunkafarian: cool14:38
bigkevmcdjunkafarian: I've used it, just not in a Zope3 environment :-)14:38
junkafariannice streamlined API14:38
*** Ariel_Calzada has joined #zope3-dev14:40
lisppaste6goschtl pasted "SOAP" at http://paste.lisp.org/display/4574514:41
goschtli have configured a section in my paste a soap section via urlmap. i have made a factory for optio soaplib. and this works fine. Now my question: Is it possible to access zope in the soap method?14:41
goschtlphiliKON: i have pasted the code of the factory to http://paste.lisp.org/display/4574514:42
philiKONdefine "access"14:43
philiKONyou're in the same python process14:43
philiKONso you can do adapter lookups etc.14:43
goschtli want to return the content of a folder for example14:43
philiKONyou can also invoke the zope.publisher publishing process, perhaps14:43
philiKONthen you need to open the database and get to the object (that folder)14:44
goschtlbut there is no chance to use this as a kind of a view?14:44
philiKONeh?14:44
goschtlwhich i have a context14:44
philiKONno, you've written a wsgi app14:44
philiKONif you want views, why don't you write a view that can talk soap14:45
philiKONi'm sure ther eare python libraries that can talk soap14:45
goschtlsure it´s just a try to do that in the wsgi way14:46
*** schwendinger has joined #zope3-dev14:46
philiKONwell, wsgi only knows apps14:46
philiKONand apps communicate using the CGI environment and streams14:46
philiKONthey typically don't communicate using objects14:47
goschtlphiliKON: ok thx for explaining14:47
* philiKON afk14:47
*** jodok has joined #zope3-dev14:49
*** jsadjohnson has joined #zope3-dev14:54
*** jukart has joined #zope3-dev14:59
*** benji has joined #zope3-dev15:00
*** bjdevlin has quit IRC15:03
*** wobarcbot has quit IRC15:05
*** rcrafton has joined #zope3-dev15:24
*** afd has joined #zope3-dev15:24
*** johnlr2 has joined #zope3-dev15:25
*** johnlr1 has quit IRC15:25
*** afd has quit IRC15:28
*** afd has joined #zope3-dev15:28
*** Aiste_ is now known as Aiste15:43
*** ccomb has joined #zope3-dev15:44
*** pcardune has joined #zope3-dev15:46
*** MJ is now known as MJ|out15:51
*** ignas has joined #zope3-dev15:52
*** chacha_chaudhry has quit IRC15:56
*** rcrafton has quit IRC15:57
*** mrevoir has joined #zope3-dev15:58
*** mrevoir_ has joined #zope3-dev15:59
*** ignas has quit IRC16:00
*** rcrafton has joined #zope3-dev16:05
*** kleist has quit IRC16:05
*** J1m has joined #zope3-dev16:07
J1mjodok, ayt?16:07
wiggycan someone remind me the ppix url?16:09
benjiwiggy: http://download.zope.org/ppix16:09
J1mdownload.zope.org/ppix16:09
wiggythanks16:09
*** mrevoir has quit IRC16:15
*** pcardune has quit IRC16:16
*** baijum has quit IRC16:23
*** kleist has joined #zope3-dev16:24
*** natea_ has joined #zope3-dev16:24
*** stub has joined #zope3-dev16:26
Theunihmm16:26
TheuniWhy does the Zope publication call `transaction.begin` after authenticating against the global authentication utility?16:26
TheuniWhy not before?16:27
TheuniI have the use case that I have an alternate global authentication utility that talks to a database (relational via sqlalchemy) and that has a principal object that holds a reference to the database object that is the user. after transaction.begin() this reference becomes stale.16:28
*** b52laptop has quit IRC16:42
*** greenman_ has quit IRC16:42
*** MJ|out is now known as MJ16:42
*** b52laptop has joined #zope3-dev16:43
*** edgordon has quit IRC16:44
mgedminTheuni: doesn't Zope publication pass the authenticated user's name to the transaction?16:49
wiggywhy would it?16:50
wiggyyou could run as multiple users within the same transaction16:51
*** rcrafton has quit IRC16:56
*** jodok has quit IRC16:56
*** natea_ has quit IRC16:56
*** jukart has quit IRC16:58
*** pcardune has joined #zope3-dev16:58
Theuniright. and the transaction annotation is done afterwardsa nyway16:59
*** rcrafton has joined #zope3-dev17:01
*** ferrafox has quit IRC17:01
*** ferrafox has joined #zope3-dev17:01
*** stub has quit IRC17:06
*** ignas has joined #zope3-dev17:06
*** MJ has quit IRC17:09
*** jodok has joined #zope3-dev17:14
*** sorindregan has quit IRC17:15
timtebenji: I see you're working on lovely.remotetask, there's something that puzzles me about it, do you have a minute?17:20
benjisure; we can both be puzzled17:21
timte:)17:21
afdtimte, apropos lovely.remotetask, I think there's a bug when editing a cron task17:21
afdthere should be a "self.context.input = inputData" in the editing class17:22
timtebenji: in the doctest README.txt there's a line that does service.add(u'echo', {'foo':'bar'})17:22
afdor else the input data is not saved in the job17:22
timteafd: actually that's not what puzzling me  :)17:22
afdI meant timte, benji and maybe jodok :)17:22
timtebenji: that will add a new Job with job.input being set to {'foo':'bar'}17:22
timtebenji: but IJob schema says that input must be of type Interface17:23
timtebenji: tests pass, but I can't understand why17:23
*** jodok has left #zope3-dev17:24
*** jodok has joined #zope3-dev17:24
jodoksorry, my colloquy has a bug... i couldn't see a message above. only that someone mentioned me17:25
afdjodok: I think there's a bug when editing a cron task17:25
afd there should be a "self.context.input = inputData" in the editing class17:25
benjitwo things: nothing enforces interfaces, so IJob can say anything it wants and if the code works, it'll still work; second, zope.interface.Interface.providedBy(x) works for any value of x17:25
afdI mentioned your nickname when timte said that's not what's puzling him17:25
jodokafd: that's possible :) in case you provide a failing test and a patch, i'm happy to apply it...17:26
benjiwhere "works" means "returns True"17:26
afdjodok: ok17:26
*** norro has joined #zope3-dev17:26
timtebenji: oh ok, but when doing this in the prompt I get False, I'll check it again17:27
benjihmm, I don't:17:28
benji>>> zope.interface.Interface.providedBy({})17:28
benjiTrue17:28
*** whit has joined #zope3-dev17:30
timte>>> zope.interface.Interface.providedBy({})17:30
timteFalse17:30
timtethis is zope 2.9 though  :)17:30
timtethis must have changed17:31
*** sm has joined #zope3-dev17:33
*** nathany_ has joined #zope3-dev17:33
J1myes, it changes17:33
J1mchanged17:34
timtebetween 3.2 and 3.3 then I guess17:35
J1myes, as part of a major component architecture refactoring and by popular demand.17:35
timtegreat, thanks17:37
*** torkel_ has quit IRC17:38
*** xbeanx has quit IRC17:47
*** Cripps has quit IRC17:47
*** xbeanx has joined #zope3-dev17:51
*** norro has quit IRC17:52
*** rcrafton has quit IRC17:52
*** projekt01 has joined #zope3-dev17:54
*** rcrafton has joined #zope3-dev17:59
*** natea|intransit has joined #zope3-dev18:10
*** natea|intransit is now known as natea18:11
*** natea_ has joined #zope3-dev18:15
*** xbeanx has quit IRC18:15
*** natea has quit IRC18:16
*** natea_ has quit IRC18:18
*** goschtl has quit IRC18:22
*** xbeanx has joined #zope3-dev18:23
*** pbugni has joined #zope3-dev18:30
*** afd has quit IRC18:30
*** Aiste has quit IRC18:38
*** Aiste has joined #zope3-dev18:38
*** xbeanx has quit IRC18:45
*** whit has quit IRC18:50
*** projekt01 has quit IRC18:53
*** xbeanx has joined #zope3-dev18:55
*** afd_ has joined #zope3-dev18:55
*** timte has quit IRC18:56
*** nathany_ has quit IRC18:56
*** nathany has joined #zope3-dev18:56
*** Jell-O-Fishi has joined #zope3-dev19:03
*** whit has joined #zope3-dev19:05
*** whit is now known as whit|pspt19:06
*** afd has joined #zope3-dev19:12
*** reco has joined #zope3-dev19:18
*** RaFromBRC has joined #zope3-dev19:26
*** afd has quit IRC19:26
*** alecm has joined #zope3-dev19:31
*** MJ has joined #zope3-dev19:34
*** Jell-O-Fishi has quit IRC19:38
*** whit|pspt has quit IRC19:41
*** jodok has quit IRC19:41
*** whit|pspt has joined #zope3-dev19:42
*** jodok has joined #zope3-dev19:42
*** romanofski has quit IRC19:44
*** yvl has quit IRC19:50
*** natea_ has joined #zope3-dev19:50
*** yvl has joined #zope3-dev19:51
*** jorge` has joined #zope3-dev19:57
*** jorge` has left #zope3-dev19:58
*** yvl has quit IRC20:08
*** kleist has quit IRC20:10
*** ferrafox has quit IRC20:19
*** whit|pspt has quit IRC20:28
*** richardkan has quit IRC20:28
*** schwendinger_ has joined #zope3-dev20:29
*** schwendinger has quit IRC20:30
*** schwendinger has joined #zope3-dev20:30
*** sm has quit IRC20:35
*** xxbeanxx has joined #zope3-dev20:36
*** xbeanx has quit IRC20:37
*** marianom has joined #zope3-dev20:38
*** junkafarian has quit IRC20:44
*** xxbeanxx is now known as xbeanx20:46
*** b52laptop has quit IRC20:48
*** reco has quit IRC20:48
*** schwendinger_ has quit IRC20:48
*** reco has joined #zope3-dev20:52
*** whit|pspt has joined #zope3-dev20:56
*** sm has joined #zope3-dev20:57
*** projekt01 has joined #zope3-dev20:58
*** reco has quit IRC21:04
*** edgordon has joined #zope3-dev21:05
*** hazmat has joined #zope3-dev21:05
*** ChanServ sets mode: +o hazmat21:05
*** yvl has joined #zope3-dev21:06
*** schwendinger has quit IRC21:14
*** whit|pspt has quit IRC21:15
*** markusleist has joined #zope3-dev21:15
*** hazmat has quit IRC21:19
*** norro has joined #zope3-dev21:21
*** whit|pspt has joined #zope3-dev21:24
*** tarek has left #zope3-dev21:27
*** naro has quit IRC21:29
*** edgordon has quit IRC21:32
*** naro has joined #zope3-dev21:33
*** xbeanx has quit IRC21:36
*** markusleist has quit IRC21:42
*** xbeanx has joined #zope3-dev21:43
*** markusleist has joined #zope3-dev21:43
*** natea_ has quit IRC21:50
*** whit|pspt has quit IRC21:51
*** naro has quit IRC21:52
*** whit|pspt has joined #zope3-dev21:53
*** jodok has quit IRC21:58
*** benji has quit IRC22:01
*** yvl has quit IRC22:03
*** jodok has joined #zope3-dev22:04
*** mgedmin has quit IRC22:08
*** timte has joined #zope3-dev22:17
*** afd_ has quit IRC22:17
*** Newfie2007 has quit IRC22:18
*** afd_ has joined #zope3-dev22:18
*** regebro has joined #zope3-dev22:20
*** regebro has left #zope3-dev22:21
*** afd_ has quit IRC22:25
*** deo has joined #zope3-dev22:26
*** nathany has quit IRC22:28
*** whit|pspt has quit IRC22:28
*** b52laptop has joined #zope3-dev22:29
*** pbugni has quit IRC22:33
*** dunny has joined #zope3-dev22:35
*** nathany has joined #zope3-dev22:37
*** whit has joined #zope3-dev22:46
*** jfroche has quit IRC22:51
*** jfroche has joined #zope3-dev22:51
*** encompass has joined #zope3-dev22:53
encompasshi guys, I am a GSoC student working with a nifty program called pystart, a program to teach people that basics of python...22:54
*** RaFromBRC is now known as RaFromBRC|lunch22:54
encompassI am using the restricted python module which has been a lifesave for me but I have one issue...22:54
encompassI need to know how to propery get the output of the ta22:54
encompassI need to know how to propery get the output of the stack trace from the restricted code that was executed and place it into a string.  How would you best do that?22:55
encompassSounds off subject, but the guys in python don't use restricted python everyday... zope uses it.  So I am hoping to get a solution through this angle.22:57
philiKONhmmm22:57
philiKONhow is the stack trace of the restricted code different from any other stack trace?22:58
philiKONcan't you simply get it from sys.exc_info?22:58
encompasswell I have it printing to the screen... let me pastebin a snippet22:58
philiKONi don't think RestrictedPython is any different from regular code when it comes to tracebacks22:59
philiKONi might be wrong22:59
encompasshttp://paste.ubuntu-nl.org/32965/22:59
philiKONbut all the restricted compiler does is insert more statements22:59
philiKONthe execution is the standard python interpreter22:59
philiKONvia exec23:00
encompassline 1123:00
philiKONso the traceback should be avalable from the standard location23:00
philiKONright23:00
encompasshow would you do it?23:00
encompassthis is something I have never had to do...23:00
philiKONwell, this looks good23:01
philiKONi would probably do it the same way :)23:01
encompassbut it isn't in a variable23:01
encompassthat is the catch in all this23:01
philiKONah, wait23:01
philiKONthat "testing" thing?23:01
encompassjust a sec23:02
philiKONyou're probably using traceback.print_exc wrong23:02
philiKONyou're most definitely misunderstanding how keyword parameters work23:02
encompassit should say file23:02
encompassI was jsut messing and hadn't changed it back sorry23:02
philiKONprint_exc(limit[, file]]) is the signature23:03
philiKONsee http://docs.python.org/lib/module-traceback.html23:03
philiKONanyway, just to be clear: i don't know what makes you think this is RestrictedPython-specific. This is standard python stuff (not everyday python stuff, but still not particular to RestrictedPython)23:04
encompasshttp://paste.ubuntu-nl.org/32966/ is the updated23:04
encompasswell, yeah, I still can't put it into a variable23:04
philiKONbecause you're using the wrong function23:05
philiKONyou should use format_exc23:05
encompassoh?!23:05
philiKONit's right below print_exc in http://docs.python.org/lib/module-traceback.html23:05
philiKONnaturally you *can* use print_exc if you passed it a file object23:05
philiKONe.g. a StringIO23:05
philiKONbut that's just backwards23:06
encompassyeah that is where I think I was going23:06
philiKON... RTFM, dude :)23:06
encompasshehe23:06
encompassI did23:06
encompasshave had it in front of my all day23:06
encompasshehe23:06
philiKONanyway, still OT here...23:06
philiKONglad to help though23:06
encompassthanks, I will look at it23:06
*** benji has joined #zope3-dev23:07
*** tarek has joined #zope3-dev23:07
*** greenman has joined #zope3-dev23:07
*** faassen has quit IRC23:08
*** ignas has quit IRC23:09
*** ksmith99 has left #zope3-dev23:10
* encompass give philiKON a freaking huge hug... my mentor didn't even know how to fix it!23:12
encompassthat did it...23:12
encompassthanks, now I get to go to bed... :D23:13
philiKONg'night23:13
*** jodok has quit IRC23:21
*** RaFromBRC|lunch is now known as RaFromBRC23:22
*** mkerrin has quit IRC23:24
*** ktwilight_ has joined #zope3-dev23:25
*** sm has quit IRC23:30
*** ignas has joined #zope3-dev23:32
*** edgordon has joined #zope3-dev23:33
*** redir has joined #zope3-dev23:34
*** dunny has quit IRC23:37
*** jodok has joined #zope3-dev23:37
*** ktwilight has quit IRC23:40
*** nathany has quit IRC23:52

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!