IRC log of #zope3-dev for Friday, 2008-08-22

*** rmarianski has joined #zope3-dev00:11
mgedminpcardune: could you remind me the name of that buildout recipe for building ctags out of all the eggs?00:11
mgedminoh, z3c.recipe.tag00:12
srichtermgedmin: pcardune is on vacation; it's probably an accidently left open chat session ;-)00:14
mgedminsrichter: do you use ctags?00:14
mgedminthey're great for instant navigation00:15
mgedminexcept that splitting a large source tree into many eggs makes building a complete tags file difficult00:15
srichterI guess with a recipe that references all eggs it would work00:15
mgedminthis is a bit more difficult when you have multiple buildouts and when you don't want to modify any of the buildout.cfg files stored in subversion00:17
mgedminI guess a new tags.cfg file that explicitly extends one of the existing ones and references its eggs would work00:17
mgedmindunny: this is cool, but I don't trust symlinks00:23
mgedminI may accidentally start editing the same file via two different paths00:24
*** junkafarian has joined #zope3-dev00:30
*** sp0cksbeard has quit IRC00:34
*** jodok has quit IRC00:36
*** benji has quit IRC00:40
*** alga has joined #zope3-dev00:40
*** tarek has joined #zope3-dev00:42
*** yota has quit IRC00:43
*** basti_ has quit IRC00:44
*** jodok has joined #zope3-dev00:44
*** tarek has quit IRC00:51
*** redir has quit IRC00:54
*** tarek has joined #zope3-dev00:55
*** lu|sprintgodess has quit IRC01:01
*** harobed has joined #zope3-dev01:06
*** J1m has quit IRC01:11
*** lurkymclurkleton has quit IRC01:18
*** norro has quit IRC01:18
*** aclark|away is now known as aclark01:25
*** oggers has joined #zope3-dev01:28
*** greenman has quit IRC01:30
*** dbfrombrc has quit IRC01:36
*** aaronv has joined #zope3-dev01:41
*** tdoggette has quit IRC01:52
*** greenman has joined #zope3-dev02:06
*** mgedmin has quit IRC02:12
*** dvschramm has quit IRC02:13
*** harobed has quit IRC02:22
*** brandon_rhodes has quit IRC02:22
*** yotaff has quit IRC02:22
*** mcdonc has quit IRC02:22
*** ARiKA has quit IRC02:22
*** SteveA has quit IRC02:22
*** tarek has quit IRC02:22
*** jfkw has quit IRC02:22
*** VladDrac has quit IRC02:22
*** harobed has joined #zope3-dev02:22
*** tarek has joined #zope3-dev02:22
*** brandon_rhodes has joined #zope3-dev02:22
*** yotaff has joined #zope3-dev02:22
*** mcdonc has joined #zope3-dev02:22
*** ARiKA has joined #zope3-dev02:22
*** SteveA has joined #zope3-dev02:22
*** jfkw has joined #zope3-dev02:22
*** VladDrac has joined #zope3-dev02:22
*** tarek has quit IRC02:31
*** oggers has quit IRC02:31
*** philiKON has quit IRC02:36
*** rmarianski has quit IRC02:37
*** harobed has quit IRC02:40
*** reco has joined #zope3-dev02:51
*** faassen has quit IRC02:53
*** jodok has quit IRC02:56
*** reco has quit IRC03:04
*** elro has quit IRC03:13
*** dbfrombrc has joined #zope3-dev03:18
*** runyaga has quit IRC03:28
*** J1m has joined #zope3-dev03:46
*** alga has quit IRC03:48
*** jsadjohnson has quit IRC03:50
*** aclark is now known as aclark|away03:55
*** J1m has quit IRC03:55
*** flox has left #zope3-dev04:08
*** brandon_rhodes has left #zope3-dev04:53
*** aaronv has quit IRC05:17
*** tdoggette has joined #zope3-dev05:25
fcorreasrichter, hey yt?05:26
srichterfcorrea: yes05:27
fcorreasrichter, I just wrote a simple pagelet to handle a deletion process but I think I am missing something because when I use self.request.response.redirect(absoluteURL(parent, self.reques)), it fails after the redirection because it seems to maintain the same request05:30
fcorreawill paste my traceback05:30
srichterthat is impossible, because a redirect causes a separate HTTP request05:31
fcorreathat pagelet is something like:   site/folder/delete05:34
srichterok, so for some reason it seems the "parent" attribute does not have a parent05:37
srichtercan you check this?05:37
srichterbtw, I think your problem is totally independent of pagelets05:37
fcorreammm....the parent is my app root. An IPossiblesite05:38
fcorreasrichter, just put some more debug info in here
srichterdoes it have a parent?05:44
srichtertry to execute absoluteURL(...) in isolation05:44
srichtermmh, o05:45
srichteryou did already05:45
srichterI have no idea why this call fails then05:45
fcorrea:), np. Thanks05:46
srichterfcorrea: ahh, look at the traceback again05:47
srichterI know what happens :-)05:47
srichteryou set the redirect header and that works fine05:47
fcorreaAwesome, tell me. I already tear my hair off05:47
srichterbut then you still try to render the template05:47
srichterand there this call fails:05:48
srichterreturn absoluteURL(self.context, self.request) + '/addDocument'05:48
srichterso the general trick is to set a flag saying "self.completedDeletion = True"05:48
srichterbefore you try to render the view, you check whether the flag has been set to True05:48
srichterif True you do not render the template, because the redirect header is set05:49
srichternot only will this fix your bug, but will also be a nice performance improvement05:49
*** junkafarian has quit IRC05:50
fcorreawill self.completedDeletion be present in the viewlet where it is failing or do I need to push it somewhere?05:52
fcorreawhen you said that I still try to render the template, I assume this is caused by the redirection because that render process was supposed to take place after redirection and not at the sametime05:53
fcorreaThanks, anyway. Will try to solve it here05:56
srichterthe deletion happens during update(), the template is evaluated after render()06:05
*** binseer has joined #zope3-dev06:08
*** kursor has joined #zope3-dev06:41
*** greenman has quit IRC06:43
*** afd_ has joined #zope3-dev06:45
*** kursor has quit IRC06:53
*** afd__ has joined #zope3-dev07:07
*** afd_ has quit IRC07:07
*** afd__ has quit IRC07:25
*** greenman has joined #zope3-dev07:33
*** dbfrombrc has quit IRC07:54
*** dbfrombrc has joined #zope3-dev07:55
*** dbfrombrc has quit IRC08:01
*** Ariel_Calzada has joined #zope3-dev08:14
*** stub has joined #zope3-dev08:17
*** afd__ has joined #zope3-dev08:53
*** agroszer has joined #zope3-dev09:21
*** quodt has joined #zope3-dev09:23
*** mustap has joined #zope3-dev09:26
*** srichter has quit IRC09:29
*** jodok has joined #zope3-dev09:30
*** philiKON has joined #zope3-dev09:36
*** jayaraj has joined #zope3-dev09:41
*** norro has joined #zope3-dev09:47
*** goschtl has joined #zope3-dev09:49
*** norro has quit IRC09:50
*** basti_ has joined #zope3-dev10:00
*** Ariel_Calzada has quit IRC10:01
*** philiKON has quit IRC10:12
*** __gotcha_ has joined #zope3-dev10:17
*** __gotcha_ is now known as __gotcha10:17
*** dobee has joined #zope3-dev10:26
*** tdoggette has quit IRC10:30
*** tarek has joined #zope3-dev10:38
*** junkafarian has joined #zope3-dev10:44
*** tarek has quit IRC10:48
*** tarek has joined #zope3-dev10:49
*** philiKON has joined #zope3-dev10:52
*** malthe has joined #zope3-dev11:04
*** harobed has joined #zope3-dev11:04
*** greenman has quit IRC11:12
*** greenman has joined #zope3-dev11:17
*** alga has joined #zope3-dev11:37
*** maurits has joined #zope3-dev11:41
*** b52laptop has joined #zope3-dev11:58
*** stub1 has joined #zope3-dev11:59
*** stub has quit IRC11:59
*** stub1 is now known as stub12:00
*** dukebody has joined #zope3-dev12:05
*** timte has joined #zope3-dev12:08
*** ktwilight__ has joined #zope3-dev12:09
*** afd___ has joined #zope3-dev12:22
*** greenman has quit IRC12:22
*** ktwilight_ has quit IRC12:23
*** flox has joined #zope3-dev12:23
*** afd__ has quit IRC12:34
*** alga has quit IRC12:36
*** alga has joined #zope3-dev12:52
*** dukebody_ has joined #zope3-dev13:07
*** salfield has joined #zope3-dev13:12
*** junkafarian has quit IRC13:13
*** timte has quit IRC13:21
*** timte has joined #zope3-dev13:22
*** dukebody has quit IRC13:22
*** projekt01 has joined #zope3-dev13:23
*** aaronv has joined #zope3-dev13:26
*** salfield has quit IRC13:26
*** sunew has joined #zope3-dev13:27
*** aclark|away is now known as aclark13:28
*** jodok has quit IRC13:33
*** jodok has joined #zope3-dev13:33
*** elro has joined #zope3-dev13:40
*** junkafarian has joined #zope3-dev13:44
*** BjornT_ has joined #zope3-dev13:46
*** BjornT has quit IRC13:49
*** afd___ has quit IRC13:54
*** MJ has joined #zope3-dev14:04
*** jsadjohnson has joined #zope3-dev14:07
*** aaronv has quit IRC14:27
*** J1m has joined #zope3-dev14:34
*** mustap has left #zope3-dev14:35
*** sunew has quit IRC14:38
jayarajhi friends why we have both zope.file and ?14:51
*** BjornT_ has quit IRC14:52
*** elro has quit IRC14:53
*** BjornT has joined #zope3-dev14:53
Theunijayaraj: the general answer is about the distinction between the zope.* and* namespace14:56
Theunizope.* are packages that are supposed to be useful on (almost) their own14:56
jayarajic14:57* however are zope-specific packages for assembling the Zope Application server and might have strong connections to various zope.* and* packages14:57
Theunialso, zope.* packages are not allowed to have dependencies into the* namespace14:57
Theuni(We do have some relicts that do this, though.)14:57
jayarajTheuni, functionaly they are same rite?14:57 probably is based on zope.file14:58
jayarajTheuni, as i can see in the code... zope.file is based on ZODB.blob while stores the data onzodb as a list of slices14:59
jayarajso the 'File' in and that in zope.file is quite different from each other!15:06
Theunigotta go afk15:08
Theunijayaraj: well. then i was wrong. :)15:08
jayarajTheuni, its ok... bye15:09
*** danielblackburn_ has left #zope3-dev15:15
*** sunew has joined #zope3-dev15:20
*** afd___ has joined #zope3-dev15:21
*** benji has joined #zope3-dev15:25
*** jsadjohnson has left #zope3-dev15:29
*** Theuni has quit IRC15:30
*** Theuni has joined #zope3-dev15:31
*** svenn has joined #zope3-dev15:31
*** projekt01 has quit IRC15:40
*** aclark is now known as aclark|away15:40
*** dukebody_ has left #zope3-dev15:44
*** ignas has joined #zope3-dev15:45
*** elro has joined #zope3-dev15:46
*** quodt has quit IRC15:47
*** lurkymclurkleton has joined #zope3-dev15:50
*** fcorrea has quit IRC15:51
*** fcorrea has joined #zope3-dev15:56
*** harobed has quit IRC15:59
*** Theuni has quit IRC16:00
*** aaronv has joined #zope3-dev16:01
*** Theuni has joined #zope3-dev16:07
*** dunny has quit IRC16:08
*** elro has quit IRC16:16
*** lucielejard has joined #zope3-dev16:17
*** MJ is now known as MJ|afk16:23
*** tarek has quit IRC16:28
*** tarek has joined #zope3-dev16:31
*** rcrafton has joined #zope3-dev16:36
*** __mac___ has joined #zope3-dev16:42
*** svenn has quit IRC16:46
*** danielblackburn has joined #zope3-dev16:46
*** fairwinds has joined #zope3-dev16:49
*** tdoggette has joined #zope3-dev16:53
*** reco has joined #zope3-dev16:55
*** __mac__ has quit IRC16:59
*** rcrafton has quit IRC16:59
*** dobee has quit IRC17:02
*** benji has quit IRC17:05
*** stub has quit IRC17:06
*** afd__ has joined #zope3-dev17:06
*** rcrafton has joined #zope3-dev17:07
*** basti_ has quit IRC17:07
*** brandon_rhodes has joined #zope3-dev17:11
*** VladDrac has left #zope3-dev17:11
*** __mac___ has quit IRC17:19
*** MrTopf has joined #zope3-dev17:24
*** srichter has joined #zope3-dev17:24
*** afd___ has quit IRC17:26
*** binseer has quit IRC17:27
*** danielblackburn_ has joined #zope3-dev17:28
*** jayaraj has quit IRC17:29
*** mgedmin has joined #zope3-dev17:33
*** alga has quit IRC17:40
*** dvschramm has joined #zope3-dev17:41
*** ChanServ sets mode: +o srichter17:42
*** danielblackburn has quit IRC17:44
*** b52laptop has joined #zope3-dev17:53
*** norro has joined #zope3-dev17:54
*** bigkevmcd has quit IRC17:55
*** bigkevmcd has joined #zope3-dev17:58
*** danielblackburn_ has quit IRC18:01
*** philiKON has quit IRC18:02
*** goschtl has quit IRC18:02
*** dobee has joined #zope3-dev18:04
*** norro has quit IRC18:05
*** srichter has quit IRC18:05
*** srichter has joined #zope3-dev18:05
*** nathany has joined #zope3-dev18:06
*** rmarianski has joined #zope3-dev18:06
*** norro has joined #zope3-dev18:08
*** mgedmin has quit IRC18:18
*** Theuni has quit IRC18:19
*** philiKON has joined #zope3-dev18:19
*** __gotcha has quit IRC18:23
*** Theuni has joined #zope3-dev18:23
*** junkafarian_ has joined #zope3-dev18:24
*** junkafarian has quit IRC18:24
*** junkafarian_ is now known as junkafarian18:25
*** MrTopf has quit IRC18:29
*** alga has joined #zope3-dev18:34
*** strichter has joined #zope3-dev18:35
*** srichter has quit IRC18:36
*** __mac__ has joined #zope3-dev18:37
*** reco has quit IRC18:41
*** reco has joined #zope3-dev18:42
*** Theuni has quit IRC18:45
*** sunew has quit IRC18:54
*** mgedmin has joined #zope3-dev18:59
*** dobee has quit IRC19:04
*** dobee has joined #zope3-dev19:05
*** aaronv has quit IRC19:21
*** afd__ has quit IRC19:27
*** aaronv has joined #zope3-dev19:28
*** aaronv has quit IRC19:31
*** timte has quit IRC19:31
*** aaronv has joined #zope3-dev19:32
*** junkafarian has quit IRC19:37
*** faassen has joined #zope3-dev19:39
*** flox has left #zope3-dev19:48
*** jodok has quit IRC19:49
*** jodok has joined #zope3-dev19:55
*** alga has quit IRC20:02
*** __mac__ has quit IRC20:27
*** MJ|afk is now known as MJ20:43
*** malthe has quit IRC20:44
*** jodok has quit IRC20:54
*** maurits has quit IRC20:58
*** jamur2_ has joined #zope3-dev20:58
*** jamur2 has quit IRC20:58
*** ktwilight__ has quit IRC21:09
*** ktwilight__ has joined #zope3-dev21:10
*** norro_ has joined #zope3-dev21:17
*** ktwilight__ has quit IRC21:22
*** norro__ has joined #zope3-dev21:24
*** mcdonc has quit IRC21:26
*** mcdonc has joined #zope3-dev21:26
*** tarek has quit IRC21:29
*** norro has quit IRC21:30
*** yotaff has quit IRC21:30
*** norro__ has quit IRC21:30
*** norro has joined #zope3-dev21:31
*** rocky has quit IRC21:33
*** norro_ has quit IRC21:37
*** norro has quit IRC21:37
*** danielblackburn has joined #zope3-dev21:38
*** ignas has quit IRC21:40
*** jodok has joined #zope3-dev21:43
*** __mac__ has joined #zope3-dev21:47
*** rocky has joined #zope3-dev21:52
*** agroszer_ has joined #zope3-dev21:53
*** agroszer has quit IRC21:54
*** mgedmin has quit IRC21:58
*** tdoggette has quit IRC21:59
*** mgedmin has joined #zope3-dev22:00
*** kev_ has joined #zope3-dev22:01
*** reco has quit IRC22:02
*** timte has joined #zope3-dev22:03
*** jamur2_ has quit IRC22:05
*** jamur2 has joined #zope3-dev22:05
*** norro has joined #zope3-dev22:07
ARiKAhow to adjust the constraints of a content type that I create22:17
ARiKAto make it not being created in the root of zope?22:17
*** agroszer_ has quit IRC22:18
*** __mac__ has quit IRC22:18
*** __mac__ has joined #zope3-dev22:19
*** __mac__ has quit IRC22:37
*** baijum has joined #zope3-dev22:39
*** benji has joined #zope3-dev22:42
*** Theuni has joined #zope3-dev22:46
*** danielblackburn has quit IRC22:46
*** baijum has left #zope3-dev22:55
*** yota has joined #zope3-dev22:55
*** Theuni has quit IRC22:58
*** harobed has joined #zope3-dev23:02
*** tarek has joined #zope3-dev23:21
*** kev_ has quit IRC23:22
*** MJ has quit IRC23:28
*** faassen has quit IRC23:36
*** tarek has quit IRC23:39
*** ktwilight has joined #zope3-dev23:52
*** dunny has joined #zope3-dev23:52

Generated by 2.15.1 by Marius Gedminas - find it at!