*** netshade has joined #zope3-dev | 00:08 | |
*** dobee has quit IRC | 00:12 | |
*** projekt01 has joined #zope3-dev | 00:26 | |
*** ktwilight has joined #zope3-dev | 00:54 | |
*** ChrisW has left #zope3-dev | 01:08 | |
*** alecm has quit IRC | 01:09 | |
*** alecm has joined #zope3-dev | 01:10 | |
*** norro has quit IRC | 01:12 | |
*** greenman has joined #zope3-dev | 01:20 | |
*** netshade has quit IRC | 01:27 | |
*** regebro has left #zope3-dev | 01:33 | |
*** dunny has joined #zope3-dev | 01:33 | |
*** ignas has joined #zope3-dev | 01:47 | |
*** alecm has quit IRC | 01:49 | |
*** alecm has joined #zope3-dev | 01:53 | |
*** alecm has quit IRC | 01:54 | |
*** netshade has joined #zope3-dev | 01:56 | |
*** alecm has joined #zope3-dev | 02:47 | |
*** johnlr2 has quit IRC | 03:09 | |
*** johnlr2 has joined #zope3-dev | 03:10 | |
*** greenman has quit IRC | 03:27 | |
*** rocky is now known as rocky|Zzz | 03:29 | |
*** ignas has quit IRC | 03:38 | |
*** b52laptop has quit IRC | 04:09 | |
*** b52GM has quit IRC | 04:09 | |
*** greenman has joined #zope3-dev | 04:24 | |
*** J1m has joined #zope3-dev | 04:30 | |
*** projekt01 has quit IRC | 05:43 | |
*** ousado_ has quit IRC | 06:00 | |
*** ousado_ has joined #zope3-dev | 06:01 | |
*** run|home has joined #zope3-dev | 06:55 | |
*** run|home has quit IRC | 07:23 | |
*** kleist has joined #zope3-dev | 07:31 | |
*** tarek has quit IRC | 07:32 | |
*** naro has joined #zope3-dev | 07:55 | |
*** greenman_ has joined #zope3-dev | 08:06 | |
*** greenman has quit IRC | 08:07 | |
*** sorin has joined #zope3-dev | 08:18 | |
*** sorin is now known as sorindregan | 08:19 | |
*** yvl has joined #zope3-dev | 08:20 | |
yvl | ar | 08:20 |
---|---|---|
*** alecm has quit IRC | 08:28 | |
*** netshade has quit IRC | 08:30 | |
*** jodok has quit IRC | 08:31 | |
*** zagy has joined #zope3-dev | 08:47 | |
*** cursor has joined #zope3-dev | 08:52 | |
*** mark_ has joined #zope3-dev | 08:57 | |
*** agroszer has joined #zope3-dev | 09:00 | |
*** markusleist has quit IRC | 09:02 | |
*** Ariel_Calzada has quit IRC | 09:10 | |
*** hdima has joined #zope3-dev | 09:20 | |
*** dunny has quit IRC | 09:45 | |
*** romanofski has joined #zope3-dev | 09:46 | |
*** greenman_ has quit IRC | 10:01 | |
*** gstratton has joined #zope3-dev | 10:06 | |
*** jodok has joined #zope3-dev | 10:06 | |
*** alecm has joined #zope3-dev | 10:09 | |
*** dobee has joined #zope3-dev | 10:21 | |
*** pelle_ has joined #zope3-dev | 10:24 | |
*** norro has joined #zope3-dev | 10:39 | |
*** pyqwer has joined #zope3-dev | 10:41 | |
*** jukart has joined #zope3-dev | 10:43 | |
*** bigkevmcd has joined #zope3-dev | 10:45 | |
*** pelle_ has quit IRC | 10:50 | |
*** pelle_ has joined #zope3-dev | 10:54 | |
*** alecm has quit IRC | 11:33 | |
*** Aiste has joined #zope3-dev | 11:36 | |
*** tarek has joined #zope3-dev | 11:41 | |
*** MJ has joined #zope3-dev | 11:45 | |
*** ignas has joined #zope3-dev | 11:51 | |
*** greenman has joined #zope3-dev | 11:58 | |
*** roym has joined #zope3-dev | 12:01 | |
*** roym has left #zope3-dev | 12:03 | |
*** roym has joined #zope3-dev | 12:03 | |
*** srichter has quit IRC | 12:11 | |
*** gamt has joined #zope3-dev | 12:26 | |
*** gamt has quit IRC | 12:28 | |
*** ThomasKarlRichte has joined #zope3-dev | 12:29 | |
*** ThomasKarlRichte has quit IRC | 12:31 | |
*** b52laptop has joined #zope3-dev | 12:32 | |
*** ThomasKarlRichte has joined #zope3-dev | 12:33 | |
*** deo has joined #zope3-dev | 12:57 | |
*** dobee has quit IRC | 13:01 | |
*** norro has quit IRC | 13:09 | |
*** dunny has joined #zope3-dev | 13:11 | |
*** dunny has quit IRC | 13:40 | |
*** projekt01 has joined #zope3-dev | 13:41 | |
*** rocky|Zzz is now known as rocky | 13:43 | |
*** MJ is now known as MJ|lunch | 13:50 | |
*** agroszer has quit IRC | 13:58 | |
*** benji has quit IRC | 14:04 | |
*** J1m has quit IRC | 14:04 | |
*** kleist has quit IRC | 14:07 | |
*** norro has joined #zope3-dev | 14:22 | |
*** dobee has joined #zope3-dev | 14:22 | |
*** MJ|lunch is now known as MJ | 14:26 | |
*** projekt01 has quit IRC | 14:50 | |
*** yvl has quit IRC | 14:52 | |
*** mkerrin has joined #zope3-dev | 14:52 | |
*** niemeyer has joined #zope3-dev | 14:56 | |
*** projekt01 has joined #zope3-dev | 14:57 | |
*** jodok has quit IRC | 15:20 | |
*** ktwilight_ has joined #zope3-dev | 15:21 | |
*** benji has joined #zope3-dev | 15:21 | |
*** ktwilight_ has quit IRC | 15:21 | |
*** jodok has joined #zope3-dev | 15:22 | |
*** greenman has quit IRC | 15:23 | |
*** CrippsFX has joined #zope3-dev | 15:36 | |
*** arnarl has joined #zope3-dev | 15:40 | |
CrippsFX | morning folks ... it's been awhile. | 15:48 |
*** pelle__ has joined #zope3-dev | 16:01 | |
*** Ariel_Calzada has joined #zope3-dev | 16:04 | |
arnarl | Is it possible to register a view for strings? One that can be applied like this in tales: somevariable/@@viewname | 16:06 |
projekt01 | arnarl, yes | 16:07 |
arnarl | nice, where can I find an interface for the string? | 16:08 |
projekt01 | str | 16:08 |
arnarl | ah, so the type acts as an interface? | 16:08 |
projekt01 | probably there is a string type, try it with string as name in the for="string IBrowserRequest" | 16:09 |
*** pelle__ has quit IRC | 16:09 | |
arnarl | projekt01: I'll try that, thnx | 16:09 |
*** cursor has quit IRC | 16:09 | |
*** pelle__ has joined #zope3-dev | 16:10 | |
projekt01 | arnarl, could be wrong, but I'm sure that this will work in some way | 16:10 |
*** pelle_ has quit IRC | 16:10 | |
projekt01 | arnarl, use adapts, this will work | 16:11 |
projekt01 | e.g. zope.component.adapts(string, IBrowserRequest) | 16:12 |
*** spython has joined #zope3-dev | 16:15 | |
*** mgedmin has joined #zope3-dev | 16:24 | |
*** rcrafton has joined #zope3-dev | 16:25 | |
*** J1m has joined #zope3-dev | 16:28 | |
*** J1m has quit IRC | 16:45 | |
*** run|home has joined #zope3-dev | 16:47 | |
*** jodok has quit IRC | 16:47 | |
*** fcorrea has joined #zope3-dev | 16:48 | |
*** jodok has joined #zope3-dev | 16:48 | |
*** whit has joined #zope3-dev | 16:50 | |
*** __gotcha has joined #zope3-dev | 16:52 | |
__gotcha | what is the pattern in Z3 to forbid the removal of an object for business model reasons ? | 16:52 |
__gotcha | iow, is there anything similar to BeforeDeleteException of Zope 2 ? | 16:53 |
*** sorindregan has quit IRC | 16:57 | |
hazmat | __gotcha, afaik, container constraints are modeled by different means | 17:02 |
__gotcha | hazmat: Ican understand about container constraints | 17:02 |
__gotcha | but what if the object itself does not want to be removed | 17:02 |
__gotcha | like an image used by a page | 17:03 |
__gotcha | is that also expressed at the container level ? | 17:03 |
*** run|home has quit IRC | 17:04 | |
__gotcha | hazmat: ? | 17:08 |
benji | __gotcha: I strongly suggest you not use the ZMI in your app, and put these constraints in the application code instead | 17:10 |
jsadjohnson | __gotcha: what type of container are you using? | 17:12 |
jsadjohnson | __gotcha: you can override the __delitem__ method. | 17:12 |
__gotcha | jsadjohnson: I am trying to understand Zope 2 code | 17:12 |
__gotcha | which has some sort of Z3 events setup since 2.9 | 17:13 |
jsadjohnson | __gotcha: can't help you there. :) | 17:13 |
__gotcha | I am trying to understand patterns in Z3 | 17:13 |
__gotcha | to see how they apply to the code I am reading | 17:13 |
__gotcha | jsadjohnson: iow, Iam trying to understand the 'standard' way in Z3 to do logic coherence at the object level | 17:14 |
__gotcha | there is maybe an API/interface that you need to fullfill in order to block removal | 17:15 |
__gotcha | from a container | 17:15 |
jsadjohnson | In z3 my experience is either the constraints in the interfaces or overriding __delitem__. | 17:15 |
jsadjohnson | zope.app.container.interfaces.IContained and IContainer plus using zope.app.container.constraints.containers and contains are the ones I use the most. | 17:17 |
jsadjohnson | At the Interfaces level. | 17:17 |
*** J1m has joined #zope3-dev | 17:17 | |
__gotcha | J1m: hi | 17:18 |
__gotcha | what is the pattern in Z3 for an instance to make its constraint checks and refuse to be removed | 17:19 |
J1m | You register a subscriber for a removal event and raise an exception to veto removal. | 17:21 |
arnarl | What is the correct way to make a javascript function run once the document is loaded in ZMI? The skin seems to insert 'loadtree' directly on <body>. Any way to plug in a new function? | 17:23 |
*** hdima has quit IRC | 17:24 | |
arnarl | nevermind :-) | 17:25 |
__gotcha | J1m: iow removal event happens before actual removal | 17:27 |
J1m | I don't remember. It doesn't really matter thanks to transactions. | 17:30 |
*** zagy has quit IRC | 17:31 | |
__gotcha | J1m: ok, thansk | 17:32 |
ignas | J1m: where can i find the most up to date version of bootstrap.py? | 17:35 |
benji | ignas: svn cat svn+ssh://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py > bootstrap.py | 17:37 |
ignas | benji: thanks | 17:38 |
benji | np | 17:38 |
ignas | it does not work if setuptools-0.6a9 are available though | 17:39 |
benji | I can't help you there. :) | 17:39 |
ignas | would it make sense to try requiring a version that is higher than 0.6a9, instead of trysting whichever setuptools version is available | 17:39 |
ignas | ? | 17:40 |
benji | why is your setuptools not being upgraded automatically? | 17:40 |
ignas | because i don't have root on the machine | 17:41 |
ignas | and the script tries import pkg_resources | 17:41 |
benji | oh, you're beeing EVIL, EEEVIL : | 17:41 |
benji | :) | 17:41 |
ignas | and only downloads setuptools if it can't find pkg_resources | 17:41 |
benji | I guess you're using the system python | 17:41 |
ignas | yes, but i need to bootstrap buildout if i want to build my own python | 17:42 |
*** nathany has joined #zope3-dev | 17:42 | |
*** jodok has quit IRC | 17:42 | |
benji | I don't understand that; why do you need buildout to build python? | 17:42 |
ignas | and how would i have my setuptools upgraded automatically? | 17:42 |
ignas | in non-system python | 17:42 |
benji | buildout upgrades it (if it's not nailed) just like any other egg | 17:43 |
ignas | but i don't have buildout, because i can't bootstrap it | 17:43 |
ignas | because i have a buggy version of setuptools | 17:44 |
* benji takes deep breaths. | 17:44 | |
benji | I suggest you build your own Python, then use it to bootstrap a buildout (bootstrap will download the newsest setuptools) | 17:45 |
ignas | i just thought that it would kind of make sense fixing bootstrap.py, to download setuptools if the available version is too old | 17:47 |
* mgedmin waits for the fireworks | 17:47 | |
benji | it might; I wasn't really commenting on that, just trying to get you unstuck | 17:47 |
ignas | benji: thanks | 17:48 |
benji | no problem | 17:48 |
ignas | at the moment, i know at least 2 ways to work around broken setuptools | 17:48 |
ignas | i just want to find a way that would do that automatically | 17:48 |
ignas | (for less technically proficient users) | 17:48 |
*** b52lap has joined #zope3-dev | 17:49 | |
* ignas is trying to make a foolproof script to get schooltool development sandbox going | 17:51 | |
*** b52laptop has quit IRC | 17:57 | |
*** deo has quit IRC | 18:00 | |
ignas | i guess the most foolproof way in this case is to wget setuptools egg, extract it and put it in pythonpath when running bootstrap.py | 18:04 |
benji | I haven't thought about it much, but could you instead make sure there is nothing in the Python path when you run bootstrap.py, that way it'll get its own copy of setuptools? | 18:05 |
ignas | as i don't want to get into writing python/shell script to download and build python business | 18:05 |
ignas | benji: hmm, but i would have to modify bootstrap.py | 18:05 |
ignas | though as i have my own copy | 18:05 |
ignas | oh | 18:06 |
ignas | i can't | 18:06 |
arnarl | Is there any way to make sure that browser:resources are checked for updates? A bit annoying to have to restart all the time. | 18:06 |
ignas | buildout will try installing the egg into system site-packages anyway | 18:06 |
benji | arnarl: if you turn dev-mode on, it'll do that | 18:07 |
arnarl | benji: I think I'm in dev-mod. At least it says so when I start up... | 18:07 |
benji | <shrug> | 18:07 |
*** naro has quit IRC | 18:10 | |
*** cursor has joined #zope3-dev | 18:12 | |
*** naro has joined #zope3-dev | 18:13 | |
*** Ariel_Calzada has quit IRC | 18:14 | |
*** markusleist has joined #zope3-dev | 18:15 | |
*** b52lap has quit IRC | 18:16 | |
markusleist | does anybody has ported philikon's pricipal-member-information-form (example 22.4.3) to z3c.form? | 18:16 |
*** b52lap has joined #zope3-dev | 18:17 | |
ignas | benji: sys.path[:] = [path for path in list(sys.path) if 'setuptools' not in path] was enough to make bootstrap download and successfully install a newer version of setuptools | 18:17 |
*** dobee_ has joined #zope3-dev | 18:18 | |
benji | cool | 18:18 |
*** Ariel_Calzada has joined #zope3-dev | 18:20 | |
*** pelle__ has quit IRC | 18:20 | |
*** MJ has quit IRC | 18:27 | |
*** dobee has quit IRC | 18:27 | |
*** b52lap has quit IRC | 18:36 | |
*** projekt01 has quit IRC | 18:38 | |
*** romanofski has quit IRC | 18:41 | |
*** srichter has joined #zope3-dev | 18:41 | |
*** __gotcha has quit IRC | 18:44 | |
*** srichter has quit IRC | 18:47 | |
*** mgedmin has quit IRC | 18:48 | |
*** jhauser has joined #zope3-dev | 18:50 | |
*** dobee_ has quit IRC | 18:52 | |
*** mgedmin has joined #zope3-dev | 18:53 | |
*** pelle_ has joined #zope3-dev | 18:57 | |
*** jukart has quit IRC | 19:00 | |
*** alecm has joined #zope3-dev | 19:05 | |
*** srichter has joined #zope3-dev | 19:14 | |
*** arnarl_ has joined #zope3-dev | 19:15 | |
*** ChanServ sets mode: +o srichter | 19:16 | |
*** norro has quit IRC | 19:20 | |
WebMaven | srichter: hi | 19:28 |
*** srichter has quit IRC | 19:28 | |
*** srichter has joined #zope3-dev | 19:29 | |
*** arnarl_ has quit IRC | 19:30 | |
*** srichter has quit IRC | 19:30 | |
*** arnarl_ has joined #zope3-dev | 19:31 | |
*** srichter has joined #zope3-dev | 19:31 | |
*** arnarl has quit IRC | 19:32 | |
*** afd__ has joined #zope3-dev | 19:32 | |
*** srichter has quit IRC | 19:33 | |
*** srichter has joined #zope3-dev | 19:34 | |
*** arnarl has joined #zope3-dev | 19:36 | |
*** afd__ has quit IRC | 19:42 | |
WebMaven | srichter: hi | 19:44 |
*** cursor has quit IRC | 19:48 | |
*** pyqwer has quit IRC | 19:49 | |
*** netshade has joined #zope3-dev | 19:49 | |
*** arnarl has quit IRC | 19:52 | |
*** arnarl_ has quit IRC | 19:52 | |
*** arnarl has joined #zope3-dev | 19:52 | |
*** tarek has quit IRC | 19:59 | |
*** roym has quit IRC | 20:09 | |
*** arnarl has quit IRC | 20:11 | |
*** jukart has joined #zope3-dev | 20:20 | |
*** RaFromBRC has joined #zope3-dev | 20:21 | |
*** pelle_ has quit IRC | 20:29 | |
*** romanofski has joined #zope3-dev | 20:30 | |
*** ignas has quit IRC | 20:35 | |
*** jodok has joined #zope3-dev | 20:42 | |
*** markusleist has quit IRC | 20:42 | |
*** pelle_ has joined #zope3-dev | 20:53 | |
*** ThomasKarlRichte has quit IRC | 20:56 | |
*** whit has quit IRC | 20:58 | |
*** whit has joined #zope3-dev | 20:58 | |
*** Ariel_Calzada has quit IRC | 21:04 | |
*** zagy has joined #zope3-dev | 21:05 | |
*** whit is now known as whit|lunch | 21:08 | |
*** __gotcha has joined #zope3-dev | 21:09 | |
*** xbeanx has joined #zope3-dev | 21:09 | |
*** __gotcha has left #zope3-dev | 21:15 | |
*** rocky is now known as rocky|away | 21:19 | |
*** ktwilight has quit IRC | 21:22 | |
*** markusleist has joined #zope3-dev | 21:22 | |
*** ktwilight has joined #zope3-dev | 21:22 | |
*** naro has quit IRC | 21:31 | |
*** jukart has quit IRC | 21:37 | |
*** xbeanx has quit IRC | 21:44 | |
*** whit|lunch is now known as whit | 21:45 | |
*** mgedmin has quit IRC | 21:46 | |
*** regebro has joined #zope3-dev | 21:57 | |
*** dunny has joined #zope3-dev | 22:06 | |
*** xbeanx has joined #zope3-dev | 22:19 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 22:28 | |
*** mkerrin has quit IRC | 22:29 | |
*** whit has quit IRC | 23:03 | |
*** whit has joined #zope3-dev | 23:04 | |
*** greenman has joined #zope3-dev | 23:08 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 23:26 | |
*** zagy has quit IRC | 23:27 | |
*** norro has joined #zope3-dev | 23:32 | |
*** benji has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!