IRC log of #zope3-dev for Friday, 2007-07-13

*** mgedmin has quit IRC00:02
*** natea|away has joined #zope3-dev00:07
*** redir has joined #zope3-dev00:07
*** thonyny has joined #zope3-dev00:08
*** thonyny has quit IRC00:08
*** d2m has quit IRC00:09
*** pandres has left #zope3-dev00:13
*** natea has quit IRC00:13
*** naro has quit IRC00:21
*** b52laptop has joined #zope3-dev00:22
*** natea|away_ has joined #zope3-dev00:22
*** natea|away has quit IRC00:28
*** theuni has joined #zope3-dev00:29
*** nerdalert has quit IRC00:30
*** benji has quit IRC00:32
*** rlo has joined #zope3-dev00:32
*** RaFromBRC|lunch is now known as RaFromBRC00:33
*** jukart_ has quit IRC00:33
*** niemeyer has quit IRC00:37
*** jpcw2002 has quit IRC00:39
*** _norro has quit IRC00:40
*** redir has quit IRC00:40
*** xenru has joined #zope3-dev00:44
*** natea|away_ is now known as natea00:45
*** eldar has quit IRC00:46
*** schwendinger_ has quit IRC00:51
*** theuni has left #zope3-dev00:54
*** pbugni has joined #zope3-dev00:56
*** fcorrea has quit IRC00:59
*** natea has quit IRC01:01
*** malthe|out has joined #zope3-dev01:01
*** malthe|out is now known as malthe01:02
*** rcrafton has quit IRC01:10
*** `ro has joined #zope3-dev01:14
*** dobee has quit IRC01:16
*** xenru has quit IRC01:23
*** jinty has quit IRC01:23
*** jodok has quit IRC01:26
*** rlo has quit IRC01:32
*** pcardune has quit IRC01:33
*** malthe is now known as malthe|Zzz01:35
*** tjs-zZz is now known as tjs01:39
*** jsadjohnson_ has joined #zope3-dev01:49
*** jsadjohnson has quit IRC01:49
nathanyi'm working on porting an app from Zope 2 to Zope 3 and need something like traverse_subpath02:08
nathany-- that is, i want to display a view on an object that isn't in the ZODB depending on what the path is02:09
nathanyany suggestions on what to look @ for doing this in Z3?02:09
*** nathany_ has joined #zope3-dev02:19
*** nathany has quit IRC02:20
*** nathany_ has quit IRC02:30
*** `ro has quit IRC02:43
*** pbugni has quit IRC02:49
*** jsadjohnson_ has quit IRC02:51
*** timte has quit IRC02:56
*** zenwryly has quit IRC02:59
*** jfroche has quit IRC03:06
*** J1m has quit IRC03:28
*** bjdevlin has quit IRC03:37
*** bjdevlin has joined #zope3-dev03:38
*** ktwilight_ has joined #zope3-dev03:53
*** RaFromBRC has quit IRC03:54
*** witsch has quit IRC04:08
*** ktwilight has quit IRC04:09
*** Ariel_Calzada has quit IRC04:16
*** huajie has joined #zope3-dev04:19
CSWookieActually, wait.04:32
CSWookieIt's complaining about trying to use sftp.04:32
*** febb has joined #zope3-dev04:43
febbhi !04:45
*** bigkevmcd has quit IRC04:49
*** natea_ has joined #zope3-dev05:47
*** alecm has quit IRC06:14
*** natea_ has quit IRC06:18
*** twcook has quit IRC06:24
*** chacha_chaudhry has joined #zope3-dev06:35
*** febb has quit IRC06:54
*** natea_ has joined #zope3-dev07:18
*** rcrafton has joined #zope3-dev07:25
*** baijum has joined #zope3-dev07:41
*** theuni has joined #zope3-dev07:49
*** cursor has joined #zope3-dev07:49
*** natea_ has quit IRC07:56
*** d2m has joined #zope3-dev08:01
*** baijum_ has joined #zope3-dev08:02
*** natea_ has joined #zope3-dev08:04
*** lmiller_ has joined #zope3-dev08:18
lmiller_Hi08:18
*** Aiste has joined #zope3-dev08:22
*** natea_ has quit IRC08:27
*** philiKON has quit IRC08:29
*** alecm has joined #zope3-dev08:32
*** alecm has quit IRC08:34
*** alecm has joined #zope3-dev08:35
*** stub has joined #zope3-dev08:37
*** sorin has joined #zope3-dev08:38
*** sorin is now known as sorindregan08:38
*** jukart has joined #zope3-dev08:40
tjslmiller_: hi08:42
tjslmiller_: how can we help you?08:42
*** febb has joined #zope3-dev08:47
*** jodok has joined #zope3-dev08:49
*** natea_ has joined #zope3-dev08:50
*** ghendi has joined #zope3-dev08:53
*** alecm has quit IRC08:57
*** dobee has joined #zope3-dev08:59
*** alecm has joined #zope3-dev09:00
*** jukart has quit IRC09:18
*** afd_ has joined #zope3-dev09:20
*** twcook has joined #zope3-dev09:22
*** tjs has quit IRC09:25
*** romanofski has joined #zope3-dev09:33
*** pelle_ has joined #zope3-dev09:34
romanofskimoin :)09:35
*** twcook has quit IRC09:42
*** afd__ has joined #zope3-dev09:45
*** niemeyer has joined #zope3-dev09:49
*** jinty has joined #zope3-dev09:53
*** MJ has joined #zope3-dev10:00
*** jinty has quit IRC10:02
*** schwendinger has joined #zope3-dev10:02
*** afd_ has quit IRC10:02
*** alecm has quit IRC10:03
*** chacha_chaudhry_ has joined #zope3-dev10:04
*** chacha_chaudhry_ has joined #zope3-dev10:05
*** dobee has quit IRC10:07
*** jukart has joined #zope3-dev10:07
*** jodok_ has joined #zope3-dev10:08
*** jukart has quit IRC10:15
*** chacha_chaudhry has quit IRC10:16
*** pcardune has joined #zope3-dev10:17
*** philiKON has joined #zope3-dev10:21
*** naro has joined #zope3-dev10:22
*** jodok has quit IRC10:25
*** jodok_ has quit IRC10:27
*** huajie has quit IRC10:28
*** huajie has joined #zope3-dev10:29
*** lmiller_ has quit IRC10:29
*** d2m has quit IRC10:29
*** ramonski has joined #zope3-dev10:31
*** markusleist has quit IRC10:32
*** ignas has joined #zope3-dev10:35
*** d2m has joined #zope3-dev10:35
*** jpcw2002 has joined #zope3-dev10:37
*** naro has quit IRC10:40
febbhey PhiliKON     how are you?10:40
philiKONhey10:40
philiKONgood, thank you10:40
*** jpcw2002 has left #zope3-dev10:40
febbgreat  ..... gusto en saludarte !   ;)10:40
*** jpcw2002 has joined #zope3-dev10:41
*** jinty has joined #zope3-dev10:43
*** jfroche has joined #zope3-dev10:45
*** Aiste has quit IRC10:54
*** bigkevmcd has joined #zope3-dev10:54
*** malthe|Zzz is now known as malthe10:57
*** dobee has joined #zope3-dev10:59
*** jukart has joined #zope3-dev11:00
*** jodok has joined #zope3-dev11:00
*** febb has quit IRC11:03
*** febb has joined #zope3-dev11:03
febbdamn... stupid ADSL went down.....11:03
febbphiliKON   have you had a chance to work with SQLalchemy + Zope3 ?11:04
philiKONa little11:04
febbwould you recommend sqlAlchemy ? as to work with postgresql + Zope3  or  you'd go plain vanilla python+psycopg .....11:05
febb?11:05
*** b52laptop has quit IRC11:09
*** norro has joined #zope3-dev11:18
*** theuni has quit IRC11:22
*** jukart has quit IRC11:23
*** jodok has quit IRC11:26
*** dobee has quit IRC11:26
*** tarek has joined #zope3-dev11:31
*** mgedmin has joined #zope3-dev11:33
*** febb has quit IRC11:33
*** chacha_chaudhry has joined #zope3-dev11:37
*** naro has joined #zope3-dev11:56
*** b52laptop has joined #zope3-dev12:02
*** witsch has joined #zope3-dev12:02
*** Jell-O-Fishi has joined #zope3-dev12:10
*** afd__ has quit IRC12:10
*** markusleist has joined #zope3-dev12:16
*** markusleist has joined #zope3-dev12:20
*** cursor has quit IRC12:22
*** richardkan has joined #zope3-dev12:34
*** afd_ has joined #zope3-dev12:37
*** naro has quit IRC12:42
*** afd_ has quit IRC12:47
*** afd_ has joined #zope3-dev12:50
*** mkerrin has joined #zope3-dev12:52
*** huajie has quit IRC12:55
*** dunny has quit IRC13:13
*** timte has joined #zope3-dev13:14
*** malthe has quit IRC13:24
*** tarek has quit IRC13:36
*** schwendinger has quit IRC13:36
*** twcook has joined #zope3-dev13:37
*** chacha_chaudhry has quit IRC13:43
*** witsch has quit IRC14:00
*** philiKON has quit IRC14:02
*** witsch has joined #zope3-dev14:06
*** niemeyer has quit IRC14:10
*** jinty has quit IRC14:19
*** MJ is now known as MJ|lunch14:20
*** jfroche has quit IRC14:23
*** J1m has joined #zope3-dev14:23
*** Ariel_Calzada has joined #zope3-dev14:26
*** J1m has quit IRC14:26
*** theuni has joined #zope3-dev14:27
*** afd___ has joined #zope3-dev14:35
*** ignas has quit IRC14:38
*** mgedmin has quit IRC14:39
*** pcardune has quit IRC14:40
*** schwendinger has joined #zope3-dev14:42
*** twcook has quit IRC14:48
*** afd_ has quit IRC14:52
*** benji has joined #zope3-dev15:00
*** zez_zez has joined #zope3-dev15:09
*** tarek has joined #zope3-dev15:19
*** theuni has quit IRC15:22
*** MJ|lunch is now known as MJ15:27
*** pcardune has joined #zope3-dev15:37
*** philiKON has joined #zope3-dev15:38
*** jfroche has joined #zope3-dev15:41
*** jfroche has joined #zope3-dev15:42
*** jsadjohnson has joined #zope3-dev15:46
*** baijum_ has quit IRC15:54
*** baijum has quit IRC15:55
*** jfroche has quit IRC15:56
bigkevmcdcan I point out that the "Changes" link on http://www.zope.org/Products/Zope3/3.4.0b1 actually links to the 3.3.1 tag?16:04
*** witsch has quit IRC16:07
*** witsch has joined #zope3-dev16:08
*** cursor has joined #zope3-dev16:11
*** jinty has joined #zope3-dev16:11
*** Newfie2007 has joined #zope3-dev16:14
*** jinty has quit IRC16:15
*** jinty has joined #zope3-dev16:15
*** ignas has joined #zope3-dev16:16
*** Ariel_Calzada has quit IRC16:17
*** twcook has joined #zope3-dev16:18
philiKONbigkevmcd: fixed16:21
bigkevmcd17 minutes...not bad :-)16:21
*** jsadjohnson has quit IRC16:29
*** MJ has quit IRC16:34
*** projekt01 has joined #zope3-dev16:41
*** J1m has joined #zope3-dev16:44
*** witsch_ has joined #zope3-dev16:58
*** natea_ has quit IRC17:02
*** sorindregan has quit IRC17:11
*** witsch has quit IRC17:13
*** mgedmin has joined #zope3-dev17:19
*** pelle_ has quit IRC17:24
*** pelle_ has joined #zope3-dev17:25
mgedminrunning the testrunner's own tests under --coverage is *tricky*17:29
*** ghendi has quit IRC17:37
*** ramonski has quit IRC17:41
*** philiKON has quit IRC17:42
*** philiKON has joined #zope3-dev17:44
*** pelle_ has quit IRC17:44
*** redir has joined #zope3-dev17:49
*** Ariel_Calzada has joined #zope3-dev17:52
*** nathany has joined #zope3-dev18:01
*** brandon_rhodes has joined #zope3-dev18:04
*** alecm has joined #zope3-dev18:08
*** pcardune has quit IRC18:17
*** pcardune has joined #zope3-dev18:27
*** romanofski has quit IRC18:34
* mgedmin tries to understand the difference between DocTestFailure and DocTestFailureException18:39
*** markusleist has quit IRC18:41
*** theuni has joined #zope3-dev18:43
*** zez_zez has quit IRC18:46
*** jukart has joined #zope3-dev18:48
*** Ariel_Calzada has quit IRC18:57
*** projekt01 has quit IRC19:01
*** theuni has quit IRC19:03
*** schwendinger has quit IRC19:06
*** jpcw2002 has quit IRC19:08
*** alecm has quit IRC19:09
nathanyis there an easy way to do the equivalent of traverse_subpath in Zope 3?19:13
nathanyi want to emulate a heirarchy of objects that are generated by our licensing code and don't live in the ZODB19:13
*** tarek has quit IRC19:15
*** schwendinger has joined #zope3-dev19:33
mgedminyou probably want to define a publishTraverse method in your view19:36
mgedminor register IBrowserPublisher multi-adapters for your content objects19:36
mgedminor define a custom __getitem__ in your content objects19:36
*** hazmat has quit IRC19:38
* mgedmin just committed revision 77877.19:38
X-screamhigh 5! :)19:39
nathanythanks19:42
mgedmingeneral announcement: check out zope.testing branch 'colorized-output'. Pass the -c flag to test.py to see the difference19:43
srichtermgedmin: yay!19:44
d2mmgedmin: curses or html ?19:44
mgedminhardcoded ansi color codes19:44
d2mheh19:44
*** reco has joined #zope3-dev19:44
mgedminI suppose I could use terminfo from curses19:45
mgedminI first made another branch, 'output-refactoring'19:45
*** stub has quit IRC19:45
d2mwhych terms are supported then ?19:45
mgedminit extracts all the output into a single class19:45
mgedminso you could write an HTML output class19:45
mgedminor a GUI with, say, pygtk19:45
mgedmind2m: all sane terms are supported19:46
mgedminalthough your definition of 'sane' might disagree with mine19:46
mgedminI don't expect anything useful on the win32 console, e.g.19:46
mgedminor the emacs shell mode19:47
* mgedmin wants to create a blog post with screenshots, but is too tired19:47
nathanymgedmin: if i define a custom __getitem__ on my object, do i just have it return some other object19:50
nathanyand Z3 will look up views for the returned object?19:50
mgedminyes19:51
nathanythanks19:51
mgedminbe sure to set __parent__ on your objects if you want the zope security to work19:52
mgedmin(without a valid __parent__ chain, users defined in the site won't get access to your object)19:52
nathanythese are really just public objects... no logins on this site19:53
nathanyi managed to get the publishTraverse working 90% like i wanted on the view19:54
nathanyis there a way to define a view as being *the* view for any path on an object?19:54
nathanyie, my object has an id of "licenses";19:55
nathanyideally /licenses/foo/bar and /licenses/blah/bar would all go to the same view, with the publishTraverse method19:55
*** b52laptop has quit IRC19:57
*** reco has quit IRC19:59
*** reco has joined #zope3-dev20:00
*** witsch_ has quit IRC20:03
mgedminhm20:03
mgedminyes20:03
mgedminplay with IBrowserPublisher adapters20:04
nathanythanks -- i'll take a look @ that20:04
mgedminit might be tricky, but if you look at the url traversal loop in the publisher, it'll become clearer20:04
mgedmincurrently I'm tired and my brain is unable to think about this20:05
nathany:)20:05
*** mgedmin has quit IRC20:05
nathanynp... thanks for the hints20:05
srichteractually, z3c.traverser might help20:05
srichteryou can take a traversal step and return the original object20:05
nathanysrichter: thanks -- looks like that's exactly what i want20:08
srichternathany: we build menus this way and it works pretty well20:09
*** jpcw2002 has joined #zope3-dev20:14
nathanysrichter: you mean you build out menus and then use a traversal adapter to dispatch the selection?20:26
srichteryes20:28
srichterso the menu might want something like: "/a/b/c"20:29
srichterbut physically, only "/c" exists20:29
*** sorin has joined #zope3-dev20:29
srichterthen you can very nicely use pluggable traversers to solve this problem20:29
srichterwithout interrupting other behavior20:29
*** sorin is now known as sorindregan20:30
*** hazmat has joined #zope3-dev20:30
*** ChanServ sets mode: +o hazmat20:30
nathanydo you need to register your puggable traverser in the zcml?20:30
srichteryeah20:31
srichteryou first need to register the pluggable traverser for the content component20:31
srichterthen a plugin for each thing you want to do20:31
*** jinty has quit IRC20:31
nathanythis is used in schooltool? looking at a concrete use might help me wrap my head around it20:31
srichterthe new cando skin does this20:32
srichterhttp://svn.schooltool.org/cando/trunk/src/cando/newskin/20:33
*** pcardune has quit IRC20:33
*** philiKON has quit IRC20:34
nathanythanks; i'll take a look @ that20:35
*** sorindregan has quit IRC20:42
nathanysrichter: i see where the traverser gets registered in configure.zcml; where do the actual plugins get registered?20:46
srichterlook for subscribers20:49
srichterproviding ITraversalPlugin or so20:50
*** jukart has quit IRC20:53
*** dobee has joined #zope3-dev20:54
*** ignas has quit IRC21:01
*** pbugni has joined #zope3-dev21:07
*** richardkan has quit IRC21:08
hazmatis there any way to check more than one condition on an include in zcml?21:09
srichterno21:09
srichterbut you can nest them21:09
srichter<package zcml:condition="">21:10
srichter(start over)21:10
srichter<configure zcml:condition="">21:10
srichter  <configure zcml:condition="">21:10
*** Aiste has joined #zope3-dev21:10
srichter    your stuff ...21:10
hazmatah.. cool21:10
hazmatthanks21:10
hazmatactually just using an unbound tag.. <check zcml:condition > nested works as well..21:11
hazmatbut your suggestion is cleaner21:11
*** redir has quit IRC21:11
nathanysrichter: does z3c.traverser require 3.4?21:14
srichterI am not sure21:15
srichterit probably works on 3.321:15
nathanyok21:15
ccombIt seems there are interesting things in z3c21:16
ccombBut is there any high-level summary of what all these modules can offer ?21:17
brandon_rhodesnathany: did you get the stuff working like you wanted?21:17
nathanybrandon_rhodes: eh, i'm working on it21:18
nathanyi think z3c.traverser is going to do exactly what i want, but having a few struggles w/ buildout21:18
brandon_rhodesnathany: well, drat.  I was going to show you the way I did it last week, but ... I used grok ... and this is the zope3-dev channel ... and I got confused between channels :-)21:18
nathany:)21:18
nathanyi looked @ grok... and saw Phillip's post on doing custom traversal with Grok21:19
*** schwendinger has quit IRC21:19
brandon_rhodesYeah, that's what I think I followed.21:19
brandon_rhodesNot having used Z3 or Grok before, it took me about five minutes to have working.21:19
nathanymaybe i should retool and fall back to that... i'm not far in21:19
nathanyactually, looking @ his example, the one wrinkle is that i don't want to show a different zodb/model object --21:20
nathanyi want to show an object that's not even zope-ified (or rather show a template, with that object accessible)21:20
nathanyi'll flail around a bit yet :)21:20
brandon_rhodesI think all the traverser has to do is return what will become the "context" for any views instantiated on that URL... but I may be speaking about something over my head :-)21:21
*** schwendinger has joined #zope3-dev21:22
nathany:)21:22
*** twcook has quit IRC21:28
*** projekt01 has joined #zope3-dev21:33
*** Aiste has quit IRC21:38
*** alecm has joined #zope3-dev21:40
*** alecm has quit IRC21:46
*** mkerrin has quit IRC22:00
*** Ariel_Calzada has joined #zope3-dev22:03
*** schwendinger has quit IRC22:08
*** Ariel_Calzada has quit IRC22:10
*** X-scream has left #zope3-dev22:12
*** Newfie2007 has quit IRC22:13
*** b52laptop has joined #zope3-dev22:14
*** markusleist has joined #zope3-dev22:18
*** cursor has quit IRC22:22
*** dunny has joined #zope3-dev22:31
*** markusleist has quit IRC22:33
*** markusleist has joined #zope3-dev22:35
*** alecm has joined #zope3-dev22:44
*** d2m has quit IRC23:04
*** whit has quit IRC23:10
*** brandon_rhodes has quit IRC23:36
*** nerdalert has joined #zope3-dev23:46
*** lucielejard has joined #zope3-dev23:51
*** redir has joined #zope3-dev23:59

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