IRC log of #zope3-dev for Thursday, 2009-03-12

*** benji has quit IRC00:00
*** J1m has quit IRC00:00
*** jhauser has quit IRC00:04
*** jamur2 has quit IRC00:13
*** MJ has joined #zope3-dev00:15
*** junkafarian has joined #zope3-dev00:17
*** junkafarian has quit IRC00:19
*** dbfrombrc has joined #zope3-dev00:26
*** axelgitm has quit IRC00:26
*** dbfrombrc has quit IRC00:28
*** dbfrombrc has joined #zope3-dev00:28
*** lurkymclurkleton has quit IRC00:31
*** Theuni1 has quit IRC00:31
*** MJ has quit IRC00:35
*** aaronv has joined #zope3-dev00:39
*** quodt has quit IRC00:55
*** romanofski has joined #zope3-dev00:57
*** Theuni1 has joined #zope3-dev01:06
*** menesis has joined #zope3-dev01:08
*** pelle_ has quit IRC01:12
*** harobed has quit IRC01:20
*** tarek has joined #zope3-dev01:23
*** regebro has quit IRC01:29
*** sm has quit IRC01:36
*** junkafarian has joined #zope3-dev01:39
*** junkafarian_ has joined #zope3-dev01:41
*** junkafarian has quit IRC01:41
*** pavane has joined #zope3-dev01:43
*** tarek has quit IRC01:47
*** greenman has quit IRC02:02
*** sm has joined #zope3-dev02:02
*** Theuni1 has quit IRC02:09
*** pcardune_ has joined #zope3-dev02:30
*** dunny has joined #zope3-dev02:34
*** mcdonc has joined #zope3-dev02:41
*** junkafarian_ has quit IRC02:49
*** menesis has quit IRC02:49
*** dunny has quit IRC02:51
*** dunny has joined #zope3-dev02:56
*** greenman has joined #zope3-dev03:01
*** troter has joined #zope3-dev03:05
*** dunny has quit IRC03:20
*** pcardune_ has quit IRC03:32
*** romanofski has quit IRC03:45
*** BjornT_ has quit IRC03:45
*** andycat has quit IRC03:45
*** yotaff has quit IRC03:45
*** jpcw has quit IRC03:45
*** Vq^ has quit IRC03:45
*** eserra has quit IRC03:45
*** SpeedyGhost has quit IRC03:45
*** mcdonc has quit IRC03:45
*** jfkw has quit IRC03:45
*** Fubar^ has quit IRC03:45
*** kiorky has quit IRC03:45
*** romanofski has joined #zope3-dev03:46
*** BjornT_ has joined #zope3-dev03:46
*** andycat has joined #zope3-dev03:46
*** yotaff has joined #zope3-dev03:46
*** jpcw has joined #zope3-dev03:46
*** eserra has joined #zope3-dev03:46
*** Vq^ has joined #zope3-dev03:46
*** lisppaste6 has quit IRC03:48
*** romanofski has quit IRC03:49
*** mcdonc has joined #zope3-dev03:50
*** jfkw has joined #zope3-dev03:50
*** SpeedyGhost has joined #zope3-dev03:50
*** Fubar^ has joined #zope3-dev03:50
*** kiorky has joined #zope3-dev03:50
*** dunny has joined #zope3-dev03:51
*** Fubar^_ has joined #zope3-dev03:53
*** romanofski has joined #zope3-dev03:54
*** mcdonc has quit IRC03:57
*** mcdonc has joined #zope3-dev03:57
*** lisppaste6 has joined #zope3-dev03:57
*** dunny has quit IRC03:58
*** Doc_Dan has quit IRC04:05
*** Fubar^ has quit IRC04:06
*** sm has quit IRC04:06
*** pcardune has quit IRC04:10
*** SpeedyGhost has quit IRC04:23
*** alecm___ has quit IRC04:30
*** srichter has quit IRC04:32
*** srichter has joined #zope3-dev04:55
*** davisagli has left #zope3-dev05:31
*** strichter has joined #zope3-dev06:04
*** greenman has quit IRC06:11
*** srichter has quit IRC06:11
*** nyo has quit IRC06:27
*** rocky has quit IRC06:30
*** baijum has joined #zope3-dev06:33
*** davisagli has joined #zope3-dev06:37
*** strichter is now known as srichter06:48
*** ChanServ sets mode: +o srichter06:49
*** jfkw has quit IRC07:02
*** malthe has joined #zope3-dev07:32
*** andres has quit IRC07:55
*** andres has joined #zope3-dev08:09
*** febb has joined #zope3-dev08:13
*** basti__ has joined #zope3-dev08:24
*** afd_ has joined #zope3-dev08:25
*** stub has joined #zope3-dev08:30
*** Aiste has joined #zope3-dev08:36
*** JaRoel|4D has quit IRC08:38
*** febb is now known as febb_08:39
*** febb_ is now known as febb08:39
*** agroszer_ has joined #zope3-dev08:39
*** agroszer has joined #zope3-dev08:45
*** runyaga_ has joined #zope3-dev08:59
*** agroszer_ has quit IRC09:03
*** __mac__ has joined #zope3-dev09:04
*** runyaga has quit IRC09:16
*** malthe has quit IRC09:22
*** malthe has joined #zope3-dev09:22
*** zagy has joined #zope3-dev09:25
*** Theuni1 has joined #zope3-dev09:27
*** Theuni1 has quit IRC09:29
*** Theuni2 has joined #zope3-dev09:29
*** amit_am has joined #zope3-dev09:32
*** amit_am has quit IRC09:33
*** amit_am has joined #zope3-dev09:33
*** greenman has joined #zope3-dev09:37
*** goschtl has joined #zope3-dev09:45
*** stub has quit IRC09:46
*** JaRoel|4D has joined #zope3-dev09:53
*** afd_ has quit IRC09:58
*** dunny has joined #zope3-dev09:59
*** dunny has joined #zope3-dev10:02
*** febb has quit IRC10:04
*** jhauser has joined #zope3-dev10:04
*** pelle_ has joined #zope3-dev10:19
*** nyo has joined #zope3-dev10:29
*** davisagli has left #zope3-dev10:32
*** quodt has joined #zope3-dev10:32
*** harobed has joined #zope3-dev10:38
*** MJ has joined #zope3-dev10:41
*** junkafarian has joined #zope3-dev10:43
*** baijum has quit IRC10:58
*** mkerrin has joined #zope3-dev11:04
*** baijum has joined #zope3-dev11:10
*** runyaga__ has joined #zope3-dev11:12
*** junkafarian has quit IRC11:14
*** pelle__ has joined #zope3-dev11:21
*** romanofski has quit IRC11:23
*** pelle_ has quit IRC11:40
*** runyaga_ has quit IRC11:47
*** junkafarian has joined #zope3-dev11:49
*** dunny has quit IRC11:49
*** philiKON has joined #zope3-dev11:55
*** dunny has joined #zope3-dev12:00
*** markusleist has joined #zope3-dev12:24
*** sunoano has joined #zope3-dev12:24
*** philiKON has quit IRC12:27
*** Count-Duckula has joined #zope3-dev12:44
*** greenman has quit IRC12:58
*** baijum has quit IRC13:02
*** Theuni2 has quit IRC13:07
*** Theuni1 has joined #zope3-dev13:07
*** agroszer has quit IRC13:11
*** troter has quit IRC13:19
Count-DuckulaHow do the IntId index work, because I have a some persistent zodb objects, which I know are in the index because I've pulled them out, but I can't do inids.getId(self) and if I index them manually then I can find the URL of objects when I later pull them out of the index.  So it must be index different interfaces of my objects??  I'll I'm trying to do is get it to update the catalog index for my object when I change something, which it isn't at13:23
Count-Duckula*can't find the URL13:23
*** lisppaste6 has quit IRC13:52
*** MrTopf has joined #zope3-dev13:55
*** lisppaste6 has joined #zope3-dev13:59
*** menesis has joined #zope3-dev13:59
*** ignas has joined #zope3-dev14:02
*** stub has joined #zope3-dev14:10
*** regebro has joined #zope3-dev14:12
*** regebro has quit IRC14:12
*** regebro has joined #zope3-dev14:12
*** MJ has quit IRC14:14
*** rocky has joined #zope3-dev14:17
*** benji has joined #zope3-dev14:19
*** pyqwer has joined #zope3-dev14:23
malthewho's release manager for zope.app.http?14:34
nyomalthe: I doubt that there's a single "release manager" for that package)14:46
maltheok; who would I bug for a new release...?14:51
*** philiKON has joined #zope3-dev14:52
*** projekt01 has joined #zope3-dev14:52
*** philiKON has quit IRC14:52
nyomalthe: anyone of pypi owners :) I can do the release, if you want )15:00
malthenyo: if you have time for it, it'd be great.15:00
maltheit doesn't need to be *today* :-)15:00
*** jamur2 has joined #zope3-dev15:00
malthenyo: there was just an issue there which caused the application to basically hang forever... that's pretty nasty.15:01
*** lurkymclurkleton has joined #zope3-dev15:01
*** J1m has joined #zope3-dev15:03
nyomalthe: okay, I'll check it out soon15:04
malthemuch appreciated.15:04
*** lurky has joined #zope3-dev15:05
*** lurkymclurkleton has quit IRC15:05
*** lurky is now known as lurkymclurkleton15:06
*** aaronv has joined #zope3-dev15:07
*** SpeedyGhost has joined #zope3-dev15:08
nyomalthe: i got errors here: unsupported operand type(s) for +: 'int' and 'str'. Looks like you forgot to cast the length to int before calling "read"15:08
malthethat's odd; it works in real life.15:09
malthehow can it work.15:09
*** agroszer has joined #zope3-dev15:14
*** mgedmin has joined #zope3-dev15:22
*** dunny has quit IRC15:29
nyomalthe: are you going to fix that thing or can I just add int() cast there?15:33
malthenyo: you can add the int() cast15:34
maltheor I mean, I can do it too, right---anyone.15:34
malthebut someone should :-)15:34
*** rocky has quit IRC15:35
nyomalthe: okay, fixed. but, please, just run the tests next time ;-)15:37
*** rocky has joined #zope3-dev15:38
malthenyo: yeah... sorry :-) ---15:38
malthenyo: I suspect that .. but that's odd, but that Python's socket somehow accepts a string argument there.15:39
*** sunoano has quit IRC15:39
malthewhich the test setup probably doesn't account for (nor should it)15:39
nyomalthe: dunno. i just ran bin/test on my python 2.6 (so, it can also be 2.6 problem)15:40
maltheit could15:40
maltheproblem/issue/feature15:40
nyomalthe: whatever. it's released now15:40
malthecool15:41
malthethat's excellent15:41
*** Aiste has quit IRC15:41
*** mintsauce has joined #zope3-dev15:42
*** mintsauce has quit IRC15:42
*** jfkw has joined #zope3-dev15:44
nyomgedmin or J1m, can you share some pypi power for zope.component?15:45
*** SpeedyGhost has quit IRC15:46
*** kiorky has quit IRC15:46
*** SpeedyGhost has joined #zope3-dev15:48
*** kiorky has joined #zope3-dev15:48
*** MJ has joined #zope3-dev15:53
*** yvl has quit IRC15:54
*** Theuni1 has left #zope3-dev15:58
*** andycat has quit IRC16:11
*** SpeedyGhost has quit IRC16:14
*** kiorky has quit IRC16:14
*** SpeedyGhost has joined #zope3-dev16:15
*** kiorky has joined #zope3-dev16:15
*** mgedmin has quit IRC16:16
*** harobed has left #zope3-dev16:23
*** mgedmin has joined #zope3-dev16:26
*** lucielejard has joined #zope3-dev16:28
*** markusleist has quit IRC16:42
*** basti__ has quit IRC16:58
*** aaronv has quit IRC17:01
*** MrTopf has quit IRC17:01
*** jamur2 has quit IRC17:01
*** alecm has joined #zope3-dev17:02
*** jamur2 has joined #zope3-dev17:04
*** MrTopf has joined #zope3-dev17:06
*** strichter has joined #zope3-dev17:07
*** srichter has quit IRC17:07
*** projekt01 has quit IRC17:16
*** stub has quit IRC17:25
*** malthe has quit IRC17:39
*** thetet has joined #zope3-dev17:42
*** MJ has quit IRC17:47
*** strichter has quit IRC17:49
*** strichter has joined #zope3-dev17:49
*** HerrTopf has joined #zope3-dev17:56
*** MrTopf has quit IRC17:56
*** aaronv has joined #zope3-dev17:56
Count-DuckulaHow can I find the ID of my persistent object in IntId, is wrapped in a KeyReferenceToPersistent, so intids.getId() doesn't work?17:56
*** sm has joined #zope3-dev17:56
*** agroszer_ has joined #zope3-dev17:57
*** strichter has quit IRC17:58
*** strichter has joined #zope3-dev17:58
*** davisagli has joined #zope3-dev18:01
*** agroszer has quit IRC18:04
nyoCount-Duckula: if getId doesn't work, it's not registered. also, you can always get the original object from the KeyReference by simply calling it18:05
*** ignas has quit IRC18:06
Count-Duckulaipdb> intids.items()[3][1]() == self18:09
Count-Duckula>>> True18:09
Count-Duckulanyo: The problem seems to be that IKeyReference(self) keeps returning me new instances of KeyReferences rather than the same one as in intids18:10
nyoCount-Duckula: that's because KeyReferences are not dependent on intid in any way18:11
*** davisagli has quit IRC18:11
Count-Duckulanyo: That's what IntIds does tho': key = IKeyReference(ob); return self.ids[key]   If IKeyRef always returns something different how does it ever match?18:12
*** _srichter has joined #zope3-dev18:13
nyoCount-Duckula: keyreferences are compared and hashed specially, so the keyreferences for the same object are the same :)18:15
nyoCount-Duckula: see IKeyReference interface18:15
*** agroszer_ is now known as agroszer18:16
*** markusleist has joined #zope3-dev18:16
Count-Duckulanyo: If I do sm.getUtility(IIntIds).getId(root['folder']['fred']) in a debug shell it works fine.  But If I do that of getId(self) from within the object, it doesn't work.  What's the difference?  It's the same object.18:17
*** strichter has quit IRC18:18
nyoCount-Duckula: it should work fine. is the utility registered properly?18:19
markusleistCount-Duckula: are there more than one SiteManagers?18:20
Count-Duckulanyo: Yup that was just an example and I can find 'self' in the IntIds utility manually, it just doesn't like getId18:20
Count-Duckulanyo: No18:21
nyoCount-Duckula: hmm... just to try. may be it's proxied somehow. try to call zope.proxy.removeAllProxies on that "self" before getId18:22
Count-Duckulanyo: nope, this is what I have so far: http://pastebin.com/d7b6824a318:25
Count-Duckulano no no....getSite()['folder']['fred'] == self  is TRUE18:29
Count-Duckulaintids.getId(getSite()['folder']['fred']) WORKS18:29
Count-Duckulaintids.getId(self) DOESN'T WORK18:29
*** goschtl has left #zope3-dev18:29
nyohmm, wtf..18:30
nyoI guess that "getSite()['folder']['fred'] is self" is True, of course?18:33
nyoCount-Duckula: also, try IKeyReference(self) == IKeyReference(getSite()['folder']['fred'])18:33
nyoCount-Duckula: if it's the same object, the above should return True18:34
Count-DuckulagetSite()['folder']['fred'] is self ---  FALSE ??18:34
Count-DuckulagetSite()['folder']['fred'] is ContainedProxy whereas self is Report.18:35
nyoCount-Duckula: btw, you can inherit from zope.container.containe.Contained to avoid proxying objects with ContainedProxy, if your objects are intended to be contained.18:37
nyoCount-Duckula: may be here's a problem, I'm not sure how ContainedProxy is transparent for IKeyReferences18:38
*** davisagli has joined #zope3-dev18:39
Count-Duckulanyo: getId works when given the containedproxy but not for my raw python class, so IntId presumable indexed the containedproxy.  How do I get my containedProxy for self ?18:39
*** _srichter is now known as srichter18:41
*** ChanServ sets mode: +o srichter18:41
nyoCount-Duckula: you can wrap it using zope.container.contained.ContainedProxy, but that feels more like a work-around than a thing you should do.18:41
Count-Duckulanyo: All I want is the getId to work with self.18:42
*** nathany has joined #zope3-dev18:42
Count-Duckulanyo: And I'm thinking that I need to get the ContainedProxy bit of 'self' so intids understands my object18:43
agroszerjust make your Report Contained, because it is18:44
Count-Duckulaagroszer: Stupid question, what does contained mean, it's not a folder?18:45
*** agroszer_ has joined #zope3-dev18:48
*** rocky has quit IRC18:50
*** rocky has joined #zope3-dev18:51
Count-Duckulanyo: Yes got it working, thanks a lot for all the help.  Not sure what I'm doing with zope 3 yet.  But no matter how frustrating I always like to start out of my depth.18:53
Count-Duckulaagroszer: Thanks18:54
*** __mac__ has quit IRC18:56
*** pyqwer has quit IRC18:59
*** zagy has quit IRC18:59
*** agroszer__ has joined #zope3-dev19:00
*** nyo has quit IRC19:02
*** agroszer has quit IRC19:03
*** agroszer__ is now known as agroszer19:04
agroszerCount-Duckula, a good idea would be to get Philipp's book19:04
agroszerthat would save you these headaches19:04
agroszerCount-Duckula, http://wiki.zope.org/zope3/Zope3Wiki section "books"19:06
*** thetet has left #zope3-dev19:06
Count-Duckulaagroszer: I've got it.  Just reading it out of order, so I didn't read the section on contained before searching :-)19:06
*** agroszer_ has quit IRC19:07
*** dbfrombrc is now known as dbfrombrc|afk19:09
Count-Duckulaagroszer: I prolly learn more doing it this way too, even if it does send my blood pressure sky rocketting sometimes.19:11
agroszerit's your life19:11
*** Jell-O-Fishi has joined #zope3-dev19:11
agroszerI tend to read magazines starting from the back, but this is a book19:11
*** JaRoel|4D has quit IRC19:12
Count-Duckulaagroszer: To be fair this book seems to be more heavily dependent the sequence of the chapters than most i've read, where each chapter tends to be more self conatined.19:14
*** sunoano has joined #zope3-dev19:21
*** iham is now known as iham|away19:24
*** runyaga__ has quit IRC19:27
*** sawdog has joined #zope3-dev19:30
*** baijum has joined #zope3-dev19:33
*** mintsauce has joined #zope3-dev19:35
*** jfkw has quit IRC19:35
*** jfkw has joined #zope3-dev19:35
*** jfkw has quit IRC19:36
*** jfkw has joined #zope3-dev19:36
*** agroszer_ has joined #zope3-dev19:49
*** Count-Duckula has left #zope3-dev19:55
*** zagy has joined #zope3-dev20:04
*** mintsauce has quit IRC20:06
*** mkerrin has quit IRC20:10
*** pcardune has joined #zope3-dev20:10
*** agroszer has quit IRC20:12
*** nyo has joined #zope3-dev20:15
*** baijum has quit IRC20:19
*** sawdog has quit IRC20:26
*** nathany has quit IRC20:31
*** nathany has joined #zope3-dev20:32
*** agroszer has joined #zope3-dev20:39
*** BjornT_ has quit IRC20:47
*** BjornT has joined #zope3-dev20:51
*** agroszer_ has quit IRC20:57
*** menesis has quit IRC21:11
*** menesis1 has joined #zope3-dev21:12
*** menesis1 is now known as menesis21:12
*** HerrTopf has quit IRC21:14
*** mgedmin has quit IRC21:16
*** afd_ has joined #zope3-dev21:24
*** __mac__ has joined #zope3-dev21:30
*** __mac__ has quit IRC21:32
*** junkafarian has quit IRC21:40
*** JaRoel|4D has joined #zope3-dev21:46
*** __mac__ has joined #zope3-dev21:47
*** jpcw has left #zope3-dev21:55
*** __mac__ has quit IRC22:01
*** ktwilight_ has joined #zope3-dev22:02
*** alecm has quit IRC22:02
*** greenman has joined #zope3-dev22:04
*** ktwilight has quit IRC22:15
*** menesis has quit IRC22:19
*** agroszer has quit IRC22:37
*** dvschramm has joined #zope3-dev22:37
*** jukart has joined #zope3-dev22:39
*** lucielejard has quit IRC22:46
*** zagy has quit IRC22:53
*** junkafarian has joined #zope3-dev22:55
*** aaronv has quit IRC23:03
*** alecm has joined #zope3-dev23:04
*** mcdonc has quit IRC23:08
*** menesis has joined #zope3-dev23:08
*** yotaff has quit IRC23:29
*** Jell-O-Fishi has quit IRC23:30
*** pelle_ has joined #zope3-dev23:31
*** benji has quit IRC23:36
*** dunny has joined #zope3-dev23:46
*** mcdonc has joined #zope3-dev23:47
*** pelle__ has quit IRC23:52
*** srichter has quit IRC23:53
*** nyo has quit IRC23:56

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