IRC log of #zope3-dev for Tuesday, 2008-02-12

*** HakTom has quit IRC00:15
*** bigkevmcd has joined #zope3-dev00:18
*** fcorrea has quit IRC00:28
*** rmarianski has quit IRC00:28
thrufloa) my error was due to recursive imports, b) i should have been writing a functional test anyway, c) must be time for bed00:36
*** rmarianski has joined #zope3-dev00:36
*** timte has quit IRC00:38
*** dobee has quit IRC00:38
*** AdnyGraybeal has joined #zope3-dev00:40
*** AdnyGraybeal has left #zope3-dev00:40
*** niemeyer has joined #zope3-dev00:49
*** mweichert has joined #zope3-dev00:52
*** philiKON has quit IRC00:53
*** thruflo has quit IRC00:58
*** rcrafton has quit IRC00:58
*** benji has quit IRC01:04
*** J1m has quit IRC01:20
*** mweichert has quit IRC01:21
*** jodok has quit IRC01:26
*** natea_ has joined #zope3-dev01:26
*** whit has joined #zope3-dev01:32
*** rmarianski has quit IRC01:40
*** norro has quit IRC01:43
*** supton has joined #zope3-dev01:46
*** pbugni has quit IRC01:55
*** natea_ has quit IRC01:58
*** natea_ has joined #zope3-dev02:03
*** natea_ has quit IRC02:03
*** natea_ has joined #zope3-dev02:05
*** natea_ has quit IRC02:05
*** natea_ has joined #zope3-dev02:05
*** natea_ has quit IRC02:11
*** dunny has quit IRC02:14
*** natea_ has joined #zope3-dev02:22
*** natea_ has quit IRC02:24
*** mcdonc_ has joined #zope3-dev02:27
*** redir has quit IRC02:27
*** malthe is now known as malthe|Zzz02:29
*** natea_ has joined #zope3-dev02:29
*** supton has quit IRC02:38
*** nathany has quit IRC02:44
*** dunny has joined #zope3-dev02:46
*** sp0cksbeard has quit IRC03:00
*** rocky is now known as rocky|away03:17
*** redir has joined #zope3-dev03:19
*** jsadjohnson has quit IRC03:26
*** danielblackburn has joined #zope3-dev03:28
*** natea_ is now known as natea03:29
*** reedobrien has joined #zope3-dev03:38
*** redir has quit IRC03:47
*** quodt has quit IRC03:49
*** salfield has quit IRC04:26
*** rcrafton has joined #zope3-dev04:26
*** jinty has quit IRC04:41
*** alecm_ has quit IRC04:41
*** alecm has joined #zope3-dev04:42
*** percious has joined #zope3-dev04:42
perciousanyone here familiar with repoze and grok?04:43
*** danielblackburn has quit IRC04:43
mcdonc_percious: back again eh?04:43
perciousim hopelessly addicted to my open source project04:43
perciousi wrote 600+ lines of code at work today too...04:43
perciousNameError: name 'OverflowWarning' is not defined04:44
mcdonc_percious: we all have problems like this...04:44
perciousi redid the repoze tutorial, and im still having problems04:44
perciousNameError: name 'OverflowWarning' is not defined04:44
mcdonc_percious: i may have misled you about python 2.5:
perciousut oh!04:45
mcdonc_it works "in theory" apparently04:45
perciousrepoze.grok does work under Python 2.5 but also runs under 2.404:45
perciousaccording to the dox04:45
mcdonc_indeed, it should04:45
mcdonc_percious: have you visited #grok yet?  it is a fairly active channel04:47
perciousyeah, ill go check it out04:48
lisppaste6percious pasted "repoze.grok" at
mcdonc_in fact there is someone else in there struggling with install issues and someone pointed him at (which i've not read)04:48
mcdonc_i really just pointed you at repoze.grok because you wanted paster stuff04:49
perciousand I still do04:50
mcdonc_i really think overflowwarning is just due to some package (apparently zope.interface) relying on py2.404:50
perciousi know, i did a easy_install -U zope.interface04:51
perciousand then i get pkg_resource errors04:51
mcdonc_ic... well, you could use py2.404:51
perciousi know...04:51
perciousi like 2.504:51
mcdonc_dont fight the framework... it will only hurt more... ;-)04:51
perciousso much faster04:52
mcdonc_except for all that time it doesnt actually work ;-)04:52
perciousbut setup is only a one time deal04:54
perciousdevelopment cycles are expensive04:54
*** Theuni_ has quit IRC05:18
*** rcrafton has quit IRC05:30
*** bigkevmcd has quit IRC05:34
*** niemeyer has quit IRC05:37
*** Theuni has joined #zope3-dev05:44
*** nitromaster has quit IRC05:46
lisppaste6percious pasted "grok zcml error" at
*** Theuni has quit IRC05:53
*** Theuni has joined #zope3-dev05:53
*** stub has joined #zope3-dev06:15
*** stub has quit IRC06:21
*** alecm has quit IRC06:40
*** whit has quit IRC06:49
*** percious has left #zope3-dev07:01
*** afd_ has joined #zope3-dev07:07
*** whit has joined #zope3-dev07:15
*** alecm has joined #zope3-dev07:25
*** `ro has joined #zope3-dev07:39
*** `ro has quit IRC07:54
*** reedobrien has quit IRC07:57
*** pcardune has quit IRC08:22
*** d2m has joined #zope3-dev08:22
*** alecm has quit IRC08:42
*** jukart has joined #zope3-dev08:54
*** hdima has joined #zope3-dev09:01
*** stub has joined #zope3-dev09:07
*** mweichert has joined #zope3-dev09:07
*** __mac__ has joined #zope3-dev09:13
*** __mac__ has left #zope3-dev09:14
*** jodok has joined #zope3-dev09:25
*** sorin has joined #zope3-dev09:32
*** sorin is now known as sorindregan09:32
*** afd_ has quit IRC09:38
*** timte has joined #zope3-dev09:45
*** timte has quit IRC09:59
*** timte has joined #zope3-dev10:13
*** harobed has joined #zope3-dev10:20
*** kobold has quit IRC10:23
*** maurits has joined #zope3-dev10:23
*** kobold has joined #zope3-dev10:23
*** pelle_ has joined #zope3-dev10:25
*** pelle_ has quit IRC10:26
*** pelle_ has joined #zope3-dev10:26
*** jodok has quit IRC10:31
*** yvl has joined #zope3-dev10:31
*** timte has quit IRC10:33
*** timte has joined #zope3-dev10:33
*** MJ has joined #zope3-dev10:36
*** toutpt has joined #zope3-dev10:44
*** afd_ has joined #zope3-dev10:46
*** markusleist has quit IRC10:49
*** jodok has joined #zope3-dev10:49
*** kursor has joined #zope3-dev10:49
*** thruflo has joined #zope3-dev10:56
*** malthe|Zzz has left #zope3-dev11:03
*** dobee has joined #zope3-dev11:04
*** quodt has joined #zope3-dev11:16
*** kursor has quit IRC11:22
*** goschtl has joined #zope3-dev11:29
*** kursor has joined #zope3-dev11:33
*** goschtl_ has joined #zope3-dev12:07
*** goschtl has quit IRC12:23
*** mcdonc_ has quit IRC12:25
*** agroszer has joined #zope3-dev12:28
*** MJ is now known as MJ|lunch12:38
*** dobee has quit IRC12:46
*** Rolando has joined #zope3-dev12:49
*** mkerrin has joined #zope3-dev12:50
*** dunny has quit IRC12:52
*** salfield has joined #zope3-dev12:57
*** Rolando has quit IRC13:16
*** MJ|lunch is now known as MJ13:32
*** projekt01 has joined #zope3-dev13:33
*** MJ has quit IRC13:34
*** rocky|away is now known as rocky13:34
*** ignas has joined #zope3-dev13:34
*** afd_ has quit IRC13:37
*** jodok has quit IRC13:40
*** jodok has joined #zope3-dev13:42
*** stub has quit IRC13:58
*** MJ has joined #zope3-dev14:02
*** markusleist has joined #zope3-dev14:21
*** toutpt has quit IRC14:26
*** alga has joined #zope3-dev14:30
*** pelle__ has joined #zope3-dev14:44
*** rcrafton has joined #zope3-dev14:57
*** redir has joined #zope3-dev15:00
*** pelle_ has quit IRC15:01
*** jodok has quit IRC15:11
tlotzeAssuming buildout related questions are not completely wrong here:15:11
tlotzeI've noticed some strange behaviour of the test runner's coverage option.15:12
*** ktwilight has quit IRC15:13
tlotzeI've run bin/test --coverage on a suite of doc tests, and it gave me some 70% of coverage for a particular code file.15:13
*** ktwilight has joined #zope3-dev15:14
tlotzeAfter adding a test for one of the uncovered pieces of code, I got less than 70% coverage for the same file, everything else being equal.15:14
agroszerSeems to happen sometimes that runs are not picked up15:14
tlotzeI found that now, one method was reported as uncovered that definitely executed in the test run (as evidenced by putting in a pdb, for example).15:15
tlotzeI could even reproduce the behaviour.15:15
agroszernoticed that too, usually in ftests15:15
agroszeryes, same here15:15
tlotzek, so it's not entirely me at least ;o)15:15
tlotzeWhat's the place to report this bug? The buildout tracker at launchpad?15:16
agroszeruhh, good question15:17
agroszerI have no idea whose fault it is15:17
agroszerbut I guess not buildout's15:17
tlotzeIt's most probably the recipe's, but I'm not sure where to report bugs against that.15:19
agroszerlet's try to drop a mail to the zope-dev list15:20
tlotzeI'll do that.15:20
tlotzeOTOH, there's also the distutils list which has a lot of buildout discussion. I think I'd prefer that one.15:21
*** afd_ has joined #zope3-dev15:26
*** faassen has joined #zope3-dev15:26
*** benji has joined #zope3-dev15:28
*** edgordon has quit IRC15:29
*** danielblackburn has joined #zope3-dev15:29
agroszerlet's see what happens15:29
tlotzelet's hope something happens ;o)15:30
tlotzeElse I might try to work my way through it on the weekend. Could be fun learning about how this tracing stuff is done in Python.15:31
*** toutpt has joined #zope3-dev15:32
*** pelle__ has quit IRC15:35
*** pelle_ has joined #zope3-dev15:36
*** ktwilight has quit IRC15:37
*** edgordon has joined #zope3-dev15:41
*** toutpt has quit IRC15:45
*** mweichert has quit IRC15:49
*** toutpt has joined #zope3-dev15:50
*** jpcw2002 has joined #zope3-dev15:55
*** ghendi has joined #zope3-dev15:55
*** jinty has joined #zope3-dev16:00
*** lucielejard has joined #zope3-dev16:02
*** J1m has joined #zope3-dev16:11
*** reedobrien has joined #zope3-dev16:11
*** ktwilight has joined #zope3-dev16:16
*** kursor has quit IRC16:19
*** redir has quit IRC16:19
*** sp0cksbeard has joined #zope3-dev16:33
*** ghendi has quit IRC16:36
*** natea has quit IRC16:48
*** dobee has joined #zope3-dev16:48
*** reedobrien has quit IRC16:50
*** sorindregan has quit IRC16:50
*** pcardune has joined #zope3-dev17:00
*** malthe has joined #zope3-dev17:01
maltheIs there a Zope-package equivalent to Ross Patterson's PDBDebugMode?17:02
*** philiKON has joined #zope3-dev17:07
*** redir has joined #zope3-dev17:10
*** danielblackburn has quit IRC17:14
*** MJ has quit IRC17:23
*** hdima has quit IRC17:24
*** rmarianski has joined #zope3-dev17:25
*** redir has quit IRC17:27
*** whit has quit IRC17:30
*** whit has joined #zope3-dev17:31
*** norro has joined #zope3-dev17:35
*** nathany has joined #zope3-dev17:37
*** edgordon has quit IRC17:44
*** edgordon_ has joined #zope3-dev17:44
*** danielblackburn has joined #zope3-dev17:45
*** dobee has quit IRC17:48
*** MJ has joined #zope3-dev17:55
*** pom-th has joined #zope3-dev17:58
*** niemeyer has joined #zope3-dev18:00
*** lapinferoce has joined #zope3-dev18:02
*** edgordon has joined #zope3-dev18:03
*** edgordon_ has quit IRC18:03
*** mcdonc has joined #zope3-dev18:04
*** afd_ has quit IRC18:10
*** afd_ has joined #zope3-dev18:10
*** redir has joined #zope3-dev18:10
*** jodok has joined #zope3-dev18:18
*** goschtl_ has quit IRC18:21
*** menesis has joined #zope3-dev18:22
*** pelle_ has quit IRC18:25
*** vahur has quit IRC18:26
*** timte has quit IRC18:26
*** danielblackburn has quit IRC18:31
*** malthe has quit IRC18:34
*** timte has joined #zope3-dev18:39
*** timte has quit IRC18:40
*** yvl has quit IRC18:41
*** pcardune has quit IRC18:45
* Theuni sighs18:46
TheuniI start to hate virtual machines.18:46
*** niemeyer_ has joined #zope3-dev18:47
*** dobee has joined #zope3-dev18:53
*** mgedmin has joined #zope3-dev18:54
*** povbot has joined #zope3-dev18:57
*** lapinferoce has quit IRC18:58
*** mcdonc is now known as mcdonc|breakfast19:01
*** projekt01 has quit IRC19:03
*** alga has quit IRC19:04
*** faassen has left #zope3-dev19:06
*** pbugni has joined #zope3-dev19:11
*** agroszer_ has joined #zope3-dev19:13
*** dobee has quit IRC19:14
*** agroszer has quit IRC19:14
*** agroszer_ is now known as agroszer19:18
*** toutpt has quit IRC19:20
*** bigkevmcd has joined #zope3-dev19:23
*** MJ has quit IRC19:31
*** maurits has quit IRC19:31
*** MJ has joined #zope3-dev19:31
*** markusleist has quit IRC19:33
*** lucielejard has quit IRC19:33
*** quodt has quit IRC19:35
*** menesis has quit IRC19:36
*** jsadjohnson has joined #zope3-dev19:46
*** jukart has quit IRC19:50
*** pbugni has quit IRC19:51
*** pom-th has quit IRC19:52
*** pbugni has joined #zope3-dev19:57
*** thruflo has quit IRC20:00
*** RaFromBRC has joined #zope3-dev20:01
*** pcardune has joined #zope3-dev20:02
*** edgordon has quit IRC20:06
*** edgordon_ has joined #zope3-dev20:06
*** danielblackburn has joined #zope3-dev20:12
*** pcardune has quit IRC20:18
*** menesis has joined #zope3-dev20:20
*** edgordon has joined #zope3-dev20:20
*** edgordon_ has quit IRC20:21
*** harobed has quit IRC20:21
*** lucielejard has joined #zope3-dev20:26
*** mgedmin has quit IRC20:31
*** jodok has quit IRC20:32
*** MJ has quit IRC20:32
*** jodok has joined #zope3-dev20:32
*** jinty has quit IRC20:33
*** dunny has joined #zope3-dev20:34
*** jodok has quit IRC20:34
*** jodok has joined #zope3-dev20:35
*** edgordon_ has joined #zope3-dev20:36
*** mgedmin has joined #zope3-dev20:38
*** stub has joined #zope3-dev20:39
*** stub has quit IRC20:39
*** edgordon_ has quit IRC20:40
*** quodt has joined #zope3-dev20:41
*** HakTom has joined #zope3-dev20:48
*** HakTom has quit IRC20:48
*** mkerrin has quit IRC20:50
*** edgordon has quit IRC20:55
*** ChrisW has joined #zope3-dev21:01
ChrisWTheuni: ayt?21:02
*** mcdonc|breakfast is now known as mcdonc21:02
ChrisWJ1m: ayt?21:02
ChrisWfailing that, *anyone* know how I can create an object in a FileStorage with a specific OID?21:02
ChrisW(I have a POSKeyError caused by a cross-db reference to an object which has since been deleted and packed away)21:03
ChrisWif I can re-create the object under the old oid in the target storage, then I can delete it from the source one and all will be good21:03
ChrisWfailing that, ideas how to delete the reference in the source storage would be greatfully received! :-)21:04
* mgedmin sympathises21:05
* ChrisW appreicates by cries anyway21:05
*** rlo has joined #zope3-dev21:09
*** ignas has quit IRC21:10
*** redir has quit IRC21:10
*** markusleist has joined #zope3-dev21:13
*** jpcw2002 has quit IRC21:16
*** b52laptop has quit IRC21:22
*** alecm has joined #zope3-dev21:29
*** agroszer has quit IRC21:36
J1mChrisW, you can carefully create an object, set it's _p_jar and _p_oid yourself, put it somewhere it will be referenced and commit.21:37
ChrisWah, okay21:38
ChrisWI've been trying a dance similar to that used to create the root21:38
ChrisWbut your method sounds easier ;-)21:38
ChrisWanother weirdity you might be interested in: if you access an object that refers to an object in another db, before any objects in that other db have been directly accessed, you get a KeyError on the storage name21:39
*** b52laptop has joined #zope3-dev21:41
J1msounds like a multidb bug21:41
*** jodok has quit IRC21:41
*** timte has joined #zope3-dev21:50
*** jodok has joined #zope3-dev21:53
*** jodok has quit IRC21:53
*** jodok has joined #zope3-dev21:54
ChrisWw00t - the dance in for creating the root worked for replacing the POSKeyError'ing OID22:05
*** rmarianski_ has joined #zope3-dev22:07
*** rmarianski has quit IRC22:07
*** rmarianski_ has quit IRC22:22
*** rmarianski has joined #zope3-dev22:25
*** timte has quit IRC22:29
*** timte has joined #zope3-dev22:31
*** tav_ has joined #zope3-dev22:31
*** tav has quit IRC22:34
*** mgedmin has quit IRC22:35
*** projekt01 has joined #zope3-dev22:38
*** d2m has quit IRC22:38
*** rmarianski has quit IRC22:44
*** rmarianski has joined #zope3-dev22:44
*** timte has quit IRC22:49
*** menesis has quit IRC22:49
*** timte has joined #zope3-dev22:51
*** romanofski has joined #zope3-dev22:52
*** danielblackburn has quit IRC22:55
*** flox has joined #zope3-dev23:05
*** bigkevmcd has quit IRC23:05
*** ChrisW has left #zope3-dev23:08
floxis there any facility to mount 2 or more ZODB?23:09
floxI've seen lovely.mount, but it seems quite empty...23:10
*** timte has quit IRC23:11
*** timte has joined #zope3-dev23:14
*** danielblackburn has joined #zope3-dev23:14
*** niemeyer_ has quit IRC23:15
floxActually it seems that lovely.mount is the appropriate package23:16
floxI will have a look at it23:17
*** sp0cksbeard has quit IRC23:23
*** sp0cksbeard has joined #zope3-dev23:25
*** brandon_rhodes has joined #zope3-dev23:27
brandon_rhodesI'm trying to use a ZEO.ClientStorage() instance to talk to my ZODB server that's behind my Plone 3, so that I can look at the raw data inside.23:28
brandon_rhodesBut when I give it "localhost" and the port #, it just hangs.23:28
brandon_rhodesDoes a hanging attempt to instantiate ClientStorage() mean anything in particular?23:28
brandon_rhodesI can "telnet" to localhost and the port, and get back a few characters that look like the beginning of a handshake.23:29
*** timte has quit IRC23:30
brandon_rhodesI've got "wait_timeout=3" at the moment in the hope that it would at least time out and return an error23:31
brandon_rhodesBut, it won't.23:31
brandon_rhodesHmm, doing logging.basicConfig() now at least prints an error23:34
brandon_rhodesThen, waits forever :-/23:34
*** timte has joined #zope3-dev23:34
brandon_rhodes"Bad handshake Z303"23:35
mcdoncbrandon_rhodes: mismatch in protocol version between client and server?23:40
brandon_rhodesmcdonc: Yes, it is.23:40
brandon_rhodesmcdonc: So now ... I guess I'll try downgrading to 3.0.3 ? :-)23:40
brandon_rhodeser, 3.323:40
mcdoncbrandon_rhodes: afaik, plone is using zodb 3.623:40
brandon_rhodesI guess the "0" is to allow two digits ... so 303 == 3.3 ?23:40
brandon_rhodesBut the protocol's still called "303"23:41
brandon_rhodesBut you're right, I've just got to use pre-3.823:41
*** romanofski has quit IRC23:41
brandon_rhodesNot all the way back to 3.3 like I thought for a second there23:41
mcdoncbrandon_rhodes: i suspect no one noticed that it broke and it's meant to be bw and fw compat23:42
brandon_rhodesThe ZEO/zrpc/ file has a list of "compatible protocols", and as a client, it's pretty much only willing to talk 30823:43
mcdoncthat's surprising23:44
*** rocky is now known as rocky|away23:45
brandon_rhodesSo I wonder if there's any way to have Grok keep using 3.8 while I somehow can import, for my own uses elsewhere in my code, < 3.0.823:45
brandon_rhodesI'm looking in my grok instance and I don't even see where versions get pinned23:45
mcdoncbrandon_rhodes: you can't install them side-by-side and have them both "active" at once, but you could a) look into setuptools multiversion support or b) create a virtualenv just for talking to plone23:47
brandon_rhodesWell, the difficultly is that I'd like to have my virtualenv run a Grok for me.23:47
mcdoncback to option a23:48
brandon_rhodesSo that I can have a lightweight Grok app that presents some data from the Plone in a static-ish site23:48
brandon_rhodesMultiversion support, eh? :-)23:48
brandon_rhodesIt seems the more and more I do these days, the more I wind up reading about setuptools :-)23:48
* brandon_rhodes will have to take those guys out for a beer the next time he sees them23:48
mcdoncphillip eby is your man23:49
brandon_rhodesThanks for the advice!23:52
* brandon_rhodes heads home23:52
*** brandon_rhodes has quit IRC23:52
*** timte has quit IRC23:52
*** timte has joined #zope3-dev23:55

Generated by 2.15.1 by Marius Gedminas - find it at!