andres | or better: is there interest for a patch implementing it? | 00:00 |
---|---|---|
*** HakTom has joined #zope3-dev | 00:09 | |
*** gumpa has left #zope3-dev | 00:10 | |
*** ignas has quit IRC | 00:33 | |
*** HakTom has quit IRC | 00:41 | |
*** HakTom has joined #zope3-dev | 00:42 | |
*** RaFromBRC|mtg is now known as RaFromBRC | 00:42 | |
*** alga has quit IRC | 00:43 | |
*** HakTom has quit IRC | 00:44 | |
*** jinty has quit IRC | 00:46 | |
*** HakTom has joined #zope3-dev | 00:46 | |
*** batlogg_ is now known as batlogg|boston | 00:51 | |
*** HakTom has joined #zope3-dev | 00:55 | |
*** timte has quit IRC | 00:55 | |
*** HakTom has quit IRC | 00:55 | |
*** ignas has joined #zope3-dev | 01:00 | |
*** yota has quit IRC | 01:01 | |
*** benji has quit IRC | 01:04 | |
*** tiredbones has joined #zope3-dev | 01:12 | |
*** HakTom has joined #zope3-dev | 01:20 | |
*** projekt01 has joined #zope3-dev | 01:26 | |
*** HakTom has quit IRC | 01:32 | |
*** hazmat has quit IRC | 01:52 | |
*** hazmat has joined #zope3-dev | 02:12 | |
*** ChanServ sets mode: +o hazmat | 02:12 | |
*** sashav has joined #zope3-dev | 02:37 | |
*** enterloper has joined #zope3-dev | 02:52 | |
*** projekt01 has left #zope3-dev | 02:54 | |
enterloper | hi all. Looking for a good resource or tip: I'd like to get a scaffold for a PAU. I'm looking to simulate principal objects, but they are just plain zope objects in reality that my framework makes in the zodb. How simple can this become to do? | 02:54 |
enterloper | (assume that those objects are named after the user and store a dictionary with a 'pw' entry) What would you do in a quick job way? thanks in advance. | 02:56 |
enterloper | good example links, rather then API docs, would be helpful as well. | 02:58 |
*** rocky has quit IRC | 02:58 | |
*** flox_ has joined #zope3-dev | 03:01 | |
*** tiredbones has quit IRC | 03:02 | |
*** RaFromBRC has quit IRC | 03:02 | |
*** flox has quit IRC | 03:02 | |
*** ktwilight has quit IRC | 03:02 | |
*** dobee has quit IRC | 03:02 | |
*** flox_ is now known as flox | 03:02 | |
*** ktwilight has joined #zope3-dev | 03:02 | |
*** tiredbones has joined #zope3-dev | 03:02 | |
*** RaFromBRC has joined #zope3-dev | 03:02 | |
*** dobee has joined #zope3-dev | 03:02 | |
*** RaFromBRC has quit IRC | 03:02 | |
*** J1m has quit IRC | 03:19 | |
*** wrobel has quit IRC | 03:20 | |
*** ignas has quit IRC | 03:30 | |
*** WebMaven has quit IRC | 03:37 | |
*** ksmith99 has left #zope3-dev | 03:38 | |
*** sashav has quit IRC | 03:47 | |
*** sashav has joined #zope3-dev | 04:01 | |
*** enterloper_ has joined #zope3-dev | 04:02 | |
*** enterloper has quit IRC | 04:09 | |
enterloper_ | hi all. Looking for a good resource or tip: I'd like to get a scaffold for a PAU. I'm looking to simulate principal objects, but they are just plain zope objects in reality that my framework makes in the zodb. assuming those objects are named by user as a dict with a 'pw' entry, is there a good example? | 04:10 |
*** stub has joined #zope3-dev | 04:14 | |
*** mexiKON has joined #zope3-dev | 04:41 | |
*** philiKON has quit IRC | 04:48 | |
*** niemeyer has quit IRC | 04:56 | |
*** enterloper_ has left #zope3-dev | 05:31 | |
*** batlogg has joined #zope3-dev | 05:34 | |
*** sashav has quit IRC | 05:41 | |
*** batlogg|boston has quit IRC | 05:42 | |
*** natea has joined #zope3-dev | 06:10 | |
*** baijum has joined #zope3-dev | 06:10 | |
*** natea has quit IRC | 06:12 | |
*** natea has joined #zope3-dev | 06:13 | |
*** hazmat has quit IRC | 06:54 | |
*** hazmat has joined #zope3-dev | 07:10 | |
*** ChanServ sets mode: +o hazmat | 07:10 | |
*** natea has quit IRC | 07:13 | |
*** natea has joined #zope3-dev | 07:20 | |
*** hazmat has quit IRC | 07:25 | |
*** hazmat has joined #zope3-dev | 07:33 | |
*** ChanServ sets mode: +o hazmat | 07:33 | |
*** batlogg_ has joined #zope3-dev | 07:38 | |
*** hazmat has quit IRC | 07:38 | |
*** Aiste has quit IRC | 07:41 | |
*** natea has quit IRC | 07:47 | |
*** batlogg has quit IRC | 07:55 | |
*** batlogg_ has quit IRC | 07:58 | |
*** batlogg has joined #zope3-dev | 07:59 | |
*** alecm has quit IRC | 08:08 | |
*** natea has joined #zope3-dev | 08:13 | |
*** alecm has joined #zope3-dev | 08:14 | |
*** natea_ has joined #zope3-dev | 08:22 | |
*** natea has quit IRC | 08:22 | |
*** alecm has quit IRC | 08:30 | |
*** romanofski has quit IRC | 08:31 | |
*** jukart has joined #zope3-dev | 08:32 | |
*** rocky has joined #zope3-dev | 08:44 | |
*** dobee has quit IRC | 08:45 | |
*** dobee has joined #zope3-dev | 08:49 | |
*** dobee has quit IRC | 08:53 | |
*** rocky has quit IRC | 08:58 | |
*** hazmat has joined #zope3-dev | 09:01 | |
*** ChanServ sets mode: +o hazmat | 09:01 | |
*** hazmat has quit IRC | 09:16 | |
*** TsN|Hunter has joined #zope3-dev | 09:28 | |
*** andres has quit IRC | 09:28 | |
*** flox has quit IRC | 09:28 | |
*** timte has joined #zope3-dev | 09:35 | |
*** povbot` has joined #zope3-dev | 09:42 | |
*** povbot has quit IRC | 09:44 | |
*** yota has joined #zope3-dev | 09:47 | |
*** hdima has joined #zope3-dev | 09:50 | |
*** __mac__ has quit IRC | 10:12 | |
*** __mac__ has joined #zope3-dev | 10:20 | |
*** Aiste has joined #zope3-dev | 10:21 | |
*** flox_ has joined #zope3-dev | 10:27 | |
*** flox_ is now known as flox | 10:27 | |
*** __mac__ has quit IRC | 10:31 | |
*** __mac__ has joined #zope3-dev | 10:33 | |
*** torkel_ has joined #zope3-dev | 10:50 | |
*** __mac__ has quit IRC | 10:55 | |
*** HakTom has joined #zope3-dev | 10:56 | |
*** __mac__ has joined #zope3-dev | 10:59 | |
*** mexiKON has quit IRC | 11:00 | |
*** pelle_ has joined #zope3-dev | 11:05 | |
*** jinty has joined #zope3-dev | 11:16 | |
*** rocky has joined #zope3-dev | 11:24 | |
*** rocky has quit IRC | 11:29 | |
*** HakTom has quit IRC | 11:29 | |
*** rocky has joined #zope3-dev | 11:30 | |
*** _tarek has joined #zope3-dev | 11:34 | |
*** tarek has quit IRC | 11:41 | |
*** pelle_ has quit IRC | 11:51 | |
*** rocky has quit IRC | 12:01 | |
*** mgedmin has joined #zope3-dev | 12:17 | |
*** HakTom has joined #zope3-dev | 12:24 | |
*** mgedmin has quit IRC | 12:30 | |
*** mgedmin has joined #zope3-dev | 12:30 | |
*** ignas has joined #zope3-dev | 12:36 | |
*** andres has joined #zope3-dev | 12:48 | |
*** vlado has joined #zope3-dev | 12:52 | |
*** dunny has quit IRC | 12:56 | |
*** mkerrin has joined #zope3-dev | 13:09 | |
*** HakTom has quit IRC | 13:14 | |
*** HakTom has joined #zope3-dev | 13:27 | |
*** stub has quit IRC | 13:33 | |
*** HakTom has quit IRC | 13:36 | |
*** HakTom has joined #zope3-dev | 13:38 | |
*** andres has quit IRC | 13:50 | |
*** siren99 has joined #zope3-dev | 14:15 | |
*** alga has joined #zope3-dev | 14:17 | |
*** faassen has joined #zope3-dev | 14:20 | |
*** HakTom has quit IRC | 14:23 | |
*** alga_ has joined #zope3-dev | 14:28 | |
*** dobee_ has joined #zope3-dev | 14:34 | |
*** J1m has joined #zope3-dev | 14:40 | |
*** HakTom has joined #zope3-dev | 14:43 | |
*** alga has quit IRC | 14:44 | |
*** ofer has joined #zope3-dev | 14:46 | |
*** HakTom has quit IRC | 14:51 | |
*** mgedmin has quit IRC | 14:52 | |
*** mgedmin has joined #zope3-dev | 14:53 | |
*** ofer has quit IRC | 14:55 | |
*** HakTom has joined #zope3-dev | 14:56 | |
*** ignas has quit IRC | 15:06 | |
*** ignas has joined #zope3-dev | 15:07 | |
*** niemeyer has joined #zope3-dev | 15:09 | |
*** HakTom has quit IRC | 15:19 | |
*** benji has joined #zope3-dev | 15:22 | |
*** HakTom has joined #zope3-dev | 15:34 | |
*** sashav has joined #zope3-dev | 15:35 | |
*** HakTom has quit IRC | 15:38 | |
*** _tarek has quit IRC | 15:49 | |
*** tarek has joined #zope3-dev | 15:50 | |
*** sashav has quit IRC | 15:53 | |
*** sashav has joined #zope3-dev | 15:54 | |
*** tgkuo has joined #zope3-dev | 16:00 | |
*** Aiste has quit IRC | 16:00 | |
*** Aiste has joined #zope3-dev | 16:01 | |
*** tgkuo has left #zope3-dev | 16:03 | |
*** siren99 has quit IRC | 16:54 | |
*** tonico|away is now known as tonico | 16:58 | |
*** ignas_ has joined #zope3-dev | 17:04 | |
*** alecm has joined #zope3-dev | 17:05 | |
*** ignas has quit IRC | 17:05 | |
*** baijum has quit IRC | 17:09 | |
*** jinty has quit IRC | 17:26 | |
*** Aiste has quit IRC | 17:27 | |
*** flox has quit IRC | 17:28 | |
*** Aiste has joined #zope3-dev | 17:28 | |
*** hdima has quit IRC | 17:28 | |
*** Aiste has quit IRC | 17:31 | |
*** Aiste has joined #zope3-dev | 17:32 | |
*** natea_ has quit IRC | 17:43 | |
J1m | mkerrin, srichter are you guys responsible for the twisted integration? | 17:44 |
*** sashav has quit IRC | 17:51 | |
*** MJ has joined #zope3-dev | 18:00 | |
*** jukart has quit IRC | 18:05 | |
*** sashav has joined #zope3-dev | 18:07 | |
*** sashav_ has joined #zope3-dev | 18:07 | |
mkerrin | J1m: I guess so. | 18:07 |
J1m | I think someone needs to take responsibility. | 18:08 |
J1m | If no one is willing, that's OK. We can just stop using it. :) | 18:08 |
J1m | So anyway, assuming that you are the volunteer.... | 18:09 |
J1m | The current released version seems to be 2.2. | 18:09 |
J1m | But we're using some unreleased 2.1. | 18:09 |
J1m | Why? | 18:09 |
mkerrin | We are currently using a release branch of version 2.1 (which was current a long time ago) | 18:12 |
J1m | Right. That's what I said. | 18:12 |
J1m | release branch != release. | 18:13 |
mkerrin | There was two bug fixes I can think of that we found in twisted.web2 which is way we got stuck on the branch | 18:13 |
J1m | But surely these bug fixes ended up in 2.1 final or at least in 2.2. | 18:14 |
radix | Twisted is at 2.4, not 2.2. | 18:16 |
radix | 2.5 will hopefully be out within the month, or so... | 18:16 |
J1m | http://twistedmatrix.com/projects/core/ is rather confusing then. | 18:17 |
radix | hm. | 18:17 |
radix | J1m: It is unfortunate that you found a link to that page. | 18:17 |
J1m | Where does one find twisted releases? | 18:17 |
radix | twistedmatrix.com | 18:17 |
J1m | Sadly, not in pypi it seems. | 18:17 |
radix | J1m: I'll try to get that page removed / redirected. Can you tell me where you found a link to it? | 18:17 |
J1m | I googled for twisted web. | 18:18 |
benji | radix: you can ask Google who links to a particular page: http://www.google.com/search?as_lq=http%3A%2F%2Ftwistedmatrix.com%2Fprojects%2Fcore%2F&btnG=Search | 18:18 |
J1m | The first hit was http://twistedmatrix.com/products/web | 18:18 |
radix | we have a few generations of web site redesigns, now :\ | 18:18 |
J1m | We can relate. :) | 18:19 |
benji | heh :) | 18:19 |
J1m | So that had a twisted link: http://twistedmatrix.com/projects/core | 18:19 |
J1m | anyway, the link you gave looks much better. | 18:20 |
* J1m hopes that http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2 is a distutils source release. | 18:20 | |
mkerrin | J1m: I know the version of twisted we are using badly needs an upgrade. And I think it was a month ago I got Zope3 running on the Twisted trunk with quite good deal of changes to Zope | 18:21 |
J1m | You're kidding. | 18:21 |
J1m | What changes were needed to Zope? | 18:21 |
J1m | Why? | 18:21 |
J1m | wsgi is supposed to insulate us. | 18:21 |
radix | I am reminded of the 2.4.4 change. | 18:22 |
mkerrin | WSGI insulates you to a point but mainly getting a lot of the tests to pass was not fun | 18:23 |
radix | (Python 2.4.4, that is) -- you can't use the cgi module with wsgi objects any more, or something... but then Twisted added a hack that extends the wsgi interface to allow it. | 18:23 |
J1m | hm | 18:23 |
J1m | waaaaa | 18:23 |
J1m | mkerrin, what sorts of tests failed? | 18:23 |
J1m | Dis these have to do with http? Or ftp? Both? | 18:24 |
J1m | did | 18:24 |
J1m | radix, do you know if wsgi got updated to deal with this? | 18:24 |
mkerrin | logging for HTTP was one I remember. | 18:24 |
J1m | sigh | 18:25 |
*** sashav has quit IRC | 18:25 | |
radix | J1m: wsgi specifically leaves this part out. It's about the size argument to readline. The WSGI authors state that it only adds unnecessary complexity, and nobody uses it, or should use it. | 18:25 |
radix | J1m: let me find the bug.. | 18:25 |
radix | http://twistedmatrix.com/trac/ticket/1451 | 18:25 |
J1m | radix, sure, but have they reevaluated since the change to the cgi module? | 18:25 |
radix | hmm, I don't know. | 18:26 |
J1m | Fair enough. | 18:26 |
J1m | Sigh sigh sigh | 18:26 |
radix | anyway, that's not a problem with zope trunk / twisted trunk. | 18:26 |
J1m | Yeah, but I want to work with wsgi. | 18:28 |
J1m | Whatt is the point of using wsgi if it only works with one server. | 18:28 |
J1m | What's | 18:28 |
radix | I think the change made to Zope will make it work with any WSGI server. | 18:28 |
radix | The way it does this is by wrapping the wsgi file-like object and ignoring the 'size' argument to readline. | 18:28 |
J1m | right | 18:29 |
*** sashav_ has quit IRC | 18:30 | |
*** jukart has joined #zope3-dev | 18:30 | |
J1m | mkerrin, what was the source of the logging test failures? | 18:33 |
J1m | Are we using some private channel to get twisted to log the right user? | 18:34 |
mkerrin | J1m: can't remember at this point the source of the problem at the moment. | 18:36 |
J1m | we need to lower the maintenance burden. | 18:38 |
radix | Well, if you guys have any questions, feel free to bug me | 18:38 |
J1m | If there are features that are causing us pain, we should think about getting rid of them. | 18:38 |
J1m | Thanks radix. | 18:38 |
radix | (since I am actually working with zope3 these days) | 18:38 |
J1m | mkerrin, I guess I wouldn't worry about it atm. | 18:39 |
J1m | But for 3.4 (and hopefully much sooner) I'd like to switch to using Twisted releases. | 18:40 |
J1m | I'm hoping the releases will just install via bildout/setuptools. | 18:40 |
J1m | buildout | 18:40 |
J1m | Then we can deal with what breaks. :) | 18:40 |
mkerrin | sorry- a bit busy here - I will send a mail to the list on this as there are one or two other issues that I know of with Twisted that maybe we can sort out and agree on | 18:42 |
J1m | k | 18:42 |
*** gumpa has joined #zope3-dev | 18:45 | |
*** andres has joined #zope3-dev | 18:49 | |
*** flox_ has joined #zope3-dev | 18:51 | |
*** flox_ is now known as flox | 18:52 | |
*** radix has quit IRC | 19:06 | |
*** TsN|Hunter has left #zope3-dev | 19:19 | |
*** torkel_ has quit IRC | 19:21 | |
*** jinty has joined #zope3-dev | 19:28 | |
*** tonico has quit IRC | 19:36 | |
*** tonico has joined #zope3-dev | 19:45 | |
*** jinty has quit IRC | 19:54 | |
*** sashav has joined #zope3-dev | 19:57 | |
*** vlado has quit IRC | 19:58 | |
*** jinty has joined #zope3-dev | 20:16 | |
*** RaFromBRC has joined #zope3-dev | 20:35 | |
*** natea has joined #zope3-dev | 20:54 | |
*** vlado has joined #zope3-dev | 20:59 | |
*** faassen has quit IRC | 21:01 | |
*** RaFromBRC has quit IRC | 21:02 | |
*** natea has quit IRC | 21:16 | |
*** ignas_ has quit IRC | 21:16 | |
*** alecm has quit IRC | 21:21 | |
*** natea has joined #zope3-dev | 21:23 | |
*** dunny has joined #zope3-dev | 21:32 | |
*** sashav has quit IRC | 21:38 | |
*** alecm has joined #zope3-dev | 21:45 | |
*** sashav has joined #zope3-dev | 21:46 | |
*** batlogg has quit IRC | 22:00 | |
*** dobee_ has quit IRC | 22:01 | |
*** pelle_ has joined #zope3-dev | 22:03 | |
*** srichter has quit IRC | 22:06 | |
*** sashav has quit IRC | 22:06 | |
*** mkerrin has quit IRC | 22:08 | |
*** batlogg has joined #zope3-dev | 22:13 | |
*** batlogg_ has joined #zope3-dev | 22:17 | |
*** batlogg_ has quit IRC | 22:18 | |
*** batlogg has quit IRC | 22:23 | |
pelle_ | alecm: hi ! im trying to get some background knowledge about viewlets (for the 144 plip) and are stepping through the zope3demos (http://code.google.com/p/zope3demos/source) - i'm trying to run the tests for example in the viewletdemos but have problems to find out how to set up a correct zope3demos-ftesting.zcml in the pachage-includes of an instance - do you have any hints or help to how this file should look li | 22:25 |
*** gumpa is now known as gumpa_afk | 22:25 | |
*** russf has joined #zope3-dev | 22:28 | |
*** vlado has quit IRC | 22:32 | |
*** vlado has joined #zope3-dev | 22:32 | |
mgedmin | pelle_: why do you think that you need to have a zope3demos-ftesting.zcml? | 22:37 |
mgedmin | if a package doesn't need special zcml setup for its functional tests, having just zope3demos-configure.zcml is sufficient. | 22:37 |
pelle_ | mgedmin: ok thanks for feedback - but when i run functional test i get the error: : IOError: [Errno 2] No such file or directory: '/Users/pelle/ftesting.zcml' and when looking around in some postings at the zope 3 mailing list there was some notes about some tests required special ftesting.zcml setup but it was more a guess then do you have any suggestions ? | 22:41 |
mgedmin | pelle_: it looks as if you're trying to run the tests from the wrong working directory | 22:41 |
pelle_ | mgedmin: ok i must admit that i have bin a bit confused how to run the tests in zope 3 - hoo do you for example run the functional tests in the zope3demos pacakge or another package ? | 22:43 |
mgedmin | if I'm in an instance directory, I would do | 22:44 |
mgedmin | bin/test -pv -s zope3demos | 22:44 |
mgedmin | if I'm using a checkout rather than an instance, I would do | 22:44 |
mgedmin | ./test.py -pv -s zope3demos | 22:44 |
*** jukart has quit IRC | 22:45 | |
*** oggers_ has quit IRC | 22:57 | |
pelle_ | mgedmin: thanks a lot - i run the test from an instance and it seems to work :) | 22:59 |
mgedmin | great | 23:00 |
*** natea is now known as natea|submarine | 23:09 | |
*** alga_ has quit IRC | 23:23 | |
*** mgedmin has quit IRC | 23:25 | |
*** alecm has quit IRC | 23:56 | |
*** pelle_ has quit IRC | 23:57 | |
*** russf has quit IRC | 23:57 | |
*** dunny has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!