*** roym has quit IRC | 00:02 | |
*** SteveA has quit IRC | 00:50 | |
*** ignas has joined #zope3-dev | 01:33 | |
*** philiKON has joined #zope3-dev | 01:43 | |
*** philiKON has quit IRC | 01:50 | |
*** natea has joined #zope3-dev | 02:03 | |
*** xenru has quit IRC | 02:03 | |
*** newpers has quit IRC | 02:28 | |
*** xenru has joined #zope3-dev | 02:31 | |
*** Aiste_ has joined #zope3-dev | 02:41 | |
*** Aiste has quit IRC | 02:41 | |
*** JoaoJoao has joined #zope3-dev | 02:46 | |
*** tarek has quit IRC | 02:47 | |
*** tarek has joined #zope3-dev | 02:50 | |
*** Aiste_ has quit IRC | 02:57 | |
*** Aiste has joined #zope3-dev | 03:05 | |
*** efge has quit IRC | 03:11 | |
srichter | jfmoxley: there is a FieldProperty in the zope.schema package that enforces the values | 03:20 |
---|---|---|
*** tarek has quit IRC | 03:43 | |
*** zbir has quit IRC | 05:39 | |
*** newpers has joined #zope3-dev | 05:47 | |
*** yota has quit IRC | 05:48 | |
*** stub has joined #zope3-dev | 05:57 | |
*** xenru has quit IRC | 06:06 | |
*** JoaoJoao has quit IRC | 07:13 | |
*** jhauser has quit IRC | 07:52 | |
*** Hellfried has quit IRC | 07:52 | |
*** bob2 has quit IRC | 07:52 | |
*** Aiste has quit IRC | 07:52 | |
*** jfmoxley has quit IRC | 07:52 | |
*** vlado has quit IRC | 07:52 | |
*** d2m has quit IRC | 07:52 | |
*** benji has quit IRC | 07:52 | |
*** Theuni has quit IRC | 07:52 | |
*** vinsci has quit IRC | 07:52 | |
*** dhuang_ has quit IRC | 07:52 | |
*** jack-e has quit IRC | 07:52 | |
*** Aiste has joined #zope3-dev | 07:52 | |
*** jhauser has joined #zope3-dev | 07:52 | |
*** jfmoxley has joined #zope3-dev | 07:52 | |
*** vlado has joined #zope3-dev | 07:52 | |
*** d2m has joined #zope3-dev | 07:52 | |
*** benji has joined #zope3-dev | 07:52 | |
*** Theuni has joined #zope3-dev | 07:52 | |
*** vinsci has joined #zope3-dev | 07:52 | |
*** Hellfried has joined #zope3-dev | 07:52 | |
*** bob2 has joined #zope3-dev | 07:52 | |
*** dhuang_ has joined #zope3-dev | 07:52 | |
*** jack-e has joined #zope3-dev | 07:52 | |
*** d2m_ has joined #zope3-dev | 08:06 | |
*** d2m has quit IRC | 08:06 | |
*** d2m_ is now known as d2m | 08:06 | |
*** zagy has quit IRC | 08:34 | |
*** zagy has joined #zope3-dev | 08:40 | |
*** stub has quit IRC | 08:51 | |
zagy | moin | 09:09 |
*** dobee has joined #zope3-dev | 09:10 | |
*** agroszer has joined #zope3-dev | 09:28 | |
*** dobee has quit IRC | 09:31 | |
*** dobee has joined #zope3-dev | 09:44 | |
*** hdima has joined #zope3-dev | 09:45 | |
*** natea has quit IRC | 09:50 | |
*** __mac__ has joined #zope3-dev | 10:05 | |
*** xenru has joined #zope3-dev | 10:10 | |
*** tarek has joined #zope3-dev | 10:16 | |
*** sashav has joined #zope3-dev | 10:25 | |
*** Aiste has quit IRC | 10:36 | |
*** stub has joined #zope3-dev | 10:48 | |
*** stub has joined #zope3-dev | 10:49 | |
*** Aiste has joined #zope3-dev | 10:57 | |
*** SteveA has joined #zope3-dev | 10:59 | |
*** lunatik has joined #zope3-dev | 11:02 | |
*** lunatik has left #zope3-dev | 11:02 | |
*** lunatik has joined #zope3-dev | 11:04 | |
*** mgedmin has joined #zope3-dev | 11:10 | |
*** einheit_ has joined #zope3-dev | 11:25 | |
*** einheit_ is now known as SteveA_ | 11:25 | |
*** lunatik has left #zope3-dev | 11:26 | |
*** efge has joined #zope3-dev | 11:39 | |
*** jfmoxley has quit IRC | 12:00 | |
*** faassen has joined #zope3-dev | 12:00 | |
*** andres has joined #zope3-dev | 12:07 | |
*** J1m has joined #zope3-dev | 13:10 | |
*** d2m has quit IRC | 13:18 | |
*** niemeyer has joined #zope3-dev | 13:29 | |
*** mkerrin has joined #zope3-dev | 13:32 | |
*** ignas has quit IRC | 13:32 | |
*** ignas has joined #zope3-dev | 14:14 | |
*** newnick has joined #zope3-dev | 14:14 | |
*** benji has quit IRC | 14:20 | |
*** MrTopf has joined #zope3-dev | 14:26 | |
*** J1m has quit IRC | 14:32 | |
*** strichter has joined #zope3-dev | 14:36 | |
*** srichter has quit IRC | 14:36 | |
*** strichter is now known as srichter | 14:36 | |
*** ChanServ sets mode: +o srichter | 14:36 | |
*** vlado has quit IRC | 14:37 | |
*** zbir has joined #zope3-dev | 14:53 | |
*** jinty has joined #zope3-dev | 15:12 | |
*** stub has quit IRC | 15:13 | |
*** philiKON has joined #zope3-dev | 15:14 | |
*** yota has joined #zope3-dev | 15:32 | |
*** xenru|clone has joined #zope3-dev | 15:32 | |
*** alga has joined #zope3-dev | 15:37 | |
*** stub has joined #zope3-dev | 15:41 | |
*** MrTopf has quit IRC | 15:45 | |
*** sivang has joined #zope3-dev | 15:47 | |
sivang | howdy all | 15:47 |
sivang | I am wondering about the notion of instances: | 15:47 |
sivang | 1) Must I create an instance to work with Zope3 | 15:47 |
sivang | 2) Does an instance represent an "Application Execution Environment" as parallel with the notion of instances in some of the DBMS that use it? | 15:48 |
*** xenru has quit IRC | 15:48 | |
philiKON | sivang, yes, always create an instance. this is also true for zope 2 | 15:49 |
*** ChrisW_ has joined #zope3-dev | 15:49 | |
ChrisW_ | srichter: ping? | 15:49 |
philiKON | sivang, an instance is like the home directory of this particular zope server | 15:50 |
*** ChrisW_ is now known as ChrisW__ | 15:50 | |
philiKON | sivang, where the software is installed centrally | 15:50 |
*** ChrisW__ is now known as ChrisW | 15:50 | |
sivang | philiKON: oh, so I can accomodate N user application in one instance, and have N instances serves by one zope server? | 15:50 |
sivang | s/serves/served/ | 15:50 |
ChrisW | hmm, well, anyone here should know ;-) Is the version of testbrowser that comes with Zope 2.8.1 worth using? | 15:50 |
ChrisW | or have there been big changes since then? | 15:51 |
srichter | ChrisW: ping | 15:51 |
ChrisW | srichter: error, incorrect ack ;-) | 15:51 |
ChrisW | I asked the questions above... | 15:51 |
srichter | okay, I know nothing about Zope 2.x :-) | 15:51 |
ChrisW | yeah, but Zope 2.8.x ships with Zope 3, right? | 15:51 |
*** zbir has quit IRC | 15:51 | |
ChrisW | anyone here know which version? | 15:51 |
srichter | I am surprised testbrowser is in 2.8 at all | 15:52 |
srichter | because it has just been added for 3.2 2.9 | 15:52 |
*** MrTopf has joined #zope3-dev | 15:52 | |
ChrisW | ah, okay | 15:52 |
ChrisW | it's probably not there then ;-) | 15:52 |
ChrisW | I'll stick with using the standalone ;-) | 15:52 |
srichter | ChrisW: yeah, but I am not involved in integrating Zope 3 into Zope 2 ;-) | 15:52 |
ChrisW | who is? | 15:52 |
srichter | ChrisW: philiKON :-) | 15:52 |
ChrisW | aha | 15:53 |
* ChrisW wonders if 14358 conflict errors in 16 days is "too many" :-S | 15:56 | |
*** zbir has joined #zope3-dev | 15:58 | |
ChrisW | hey Zac :-) | 15:59 |
zbir | hey, ChrisW | 16:04 |
philiKON | sivang, not really | 16:06 |
philiKON | sivang, there is one zope installation, e.g. in /usr/local/Zope-2.x.y | 16:07 |
philiKON | sivang, and you make as many zope instances as you need | 16:07 |
philiKON | sivang, each zope instance has its own http server, zodb database, configuration file, etc. | 16:07 |
philiKON | it's like with apache: you have the httpd daemon which is installed once and then you can have several configuration homes which woul dresult in different, isolated httpd instances | 16:08 |
sivang | philiKON: uh-ha. so what's the common ground for them that denotes calling them "instances" ? | 16:27 |
sivang | philiKON: (sorry, I am not sure I am familiar with apache'd model other then virtual servers) | 16:27 |
philiKON | virtual servers are served by one apache instance | 16:27 |
philiKON | i'd say one apache process, but it fork()s ;) | 16:28 |
sivang | philiKON: ah, so that's like the CGI model :) | 16:31 |
*** stu1 has joined #zope3-dev | 16:31 | |
*** bradb has joined #zope3-dev | 16:32 | |
*** alga has quit IRC | 16:39 | |
*** stub has quit IRC | 16:39 | |
philiKON | uh, i don't think so :) | 16:45 |
*** ChrisW has left #zope3-dev | 16:45 | |
philiKON | zope is not at all about cgi | 16:45 |
sivang | philiKON: I Know it's not :) | 16:46 |
sivang | bad analogy, sorry | 16:46 |
*** J1m has joined #zope3-dev | 16:48 | |
*** J1m has left #zope3-dev | 16:48 | |
*** J1m has joined #zope3-dev | 16:48 | |
philiKON | hey J1m | 16:49 |
J1m | hey | 16:50 |
*** _anguenot has joined #zope3-dev | 17:05 | |
*** MacYET has joined #zope3-dev | 17:13 | |
*** jfmoxley has joined #zope3-dev | 17:13 | |
faassen | J1m: hey | 17:15 |
J1m | hey | 17:15 |
jfmoxley | hi all... philipp's book catalogues an "allowed_value" constraint for schema, but this does not seem to be available in my latest svn checkout... what is the preferred way for enforcing a field be one of a set number of options? | 17:17 |
*** sashav has quit IRC | 17:22 | |
*** d2m has joined #zope3-dev | 17:26 | |
*** JoaoJoao has joined #zope3-dev | 17:28 | |
jfmoxley | ok, so it seems that zope.schema.Choice is the way to go... | 17:34 |
JoaoJoao | Is there a ReferenceField in Z3? | 17:35 |
*** hdima has quit IRC | 17:35 | |
philiKON | JoaoJoao, nope, because there isn't a reference engine in z3 (yet) | 17:39 |
MacYET | LOL | 17:40 |
philiKON | jfmoxley, where does my book say something about allowed_value? | 17:40 |
jfmoxley | philiKON: Table 4.2, p.51 | 17:41 |
philiKON | first, it's allowed_values (plural) | 17:42 |
philiKON | second, i just realized that's indeed outdated | 17:43 |
philiKON | enumerated fields don't exist anymore | 17:43 |
philiKON | never existed in any release version of zope 3 | 17:43 |
philiKON | i wrote the first 4 chapters quite early | 17:43 |
philiKON | thanks for the pointer | 17:43 |
* philiKON takes a note | 17:43 | |
jfmoxley | philiKON: thanks, and sorry for the typo... | 17:44 |
philiKON | np | 17:44 |
philiKON | what's your name so i can give you credit | 17:44 |
JoaoJoao | philiKON: Is a Reference engine planned for Z3 anytime soon? | 17:45 |
philiKON | JoaoJoao, yes | 17:45 |
philiKON | at least a very simple one | 17:45 |
jfmoxley | philiKON: joel moxley | 17:46 |
philiKON | ok, noted. thanks | 17:46 |
JoaoJoao | Z3 feels a bit... incomplete without it | 17:46 |
philiKON | well, it's because AT makes extensive use of them. more than they probably should | 17:46 |
JoaoJoao | Maybe I'm too used to AT heheh | 17:47 |
philiKON | anyways, with the infrastructure in place, it's very easy to make references | 17:47 |
JoaoJoao | Z3 has IntID | 17:47 |
philiKON | actually, it's zope.app.keyreference that does the hard work | 17:47 |
philiKON | intids aren't even necessary | 17:48 |
philiKON | keeping references shouldn't really require intids... | 17:48 |
philiKON | another assumption the AT reference engine makes | 17:48 |
JoaoJoao | how thes keyreference keep the references? | 17:48 |
philiKON | depends where the object is ;) | 17:49 |
philiKON | for persistent objects, it uses the OID of the zodb | 17:50 |
JoaoJoao | Does moving the object change the OID? | 17:50 |
philiKON | but you could write a keyreference adapter for RDB objects, if you wante dto | 17:50 |
philiKON | no, the OID always stays the same | 17:50 |
philiKON | the zodb doesn't know about a location | 17:51 |
philiKON | the zodb only stores pickles | 17:51 |
philiKON | it's zope that adds a meaningful object hierarchy | 17:51 |
*** jfmoxley has quit IRC | 17:51 | |
JoaoJoao | So, if I had a package with "Categories" and "Weblog Posts", what kind of Field would one use to relate the a post to different categories? | 17:52 |
JoaoJoao | s/the a/a | 17:52 |
JoaoJoao | (sorry about the ammount of questions, I'm rather curious about Z3 myself) | 17:52 |
philiKON | woudl categories have to be persistent objects in content space? I would say not | 17:53 |
philiKON | so, you make the relation weblog post -> category a direct reference | 17:53 |
philiKON | and use a vocabulary for the categories | 17:53 |
philiKON | and a choice widget for the user to choose from a vocabulary | 17:53 |
philiKON | s/a vocabulary/the vocabulary/ | 17:54 |
*** jfmoxley has joined #zope3-dev | 17:54 | |
JoaoJoao | Got it, but what if I needed to make the Categories persistent objects? | 17:54 |
*** zagy has quit IRC | 18:17 | |
*** suse-joe has joined #zope3-dev | 18:19 | |
*** zagy has joined #zope3-dev | 18:20 | |
suse-joe | A question WRT virtual hosting with Zope3: Has anybody tried it with pound instead of Apache as a frontend? | 18:20 |
suse-joe | If I get it right, I don't have the possibility of specifying the virtual addresses in Zope any more. I can only use the rewritten URLs. And that's what pound does not support :-( | 18:24 |
*** stub has joined #zope3-dev | 18:25 | |
*** d2m_ has joined #zope3-dev | 18:25 | |
*** d2m has quit IRC | 18:27 | |
*** d2m_ is now known as d2m | 18:27 | |
philiKON | suse-joe, virtual addresses? | 18:28 |
SteveA_ | suse-joe: launchpad uses apache then pound then zope3, in that order, outside to in | 18:28 |
philiKON | zope itself doesn't have vhost capabilities, that's correct | 18:28 |
philiKON | it needs something to rewrite the URLs for it | 18:28 |
suse-joe | philiKON: Do you think it would be hard to re-add that (i.e. a Zope-side host-monster-type URL rewriting)? | 18:29 |
philiKON | maybe not. the publication *should* allow you to plug into the right hooks | 18:31 |
SteveA_ | would be quite easy | 18:31 |
SteveA_ | you could do it in a before-traversal hook, or in the traversal component from the root object, or in the publication component | 18:31 |
SteveA_ | and set the same things on the request that the virtual hosting namespace does | 18:31 |
philiKON | ah, right. we just want different traversal behaviour depending on the vhost | 18:31 |
*** sashav has joined #zope3-dev | 18:34 | |
*** sashav has quit IRC | 18:34 | |
*** dobee has quit IRC | 18:36 | |
suse-joe | SteveA_: Sounds like some fun project to get into the Zope3 traversal code ... | 18:36 |
suse-joe | I'd really like to see something like that. Because pound is the ideal lightweight proxy in front of Zope. | 18:36 |
suse-joe | I'd probably do the configuration via zcml rather than using a web frontend. | 18:37 |
philiKON | jus tmake sure you publish it when you're done ;) | 18:37 |
suse-joe | philiKON: Sure ;-) | 18:37 |
*** agroszer has quit IRC | 18:37 | |
philiKON | yes, zcml of course | 18:37 |
*** zbir has quit IRC | 18:37 | |
*** SteveA_ has quit IRC | 18:39 | |
*** stu1 has quit IRC | 18:40 | |
*** SteveA has quit IRC | 18:41 | |
*** suse-joe has left #zope3-dev | 18:43 | |
*** stub has quit IRC | 18:46 | |
*** stub has joined #zope3-dev | 18:52 | |
*** jhauser_ has joined #zope3-dev | 18:57 | |
*** philiKON has quit IRC | 18:57 | |
*** ChrisW has joined #zope3-dev | 19:02 | |
ChrisW | srichter: ping? | 19:02 |
srichter | I am busy | 19:02 |
* ChrisW is looking for examples of how to do file uploads with testbrowser | 19:02 | |
srichter | see zope.testbrowser/README.txt | 19:02 |
ChrisW | thanks :-) | 19:02 |
* ChrisW loves DocTEsts | 19:02 | |
*** Aiste has quit IRC | 19:03 | |
*** jhauser has quit IRC | 19:10 | |
*** stub has quit IRC | 19:11 | |
*** sashav has joined #zope3-dev | 19:18 | |
*** stub has joined #zope3-dev | 19:20 | |
*** MrTopf has quit IRC | 19:24 | |
*** stub has joined #zope3-dev | 19:26 | |
*** _anguenot has quit IRC | 19:33 | |
*** sashav_ has joined #zope3-dev | 19:43 | |
*** sashav has quit IRC | 19:43 | |
*** sashav_ is now known as sashav | 19:43 | |
*** mkerrin has quit IRC | 19:59 | |
*** sashav has quit IRC | 20:02 | |
*** sashav has joined #zope3-dev | 20:02 | |
*** natea has joined #zope3-dev | 20:05 | |
*** ChrisW has left #zope3-dev | 20:08 | |
*** ChrisW has joined #zope3-dev | 20:11 | |
ChrisW | when using testbrowser, is there any way to list all the controls on a particular form? | 20:12 |
J1m | I don't think so. | 20:12 |
J1m | It would be nice. | 20:13 |
ChrisW | yeah, testbrowser rocks for usability, but sux for introspection :-S | 20:13 |
J1m | there's always "print browser.contents" | 20:13 |
ChrisW | yeah, I did that, and they didn't match up :-S | 20:14 |
ChrisW | aha | 20:14 |
ChrisW | vars(browser.getForm(index=1).mech_form) | 20:14 |
ChrisW | :-D | 20:14 |
ChrisW | hurm, weird, the control is there, but when I try and get it I get a lookuperror :-S | 20:18 |
JoaoJoao | Is is possible or feasible to use the RestrictedPython module outside of Zope? | 20:19 |
ChrisW | it'd certainly be nice ;-) | 20:20 |
*** dobee has joined #zope3-dev | 20:21 | |
*** efge has quit IRC | 20:23 | |
*** faassen has quit IRC | 20:23 | |
*** zbir has joined #zope3-dev | 20:31 | |
*** mkerrin has joined #zope3-dev | 20:33 | |
*** xenru|clone has quit IRC | 20:37 | |
*** dobee has quit IRC | 20:45 | |
*** dobee has joined #zope3-dev | 20:46 | |
*** ChrisW has quit IRC | 20:47 | |
*** benji has joined #zope3-dev | 20:51 | |
*** SiggyF_ has joined #zope3-dev | 21:00 | |
*** xenru has joined #zope3-dev | 21:06 | |
*** mgedmin has quit IRC | 21:06 | |
*** sashav has quit IRC | 21:09 | |
*** dobee has quit IRC | 21:10 | |
*** MacYET has left #zope3-dev | 21:10 | |
*** ignas has quit IRC | 21:18 | |
*** mkerrin has quit IRC | 21:24 | |
*** niemeyer_ has joined #zope3-dev | 21:25 | |
*** SiggyF_ has quit IRC | 21:25 | |
*** SiggyF_ has joined #zope3-dev | 21:26 | |
*** sashav has joined #zope3-dev | 21:28 | |
*** SiggyF_ has joined #zope3-dev | 21:28 | |
*** SiggyF_ has left #zope3-dev | 21:29 | |
*** Aiste has joined #zope3-dev | 21:29 | |
*** niemeyer has quit IRC | 21:31 | |
*** SiggyF_ has joined #zope3-dev | 21:32 | |
*** niemeyer_ is now known as niemeyer | 21:33 | |
*** SiggyF has quit IRC | 21:41 | |
*** SiggyF has joined #zope3-dev | 21:42 | |
*** zagy has quit IRC | 21:45 | |
*** marita has joined #zope3-dev | 22:02 | |
marita | Hi! | 22:02 |
benji | hi | 22:03 |
marita | When running Zope3 on Linux, how do I best set the environment variable HTTPS=on? | 22:03 |
benji | what does that do? :) | 22:04 |
marita | If it is set, the URLs Zope produces are https, not http. | 22:05 |
SiggyF | Global environment on my system is set up in /etc/profile and /etc/rc.conf and /etc/env.d. I'm not sure where I'd put HTTPS=on | 22:09 |
SiggyF | I'd probably put it in ~/.profile of the zope user. | 22:09 |
*** JoaoJoao has quit IRC | 22:11 | |
marita | I'm trying to understand zope.publisher.http. Seems that actually the environment used there is not the environment in the Linxu sense, but the cgi environment. So my question was nonsense ... | 22:12 |
*** stub has quit IRC | 22:24 | |
*** hazmat has joined #zope3-dev | 22:54 | |
*** ChanServ sets mode: +o hazmat | 22:54 | |
* bradb notices a ssh_host_rsa_key and ssh_host_rsa_key.pub in the Zope3 trunk. Can those possibly be meant to be there? | 22:57 | |
*** hazmat has quit IRC | 23:11 | |
benji | bradb, from the looks of it, it belongs to someone named michael | 23:15 |
benji | at openapp.biz | 23:15 |
bradb | Checking in private host keys just seems, er, wrong. :) | 23:16 |
benji | more that "seems" I think :) | 23:17 |
benji | anyone want to impersonate michael at openapp.biz? | 23:18 |
benji | :) | 23:18 |
benji | I'll remove them | 23:18 |
bradb | ok | 23:18 |
benji | oh, wait a minute, I think they're supposed to be there | 23:18 |
benji | yep, they | 23:18 |
benji | oops | 23:18 |
benji | yep, they're there for the SFTP tests (hmm, didn't know Z3 supported SFTP) | 23:19 |
benji | propably shouldn't be in the root though | 23:19 |
benji | srichter, ayt? | 23:19 |
bradb | i thought they might be test data too. their current location seems a bit misleading. | 23:19 |
d2m | there's also server.pem | 23:20 |
*** SteveA_ has joined #zope3-dev | 23:23 | |
*** SteveA_ has quit IRC | 23:24 | |
*** SteveA_ has joined #zope3-dev | 23:26 | |
*** SteveA_ has quit IRC | 23:27 | |
*** SteveA_ has joined #zope3-dev | 23:27 | |
*** marita has left #zope3-dev | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!