IRC log of #zope3-dev for Thursday, 2007-05-31

*** greenman has joined #zope3-dev00:06
*** RaFromBRC|lunch is now known as RaFromBRC00:15
*** foxmjay has joined #zope3-dev00:22
*** dobee has quit IRC00:28
*** nerdalert has quit IRC00:29
*** dobee has joined #zope3-dev00:30
*** philiKON has quit IRC00:30
*** J1m has quit IRC00:31
*** d2m has left #zope3-dev00:33
*** roym has joined #zope3-dev00:36
*** lisppaste6 has quit IRC00:37
*** philiKON has joined #zope3-dev00:37
*** strichter has joined #zope3-dev00:38
*** srichter has quit IRC00:39
*** strichter is now known as _srichter00:39
*** _srichter is now known as srichter00:39
*** ChanServ sets mode: +o srichter00:39
*** lisppaste6 has joined #zope3-dev00:47
*** jukart has quit IRC00:55
*** sm has joined #zope3-dev00:56
*** yota has quit IRC00:58
*** dobee has quit IRC01:04
*** grahal has joined #zope3-dev01:17
*** jfroche has joined #zope3-dev01:18
*** zagy_ has joined #zope3-dev01:23
*** zagy has quit IRC01:23
*** bigkevmcd has quit IRC01:23
*** ktwilight has quit IRC01:29
*** philiKON has quit IRC01:32
*** alga has quit IRC01:36
*** pelle_ has quit IRC01:46
*** b52laptop has quit IRC01:50
*** b52laptop has joined #zope3-dev01:50
*** elro has joined #zope3-dev01:50
*** salfield has quit IRC01:55
*** greenman has quit IRC01:59
*** elro has quit IRC02:05
*** Jell-O-Fishi has quit IRC02:21
*** sm has quit IRC02:26
*** benji has quit IRC02:28
*** whit has quit IRC02:38
*** meatballhat has quit IRC02:40
*** meatballhat_ has joined #zope3-dev02:40
*** jfroche has quit IRC02:53
*** meatballhat_ has quit IRC03:09
*** meatballhat_ has joined #zope3-dev03:09
*** foxmjay has quit IRC03:20
*** wrobel has quit IRC03:23
*** grahal has quit IRC03:42
*** greenman has joined #zope3-dev04:00
*** RaFromBRC has quit IRC04:51
*** dunny has quit IRC05:24
*** niemeyer has quit IRC05:49
*** roym has quit IRC06:15
*** afd has joined #zope3-dev06:41
*** sm has joined #zope3-dev06:44
*** alecm has joined #zope3-dev06:52
*** b52GM has quit IRC07:01
*** CSWookie has quit IRC07:01
*** CSWookie has joined #zope3-dev07:06
*** b52GM has joined #zope3-dev07:12
*** baijum has joined #zope3-dev07:14
*** b52GM has quit IRC07:18
*** b52GM has joined #zope3-dev07:18
*** b52GM has quit IRC07:22
*** b52GM has joined #zope3-dev07:40
*** b52GM has quit IRC07:47
*** b52GM has joined #zope3-dev07:47
*** b52GM has quit IRC07:52
*** b52GM has joined #zope3-dev07:53
*** dunny has joined #zope3-dev08:04
*** dobee has joined #zope3-dev08:25
*** baijum has quit IRC08:29
*** baijum has joined #zope3-dev08:38
*** jukart has joined #zope3-dev08:43
*** zagy_ has quit IRC09:05
*** zagy has joined #zope3-dev09:06
*** stub has joined #zope3-dev09:11
*** sorin has joined #zope3-dev09:14
*** sorin is now known as sorindregan09:14
*** schwendinger has joined #zope3-dev09:19
*** tarek has quit IRC09:20
*** timte has joined #zope3-dev09:21
*** jodok has quit IRC09:32
*** bigkevmcd has joined #zope3-dev09:39
*** greenman has quit IRC09:45
*** jodok has joined #zope3-dev09:53
*** romanofski has joined #zope3-dev09:54
*** wrobel has joined #zope3-dev09:58
*** jodok has quit IRC09:59
*** philiKON has joined #zope3-dev10:02
*** yvl has joined #zope3-dev10:07
*** jodok has joined #zope3-dev10:10
*** tarek has joined #zope3-dev10:14
*** harobed has joined #zope3-dev10:14
*** yota has joined #zope3-dev10:17
*** wrobel has quit IRC10:19
*** alecm has quit IRC10:20
*** pelle_ has joined #zope3-dev10:22
*** lzdych has joined #zope3-dev10:25
*** naro has joined #zope3-dev10:28
*** wrobel has joined #zope3-dev10:30
*** d2m has joined #zope3-dev10:42
*** henri_ has joined #zope3-dev11:03
*** philiKON has quit IRC11:15
*** philiKON has joined #zope3-dev11:15
*** Aiste_ has joined #zope3-dev11:16
*** Aiste has quit IRC11:19
*** ka-jod has joined #zope3-dev11:20
*** ghendi has joined #zope3-dev11:24
*** projekt01 has joined #zope3-dev11:24
*** Aiste_ is now known as Aiste11:39
*** stub has quit IRC11:50
*** dobee has quit IRC11:54
*** jukart has quit IRC11:54
*** dobee has joined #zope3-dev11:54
*** jukart has joined #zope3-dev11:54
*** jodok_ has joined #zope3-dev11:54
*** jodok has quit IRC11:55
*** jukart_ has joined #zope3-dev11:58
*** dobee_ has joined #zope3-dev11:58
*** dobee has quit IRC11:58
*** jukart has quit IRC11:58
*** jodok_ has quit IRC11:59
*** jodok has joined #zope3-dev11:59
*** schwendinger has quit IRC12:09
*** greenman has joined #zope3-dev12:29
*** Aiste has quit IRC12:39
*** greenman has quit IRC12:44
*** greenman has joined #zope3-dev12:47
*** dobee_ has quit IRC13:19
*** dobee has joined #zope3-dev13:20
*** mkerrin has joined #zope3-dev13:20
projekt01dobee, ayt?13:33
*** Aiste has joined #zope3-dev13:34
*** dunny has quit IRC13:36
*** ignas has joined #zope3-dev13:36
dobeeprojekt01: now14:11
*** tarek has quit IRC14:13
projekt01dobee, is it possible to remove the dependecy of resourcelibrary in zc.table?14:13
dobeeprojekt01: hm, i dunno, i didn't use it14:24
dobeebut i think you could remove the dep. with the same pattern z3c.widget.tiny uses14:25
dobeeprojekt01: it is conditional there14:25
*** Jell-O-Fishi has joined #zope3-dev14:25
*** tarek has joined #zope3-dev14:33
projekt01dobee, ok thanks14:34
*** MJ has joined #zope3-dev14:34
timteare folks usually using for migration of zodb to newer versions of your software or are there other more useful ways?14:34
projekt01timte, generations are fine14:34
timteok, thanks14:35
projekt01But, you need to have a initial generation version set in the instance before you can apply other migrations.14:35
projekt01This means you have to start a t least the Server with a generation 0 before you can apply with a higher "real" generation14:36
timteyeah, read that in marius howto14:37
*** rocky|away is now known as rocky14:37
timtecan I disable automatic execution of the evolve scripts and execute it manually instead?14:38
projekt01timte, I guess this depends on the minimum_generation versions you define (or something like that)14:41
*** run|home has joined #zope3-dev14:45
*** pelle_ has joined #zope3-dev14:45
*** Newfie2007 has joined #zope3-dev14:53
*** elro has joined #zope3-dev14:56
*** grahal has joined #zope3-dev14:58
*** wrobel has quit IRC15:01
CrippsFXgood morning world.15:04
*** xbeanx has joined #zope3-dev15:08
*** wrobel has joined #zope3-dev15:14
*** benji has joined #zope3-dev15:17
CrippsFXmorning benji. How's the wife and kids?15:20
*** afd has quit IRC15:29
*** niemeyer has joined #zope3-dev15:36
*** MJ is now known as MJ|brb15:38
*** schwendinger has joined #zope3-dev15:38
*** tonico has joined #zope3-dev15:42
*** schwendinger_ has joined #zope3-dev15:47
*** jfroche has joined #zope3-dev15:47
*** greenman has quit IRC15:48
zagyan includeOverrides should override an adapter registration, shouldn't it15:49
srichterzagy: yes, but not subscribers15:49
zagyor what exactly does includeOverrides do15:49
zagyall i want is a custom namechooser15:49
zagydoes it matter when/where the includeOverrides occours?15:50
ignaszagy: it would be a lot better having a specific container15:51
ignasand registering a more specific name chooser for that container15:51
ignasrather than using overrides15:51
zagyoh well15:53
zagyit might be an idea to not include at all15:53
*** schwendinger_ has quit IRC15:56
*** elro has quit IRC16:01
ignaszagy: why not do it properly?16:01
*** MJ|brb is now known as MJ16:02
zagyignas: i just find it disturbing to get an error and not knowing why16:03
ignaswhat error?16:03
zagyconfiguration conflict16:04
zagydespite an override16:04
ignaslisppaste6: url16:04
lisppaste6To use the lisppaste bot, visit and enter your paste.16:04
ignaspaste the traceback16:04
CSWookieWe have a bot?  Heh.16:05
*** schwendinger has quit IRC16:05
zagyignas: i already remove all the override stuff again16:06
*** jukart_ has quit IRC16:07
*** dobee has quit IRC16:07
*** jodok_ has joined #zope3-dev16:07
*** dobee has joined #zope3-dev16:07
*** jodok has quit IRC16:07
*** jukart has joined #zope3-dev16:07
*** meatballhat_ is now known as meatballhat16:10
*** yvl has quit IRC16:17
*** cbcunc has joined #zope3-dev16:21
CrippsFXhey, is it possible to have multiple sub-sites? i.e. I have a main site that different departments sign in to ... each deprtment has it's own site. On one department's site, I want to have another sub-site for a given sub-set of information.16:28
*** tarek has quit IRC16:30
*** baijum has quit IRC16:41
*** grahal_ has joined #zope3-dev16:44
*** grahal_ has joined #zope3-dev16:45
projekt01CrippsFX, see z3c.layer.trusted if you need to traverse over a (parent) site which you not have access to.16:47
projekt01This "trusted" traverser configuration allows you to traverse over a site to a subsite which you don't ahve access.16:47
*** whit has joined #zope3-dev16:50
CrippsFXprojekt01: well, I only want to have access to said site from the dept. site, so I don't think "trusted" is what I'm looking for, but you did answer my question. :)16:52
*** natea|linuxtag has joined #zope3-dev16:54
*** derek|office is now known as dere_richardson16:55
*** dere_richardson is now known as derek_richardson16:55
projekt01CrippsFX, you only need the trusted traverser if your principals are only define in the sub site, but not in the parent site.16:55
*** tarek has joined #zope3-dev17:01
*** stub has joined #zope3-dev17:02
*** grahal has quit IRC17:03
*** Jell-O-Fishi has quit IRC17:05
CrippsFXprojekt01: yeah, my principals are defined on the domain, so they will usually have "view" rights for everything under the main site.17:05
CrippsFX..well ... once I figure out how to make principals based on domain authentication ;)17:06
*** nerdalert has joined #zope3-dev17:10
xbeanxOne YOU figure out?  :P17:14
benjiCrippsFX: are you authenticating against a Windows domain?17:18
benjiif so, look at zc.winauth, it might do what you want or be a starting point for you.17:18
CrippsFXxbeanx: okay, once YOU figure it out.17:20
CrippsFXxbeanx: and listen to benji, he knows what's going on ;)17:20
CrippsFXthanks benji17:20
xbeanxthanks benji17:20
xbeanxIs there any general description of the zc. and z3c. packages anywhere?17:21
xbeanxI see a lot of them but don't know what half of them do.17:21
*** jodok_ has quit IRC17:25
*** whit has quit IRC17:26
benjimany are in the cheeseshop, but many older ones (like zc.winauth) were created in the pre-egg era and haven't been updated.  Looking through and reading README.txt files is the only fallback there17:27
*** jodok has joined #zope3-dev17:32
*** whit has joined #zope3-dev17:38
*** sorindregan has quit IRC17:41
*** ghendi has quit IRC17:41
*** timte has quit IRC17:42
*** natea|linuxtag has quit IRC17:42
*** mgedmin has joined #zope3-dev17:47
*** faassen has joined #zope3-dev17:48
*** J1m has joined #zope3-dev17:54
*** whit has quit IRC17:55
*** whit has joined #zope3-dev17:56
*** marianom has joined #zope3-dev17:57
*** run|home has quit IRC17:58
J1mfaassen, note the new buildout release.18:08
*** henri_ has left #zope3-dev18:14
* CrippsFX looks out the window at the beautiful scenery .... then farts.18:18
CSWookieCrippsFX: Thank you for sharing.18:19
faassenJ1m: I'll take a look.18:19
*** jbb666 has joined #zope3-dev18:19
J1mfaassen, with verbose output, it now shows you why it is including distributions.18:19
CrippsFXCSWookie: can't hide that6 sort of thing.18:19
CSWookieCrippsFX: Hmmm.18:20
faassenCrippsFX: well, hide it next time, please. thanks.18:20
CrippsFXfaassen: done :)18:20
faassenCrippsFX: not really conductive to what I'd say is an improved atmosphere. :)18:20
CrippsFXyeah ... sure doesn't help the work move along.18:21
* CrippsFX is off to continue coding.18:21
Theuni_ /win 1018:21
*** dobee has quit IRC18:21
faassenJ1m: cool, that's definitely going to help people.18:22
*** ccomb has left #zope3-dev18:23
*** ccomb has joined #zope3-dev18:26
*** natea|linuxtag has joined #zope3-dev18:30
*** meatballhat has left #zope3-dev18:36
*** elro has joined #zope3-dev18:36
*** jukart has quit IRC18:36
*** natea|linuxtag has quit IRC18:47
*** dobee has joined #zope3-dev18:47
*** stub has quit IRC18:51
*** meatballhat has joined #zope3-dev18:52
xbeanxrocky: can I PM you?18:52
rockyxbeanx: indeed18:52
*** srichter has quit IRC18:59
*** jodok has quit IRC19:01
*** projekt01 has quit IRC19:02
CSWookieDoes the global keyword in ZPT do what I think it does?  rebind some upscope name?19:05
*** tarek has quit IRC19:06
*** alecm has joined #zope3-dev19:12
*** jbb666 has quit IRC19:17
*** harobed has quit IRC19:17
*** Aiste has quit IRC19:21
*** BjornT_ has joined #zope3-dev19:21
*** BjornT has quit IRC19:21
*** philiKON has quit IRC19:24
*** jbb666 has joined #zope3-dev19:24
*** philiKON has joined #zope3-dev19:25
*** alga has joined #zope3-dev19:29
*** romanofski has quit IRC19:49
*** bigkevmcd has quit IRC19:59
*** jfroche has quit IRC19:59
*** elro has quit IRC19:59
*** tonico has quit IRC20:00
*** elro has joined #zope3-dev20:00
*** RaFromBRC has joined #zope3-dev20:05
CrippsFXI'm getting an error that I find exceedingly odd: "ImportError: No module named interfaces" ... this happens at "File "/home/acripps/zope/lib/python/computer/configure.zcml", line 7.4" ... line 7.4 is right before my first <class> directive ... and after the "configure" directive where I choose my xml namespaces for the document. Has this happened to anyone else before?20:16
*** sm is now known as sm-afk20:16
CrippsFXmy configure.zcml and my for zope/lib/python/computer are located here:
mgedminis there a in that directory?20:21
CrippsFXmgedmin: yep ... it's even non-empty.20:21
mgedmincan you import it from an interactive python session?20:21
CrippsFXthe __init__ or, the computer package?20:22
mgedminthe interfaces module20:22
*** philiKON has quit IRC20:22
CrippsFXjust a moment.20:22
mgedminor the computer module20:22
*** faassen has quit IRC20:23
CrippsFXmgedmin: nope. it doesn't like the interfaces. I can import the computer module, but computer.interfaces is a no go.20:23
xbeanxinterface="zope.annotation.IAttributeAnnotatable" is the correct declaration, isn't it?20:24
xbeanxoops, maybe not20:25
CrippsFXxbeanx: pg. 258 ;)20:25
xbeanxfunny, I have code that declares it as zope.annotation.IAttributeAnnotatable that actually works20:25
CrippsFXhm. I *could* give that a shot.20:26
CrippsFXI don't think it'll help though.20:26
CrippsFXnope. no help20:26
*** ignas has quit IRC20:29
*** jodok has joined #zope3-dev20:30
*** cbcunc has quit IRC20:33
*** alecm has quit IRC20:33
*** alecm has joined #zope3-dev20:34
CrippsFXmgedmin: hm. Doesn't appear to be a config problem ... it appears to be a python problem. weird.20:37
mgedminwell, if the module cannot be imported, you need to figure out why20:38
mgedmineither it cannot be found or some exception happens that prevents it from being imported20:38
CrippsFXmgedmin: actually, xbeanx is onto something ... I have a file called computer in the same directory, and the whole site package is called computer, so I should rename one of them.20:39
mgedminthat one must be fun20:39
CrippsFXyeah :P20:39
mgedminI learned this lesson when I had a local module named 'foo.calendar' and then wanted to import stdlib's calendar module for some constants20:40
CrippsFXgood thing that other sets of eyes can catch the things I miss20:40
mgedminthe very next svn checkin was "rename foo.calendar to"20:40
xbeanxsometimes I wish I had an extra set of eyes in my drawer that I could pop in during times like this......20:40
xbeanxthe worst is errors like "if x=y: the middle of 1500 lines of code20:41
CrippsFXxbeanx: ouch. That's happened to you before?20:41
xbeanxumm..  No, I've heard about it though20:42
xbeanxI don't make errors20:42
mgedminthere's obviously spaces missing around the '=', that's your problem20:42
xbeanxI just have a script that does everything for me, and it's proven correct...  # ./domywork20:43
mgedminactually, I stared at that line for 30 seconds and missing spaces were the only thing I noticed20:43
xbeanxI also have written # ./takeabreak and # ./playgames20:43
mgedminthe = versus == thing hit me much later20:43
xbeanxhaha, see mgedmin now stick that in the middle of 10 pages of code and see how long it takes to find it20:43
*** cbcunc has joined #zope3-dev20:43
CrippsFXmgedmin: yeah ... that's why it's a problem ;)20:44
mgedminthat's why proper spacing is Very Important20:46
mgedmin... and also test-driven development20:46
xbeanxand second eyes, sometimes20:49
CrippsFXsweet. I'm getting different errors now.20:49
*** jukart has joined #zope3-dev20:50
xbeanxwhat are you writing a random error generator or what?20:50
CrippsFXxbeanx: you betcha.20:52
CrippsFXactually, now it's bitchin' over IAttributeAnnotatble20:52
*** whit has quit IRC20:53
CrippsFXxbeanx: yep. it was a typo20:54
*** pelle_ has quit IRC20:54
*** whit has joined #zope3-dev20:55
*** whit is now known as whit|lunch21:05
*** jukart has left #zope3-dev21:09
*** rocky is now known as rocky|away21:12
*** jukart has joined #zope3-dev21:24
*** whit|lunch is now known as whitmo21:29
*** whitmo is now known as whit21:31
*** cbcunc has quit IRC21:31
*** dunny has joined #zope3-dev21:38
*** dunny has quit IRC21:53
*** philiKON has joined #zope3-dev21:57
*** Aiste has joined #zope3-dev22:00
*** lzdych has quit IRC22:00
*** dunny has joined #zope3-dev22:01
*** ka-jod has quit IRC22:02
*** timte has joined #zope3-dev22:07
CrippsFXhm. I ca view localhost:8080, but localhost:8080/@@contents gives me a system error. It's a ComponentLookupError. In my ipdb component I have a utility registered as "ipdb.Computer" but from the browser subpackage, I have ipdb.Computer used as a factory in my "addMenuItem" directive ... the error I'm getting is that "getUtility" is raising the componentLookupError. I know this is a configuration problem ... and a small one ... I jsut can't re22:13
CrippsFXmember how to fix it.22:13
*** philiKON has quit IRC22:20
*** philiKON has joined #zope3-dev22:23
*** yvl has joined #zope3-dev22:24
*** RaFromBRC is now known as RaFromBRC|lunch22:24
philiKONCrippsFX: you need an IFactory utility named 'ipdb.Computer'22:25
*** romanofski has joined #zope3-dev22:32
*** Newfie2007 has quit IRC22:32
*** alga has quit IRC22:39
philiKONJ1m: ping22:46
*** naro has quit IRC22:48
*** sm-afk is now known as sm22:50
*** tarek has joined #zope3-dev22:51
*** mgedmin has quit IRC22:58
*** pelle_ has joined #zope3-dev23:01
*** pelle_ has quit IRC23:03
J1mphiliKON, pong23:07
philiKONJ1m: so i'm adding PasteDeploy capabiilities to zope.server23:08
philiKONso that you can connect WSGIPUblisherApplication (or any other WSGI app) to zope.server via PasteDeploy23:08
J1mwhy zope.server?23:08
philiKONand not via
philiKONas an exercise23:08
*** meatballhat has left #zope3-dev23:08
philiKONalso, why not :)23:09
J1msomething about this doesn't make sense to me.23:09
philiKONyou were encouraging this the other day ;)23:09
J1mzope.server is just a wsgi server.23:09
J1mI encourage use of paste.Deploy.23:09
philiKONright, but you still need a function that pasteDeploy works with23:09
philiKONfor each server and wsgi app, pastedeploy wants a callable with a certain signature23:09
J1mYou need a "main" application.23:09
philiKONand that callable needs to be an entry point23:10
J1mOh sure.23:10
philiKONright, the name of entry point doesn't actually matter23:10
philiKONthe default is just "main"23:10
J1mAdding paste.Deploy entry points to zope.server makes sense. :)23:10
J1mIs that all you're talking about?23:10
philiKONso that's what i'm doing23:10
J1mah, ok23:10
philiKONanyway, my question is23:10
philiKONabout version numbering23:10
philiKONi obviously want to release a new zope.server egg23:11
philiKONhow do i increase the version number now?23:11
J1mIs this a trick question?23:11
philiKONwhat's the policy?23:11
philiKONi wish it was23:11
J1mDis you read the thread on the mailing list?23:12
J1mDid you read the thread on the mailing list?23:12
J1manyway, just increase the evrsion #.23:12
philiKONso it's 2.4.0b1 right now, this will beocme 2.4.1?23:12
philiKONis this not a feature?23:12
J1mIt's 2.4 now?23:12
J1mYou mean 3.4?23:12
J1mso It would become 3.5.23:13
J1mYou probably need to make a 3.4 branch.23:13
J1mOr maybe just release
J1mand tag it.23:13
J1mI doubt a branch is needed.23:13
* philiKON doubts too23:13
philiKONso, i wasn't sure whether we actually go ahead now and increase the major version23:14
J1mYou'd be increasing the minor version, I believe.23:14
* J1m needs to review version-number-compone nt-naming-jargon23:14
philiKONah, ok23:16
*** RaFromBRC|lunch is now known as RaFromBRC23:21
*** mkerrin has quit IRC23:24
derek_richardsonI'm in the unusual position of having cut my teeth on zope 3 without having done non-trivial work in zope 2. I have an application for zope 3.3 that I want to backport to zope 2.x (for some suitable value of x like 10). Is there documentation for going from z3->z2, instead of z2->z3? What's the best way to learn how to backport in this case?23:26
Theuni_"Five" is the technology to mix Zope 2 and Zope 3 code. It will also help you integrate your Zope 3 code into Zope 2.23:32
Theuni_If you're based on Zope 3.3 then you should be able to integrate it using Zope 2.10 as that is running Zope 3.3 as well.23:32
*** philiKON_ has joined #zope3-dev23:32
Theuni_You might want to update to the most current Five version that supports Zope 2.10 instead of the out-of-the-box version though.23:33
philiKON_they usually go hand in hand though23:33
*** jbb666 has quit IRC23:34
* derek_richardson is looking at now. Thanks.23:34
*** greenman has joined #zope3-dev23:35
*** philiKON has quit IRC23:36
*** antiretorte has joined #zope3-dev23:38
*** philiKON has joined #zope3-dev23:46
*** antiretorte has quit IRC23:46
*** antiretorte has joined #zope3-dev23:46
*** jukart has quit IRC23:48
*** dobee has quit IRC23:52
*** MJ has quit IRC23:52
*** philiKON_ has quit IRC23:53
*** antiretorte has quit IRC23:54
*** antiretorte has joined #zope3-dev23:54
*** greenman has quit IRC23:57
*** greenman has joined #zope3-dev23:57

Generated by 2.15.1 by Marius Gedminas - find it at!