IRC log of #zope3-dev for Friday, 2007-08-17

nerdalertsuch as ... tal:attributes="href context/@@someview?x=1&y=2"00:00
benjinerdalert: is the escaping biting you?00:01
benjiif so, you can do this:  tal:attributes="href structure context/@@someview?x=1&y=2"00:01
benjioh wait, I'm totally wrong00:02
benjino, you can't do that00:02
nerdalertoh, I didn't think to use structure.  my way of getting it to work was to define the url into a local var00:02
nerdalerttal:define="myurl context/@@someview/@@abs_url"00:02
benjioh; I misunderstood what you wanted, you should be able to do something like...00:03
nerdalertthen do my tal:attribtues="href string:$myurl?x=1&y=2"00:03
*** rlo has quit IRC00:03
benjital:attributes="href string:{context/@@someview/@@abs_url}?x=1&y=2", but I forget the exact syntax00:04
*** benji has quit IRC00:05
*** replicant is now known as hazma00:08
*** hazma is now known as hazmat00:08
spythonhi, I'd like one of the functions in my xmlrpc view to return some XML and i'd like to use ZPT for this.00:11
spythonnot fully sure how to do this...00:11
spythonsimply make the function return a ViewPageTemplateFile('...') ?00:12
*** replicant has joined #zope3-dev00:13
*** jodok has quit IRC00:17
*** rlo has joined #zope3-dev00:18
nerdalertbenji: okay, so I guess I do need to do it with string expressions.  thanks =)00:23
spythonhe aint here yo00:23
spython;)00:24
*** RaFromBRC|away is now known as RaFromBRC00:26
*** jodok has joined #zope3-dev00:27
*** dobee has joined #zope3-dev00:28
nerdalertoops =/00:28
*** b52laptop has joined #zope3-dev00:28
spythondont worry bout it, can happen the best00:29
*** pcardune has joined #zope3-dev00:29
nerdalertvery true00:29
*** pcardune has left #zope3-dev00:30
*** pcardune_ has joined #zope3-dev00:30
*** hazmat has quit IRC00:30
*** pcardune_ has left #zope3-dev00:30
*** enudracp has joined #zope3-dev00:32
*** dobee has quit IRC00:32
*** rlo has quit IRC00:34
*** nerdalert has quit IRC00:40
*** jsadjohnson has quit IRC00:40
*** niemeyer has quit IRC00:41
*** jodok has quit IRC00:51
*** reco has joined #zope3-dev00:57
*** niemeyer has joined #zope3-dev00:57
*** kali67_ has joined #zope3-dev01:09
*** Ariel_Calzada has joined #zope3-dev01:11
*** kali67 has quit IRC01:24
*** kali67 has joined #zope3-dev01:31
*** gstratton has quit IRC01:34
*** faassen has quit IRC01:38
*** sm has quit IRC01:39
*** jodok has joined #zope3-dev01:42
*** kali67_ has quit IRC01:48
*** J1m has quit IRC01:48
*** Ariel_Calzada has quit IRC01:48
*** hazmat_ has joined #zope3-dev01:49
*** enudracp has quit IRC01:58
*** replicant has quit IRC01:59
*** spython has quit IRC02:06
*** jodok has quit IRC02:06
*** jsadjohnson has joined #zope3-dev02:07
*** jodok has joined #zope3-dev02:16
*** jodok_ has joined #zope3-dev02:22
*** replicant has joined #zope3-dev02:23
*** hazmat_ has quit IRC02:34
*** jodok has quit IRC02:35
*** RaFromBRC is now known as RaFromBRC|away02:39
*** b52GM has quit IRC02:39
*** b52laptop has quit IRC02:40
*** jodok_ has quit IRC02:43
*** hazmat has joined #zope3-dev02:52
*** ChanServ sets mode: +o hazmat02:52
*** hazmat_ has joined #zope3-dev02:53
*** niemeyer has quit IRC02:58
*** kali67_ has joined #zope3-dev03:02
*** marianom has quit IRC03:08
*** replicant has quit IRC03:11
*** kali67 has quit IRC03:11
*** hazmat has quit IRC03:13
*** rocky|away has quit IRC03:16
*** kali67 has joined #zope3-dev03:22
*** pbugni has quit IRC03:29
*** RaFromBRC|away is now known as RaFromBRC03:30
*** kali67_ has quit IRC03:33
*** hazmat_ has quit IRC03:37
*** marianom has joined #zope3-dev03:52
*** RaFromBRC has quit IRC04:12
*** kali67 has quit IRC04:22
*** alecm has quit IRC04:33
*** jsadjohnson has quit IRC05:01
*** hazmat has joined #zope3-dev05:53
*** ChanServ sets mode: +o hazmat05:53
*** Ariel_Calzada has joined #zope3-dev05:54
edgordonare List widgets not usable in Five? i am getting that 'debug' AttributeError06:25
edgordonisn't there some way to add debug to the Z2 request?06:25
edgordoni guess it uses the z3 pagetemplate, instead of Five's ViewPageTemplateFile06:32
*** alecm has joined #zope3-dev06:34
*** rcrafton_ has quit IRC06:45
edgordonclarification, it is a list widget with Choice value types06:57
*** pbugni has joined #zope3-dev06:58
*** reco has quit IRC07:05
*** reco has joined #zope3-dev07:06
*** stub has joined #zope3-dev07:16
*** alecm has quit IRC07:17
*** alecm has joined #zope3-dev07:18
*** chacha_chaudhry has joined #zope3-dev07:32
*** chacha_chaudhry has quit IRC07:34
*** chacha_chaudhry has joined #zope3-dev07:35
*** alecm_ has joined #zope3-dev08:04
*** deo has quit IRC08:06
*** alecm has quit IRC08:22
*** alecm_ has quit IRC08:24
*** replicant has joined #zope3-dev08:32
*** Ariel_Calzada has quit IRC08:32
*** naro has joined #zope3-dev08:34
*** cursor has joined #zope3-dev08:40
*** baijum has joined #zope3-dev08:41
*** jukart has joined #zope3-dev08:42
*** hazmat has quit IRC08:49
*** replicant has quit IRC08:56
*** pbugni has quit IRC09:15
*** kali67 has joined #zope3-dev09:17
*** yvl has joined #zope3-dev09:24
*** sorin_ has joined #zope3-dev09:29
*** sorin_ is now known as sorindregan09:29
*** jfroche_ has quit IRC09:38
*** reco has quit IRC09:41
*** dobee has joined #zope3-dev09:47
*** romanofski has joined #zope3-dev09:49
*** gstratton has joined #zope3-dev10:01
*** kali67 has quit IRC10:10
*** timte has joined #zope3-dev10:13
*** greenman has joined #zope3-dev10:20
*** fil has left #zope3-dev10:21
*** baijum has quit IRC10:27
*** baijum has joined #zope3-dev10:28
*** jodok has joined #zope3-dev10:28
*** Jell-O-Fishi has quit IRC10:31
*** lmiller has quit IRC10:40
*** bigkevmcd has joined #zope3-dev10:42
*** greenman has quit IRC10:47
*** zagy has joined #zope3-dev10:47
*** projekt01 has joined #zope3-dev11:04
*** projekt01 has joined #zope3-dev11:07
*** tarek has joined #zope3-dev11:09
*** Ariel_Calzada has joined #zope3-dev11:13
*** kleist has joined #zope3-dev11:16
*** ghendi has joined #zope3-dev11:17
*** jfroche has joined #zope3-dev11:22
*** d2m has joined #zope3-dev11:22
afd_what could be the reason for this: http://paste.plone.org/16297 ? It's a file upload page, but the error only appears when there's a slow upload going on (something like 20 minutes upload time)11:24
wiggylooks like something is doing a write to the zodb on your download11:32
*** jodok has quit IRC11:55
*** jodok has joined #zope3-dev12:03
*** richardkan has joined #zope3-dev12:13
*** povbot` has joined #zope3-dev12:16
projekt01wiggy, ask dobee or jukart, why there is a transaction.commit() in media/event.py12:18
wiggyno idea12:18
projekt01I guess this is a workaround for something, could be that this is a problem on long running transactions12:19
*** ferrafox has joined #zope3-dev12:19
dobeeprojekt01: do we have a public media package??12:19
dobeewiggy: are you sorin?12:21
wiggylast time I checked I was wiggy12:21
*** junkafarian has joined #zope3-dev12:22
projekt01wiggy, Sorry, I'm wrong I was thinking you are a lovely system guy and you where asking for the media package from them.12:23
wiggyas lovely as I may be at times I'm not a lovely systems guy :)12:24
*** b52laptop has joined #zope3-dev12:24
projekt01;-)12:25
*** Ariel_Calzada has quit IRC12:30
*** spython has joined #zope3-dev12:35
*** MJ has joined #zope3-dev12:49
*** dunny has joined #zope3-dev12:50
*** jfroche has quit IRC12:54
*** mkerrin has joined #zope3-dev13:02
*** goschtl has joined #zope3-dev13:12
*** stub has quit IRC13:22
*** ferrafox has quit IRC13:25
*** reco has joined #zope3-dev13:38
*** yvl has quit IRC13:49
*** ferrafox has joined #zope3-dev13:49
*** ferrafox has quit IRC14:00
*** goschtl has quit IRC14:08
*** norro has joined #zope3-dev14:11
*** ferrafox has joined #zope3-dev14:13
*** Newfie2007 has joined #zope3-dev14:17
*** cursor has quit IRC14:21
*** dobee has quit IRC14:31
*** cursor has joined #zope3-dev14:32
*** jsadjohnson has joined #zope3-dev14:35
*** mrevoir has quit IRC14:36
*** spython has quit IRC14:39
*** norro has quit IRC14:43
*** ghendi has quit IRC14:44
*** dobee has joined #zope3-dev14:54
*** chacha_chaudhry has quit IRC14:57
*** hazmat has joined #zope3-dev14:57
*** ChanServ sets mode: +o hazmat14:57
*** stub has joined #zope3-dev15:09
*** reco has quit IRC15:13
*** reco has joined #zope3-dev15:16
*** hazmat has quit IRC15:27
*** replicant has joined #zope3-dev15:27
*** MJ is now known as MJ|lunch15:33
*** benji has joined #zope3-dev15:43
*** replicant has quit IRC15:49
*** cursor has quit IRC15:52
*** MJ|lunch is now known as MJ15:56
*** rcrafton has joined #zope3-dev15:59
*** Aiste has quit IRC16:00
*** redir has joined #zope3-dev16:01
*** mgedmin has joined #zope3-dev16:02
*** replicant has joined #zope3-dev16:08
*** rlo has joined #zope3-dev16:11
*** jsadjohnson has quit IRC16:13
*** elro has joined #zope3-dev16:15
*** redir has quit IRC16:18
elroIs it possible to remove an event registration for a subclass?16:21
elroand also, is it possible to unimplement an Interface in a subclass?16:22
* elro is trying to get a load of zope2 functionality and override stuff with adapters, but his superclass is implementing too much16:24
*** jsadjohnson has joined #zope3-dev16:25
wiggysounds like #z3-base would be a better channel for you :)16:25
*** afd_ has quit IRC16:26
elro:-)16:26
wiggylook at the zope.component README.txt16:27
wiggyand perhaps zope.interface16:27
*** niemeyer has joined #zope3-dev16:35
*** nikhil_n has joined #Zope3-dev16:35
*** rlo is now known as redir16:35
*** Aiste has joined #zope3-dev16:36
*** povbot has joined #zope3-dev16:39
*** stub has quit IRC16:43
*** hazmat_ has joined #zope3-dev16:49
*** rocky has joined #zope3-dev16:57
*** sorindregan has quit IRC17:00
*** hazmat has joined #zope3-dev17:03
*** ChanServ sets mode: +o hazmat17:03
*** replicant has quit IRC17:07
*** timte has quit IRC17:18
*** jfroche has joined #zope3-dev17:19
*** hazmat_ has quit IRC17:20
*** matdoc has joined #zope3-dev17:23
wiggyany of the zalchemy people here?17:28
*** srichter has joined #zope3-dev17:31
*** ChanServ sets mode: +o srichter17:31
*** timte has joined #zope3-dev17:34
*** replicant has joined #zope3-dev17:37
*** hazmat has quit IRC17:45
*** jfroche has quit IRC17:45
*** jfroche has joined #zope3-dev17:46
*** srichter has quit IRC17:46
*** replicant is now known as hazmat17:46
*** ChanServ sets mode: +o hazmat17:46
*** baijum has quit IRC17:47
*** jodok has quit IRC17:48
*** dobee has quit IRC17:56
*** dobee has joined #zope3-dev18:07
*** romanofski has quit IRC18:16
*** gstratton has left #zope3-dev18:25
*** dobee has quit IRC18:26
*** dobee has joined #zope3-dev18:28
*** dobee has quit IRC18:30
*** zagy has quit IRC18:32
*** replicant has joined #zope3-dev18:40
*** jfroche has quit IRC18:42
*** hazmat has quit IRC18:49
*** alecm has joined #zope3-dev18:56
*** markusleist has quit IRC19:00
*** hazmat_ has joined #zope3-dev19:00
*** pbugni has joined #zope3-dev19:05
*** projekt01 has left #zope3-dev19:06
*** replicant has quit IRC19:18
*** replicant has joined #zope3-dev19:18
*** srichter has joined #zope3-dev19:18
*** MJ has quit IRC19:19
*** pcardune has joined #zope3-dev19:27
*** hazmat_ has quit IRC19:28
*** jukart has quit IRC19:34
pcardunehello, can anyone inform me how I could grab the request object associated with the currently running thread? (i.e out of thin air) (or maybe an example to look at)19:38
*** elro has quit IRC19:45
*** rlo has joined #zope3-dev19:46
*** romanofski has joined #zope3-dev19:47
*** romanofski has joined #zope3-dev19:47
mgedminpcardune: you could pry it out of getInteraction()19:48
mgedminloop through its participations and see whether one of them provides IBrowserRequest19:49
pcardunemgedmin: thanks, I'll try that19:49
mgedmingetInteraction comes from zope.security.interaction, iirc19:49
pcardunegood to know19:49
*** sm has joined #zope3-dev19:49
*** redir has quit IRC19:54
*** ChanServ sets mode: +o srichter19:56
*** Ariel_Calzada has joined #zope3-dev19:59
*** ccomb has quit IRC20:07
*** RaFromBRC has joined #zope3-dev20:10
*** ferrafox_ has joined #zope3-dev20:14
*** nikhil_n has left #Zope3-dev20:23
*** b52laptop has quit IRC20:24
*** mkerrin has quit IRC20:29
*** elro has joined #zope3-dev20:29
*** ferrafox has quit IRC20:30
*** bigkevmcd has quit IRC20:30
*** dobee has joined #zope3-dev20:38
*** faassen has joined #zope3-dev20:42
*** ferrafox_ has quit IRC20:43
*** junkafarian is now known as them20:45
*** them is now known as junkafarian20:46
*** dobee has quit IRC20:46
*** cbcunc has joined #zope3-dev20:47
*** fcorrea has joined #zope3-dev20:50
*** Newfie2007 has quit IRC20:50
*** dobee has joined #zope3-dev20:52
*** dobee has quit IRC20:53
*** richardkan has quit IRC20:53
*** edgordon has quit IRC20:54
*** elro has quit IRC20:56
*** rlo has quit IRC21:15
*** junkafarian has quit IRC21:15
*** derek_richardson has quit IRC21:18
*** agroszer has joined #zope3-dev21:19
*** redir has joined #zope3-dev21:23
*** agroszer has quit IRC21:23
pcardunemgedmin: if you are so inclined to answer a second question:  I'm trying to write a test for a function that grabs the request form the interaction, but how do participations get associated with a request object?  I only see principal and interaction as its attributes21:26
*** stub has joined #zope3-dev21:28
pcarduneor maybe the request can act as the "principal"21:29
*** dobee has joined #zope3-dev21:31
*** Jell-O-Fishi has joined #zope3-dev21:36
*** Ariel_Calzada has quit IRC21:37
*** jsadjohnson has quit IRC21:37
*** redir has quit IRC21:41
mgedminpcardune: newInteraction(request=TestRequest()) in your test's setUp21:43
mgedminIIRC21:43
mgedminI haven't done that in a while21:43
pcarduneaaah, i'll try it out, thanks21:43
mgedmin        >>> endInteraction()21:43
mgedmin        >>> newInteraction(request)21:43
mgedminis what I can find in some of my tests21:43
mgedminand a restoreInteraction() at the very end21:44
*** dobee has quit IRC21:44
mgedminall these are imported from zope.security.management21:44
mgedminthe request is a TestRequest()21:44
mgedminand IIRC a request has a .setPrincipal method21:44
*** redir has joined #zope3-dev21:45
*** mgedmin has quit IRC21:45
*** aelkner has left #zope3-dev21:47
*** kleist has quit IRC21:48
*** kleist has joined #zope3-dev21:49
*** faassen has quit IRC21:51
*** dobee has joined #zope3-dev21:53
*** elro has joined #zope3-dev21:57
*** Jell-O-Fishi has quit IRC21:59
*** stub has quit IRC22:12
*** redir has quit IRC22:25
*** spython has joined #zope3-dev22:28
*** redir has joined #zope3-dev22:30
*** redir has quit IRC22:31
*** redir has joined #zope3-dev22:31
*** redir has quit IRC22:37
*** Ariel_Calzada has joined #zope3-dev22:39
*** redir has joined #zope3-dev22:40
*** Jell-O-Fishi has joined #zope3-dev22:44
*** redir has quit IRC22:49
*** redir has joined #zope3-dev22:50
*** redir has quit IRC22:52
*** redir has joined #zope3-dev22:53
spythonany hints on how to setup a container to store a bunch of content objects and to make it as easy as possible to get all of them ordered by date (newest first)22:54
*** derek_richardson has joined #zope3-dev22:55
spythonit'd be nice to just do mycontainer.values() and I'd get a list of my objects in dateorder22:55
*** rlo has joined #zope3-dev23:03
*** RaFromBRC has quit IRC23:05
*** edgordon has joined #zope3-dev23:09
*** redir has quit IRC23:10
*** kali67 has joined #zope3-dev23:10
*** kali67 has quit IRC23:13
*** kali67 has joined #zope3-dev23:15
*** b52laptop has joined #zope3-dev23:18
*** pcardune has quit IRC23:28
*** edgordon has quit IRC23:35
*** edgordon has joined #zope3-dev23:37
*** d2m has left #zope3-dev23:40
*** edgordon has quit IRC23:43
*** romanofski has quit IRC23:45
*** elro has quit IRC23:50
*** salfield has joined #zope3-dev23:56

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