IRC log of #zope3-dev for Friday, 2007-06-01

*** antiretorte has quit IRC00:00
*** grahal_ has quit IRC00:03
*** yvl has quit IRC00:03
*** foxmjay has joined #zope3-dev00:10
*** philiKON has quit IRC00:12
*** philiKON has joined #zope3-dev00:12
*** nerdalert has quit IRC00:13
*** philiKON_ has joined #zope3-dev00:14
*** nerdalert has joined #zope3-dev00:15
*** benji has quit IRC00:29
*** philiKON_ has quit IRC00:33
*** philiKON_ has joined #zope3-dev00:34
*** philiKON has quit IRC00:34
*** timte has quit IRC00:38
*** d2m has quit IRC00:44
*** jodok has quit IRC00:45
*** jinty has joined #zope3-dev00:49
*** b52laptop has quit IRC00:50
*** b52GM has quit IRC00:50
*** b52laptop has joined #zope3-dev00:51
*** b52GM has joined #zope3-dev00:51
*** nerdalert has quit IRC00:53
*** philiKON has joined #zope3-dev01:01
*** philiKON_ has quit IRC01:08
*** Jell-O-Fishi has joined #zope3-dev01:21
*** philiKON has quit IRC01:31
*** greenman has quit IRC01:33
*** projekt01 has joined #zope3-dev01:39
*** J1m has quit IRC01:39
*** pelle_ has joined #zope3-dev01:47
*** pelle_ has quit IRC02:02
*** foxmjay has quit IRC02:41
*** whit has quit IRC02:52
*** greenman has joined #zope3-dev03:03
*** grahal_ has joined #zope3-dev03:20
*** wrobel has quit IRC03:23
*** grahal__ has joined #zope3-dev03:23
*** grahal_ has quit IRC03:38
*** grahal__ has quit IRC03:41
*** run|home has joined #zope3-dev04:06
*** sm has quit IRC04:10
*** RaFromBRC has quit IRC04:13
*** rocky|away has quit IRC04:21
*** rocky has joined #zope3-dev04:22
*** rocky has joined #zope3-dev04:24
*** yota has quit IRC04:28
*** alecm has quit IRC04:37
*** niemeyer has quit IRC05:09
*** sm has joined #zope3-dev05:38
*** sm has quit IRC05:40
*** sm has joined #zope3-dev05:41
*** sm has joined #zope3-dev05:41
*** sm has joined #zope3-dev05:41
*** sm has joined #zope3-dev05:41
*** greenman has quit IRC05:52
*** whit has joined #zope3-dev06:03
*** baijum has joined #zope3-dev06:24
*** srichter has joined #zope3-dev06:42
*** stub has joined #zope3-dev06:45
*** elro has quit IRC06:47
*** SteveA has quit IRC07:00
*** SteveA has joined #zope3-dev07:00
*** whit has quit IRC07:05
*** marianom has left #zope3-dev07:07
*** srichter has quit IRC07:47
*** deo has joined #zope3-dev07:53
*** projekt01 has left #zope3-dev08:13
*** sorin has joined #zope3-dev08:17
*** sorin is now known as sorindregan08:17
*** philiKON has joined #zope3-dev08:29
*** Aswin_S has joined #Zope3-dev08:50
*** iam-vivek has joined #zope3-dev08:50
*** timte has joined #zope3-dev08:57
*** romanofski has quit IRC09:01
*** P_Parker has joined #Zope3-dev09:02
*** Aswin_S has quit IRC09:15
*** P_Parker has left #Zope3-dev09:21
*** iam-vivek has quit IRC09:21
*** jukart has joined #zope3-dev09:25
*** d2m has joined #zope3-dev09:31
*** dobee has joined #zope3-dev09:32
*** yvl has joined #zope3-dev09:40
*** jodok has joined #zope3-dev09:51
*** romanofski has joined #zope3-dev09:55
romanofskimoin :)09:57
*** philiKON has quit IRC10:00
*** alecm has joined #zope3-dev10:01
*** alecm has quit IRC10:04
*** wrobel has joined #zope3-dev10:05
*** projekt01 has joined #zope3-dev10:18
*** lzdych has joined #zope3-dev10:21
*** harobed has joined #zope3-dev10:26
*** Aiste has quit IRC10:28
*** tonico has joined #zope3-dev10:28
*** naro has joined #zope3-dev10:31
*** ka-jod has joined #zope3-dev10:32
*** Henri__ has joined #zope3-dev10:33
*** natea|linuxtag has joined #zope3-dev10:38
*** Aiste has joined #zope3-dev10:45
*** yota has joined #zope3-dev10:49
baijumI am getting some test failures in zope.testing trunk with Python 2.4.4 in one machine, but I cannot reproduce this in another machine10:50
baijumsee: http://zope3.pastey.net/4752410:50
baijumCan anyone just run zope.testing trunk tests against Python 2.4 ?10:51
* baijum really wanted to run : http://svn.zope.org/zope.testing/branches/nikhil_n-py25/ (Nikhil has completed it as part of GSoC, to run in both Python 2.4 & 2.5)10:53
*** BjornT_ has quit IRC10:56
*** natea|linuxtag has quit IRC10:59
*** jfroche has joined #zope3-dev11:02
*** ktwilight has joined #zope3-dev11:03
*** ktwilight has joined #zope3-dev11:12
Theuni_baijum: my buildbot says it works11:13
Theuni_last run was 09:00 CEST11:13
*** BjornT has joined #zope3-dev11:14
baijumTheuni_, what was the new buildbot url ?11:17
Theuni_uter.gocept.com:333311:18
Theuni_although it's not very helpful from the outside11:18
Theuni_as the overview page only tells you what i just told you ;)11:18
Theuni_tests are run every 3 hours on the trunk of the projects11:18
baijumbtw, it's very nice looking :)11:19
baijumI think only online log part is missing, is it?11:20
*** MJ has joined #zope3-dev11:20
*** ka-jod_ has joined #zope3-dev11:25
*** pelle_ has joined #zope3-dev11:26
Theuni_jup11:32
Theuni_and a little more compact layout11:32
Theuni_however, at least the server became stable after a while and was running for more than two weeks without failing now11:32
Theuni_i'll move this thing to a dedicated server in the beginning of july11:33
*** ka-jod has quit IRC11:42
baijumcool11:45
* baijum understand that his $HOME/.pdbrc causig some test failures11:50
baijumbash-3.00$ cat ~/.pdbrc11:50
baijumimport rlcompleter11:50
baijumpdb.Pdb.complete = rlcompleter.Completer(locals()).complete11:50
* baijum got this tip from somewhere as tip for autocompletion11:51
*** elro has joined #zope3-dev11:51
baijumhmm.. there are still some failure : http://zope3.pastey.net/4756311:54
*** jinty has quit IRC11:57
* baijum the remaining problem was some wrong PYTHONPATH :(12:00
* baijum hmm..still some more issues with 2.512:03
projekt01baijum, is the module huh in a test defined and registered as module?12:06
projekt01e.g. ImportError: No module named huh12:06
*** elro has quit IRC12:13
*** elro has joined #zope3-dev12:13
*** elro has quit IRC12:16
baijumprojekt01, that problem solved, my PYTHONPATH was making problem12:18
*** alga has joined #zope3-dev12:22
Theuni_baijum: btw, i was lying. the builds are only run every 6 hours12:46
*** projet01_ has joined #zope3-dev12:48
*** projet01_ has quit IRC12:48
*** projet01_ has joined #zope3-dev12:50
*** alga_ has joined #zope3-dev12:55
*** Henri__ has left #zope3-dev12:55
*** mkerrin has joined #zope3-dev13:05
*** projekt01 has quit IRC13:06
*** jfroche has quit IRC13:10
*** yvl has quit IRC13:17
*** alga has quit IRC13:18
*** yvl has joined #zope3-dev13:19
*** stub has quit IRC13:23
*** ignas has joined #zope3-dev13:37
*** Aiste has quit IRC13:40
*** ghendi has joined #zope3-dev13:55
*** pelle_ has quit IRC13:56
*** Aiste has joined #zope3-dev14:09
*** jfroche has joined #zope3-dev14:26
*** niemeyer has joined #zope3-dev14:39
*** Jell-O-Fishi has quit IRC14:40
*** dunny has quit IRC14:41
zagyyey14:43
zagyhttp://uter.gocept.com:3333/   the only brokein zope.* project is zope.ucol now14:43
*** baijum changes topic to "Zope 3.4.0a1 is out: http://www.zope.org/Products/Zope3/3.4.0a1 | Zope 3.4 bugs: http://tinyurl.com/yvyeo5 | bugs: https://bugs.launchpad.net/zope3/ | FAQ: http://wiki.zope.org/zope3/FAQ | wiki: http://wiki.zope.org/zope3 | paste: http://paste.lisp.org/new/zope3-dev | irc logs: http://zope3.pov.lt/irclogs/ | new buildbot : http://uter.gocept.com:3333/"14:49
*** tarek has left #zope3-dev14:49
*** J1m has joined #zope3-dev14:53
*** pelle_ has joined #zope3-dev14:57
*** pelle_ has quit IRC14:58
*** grahal has joined #zope3-dev14:59
*** tonico has quit IRC15:07
*** benji has joined #zope3-dev15:11
CrippsFXI had an issue yesterday about a registered utility called "ipdb.Computer" it's in the irclog at 22:13, philiKON told me that I need an IFactory utility registered under the name "ipdb.Computer" for zope to look up the utility properly ... well, the factory that I'm trying to use has "implements(IFactory)" as the first line in the implementation, yet I'm getting the "component lookup error" ... any other ideas? (more information is available15:19
CrippsFXon request)15:19
*** sorindregan has quit IRC15:20
CrippsFX..or does the "provides" option in the <utility> directive have to be for zope.component.interfaces.IFactory ?15:22
*** sorin has joined #zope3-dev15:22
*** sorin is now known as sorindregan15:23
*** MJ is now known as MJ|lunch15:24
CrippsFXhm. When I replaced provides=".interfaces.IComputer" with provides="zope.component.interfaces.IFactory" I got a new error: TypeError: unbound method getInterfaces() must be called with ComputerFactory instance as first argument (got nothing instead)   ...15:26
CrippsFXso ... if I'm correct, this is "one step back" ... or not ... it's actually calling the factory, but getting sweet F.A. from that ...15:28
CrippsFXmorning romanofski :)15:28
romanofskio/15:31
CrippsFXhow's it going?15:31
CrippsFXhm. That's odd.15:33
*** stub has joined #zope3-dev15:33
*** mgedmin has joined #zope3-dev15:34
CrippsFXusing the debugzope shell, doing" from <...> import getUtility; from <...> import IFactory; fact=getUtility(IFactory,u'ipdb.Computer');mine=fact();mine" returns an object of type ComputerFactory ... ComputerFactory() is a class that *should* return Computer() on __call__15:35
CrippsFXmorning mgedmin15:35
mgedmingood afternoon :)15:36
CrippsFXright ... that whole Europe thing ;)15:37
CrippsFXmgedmin: would you mind helping me troubleshoot a *basic* problem?15:37
mgedminI hope it's not a *visual basic* problem :)15:38
CrippsFXgross!15:38
CrippsFX:P15:38
*** jukart has quit IRC15:38
CrippsFXit's a componentLookupError ... with a factory ... philiKON told me I needed an IFactory utility to get my thing working right ... but my ComputerFactory implements zope.component.interfaces.IFactory and is registered to provide .interfaces.IComputer and I still get the componentlookuperror ...15:39
*** ignas has quit IRC15:39
CrippsFXwhen I switch provides=".interfaces.IComputer" to provides="zope.component.interfaces.IFactory" I get an error about the getInterfaces() method ... it says it's being called without any arguments.15:40
mgedminfactories...15:40
CrippsFXyep.15:40
CrippsFX*should* be simple ... but is extremely efficient at eluding me.15:41
mgedminif you create a factory automatically with <class class="...MyComputer"> <factory name="..."/> ... </class>15:41
mgedminit should work15:41
mgedminotherwise please show me how you declare and register the factory15:41
CrippsFXbah ... I forgot <factory> under the class directive!15:41
CrippsFXI'll give that a shot.15:41
romanofskithanks - everything is fine .. how are you CrippsFX?15:42
CrippsFXromanofski: not bad ... just busy busy busy :)15:43
*** ignas has joined #zope3-dev15:43
CrippsFXromanofski: I come in every morning and see that you've said "moin" so I figured I'd say hi today ;)15:43
CrippsFXmgedmin: sorry, for the factory, do I register the factory class as a separate class, or do I try to register the factory under the class that it manufactures?15:44
romanofskiCrippsFX: :D15:45
mgedminthis increases my convictions that factories are unneeded complexity15:46
*** Henri__ has joined #zope3-dev15:46
mgedminpremature abstraction15:46
CrippsFXmgedmin: I do agree in a sense, they are a somewhat complex idea for newbies to grasp ...15:47
CrippsFXand it's an extra layer between implementation and instantiation ... but when implementation is changed, the factory has to be changed as well ... so it doesn't really save any work.15:48
mgedminyou've created two classes, a Computer and a ComputerFactory, right15:49
mgedmin?15:49
mgedminif so, remove all traces of the ComputerFactory and instead use the <factory> directive15:49
mgedminor, if you really really want to do it manually, do not subclass Factory, but instead call it15:49
*** schwendinger has joined #zope3-dev15:50
CrippsFXmgedmin: yeah, ComputerFactory is it's own class.15:50
mgedminIIRC that's the way it's intended to be used (myComputerFactory = Factory(MyComputer, name='lalalal'); then <utility provides="IFactory" component=".myComputerFactory" />15:50
mgedminif you subclassed Factory instead of calling it, that caused your problem15:50
mgedmindisclaimer: of course I might be misremembering some details, because I don't use factories much15:51
CrippsFXnah, the Factory is it's own entity, but instead of using __init__ it uses __call__ because factories are used more than once ...15:51
*** BjornT_ has joined #zope3-dev15:51
*** BjornT has quit IRC15:54
CrippsFXmgedmin: k. well, I went about the call way of doing it instead of the class way, and that appeared to clear up the problem ... although, there *never should have been* a problem with doing it via a class. Oh well.15:57
*** stub has quit IRC16:03
mgedminwhy 'never should have been'?16:04
mgedminyou've been using it incorrectly16:04
mgedminI'll concede the point if you have some official documentation that says subclassing Factory is the right way16:05
CrippsFXmgedmin: it works in the worldcookery book.16:06
mgedminhm16:07
mgedminthat's good enough as "official documentation" for me16:07
CrippsFXalthough, admittedly, the code does get refactored, so it's mot "the best way" of doing things.16:07
CrippsFX:)16:07
mgedminthen you perhaps used <utility component="MyComputerFactory"> instead of <utility factory="MyComputerFactory">16:08
mgedminthere's a subtle difference16:08
CrippsFXit's weird how zope hates me ;)  ... last time I tried doing just a Factory call and it hated me, this time I tried doing a factory class, and it hated me.16:08
CrippsFXmgedmin: the old code is gone now, so I don't know for sure, but yes, that does seem like somethign I would do ... and some of the symptoms would indicate that.16:09
mgedmina revision control system is a really really great thing16:09
mgedminthe old code is never gone then16:10
*** Henri__ has left #zope3-dev16:10
*** BjornT has joined #zope3-dev16:10
CrippsFXmgedmin: well ... yeah, provided you make regular commits as well ...16:10
CrippsFXI have a branch here at work, but I haven't *really* commited anything for it yet.16:11
CrippsFX... I probably should.16:11
mgedmincommit early, commit often16:11
mgedminat least on branches16:11
mgedminnever commit to trunk if you don't have passing unit tests16:12
*** norro has joined #zope3-dev16:20
*** ka-jod_ has quit IRC16:21
*** MJ|lunch is now known as MJ16:26
CrippsFXmgedmin: true dat.16:28
CrippsFX*poof* local branch committed. :D16:33
*** meatballhat has joined #zope3-dev16:34
*** run|home has quit IRC16:40
*** reco has joined #zope3-dev16:41
*** whit has joined #zope3-dev16:46
*** jinty has joined #zope3-dev16:53
CrippsFXI thought the containment machinery was supposed to take care of wrapping non-locatable objects when you use "setitem(container,container.__setitem__,u'obj-name',object)" ... but I keep getting an attribute error when I do that with a non-locatable object.17:01
*** yvl has quit IRC17:02
*** harobed has quit IRC17:03
*** naro has quit IRC17:05
*** lzdych has quit IRC17:07
*** MJ is now known as MJ|nearby17:07
*** jinty has quit IRC17:14
J1mCrippsFX, it does afaik17:24
*** sorindregan has quit IRC17:24
*** ghendi has quit IRC17:24
*** alecm has joined #zope3-dev17:25
*** BjornT_ has quit IRC17:26
*** baijum has quit IRC17:31
*** dobee has quit IRC17:32
*** yvl has joined #zope3-dev17:41
*** jukart has joined #zope3-dev18:04
*** Rolando has joined #zope3-dev18:05
projet01_Rolando, hi18:06
Rolandoprojekt01, hi!18:06
*** b52laptop has quit IRC18:07
*** projet01_ is now known as rogerip18:08
*** Rolando has left #zope3-dev18:11
*** b52laptop has joined #zope3-dev18:11
*** El-Rolando has joined #zope3-dev18:13
*** rogerip is now known as projekt0118:14
*** El-Rolando has quit IRC18:15
*** El-Rolando has joined #zope3-dev18:15
*** jinty has joined #zope3-dev18:16
*** projekt01 has quit IRC18:16
*** marianom has joined #zope3-dev18:16
*** benji has quit IRC18:20
*** dobee has joined #zope3-dev18:21
*** El-Rolando has quit IRC18:21
*** El-Rolando has joined #zope3-dev18:21
*** alecm has quit IRC18:23
*** jukart has quit IRC18:24
*** zagy has quit IRC18:24
*** jinty has quit IRC18:25
*** El-Rolando has left #zope3-dev18:28
*** BjornT_ has joined #zope3-dev18:29
*** benji has joined #zope3-dev18:30
*** benji_ has joined #zope3-dev18:35
*** benji_ has quit IRC18:37
*** BjornT has quit IRC18:44
*** jodok has quit IRC18:53
*** b52laptop has quit IRC18:57
*** norro has quit IRC18:57
*** niemeyer has quit IRC18:57
*** Aiste has quit IRC18:57
*** wrobel has quit IRC18:57
*** b52GM has quit IRC18:57
*** jukart has joined #zope3-dev19:02
*** Aiste has joined #zope3-dev19:03
*** niemeyer has joined #zope3-dev19:03
*** b52laptop has joined #zope3-dev19:08
*** jinty has joined #zope3-dev19:11
CrippsFXJ1m: yeah, that's what I thought too ... but for some strange reason, when I use setitem() on an instance of my COmputer object, i get complaints that it has no __parent__ attribute :/19:12
*** dobee_ has joined #zope3-dev19:13
*** b52GM has joined #zope3-dev19:16
*** jinty_ has joined #zope3-dev19:20
*** dobee has quit IRC19:30
*** jinty has quit IRC19:31
*** jukart has quit IRC19:36
*** schwendinger has quit IRC19:37
*** marianom has left #zope3-dev19:39
*** benji_ has joined #zope3-dev19:46
*** dobee has joined #zope3-dev19:54
*** BjornT has joined #zope3-dev20:03
*** alecm has joined #zope3-dev20:05
CrippsFXalthough, there are constraints on the object, and the container, but that shouldn't affect the machinery in this way ...20:05
*** romanofski has quit IRC20:07
*** RaFromBRC has joined #zope3-dev20:10
*** dobee_ has quit IRC20:11
*** grahal has quit IRC20:13
xbeanxVery odd CrippsFX20:16
*** BjornT_ has quit IRC20:28
CrippsFXcheckObject doesn't insert the objects being checked into the container they're being checked against, does it?20:30
*** grahal has joined #zope3-dev20:33
*** jinty_ has quit IRC20:42
*** jinty has joined #zope3-dev20:44
*** jinty_ has joined #zope3-dev20:55
*** zagy has joined #zope3-dev20:56
*** d2m has quit IRC20:57
*** ignas has quit IRC21:03
*** lisppaste6 has quit IRC21:06
*** jodok has joined #zope3-dev21:07
*** tarek has joined #zope3-dev21:08
*** jinty has quit IRC21:10
*** whit is now known as whit|out21:26
*** philiKON has joined #zope3-dev21:35
*** jfroche has quit IRC21:43
*** philiKON has quit IRC21:43
*** whit|out has joined #zope3-dev21:51
*** whit|out has quit IRC21:58
*** romanofski has joined #zope3-dev22:03
*** febb has joined #zope3-dev22:10
*** Aiste has quit IRC22:16
*** mgedmin has quit IRC22:18
*** sm is now known as sm-afk22:21
*** lisppaste6 has joined #zope3-dev22:23
*** sm-afk has quit IRC22:28
*** sm has joined #zope3-dev22:28
*** sm has joined #zope3-dev22:30
*** mgedmin has joined #zope3-dev22:30
CrippsFXhow do I manually add an object to a container via debugzope when both the container and the object have containment constraints? checkObject only checks the object, and setitem() from zope.app.container.contained won't proxy non-locatable objects with constraints.22:32
*** whit|out has joined #zope3-dev22:33
*** alga_ has quit IRC22:36
*** zagy has quit IRC22:42
*** mkerrin has quit IRC22:43
*** whit|out is now known as whit22:44
CrippsFXk. I'm gone home for the weekend. Feel free to answer my question if you know the answer, I'll check the irc logs first thing monday morning.22:48
*** xbeanx has quit IRC22:48
*** dunny has joined #zope3-dev22:58
*** zagy has joined #zope3-dev22:59
*** Jell-O-Fishi has joined #zope3-dev22:59
*** grahal has quit IRC23:13
*** febb has quit IRC23:13
*** RaFromBRC is now known as RaFromBRC|lunch23:13
*** grahal has joined #zope3-dev23:31
*** grahal has quit IRC23:38
*** philiKON has joined #zope3-dev23:39
*** mgedmin has quit IRC23:41
*** zagy has quit IRC23:51
*** jukart has joined #zope3-dev23:54
*** deo has quit IRC23:55

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