IRC log of #zope3-dev for Thursday, 2009-09-24

*** matthal has joined #zope3-dev00:19
*** J1m has quit IRC00:26
*** aaronv has quit IRC00:30
*** romanofski has joined #zope3-dev00:36
*** benji has quit IRC00:37
*** drudi has quit IRC00:45
*** jpcw has joined #zope3-dev01:08
*** jpcw has left #zope3-dev01:15
*** alga has quit IRC01:19
*** jhauser has quit IRC01:28
*** lurkymclurkleton has quit IRC01:30
*** JaRoel|4D has joined #zope3-dev01:36
*** mcdonc has quit IRC01:53
*** mcdonc has joined #zope3-dev01:54
*** djinni has quit IRC01:59
*** djinni has joined #zope3-dev01:59
*** hathawsh is now known as hath|away02:25
*** nathany has quit IRC02:30
*** ignas_ has quit IRC02:31
*** WebMaven has quit IRC02:37
*** malthe is now known as malthe|Zzz02:42
*** hath|away is now known as hathawsh02:53
*** dbfrombrc is now known as dbfrombrc|awa03:00
*** dbfrombrc|awa is now known as dbfrombrc|away03:00
*** hathawsh is now known as hath|away03:15
*** ignas_ has joined #zope3-dev03:20
*** pcardune has quit IRC03:23
*** kaeru has joined #zope3-dev03:32
*** stub has joined #zope3-dev03:54
*** davisagli has quit IRC03:55
*** hath|away is now known as hathawsh04:09
*** ignas_ has quit IRC05:00
*** alecm has quit IRC05:12
*** alecm_ has joined #zope3-dev05:13
*** alecm_ is now known as alecm05:13
*** hathawsh is now known as hath|away05:24
*** gary_poster has quit IRC05:28
*** hath|away is now known as hathawsh05:41
*** afd__ has joined #zope3-dev07:39
*** afd___ has joined #zope3-dev07:40
*** chaoflow has quit IRC07:43
*** chaoflow has joined #zope3-dev07:45
*** davisagli has joined #zope3-dev07:46
*** jukart has joined #zope3-dev07:55
*** afd__ has quit IRC07:59
*** davisagli has quit IRC08:02
*** jfkw has quit IRC08:06
*** febb has quit IRC08:13
*** jukart has quit IRC08:17
*** jukart has joined #zope3-dev08:40
*** fcorrea has quit IRC08:41
*** hathawsh is now known as hath|away08:43
*** yvl has joined #zope3-dev09:03
*** __mac__ has joined #zope3-dev09:09
*** davisagli has joined #zope3-dev09:14
*** redir has quit IRC09:19
*** alecm has quit IRC09:19
*** davisagli has quit IRC09:23
*** ignas_ has joined #zope3-dev09:26
*** sweh has joined #zope3-dev09:33
*** agroszer has joined #zope3-dev09:54
*** JaRoel|4D has quit IRC10:19
*** fcorrea has joined #zope3-dev10:32
*** alga has joined #zope3-dev10:33
*** jpcw has joined #zope3-dev10:35
*** BjornT has quit IRC10:38
*** BjornT has joined #zope3-dev10:42
*** BjornT_ has joined #zope3-dev10:46
*** hath|away is now known as hathawsh10:50
*** mkerrin has joined #zope3-dev10:50
*** jukart has quit IRC10:59
*** jukart has joined #zope3-dev11:01
*** jhauser has joined #zope3-dev11:03
*** romanofski has quit IRC11:07
*** BjornT_ has quit IRC11:12
*** BjornT has quit IRC11:12
*** MJ has joined #zope3-dev11:12
*** BjornT has joined #zope3-dev11:13
*** jpcw has quit IRC11:16
*** jpcw has joined #zope3-dev11:16
*** pyqwer has joined #zope3-dev11:22
*** malthe|Zzz is now known as malthe11:26
*** nyo has joined #zope3-dev11:27
*** yotaff has joined #zope3-dev11:34
*** malthe is now known as malthe|out11:39
*** zagy has quit IRC11:48
*** hathawsh is now known as hath|away11:50
*** zagy has joined #zope3-dev11:51
*** matthal has quit IRC11:54
*** hath|away is now known as hathawsh11:59
*** JaRoel|4D has joined #zope3-dev12:03
*** goschtl has joined #zope3-dev12:04
*** fRiSi has joined #zope3-dev12:07
*** saily has joined #zope3-dev12:08
*** agroszer_ has joined #zope3-dev12:09
*** malthe|out is now known as malthe12:11
*** goschtl has quit IRC12:11
*** BjornT has quit IRC12:11
*** hathawsh has quit IRC12:11
*** lisppaste6 has quit IRC12:11
*** runyaga has quit IRC12:11
*** fRiSi has quit IRC12:11
*** nyo has quit IRC12:11
*** MJ has quit IRC12:11
*** fcorrea has quit IRC12:11
*** yvl has quit IRC12:11
*** do3cc_ has quit IRC12:11
*** multani has quit IRC12:11
*** saily has quit IRC12:12
*** markusleist has quit IRC12:12
*** dbfrombrc|away has quit IRC12:12
*** agroszer has quit IRC12:13
*** cbcunc has quit IRC12:14
*** cbcunc has joined #zope3-dev12:14
*** goschtl has joined #zope3-dev12:14
*** BjornT has joined #zope3-dev12:14
*** hathawsh has joined #zope3-dev12:14
*** lisppaste6 has joined #zope3-dev12:14
*** runyaga has joined #zope3-dev12:14
*** markusleist has joined #zope3-dev12:14
*** dbfrombrc|away has joined #zope3-dev12:14
*** agroszer_ is now known as agroszer12:17
*** hathawsh is now known as hath|away12:19
*** hath|away is now known as hathawsh12:21
*** captain_jean_luc has joined #zope3-dev12:27
*** fRiSi has joined #zope3-dev12:27
*** MJ has joined #zope3-dev12:27
*** fcorrea has joined #zope3-dev12:27
*** yvl has joined #zope3-dev12:27
*** do3cc_ has joined #zope3-dev12:27
*** multani has joined #zope3-dev12:27
*** hathawsh is now known as hath|away12:34
*** nyo has joined #zope3-dev12:40
*** mintsauce has joined #zope3-dev12:43
*** JaRoel|4D has quit IRC12:43
*** nyo has quit IRC12:45
*** nyo has joined #zope3-dev12:51
*** menesis has joined #zope3-dev12:58
*** JaRoel|4D has joined #zope3-dev13:06
*** goschtl has quit IRC13:14
*** JaRoel|4D has quit IRC13:49
mintsauceIs it possible to call a timestamp via tal python: without importing the library?13:50
mintsauceeg: DateTime().now()13:50
__mac__mintsauce: modules['DateTime'].DateTime.now() might work (untested)13:57
mintsauce__mac__: ImportError: No module named DateTime14:01
mintsauce(Interesting approach, haven't seen that before)14:02
__mac__mintsauce: zope2 or 3?14:02
mintsauce314:03
mintsauceany time would do, im just trying to get a timestamp directly in tal.14:03
mintsaucein fact ... any random number would do!14:03
__mac__mintsauce: then it is datetime14:03
__mac__there ist no DateTime in zope 314:03
__mac__aka modules['datetime'].datetime.now()14:04
mintsaucedoh, should have realised that myself. works great, thanks __mac__14:04
__mac__mintsauce: np14:06
*** nyo has quit IRC14:23
*** nyo has joined #zope3-dev14:40
*** gary_poster has joined #zope3-dev14:41
*** goschtl has joined #zope3-dev14:44
*** fcorrea has quit IRC14:46
*** benji has joined #zope3-dev15:01
*** jpcw has quit IRC15:01
*** srichter has quit IRC15:17
*** zagy has quit IRC15:26
*** dunny has quit IRC15:30
*** mcdonc has quit IRC15:33
*** goschtl has quit IRC15:35
*** nyo has quit IRC15:41
*** fcorrea has joined #zope3-dev15:42
*** goschtl has joined #zope3-dev15:44
*** mintsauce has quit IRC15:44
*** afd___ has quit IRC15:49
*** tisto has joined #zope3-dev15:50
*** alga has quit IRC15:52
*** nyo has joined #zope3-dev15:54
*** redir has joined #zope3-dev15:59
*** redir has quit IRC15:59
*** nyo has quit IRC16:02
*** lurkymclurkleton has joined #zope3-dev16:03
*** jpcw has joined #zope3-dev16:04
*** projekt01 has joined #zope3-dev16:04
*** jfkw has joined #zope3-dev16:07
*** srichter has joined #zope3-dev16:08
*** ChanServ sets mode: +o srichter16:08
*** goschtl has quit IRC16:15
*** goschtl has joined #zope3-dev16:21
*** alga has joined #zope3-dev16:21
*** jhauser_ has joined #zope3-dev16:31
*** fRiSi has quit IRC16:32
*** kaeru has quit IRC16:34
*** jhauser has quit IRC16:39
*** jhauser_ is now known as jhauser16:39
*** aaronv has joined #zope3-dev16:40
*** J1m has joined #zope3-dev16:41
*** jhauser_ has joined #zope3-dev16:42
*** jhauser__ has joined #zope3-dev16:46
*** nyo has joined #zope3-dev16:47
*** goschtl has quit IRC16:50
*** jhauser_ has quit IRC16:50
*** __mac__ has quit IRC16:57
*** jhauser has quit IRC16:59
*** faassen has joined #zope3-dev16:59
*** sweh has quit IRC17:00
*** jhauser__ has quit IRC17:06
*** srichter has quit IRC17:14
*** nyo has quit IRC17:22
*** captain_jean_luc has quit IRC17:26
*** captain_jean_luc has joined #zope3-dev17:26
*** captain_jean_luc is now known as saily_17:27
*** redir has joined #zope3-dev17:39
*** JaRoel|4D has joined #zope3-dev17:43
*** JaRoel|4D has quit IRC17:52
*** mkerrin has quit IRC17:54
*** __mac__ has joined #zope3-dev17:56
*** srichter has joined #zope3-dev17:57
*** ChanServ sets mode: +o srichter17:57
*** JaRoel|4D has joined #zope3-dev18:00
*** alecm has joined #zope3-dev18:02
*** mintsauce has joined #zope3-dev18:03
mintsauceI'm trying to get the intId of an object using the following, but it currently gives me a key error18:05
lisppaste6mintsauce pasted "getId" at http://paste.lisp.org/display/8764518:05
mintsauceDo i need to import my catalog or something?18:05
*** JaRoel|4D has quit IRC18:18
*** JaRoel|4D has joined #zope3-dev18:21
*** jukart has quit IRC18:22
mintsauceAlso, fiddling with ZODB.Connection.Connection() - but it needs database_name - how do i know my database_name in default Zope3 setup?18:22
*** dunny has joined #zope3-dev18:22
*** afd_ has joined #zope3-dev18:22
*** stub is now known as drunken_master18:24
*** drunken_master is now known as stub18:24
*** mcdonc has joined #zope3-dev18:26
pyqwerDoes someone know if it's possible to add attributes to an interface _after_ the declaration? E.g.: class IMyInterface(Interface):;""" """;IMyInterface.myattr = TextLine()18:26
pyqwer(The above does not work, something like IMyInterface['myattr']= TextLine() neither)18:26
benjimintsauce: I think the default name for the main DB is the empty string18:30
gary_postermintsauce: you instantiated an empty intid object, so it would not know your object.  You might want to be getting the intid registered as a utility; or maybe you want to use the "register" API (IIRC) to add an object and get its id; or maybe both.18:31
*** jhauser has joined #zope3-dev18:36
mintsaucegary_poster: ahhh ... that makes sense. Confusingly I have an initid utility registered as 'intids'. I can see it via /site/++etc++site/18:37
gary_posterpyqwer: no, I am pretty sure that is not supported18:38
*** yotaff has quit IRC18:38
pyqwergary_poster: Ok, thanks, I think I'll manage to get around this...18:40
*** projekt01 has quit IRC18:41
mintsaucegary_poster: get the intids via getUtility ?18:43
gary_postermintsauce: is this a standard Zope or Grok setup or are you just using the libraries?18:44
*** brandon_rhodes has joined #zope3-dev18:44
gary_posteroh you said it was registered18:44
gary_postermintsauce: easiest: zope.component.getUtility(IIntIds)18:44
*** sawdog has joined #zope3-dev18:45
mintsaucegary_poster: Zope318:45
mintsaucegary_poster: Looking at my site evolve scripts the intid utility was added via:18:45
mintsauceintids = IntIds()18:45
mintsaucesm['intids'] = intids18:45
mintsaucesm.registerUtility(intids, IIntIds)18:45
gary_postermintsauce: right that will register it18:46
*** jukart has joined #zope3-dev18:46
gary_postermintsauce: so if you still have "intids" around locally, use it18:46
gary_postermintsauce: or if not, get it with the getUtility call18:46
*** faassen has quit IRC18:48
*** mkerrin has joined #zope3-dev18:51
*** JaRoel|4D has quit IRC18:53
*** saily_ has quit IRC18:53
mintsaucegary_poster: I'm not sure im making myself clear - im not sure of the code to access my local named IIntIds "intids"18:54
gary_postermintsauce: this is not the answer to your question? ``intids = zope.component.getUtility(zope.intids.interface.IIntIds)``18:56
*** pyqwer has quit IRC18:56
mintsaucegary_poster: Thats it :D18:58
*** malthe is now known as malthe|away18:58
gary_poster:-) good18:59
mintsaucewell - zope.component.getUtility(zope.intid.interfaces.IIntIds) is18:59
gary_posterheh, ok18:59
mintsauce(s in the wrong place)18:59
mintsaucethanks :)18:59
gary_posternp :-)18:59
*** afd__ has joined #zope3-dev19:00
*** davisagli has joined #zope3-dev19:00
*** davisagli has left #zope3-dev19:01
*** mintsauce has quit IRC19:03
*** MJ has quit IRC19:04
gary_posterJ1m: Hey. I have a revision of my branch for zc.buildout that fixes the problem I mentioned to you earlier (regarding namespace packages in site-packages).  Would it significantly help your review if I divided up my branch into these parts, each building on and including the previous one:19:05
gary_poster(1) whitespace and comment clean up;19:05
gary_poster(2) option usage clean-up, with associated doc changes;19:05
gary_poster(3) include-site-packages and related bits, which will be the big one;19:05
gary_poster(4) allowed-eggs-from-site-packages, which is actually a small addition on top of (3) and causing no problems so far that are not also shared with (3).19:05
gary_poster(5) mechanical changes to make it usable as an external with zc.recipe.testrunner etc., like setting the version in setup.py19:06
*** davisagli has joined #zope3-dev19:06
gary_posterThat's it19:06
gary_poster(3) is the kicker19:07
gary_posterDividing it up would be a decent amount of work, but I understand the difficulty of reviewing it, and I'd like this work tied up.19:07
gary_posterIt won't be that much work compared to the branch itself, actually--I'm hopeful it would be under a day.19:08
*** mcdonc has quit IRC19:14
*** mcdonc has joined #zope3-dev19:16
*** afd_ has quit IRC19:18
*** MJ has joined #zope3-dev19:18
*** stub has quit IRC19:23
*** zagy has joined #zope3-dev19:49
*** __mac__ has quit IRC19:58
*** jukart has quit IRC19:58
*** nathany has joined #zope3-dev20:00
*** hath|away is now known as hathawsh20:04
*** mkerrin has quit IRC20:06
J1mgary_poster, that would be great. Thanks. :)20:12
gary_posterok will do20:18
*** brandon_rhodes has quit IRC20:40
*** zagy has quit IRC20:42
*** pcardune has joined #zope3-dev20:48
*** lurkymclurkleton has quit IRC20:58
*** lurkymclurkleton has joined #zope3-dev20:58
*** alecm has quit IRC21:03
*** zagy has joined #zope3-dev21:06
*** agroszer_ has joined #zope3-dev21:10
*** agroszer has quit IRC21:11
*** afd___ has joined #zope3-dev21:12
*** afd_ has joined #zope3-dev21:15
*** hathawsh is now known as hath|away21:17
*** hath|away is now known as hathawsh21:18
*** afd___ has quit IRC21:21
*** davisagli has quit IRC21:22
*** alecm has joined #zope3-dev21:23
*** zagy has quit IRC21:28
*** afd__ has quit IRC21:30
*** zagy has joined #zope3-dev21:34
*** davisagli has joined #zope3-dev21:35
*** afd__ has joined #zope3-dev21:36
*** zagy has quit IRC21:37
*** matthal has joined #zope3-dev21:40
*** lurkymclurkleton has quit IRC21:41
*** zagy has joined #zope3-dev21:42
*** sawdog has quit IRC21:51
*** afd_ has quit IRC21:54
*** afd_ has joined #zope3-dev21:57
*** brandon_rhodes has joined #zope3-dev22:00
*** zagy has quit IRC22:01
*** afd__ has quit IRC22:12
*** jpcw has quit IRC22:14
*** brandon_rhodes has quit IRC22:33
*** hathawsh is now known as hath|away22:37
*** agroszer_ has quit IRC22:38
*** hath|away is now known as hathawsh22:43
*** JaRoel|4D has joined #zope3-dev22:46
*** jpcw has joined #zope3-dev22:47
*** afd_ has quit IRC22:56
*** JaRoel|4D has quit IRC23:09
*** fcorrea has quit IRC23:11
*** brandon_rhodes has joined #zope3-dev23:16
*** fcorrea has joined #zope3-dev23:33
*** hazmat has joined #zope3-dev23:55
*** ChanServ sets mode: +o hazmat23:55
*** jukart has joined #zope3-dev23:57

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