MrTopf | and I never know what namespace traversal adapters actually have to return | 00:02 |
---|---|---|
*** sunew has quit IRC | 00:05 | |
philiKON | objects | 00:05 |
philiKON | :) | 00:05 |
*** harobed has quit IRC | 00:06 | |
MrTopf | well, I return one object | 00:07 |
philiKON | right | 00:07 |
philiKON | that's what i mean | 00:07 |
MrTopf | so /++users++tao/ will result in some user object | 00:07 |
MrTopf | that's at least what traverse() returns | 00:08 |
philiKON | exactly | 00:08 |
CSWookie | philiKON: What was it you said I should check out when I was growsing about browser:page ? grokcore? | 00:08 |
philiKON | grokcore.view | 00:08 |
philiKON | svn co svn://svn.zope.org/repos/main/grokcore.view/trunk | 00:08 |
MrTopf | unfortunately I get a 404 | 00:08 |
philiKON | MrTopf: well, does the user object have a default view? | 00:08 |
MrTopf | can't this be a __call__? | 00:09 |
philiKON | no | 00:09 |
* CSWookie co's and looks. | 00:09 | |
philiKON | MrTopf: this ain't zope2 :) | 00:09 |
MrTopf | well, I am in zope2 ;-) | 00:09 |
philiKON | MrTopf: ah | 00:09 |
philiKON | MrTopf: hmm | 00:09 |
philiKON | MrTopf: dunno | 00:09 |
MrTopf | well, thanks anyway :) | 00:10 |
MrTopf | I think I really will move to Django with this app | 00:11 |
* CSWookie wonders if he should change his nickname to something more reminiscent of his real one. | 00:11 | |
MrTopf | somehow zope makes all the simple stuff so complicated ;-) | 00:11 |
philiKON | well, the ++foo++bar stuff is complicated | 00:12 |
*** mcdonc_ has quit IRC | 00:12 | |
philiKON | and unnecessary most of the time | 00:12 |
philiKON | anyway, i feel grok uncomplicates it a lot :) | 00:12 |
MrTopf | well, unfortunately there are several ways in Zope to do traversal hooks | 00:12 |
*** mcdonc has joined #zope3-dev | 00:12 | |
MrTopf | and I never know what to use and how | 00:12 |
philiKON | which is why there's only one (and a half) way to do them in grok ;) | 00:12 |
MrTopf | my only fear with grok always is that it more or less hides this stuff. ones you hit the boundaries of what grok accomplishes the learning curve suddenly explodes | 00:13 |
philiKON | and what makes you think that django won't do that? | 00:14 |
philiKON | at some point, with any framework, you'll find yourself wandering their source code | 00:14 |
philiKON | looking for clues | 00:14 |
philiKON | i don't think zope is much different there ;) | 00:14 |
MrTopf | I used it | 00:14 |
MrTopf | and it has it's issues | 00:14 |
MrTopf | but I can read the code and everything is clear | 00:14 |
MrTopf | well, the big picture is mostly missing for me.. like where to start to look? what component needs what other component etc. | 00:15 |
MrTopf | e.g. in Django it is clear how to do stuff but you might find some issue where it's not doing what you expect. Then you might look at the code | 00:15 |
MrTopf | with zope is starts with finding out how to do stuff | 00:15 |
MrTopf | I mean, I like it and promote it but sometimes I also think that productivity could be higher | 00:16 |
MrTopf | and now for the next traversal variant, maybe this one works | 00:17 |
CSWookie | My problem with Zope tends to be "WTF? I adapted foo to IBar, and got a Baz, and I wanted a Quux." Then I have to figure out why Quux won and not Baz, which is hard, because I haven't figured out a good way grovel the registry yet. | 00:17 |
CSWookie | s/Quux won and not Baz/Baz won and not Quux/ | 00:18 |
CSWookie | That being said, I'm generally very happy with zope, so long as I don't have to use browser:* | 00:20 |
CSWookie | MrTopf: Incidentally, shouldn't all of the caps.* urls on the Capability link you put in use https? | 00:22 |
MrTopf | CSWookie: you mean in my blog post? Yes, I changed one but just spotted some others | 00:23 |
MrTopf | only the public ones though | 00:23 |
MrTopf | the private ones don't need to be | 00:23 |
* MrTopf needs a coffee | 00:24 | |
CSWookie | MrTopf: I'm only bothering you at this because I mailed the link to my team at work, and I don't want to look like a tard :-) | 00:24 |
mcdonc | MrTopf: http://svn.repoze.org/playground/chris/bfg.agentdomain/trunk/ | 00:26 |
*** ktwilight has quit IRC | 00:28 | |
mcdonc | the who.py in there is cruft | 00:28 |
mcdonc | (flailing trying to figure out some plugin for repoze.who that was willing to parse llsd info) | 00:29 |
*** ktwilight has joined #zope3-dev | 00:29 | |
MrTopf | mcdonc: yay! :) | 00:29 |
MrTopf | I will then annoy you tomorrow on how to get this to run :) | 00:30 |
mcdonc | its in the readme | 00:30 |
*** aclark|away is now known as aclark | 00:30 | |
mcdonc | its way, way way way way way way | 00:31 |
mcdonc | simpler | 00:31 |
mcdonc | than getting plone to run | 00:31 |
MrTopf | well, Plone mostly is a buildout and instance fg | 00:31 |
mcdonc | true | 00:31 |
mcdonc | i guess i should say that what the setup does is far less devious than what the plone buildout does | 00:33 |
MrTopf | ok, setuptools barks of course | 00:33 |
mcdonc | barks? | 00:33 |
CSWookie | borks? | 00:33 |
MrTopf | well, I have svn 1.5 installed | 00:34 |
CSWookie | Ah. | 00:34 |
MrTopf | need to move some dev setuptools in there | 00:34 |
MrTopf | If I'd only knew how I do that ;-) | 00:35 |
MrTopf | I copied it into site-packages and adjusted setuptools.pth | 00:36 |
mcdonc | can you run setup.py develop on it in the virtualenv? | 00:36 |
mcdonc | or setup.py install? | 00:36 |
MrTopf | develop | 00:36 |
MrTopf | ok, I needed to adjust easy_install.pth | 00:36 |
MrTopf | of course I could have easy_installed the new setuptools ;-) | 00:36 |
* mcdonc waits for lxml to fail to compile | 00:37 | |
MrTopf | oh, last time it compiled | 00:37 |
MrTopf | but didn't work ;) | 00:37 |
MrTopf | building it now | 00:37 |
mcdonc | its ok the app doesnt use it anyway | 00:37 |
MrTopf | yay for dependencies :) | 00:37 |
mcdonc | heh | 00:38 |
MrTopf | well... | 00:39 |
MrTopf | ImportError: dlopen(/Users/cs/prj/secondlife/pyogp/bfg/bfg.agentdomain/lib/python2.5/site-packages/lxml-2.1beta3-py2.5-macosx-10.5-i386.egg/lxml/etree.so, 2): Symbol not found: _xmlDictExists | 00:39 |
MrTopf | Referenced from: /Users/cs/prj/secondlife/pyogp/bfg/bfg.agentdomain/lib/python2.5/site-packages/lxml-2.1beta3-py2.5-macosx-10.5-i386.egg/lxml/etree.so | 00:39 |
MrTopf | Expected in: dynamic lookup | 00:39 |
*** greenman has joined #zope3-dev | 00:39 | |
mcdonc | of course | 00:39 |
MrTopf | so much for this | 00:39 |
* mcdonc makes a mental note to make lxml optional | 00:39 | |
MrTopf | looks like z3c.pt uses it | 00:40 |
mcdonc | yeah | 00:40 |
MrTopf | so is there some trick to make it compile? | 00:40 |
MrTopf | well, work | 00:40 |
MrTopf | I mean in general it would be nice to be able to use lxml :) | 00:41 |
*** timte has joined #zope3-dev | 00:41 | |
MrTopf | but I might check google or mailing lists for that | 00:41 |
MrTopf | and will try again tomorrow under Linux | 00:41 |
MrTopf | now back to my traverser :) | 00:41 |
MrTopf | look, it works :) | 00:42 |
MrTopf | I now took a view called +++users+++ and made it traversable, so I can say +++users+++/tao | 00:43 |
philiKON | uh huh | 00:44 |
MrTopf | just the next step does not work, like putting a view on that user object | 00:46 |
MrTopf | philiKON: which way does grok actually supply? | 00:47 |
MrTopf | like which interface is it using? | 00:47 |
philiKON | under the hood it uses IPublishTraverse / IBrowserPublisher | 00:47 |
* MrTopf always wanted to write a blog post about the various ways of doing traversal in Zope2 but first he needs to get them working ;-) | 00:48 | |
MrTopf | ic, I now use IPublishTraverse | 00:48 |
philiKON | iin zope >=2.10 it's pretty much alla bout IPublishTraverse | 00:48 |
MrTopf | ok, thanks | 00:49 |
MrTopf | then at least I am doing nothing wrong in this part :) | 00:49 |
*** jhauser has quit IRC | 00:49 | |
MrTopf | now the only question is why that user object is not able to have a view | 00:49 |
* MrTopf looks at how devilstick does it | 00:50 | |
* MrTopf looks into pdb.. | 00:58 | |
*** timte_ has joined #zope3-dev | 01:03 | |
*** timte has quit IRC | 01:03 | |
MrTopf | great, now it works without any changes.. | 01:04 |
MrTopf | the only question now is why that +++users+++ is not appearing in absolute_url() | 01:08 |
mcdonc | ok... this is a travesty but... http://svn.repoze.org/playground/chris/agentdomain_buildout/ | 01:08 |
mcdonc | it takes forever to run | 01:08 |
mcdonc | because it builds libx{ml,slt} | 01:09 |
MrTopf | so libxml and libxslt which ship are the problem? | 01:09 |
mcdonc | likely | 01:10 |
MrTopf | I guess we will end up with buildouts which as first thing compile all sorts of libraries ;-) | 01:11 |
MrTopf | or install some VMWare | 01:11 |
MrTopf | I am testing it now | 01:12 |
MrTopf | I think it takes forever to run | 01:12 |
*** timte has joined #zope3-dev | 01:13 | |
MrTopf | so I guess in order to make /+++users+++/tao/@@view the proper way I should register some traversal adapter for plone root which returns a dummy object +++users+++ and then another adapter for this virtual object which then traverses to my actual user? | 01:13 |
mcdonc | on the plus side, the buildout does show how to compile an lxml against non-default sources | 01:14 |
MrTopf | I will definitely keep this bookmarked for reference ;-) | 01:14 |
MrTopf | ok, building lxml now | 01:14 |
MrTopf | it says though: Building against libxml2/libxslt in the following directory: /usr/lib | 01:15 |
mcdonc | aw hell | 01:15 |
mcdonc | i know why | 01:16 |
mcdonc | sorry bout that | 01:16 |
*** alga has joined #zope3-dev | 01:16 | |
MrTopf | np | 01:16 |
mcdonc | you need to run the buildout via $ XSLT_CONFIG=`pwd`/parts/libxslt/bin/xslt-config \ | 01:16 |
mcdonc | XML2_CONFIG=`pwd`/parts/libxml2/bin/xml2-config bin/buildout | 01:16 |
mcdonc | i forgot | 01:17 |
*** timte__ has joined #zope3-dev | 01:18 | |
MrTopf | ok, next try | 01:19 |
MrTopf | in the meanwhile my agentdomain with Plone also works | 01:19 |
mcdonc | very good | 01:19 |
MrTopf | with some faking of URLs | 01:19 |
MrTopf | as I make the component know that it's located in the root | 01:20 |
MrTopf | otoh I would do the same with some root like approach | 01:20 |
MrTopf | routes like | 01:20 |
MrTopf | now I only need to code the actual connection to a region domain | 01:20 |
MrTopf | which means I need to figure out what the protocol is because that's not really documented right now | 01:20 |
mcdonc | ouch | 01:21 |
MrTopf | but I have a patch for opensim | 01:21 |
MrTopf | it would be so much easier imho to just make a branch of opensim | 01:21 |
MrTopf | instead of shipping patches.. | 01:22 |
MrTopf | or use mercurial or somesuch | 01:22 |
mcdonc | i should figure out how to use svn urls from easy_install | 01:23 |
mcdonc | i never did quite get the zen | 01:23 |
MrTopf | you mean this stuff: easy_install --editable --build-directory ~/projects SQLObject ? | 01:25 |
mcdonc | no, i mean like easy_install http://svn.foo.com/package#egg=foo | 01:25 |
mcdonc | or somesuch | 01:25 |
MrTopf | well, it says at this example that this is how you use svn checkouts | 01:26 |
*** timte_ has quit IRC | 01:26 | |
MrTopf | it does not say though how it finds the checkout url | 01:26 |
mcdonc | yeah... i dunno either | 01:26 |
MrTopf | it says in 0.3a2 though: # Added subversion download support for svn: and svn+ URLs, as well as automatic recognition of HTTP subversion URLs (Contributed by Ian Bicking) | 01:27 |
mcdonc | i have a feeling that knowing how that worked would make my life easier | 01:28 |
*** ccomb has joined #zope3-dev | 01:29 | |
MrTopf | this seems to work: easy_install http://svn.secondlife.com/svn/linden/projects/2008/pyogp/pyogp.lib.base/trunk/ | 01:29 |
*** timte has quit IRC | 01:31 | |
MrTopf | the buildout did not work though, I will check again tomorrow | 01:31 |
MrTopf | the last thing for today will be patching opensim and compiling it | 01:32 |
MrTopf | C# looks ugly btw ;-) | 01:32 |
mcdonc | i suppose no amount of effort is going to make it work | 01:33 |
mcdonc | annoying | 01:33 |
*** ktwilight_ has joined #zope3-dev | 01:34 | |
MrTopf | I might install new libxml/libxslt libs via fink or so | 01:35 |
MrTopf | maybe that helps | 01:35 |
mcdonc | who knows | 01:39 |
MrTopf | that's why I went back to using ElementTree in that package I wrote yesterday | 01:40 |
MrTopf | I even removed ZCA from that package again to make it as plain python as possible. | 01:41 |
mcdonc | yup. the reason we use z3c.pt is because it's much faster. but also a pain. | 01:42 |
mcdonc | it's definitely a case of paying for what you don't eat, so i will make it optional. | 01:43 |
MrTopf | great, opensim patch fails.. | 01:43 |
*** ktwilight has quit IRC | 01:45 | |
mcdonc | alright... i threw good money after bad and set it up over here.. http://repoze.org:6543/ | 01:46 |
mcdonc | http://repoze.org:5432/agents/<username>/seedcap/<rand> | 01:46 |
mcdonc | that uses routes | 01:46 |
mcdonc | the "root" view uses graph traversal | 01:47 |
mcdonc | (because no Route matches) | 01:47 |
mcdonc | oops that should be http://repoze.org:6543/agents/username/seedcap/rand | 01:49 |
MrTopf | works, thanks :) | 01:49 |
mcdonc | (where username and rand are replaceable) | 01:49 |
MrTopf | I will play around with this a little should I have some time this week | 01:49 |
MrTopf | and try to make it work with the actual agent domain stuff | 01:49 |
mcdonc | ok, i'll shut up now | 01:50 |
MrTopf | thanks for all this effort :) | 01:50 |
mcdonc | fucking useless | 01:50 |
mcdonc | ;-) | 01:50 |
MrTopf | nah :) | 01:50 |
MrTopf | OGP at this state is rather useless ;-) | 01:50 |
MrTopf | nevertheless Linden Lab announced some beta ;-) | 01:50 |
MrTopf | which should have been more "hey, we are providing a developer sandbox" | 01:51 |
mcdonc | i basically just cant take it to see plone used for this sort of thing, it's out of spite ;-) | 01:51 |
MrTopf | well, the idea is: You have a social networking site, how do you turn this into an agent domain | 01:51 |
MrTopf | but you might be right that I maybe should have started with something simpler if I only want to experiment with the interfaces | 01:52 |
MrTopf | probably I should have made this as some sort of unit test | 01:53 |
mcdonc | or a straight wsgi app | 01:54 |
MrTopf | yep, maybe as mockup like I did the mockup agentdomain as wsgi app for testing the lib | 01:54 |
mcdonc | more specifically i'd like people to stop asking me for a "plone app" when what they want is something completely different, and if i can make a small difference towards that goal and people start to use other stuff when its appropriate, i'll be happier. | 01:55 |
MrTopf | Plone isn't too bad, it just maybe needs to get ported away from Zope2 and made Plone Light ;-) | 01:56 |
mcdonc | its great when its appropriate. | 01:57 |
MrTopf | well, compared to Django I at least like the fact that many things are already in place, like some layout, or user management | 01:57 |
mcdonc | well, django has user management, but no layout indeed | 01:58 |
MrTopf | so when I started this project in Django I first needed to do som stuff which had nothing to do with the actual problem I wanted to solve | 01:58 |
mcdonc | that said, your app doesn't need any layout, because real browsers dont talk to it | 01:58 |
MrTopf | and that user management was too inflexible for what I needed | 01:59 |
MrTopf | yes, this app doesn't need it | 01:59 |
MrTopf | but the other one needed it :) | 01:59 |
MrTopf | and I agree that Django might have been the better choice (if it only would be eggifyable) | 01:59 |
mcdonc | it is... i've done it. | 01:59 |
MrTopf | I thought it's not supported | 01:59 |
mcdonc | http://svn.repoze.org/repoze.django/trunk/ | 02:00 |
mcdonc | old branch tho | 02:00 |
mcdonc | although all it would take is updating the files in the checkout | 02:00 |
MrTopf | so you can make your own app an egg? and maybe use buildout? | 02:00 |
mcdonc | http://dist.repoze.org/django/newforms-admin/ | 02:00 |
mcdonc | sure | 02:01 |
mcdonc | you have to ignore the "project" concept in the book | 02:01 |
mcdonc | and just go straight to the package | 02:01 |
MrTopf | ok, makes sense | 02:02 |
MrTopf | never looked too deep into it | 02:02 |
mcdonc | look deeper! ;-) | 02:02 |
MrTopf | someday :) | 02:02 |
MrTopf | when I have to redeploy that app ;-) | 02:02 |
mcdonc | plone is the new MS | 02:02 |
mcdonc | "i would try to use something else but i dont have time" | 02:02 |
MrTopf | ok, opensim is running :) | 02:03 |
MrTopf | nice findings like this: + ulong fakeHandle = m_Parent.GridService.getHandleHack(); // REALLY BAD | 02:08 |
mcdonc | yummm | 02:09 |
MrTopf | somehow reminds me of Zope2 ;-) | 02:10 |
mcdonc | django reminds me of zope2 | 02:11 |
MrTopf | I agree it could be cleaner.. but from the three TG, Pylons and Django I choose it because it seemed to have the best documentation and the community around it also seems very helpful | 02:13 |
MrTopf | ok, now for debugging C# | 02:14 |
mcdonc | django reminds me of zope2 just because they are hostile to external dependencies mostly.. which is probably a good thing in most cases, but it does make it a little insular | 02:14 |
mcdonc | there "django", then the rest of the python web dev community... they dont mix much. | 02:15 |
MrTopf | yeah, true | 02:15 |
MrTopf | at least I was able to use tal | 02:16 |
MrTopf | but it would also be a plus to be able to exchange the ORM | 02:16 |
mcdonc | i predict a django backlash | 02:21 |
mcdonc | like the zope2 backlash of 2003 | 02:21 |
mcdonc | it may take longer because django is less "weird" than zope, but eventually other stuff is going to surpass its built in stuff, and people will want to use it, and it just wont work | 02:22 |
mcdonc | but in the meantime, it does definitely have all the mindshare and the best docs | 02:23 |
*** elro has quit IRC | 02:23 | |
MrTopf | add Google AppEngine to it | 02:28 |
mcdonc | true, although i think that may turn into a flop | 02:28 |
MrTopf | I mean it's not that hard to use other stuff in Django | 02:29 |
MrTopf | just replacing the ORM is not that easy ;-) | 02:29 |
mcdonc | because you can't build big apps in it | 02:29 |
mcdonc | or, rather, you can, but they will only run there | 02:29 |
MrTopf | true, you are bound to it but so are people who use EC2 | 02:30 |
MrTopf | maybe not as much | 02:30 |
mcdonc | a little less maybe... you can still use S3 from outside. | 02:31 |
MrTopf | but for many startups it's still easier to use such things as you don't have to worry about scaling | 02:31 |
*** philiKON has quit IRC | 02:31 | |
MrTopf | and GAE will not be the end | 02:31 |
MrTopf | but for now it might mean some promotion for Python | 02:32 |
mcdonc | i think it would be useful to have a zodb storage written in terms of bigtable | 02:32 |
MrTopf | which is not necessarily a bad thing ;-) | 02:32 |
mcdonc | it would probably be simple | 02:32 |
MrTopf | isn't this what Malthe is doing? | 02:32 |
mcdonc | i thought he was doing dobbin? | 02:32 |
MrTopf | well, he was playing around with bigtable at the EP sprint | 02:32 |
mcdonc | ah cool | 02:32 |
mcdonc | if you had a zodb storage for bigtable, and we could get rid of the C extensions in zodb, you could write once run anywhere just about | 02:33 |
* mcdonc takes another stab at making a Persistent metaclass | 02:36 | |
MrTopf | well, good luck :) | 02:38 |
*** timte__ has quit IRC | 02:38 | |
MrTopf | I will go to bed now, late enough | 02:38 |
MrTopf | and I have no clue what the problem in opensim is anyway ;-) | 02:38 |
mcdonc | night MrTopf | 02:39 |
MrTopf | thanks for bfg.agentdomain! :) | 02:39 |
MrTopf | and your help :) | 02:39 |
mcdonc | worthless, but you're welcome ;-) | 02:39 |
MrTopf | I will turn this into a full fledged agentdomain someday :) | 02:39 |
MrTopf | ok, cya! :) | 02:40 |
mcdonc | here's to hoping.. adios | 02:40 |
*** MrTopf has quit IRC | 02:40 | |
*** jodok has quit IRC | 02:44 | |
*** pcardune has joined #zope3-dev | 02:44 | |
*** gstratton has joined #zope3-dev | 02:49 | |
*** quodt_ has joined #zope3-dev | 03:20 | |
*** quodt has quit IRC | 03:23 | |
*** quodt has joined #zope3-dev | 03:23 | |
*** gstratton has left #zope3-dev | 03:25 | |
*** b52laptop has quit IRC | 03:27 | |
*** quodt has quit IRC | 03:36 | |
*** quodt_ has quit IRC | 03:41 | |
*** vipod has quit IRC | 03:42 | |
*** pcardune has quit IRC | 04:03 | |
*** edgordon has quit IRC | 04:15 | |
*** aclark is now known as aclark|away | 05:07 | |
*** greenman has quit IRC | 05:24 | |
*** alga has quit IRC | 06:01 | |
*** lurkymclurkleton has joined #zope3-dev | 06:40 | |
*** binseer has joined #zope3-dev | 07:00 | |
*** lurkymclurkleton has quit IRC | 07:15 | |
*** fairwinds has quit IRC | 07:16 | |
*** afd_ has joined #zope3-dev | 07:35 | |
*** stub has joined #zope3-dev | 07:41 | |
*** jhauser has joined #zope3-dev | 08:19 | |
*** andres_f has quit IRC | 08:30 | |
*** zagy has quit IRC | 08:38 | |
*** vimes656 has joined #zope3-dev | 08:40 | |
*** jayaraj has joined #zope3-dev | 08:48 | |
*** jayaraj has quit IRC | 08:49 | |
*** jayaraj has joined #zope3-dev | 08:50 | |
*** zagy has joined #zope3-dev | 09:01 | |
*** zagy has quit IRC | 09:18 | |
*** __mac__ has joined #zope3-dev | 09:19 | |
*** zagy has joined #zope3-dev | 09:19 | |
*** jpcw2002 has joined #zope3-dev | 09:21 | |
*** __mac__ has quit IRC | 09:26 | |
*** __mac__ has joined #zope3-dev | 09:26 | |
*** yvl has joined #zope3-dev | 09:31 | |
*** harobed has joined #zope3-dev | 09:35 | |
*** romanofski has joined #zope3-dev | 09:37 | |
*** tuxella has quit IRC | 09:44 | |
*** afd__ has joined #zope3-dev | 09:48 | |
*** elro has joined #zope3-dev | 10:04 | |
*** goschtl has joined #zope3-dev | 10:14 | |
*** afd_ has quit IRC | 10:15 | |
*** goschtl has quit IRC | 10:33 | |
*** goschtl has joined #zope3-dev | 10:34 | |
*** flox has joined #zope3-dev | 10:37 | |
*** MJ has joined #zope3-dev | 10:38 | |
*** Aiste has joined #zope3-dev | 10:46 | |
*** Aiste has quit IRC | 10:46 | |
*** Aiste has joined #zope3-dev | 10:47 | |
*** dobee has joined #zope3-dev | 10:55 | |
*** ccomb_sa has joined #zope3-dev | 10:59 | |
*** mcdonc_ has joined #zope3-dev | 11:02 | |
*** mcdonc has quit IRC | 11:02 | |
*** stub has quit IRC | 11:02 | |
*** timte has joined #zope3-dev | 11:03 | |
*** junkafarian has joined #zope3-dev | 11:05 | |
*** maurits has joined #zope3-dev | 11:08 | |
*** quodt has joined #zope3-dev | 11:09 | |
*** yvl has left #zope3-dev | 11:10 | |
*** elro has quit IRC | 11:10 | |
*** philiKON has joined #zope3-dev | 11:12 | |
*** acsr has quit IRC | 11:16 | |
*** alga has joined #zope3-dev | 11:21 | |
*** stub has joined #zope3-dev | 11:23 | |
*** junkafarian has quit IRC | 11:28 | |
*** stub has quit IRC | 11:35 | |
*** seletz has joined #zope3-dev | 11:35 | |
*** zagy has quit IRC | 11:37 | |
*** jodok has joined #zope3-dev | 11:38 | |
*** timte_ has joined #zope3-dev | 11:38 | |
*** timte_ has joined #zope3-dev | 11:39 | |
*** philiKON has quit IRC | 11:41 | |
*** elro has joined #zope3-dev | 11:48 | |
*** vipod has joined #zope3-dev | 11:48 | |
*** vipod has left #zope3-dev | 11:48 | |
*** alecghica has joined #zope3-dev | 11:48 | |
*** timte has quit IRC | 11:50 | |
*** yotaff has joined #zope3-dev | 11:52 | |
*** greenman has joined #zope3-dev | 11:53 | |
*** vipod has joined #zope3-dev | 11:59 | |
*** MrTopf has joined #zope3-dev | 11:59 | |
*** timte_ has quit IRC | 12:06 | |
*** vipod has quit IRC | 12:08 | |
*** sunew has joined #zope3-dev | 12:09 | |
*** vipod has joined #zope3-dev | 12:11 | |
*** malthe has joined #zope3-dev | 12:14 | |
*** b52laptop has joined #zope3-dev | 12:34 | |
*** nouri has joined #zope3-dev | 12:35 | |
*** regebro has joined #zope3-dev | 12:42 | |
*** tdoggette has joined #zope3-dev | 12:50 | |
*** MJ is now known as MJ|lunch | 13:21 | |
*** zagy has joined #zope3-dev | 13:42 | |
*** gstratton has joined #zope3-dev | 13:48 | |
*** afd__ has quit IRC | 13:48 | |
*** gstratton has quit IRC | 13:49 | |
*** alga has quit IRC | 13:51 | |
*** MrTopf has quit IRC | 13:52 | |
*** tdoggette has quit IRC | 13:53 | |
*** sunew has quit IRC | 13:59 | |
*** sunew has joined #zope3-dev | 13:59 | |
*** fairwinds has joined #zope3-dev | 14:08 | |
*** alga has joined #zope3-dev | 14:19 | |
*** afd__ has joined #zope3-dev | 14:21 | |
*** BjornT has quit IRC | 14:22 | |
*** tdoggette has joined #zope3-dev | 14:25 | |
*** __mac__ has quit IRC | 14:25 | |
*** MrTopf has joined #zope3-dev | 14:28 | |
*** vimes656 has quit IRC | 14:29 | |
*** __mac__ has joined #zope3-dev | 14:30 | |
*** hazmat has joined #zope3-dev | 14:30 | |
*** ChanServ sets mode: +o hazmat | 14:30 | |
*** ignas has joined #zope3-dev | 14:30 | |
*** stub has joined #zope3-dev | 14:39 | |
*** markusleist has joined #zope3-dev | 14:48 | |
*** vimes656 has joined #zope3-dev | 14:49 | |
*** regebro has left #zope3-dev | 14:51 | |
*** benji_ has joined #zope3-dev | 14:52 | |
*** timte has joined #zope3-dev | 14:54 | |
*** danielblackburn has joined #zope3-dev | 14:58 | |
*** stub has quit IRC | 14:58 | |
*** dunny has quit IRC | 14:59 | |
*** fcorrea has joined #zope3-dev | 15:00 | |
*** projekt01 has joined #zope3-dev | 15:08 | |
*** mcdonc_ has quit IRC | 15:24 | |
*** mcdonc has joined #zope3-dev | 15:25 | |
*** BjornT has joined #zope3-dev | 15:27 | |
*** greenman has quit IRC | 15:29 | |
*** sunew has quit IRC | 15:34 | |
*** danielblackburn_ has joined #zope3-dev | 15:37 | |
*** danielblackburn has quit IRC | 15:37 | |
*** alga has quit IRC | 15:39 | |
*** aclark|away is now known as aclark | 15:54 | |
*** J1m has joined #zope3-dev | 16:00 | |
*** lurkymclurkleton has joined #zope3-dev | 16:03 | |
*** sunew has joined #zope3-dev | 16:03 | |
*** jamur2 has joined #zope3-dev | 16:03 | |
*** danielblackburn has joined #zope3-dev | 16:04 | |
*** danielblackburn_ has quit IRC | 16:04 | |
*** aaronv has joined #zope3-dev | 16:12 | |
*** rocky has joined #zope3-dev | 16:24 | |
*** yotaff has quit IRC | 16:26 | |
*** sp0cksbeard has joined #zope3-dev | 16:29 | |
*** malthe is now known as malthe|out | 16:39 | |
*** afd__ has quit IRC | 16:39 | |
*** afd_ has joined #zope3-dev | 16:39 | |
*** mintsauce has joined #zope3-dev | 16:43 | |
mintsauce | Zope 3 ICredentialPlugin recommendations? Any for OAuth? | 16:44 |
*** MJ|lunch is now known as MJ | 16:50 | |
*** __mac__ has quit IRC | 16:54 | |
*** vipod has quit IRC | 16:55 | |
*** tdoggette has quit IRC | 16:58 | |
MrTopf | oha, OAuth comes to the Zope world.. :) | 16:58 |
*** tdoggette has joined #zope3-dev | 16:58 | |
*** sunew has quit IRC | 16:59 | |
*** srichter has joined #zope3-dev | 16:59 | |
MrTopf | I wonder if there's some wsgi component for it | 16:59 |
*** ChanServ sets mode: +o srichter | 17:00 | |
*** jukart has joined #zope3-dev | 17:06 | |
*** hazmat has quit IRC | 17:08 | |
*** lucielejard has joined #zope3-dev | 17:18 | |
*** hazmat has joined #zope3-dev | 17:18 | |
*** ChanServ sets mode: +o hazmat | 17:18 | |
afd_ | mintsauce: just saw this on the django aggregator, maybe it's useful to you: http://fi.am/entry/time-to-release-django-digest-and-django-oauthsp/ | 17:19 |
*** mgedmin has joined #zope3-dev | 17:19 | |
mintsauce | afd_: interesting, thanks. | 17:21 |
*** sp0cksbeard has quit IRC | 17:22 | |
*** reco has joined #zope3-dev | 17:26 | |
*** MJ has quit IRC | 17:28 | |
*** srichter has quit IRC | 17:34 | |
*** srichter has joined #zope3-dev | 17:34 | |
*** mcdonc has quit IRC | 17:34 | |
*** jhauser has quit IRC | 17:34 | |
*** mcdonc has joined #zope3-dev | 17:35 | |
*** rocky has quit IRC | 17:38 | |
*** rocky has joined #zope3-dev | 17:42 | |
mintsauce | Reading through PVW's Zope 3 book, he makes a sensible, valid case for avoiding using cookie based logins, then goes ahead and uses cookies instead of sessions! Are there any tutorials based around session login? | 17:45 |
*** whit has joined #zope3-dev | 17:46 | |
*** danielblackburn_ has joined #zope3-dev | 17:46 | |
afd_ | mintsauce: just enable the session credentials | 17:48 |
*** philiKON has joined #zope3-dev | 17:48 | |
*** dvschramm has joined #zope3-dev | 17:48 | |
mintsauce | afd_: 'just' ....... bearing in mind im new to Zope3 ... how do i enable them? | 17:49 |
afd_ | But, in case you want to scale up (multiple zeo clients), I'm not sure they're a good idea. The default session container is lives in zodb, which will cause a lot of writes to the db. Cookies are really better | 17:49 |
mintsauce | afd_: really? despite storing security critical info on the client? (PVW's point, not mine) | 17:50 |
afd_ | mintsauce: select the session credentials utility as credentials plugin in the pluggable authentication utility, in the site management | 17:50 |
afd_ | I'll have to read that chapter to be able to comment on that | 17:52 |
afd_ | but, unless I'm wrong, the session also uses a cookie to identify clients | 17:52 |
afd_ | though it might be possible to write a cookie credentials plugin that hashes the client ip into the data stored on the user browser | 17:53 |
afd_ | as to make it safer | 17:53 |
mintsauce | afd_: that is kinda what he suggests, but it's still client based, so an inherent risk out of our control ...... but thanks for your thoughts/help :) | 17:54 |
afd_ | np :) | 17:54 |
*** rmarianski has joined #zope3-dev | 17:55 | |
*** philiKON has quit IRC | 17:55 | |
afd_ | mintsauce: also, I think the author has published the credentials plugin as a separate package on pypi, you could look into that | 17:57 |
*** srichter has quit IRC | 17:57 | |
*** srichter has joined #zope3-dev | 18:01 | |
srichter | mgedmin: I am going to give you access to all packages on PyPI that I have access to; what's your PiPY id? | 18:02 |
mgedmin | srichter: mgedmin | 18:03 |
mgedmin | and thansk | 18:03 |
*** danielblackburn has quit IRC | 18:03 | |
srichter | mgedmin: ok, it's running through the script now; btw, the scripts to easily add people to packages is in zope.pypisupport | 18:06 |
srichter | mgedmin: thank you for helping out with the KGS | 18:06 |
*** jayaraj has quit IRC | 18:06 | |
*** binseer has quit IRC | 18:07 | |
*** dobee has quit IRC | 18:07 | |
srichter | mgedmin: it's strange, you could not upload the latest controlled-packages.cfg to download.zope.org | 18:08 |
srichter | the group seems to be set correctly and it has write perms on the group | 18:08 |
mgedmin | it's the shell, I believe | 18:09 |
mgedmin | I get "Command not accepted" | 18:09 |
ignas | ouch ouch ouch, python2.5 support in Zope is broken in a very "interesting" way | 18:09 |
srichter | mgedmin: ahh, ok, you might not have a shell | 18:09 |
srichter | that's something Jim can fix :-) | 18:09 |
ignas | apparently - all the exceptions ins python2.4 were of <type 'instance'> , and were using _instanceChecker | 18:09 |
mgedmin | ignas: old-style vs new-style classes, just like I suspected | 18:10 |
ignas | in python2.5 - exceptions have types of their own like: <class 'zope.publisher.interfaces.NotFound'> | 18:10 |
ignas | and _checkers dict | 18:10 |
ignas | has no entries for these kinds of exceptions | 18:10 |
ignas | so it's as if none of the exceptions have any checkers defined for them | 18:10 |
ignas | and C code says: | 18:11 |
ignas | if it's an exception and it has no specific checker defined - return None | 18:11 |
ignas | and the other C code says: | 18:11 |
ignas | if something has a checker set to None - raise an error! | 18:11 |
* ignas is not sure why if objects with a checker set to None are invalid there is code in Zope3 that sets checker to None | 18:13 | |
ignas | and why/how did python and C versions of such core functions have diverged | 18:13 |
ignas | poor jython developers who will be porting Zope3 to jython... | 18:14 |
mgedmin | why poor? you'll have it fixed before they notice ;) | 18:14 |
*** jhauser has joined #zope3-dev | 18:14 | |
*** sp0cksbeard has joined #zope3-dev | 18:15 | |
*** yotaff has joined #zope3-dev | 18:15 | |
whit | where is the best place to ask buildout questions? | 18:16 |
ignas | #j1m ;) | 18:17 |
benji_ | whit: either here or distutils-sig list | 18:17 |
whit | gotcha | 18:17 |
* benji_ gets irritated with idiot that keeps taking my nick and ghosts him. | 18:17 | |
whit | it looks like something changes in how some vars (ie buildout:egg-directory) get computed | 18:18 |
whit | OSError: [Errno 2] No such file or directory: '/Users/whit/dev/geo/alm3//Users/whit/dev/geo/alm3/develop-eggs' | 18:19 |
whit | is the result for: | 18:19 |
whit | eggs-directory = ${buildout:directory}/develop-eggs | 18:19 |
whit | instead of: | 18:19 |
whit | '/Users/whit/dev/geo/alm3/develop-eggs | 18:20 |
whit | (which I believe works until at least 1.0.2) | 18:20 |
*** nouri` has joined #zope3-dev | 18:20 | |
* whit cuts and pastes and sends to disutils-sig | 18:20 | |
ignas | seems like your path for eggs-directory got computed properly, but while it is absolute, it was treated as if it was relative by buildout... | 18:21 |
*** romanofski has quit IRC | 18:21 | |
*** benji_ is now known as benji | 18:21 | |
ignas | not that I know why it happened | 18:21 |
whit | yeah | 18:21 |
whit | the fix is easy but not graphic designer easy ;) | 18:22 |
* whit goes to fix crying ui peoples builds | 18:22 | |
*** ktwilight_ has quit IRC | 18:22 | |
*** ktwilight_ has joined #zope3-dev | 18:23 | |
*** projekt01 has quit IRC | 18:24 | |
*** nouri has quit IRC | 18:31 | |
*** povbot has joined #zope3-dev | 18:37 | |
J1m | whit, can you try sending me a fill traceback? | 18:37 |
whit | J1m: sure | 18:38 |
J1m | Oh, I see you sent something to distutils. | 18:38 |
*** goschtl has quit IRC | 18:39 | |
whit | J1m: here's the traceback.... not too much to look at: http://pylonshq.com/pasties/905 | 18:39 |
J1m | Thanks | 18:40 |
whit | np | 18:40 |
*** dobee has joined #zope3-dev | 18:42 | |
*** jodok has quit IRC | 18:44 | |
J1m | whit, can you send me a buildout that I can try to run to reproduce this? | 18:45 |
*** fcorrea_ has joined #zope3-dev | 18:45 | |
J1m | The path manipilation is being done with os.path.join, so I don't see why you are getting the error you're getting. | 18:46 |
*** fcorrea has quit IRC | 18:47 | |
*** zagy has quit IRC | 18:48 | |
whit | J1m: it seems like there was no manipulation before (1.0.2) | 18:49 |
whit | iow, I declare my path, and it was used | 18:49 |
whit | but yeah, that's wierd | 18:49 |
whit | join would resolve the // | 18:49 |
whit | right? | 18:49 |
J1m | Yes, there was, but it changed in the most recent release. | 18:49 |
* whit makes sure he is using the versions he thinks he is | 18:51 | |
whit | 1.1.0 is on the path | 18:52 |
*** hazmat has quit IRC | 18:52 | |
*** nouri` is now known as nouri | 18:53 | |
J1m | 1.1.0 is the most recent and it *does* have changes in path manipulation. | 18:53 |
J1m | I don't doubt that the change is causing the problem you're having. | 18:54 |
J1m | I need to debug it. | 18:54 |
*** projekt01 has joined #zope3-dev | 18:59 | |
* mgedmin wonders if buildout can make it simple to test the same project with two different python versions | 19:07 | |
*** CSWookie has quit IRC | 19:07 | |
*** CSWookie has joined #zope3-dev | 19:08 | |
mgedmin | hm, unreleased zope.security wants an unreleased zope.proxy :/ | 19:09 |
*** reco has quit IRC | 19:10 | |
*** reco has joined #zope3-dev | 19:11 | |
*** fcorrea_ is now known as fcorrea | 19:13 | |
*** whit has quit IRC | 19:19 | |
*** whit has joined #zope3-dev | 19:19 | |
*** whit has quit IRC | 19:21 | |
*** whit has joined #zope3-dev | 19:21 | |
*** alecm has joined #zope3-dev | 19:31 | |
*** mintsauce has quit IRC | 19:33 | |
whit | are there any docs out there for using and creating custom itemswidgets? | 19:40 |
whit | w/ formlib | 19:40 |
whit | looks like a factory function is what you have to start with | 19:40 |
whit | nvrmd... figured it out | 19:42 |
*** dvschramm has quit IRC | 19:43 | |
*** mcdonc_ has joined #zope3-dev | 19:44 | |
*** mcdonc has quit IRC | 19:44 | |
*** zagy has joined #zope3-dev | 19:51 | |
*** nathany has joined #zope3-dev | 19:56 | |
*** quodt has quit IRC | 20:04 | |
*** jukart has quit IRC | 20:04 | |
*** acsr has joined #zope3-dev | 20:10 | |
*** philiKON has joined #zope3-dev | 20:11 | |
*** markusleist has quit IRC | 20:17 | |
*** nouri has quit IRC | 20:21 | |
*** MrTopf has quit IRC | 20:25 | |
*** jukart has joined #zope3-dev | 20:25 | |
*** ignas has quit IRC | 20:40 | |
*** rocky has quit IRC | 20:43 | |
*** tarek has joined #zope3-dev | 20:46 | |
*** seletz has left #zope3-dev | 20:49 | |
*** dobee has quit IRC | 20:51 | |
*** harobed has quit IRC | 20:52 | |
*** tarek has quit IRC | 20:54 | |
*** mgedmin has quit IRC | 20:55 | |
*** tarek has joined #zope3-dev | 20:55 | |
*** tarek has quit IRC | 21:02 | |
*** baijum has joined #zope3-dev | 21:07 | |
*** tarek has joined #zope3-dev | 21:14 | |
*** tarek has quit IRC | 21:16 | |
*** tarek has joined #zope3-dev | 21:18 | |
*** norro has joined #zope3-dev | 21:19 | |
*** Jell-O-Fishi has quit IRC | 21:22 | |
*** lurkymclurkleton has quit IRC | 21:24 | |
*** lurkymclurkleton has joined #zope3-dev | 21:24 | |
*** tarek has quit IRC | 21:26 | |
srichter | J1m: do you have to do something specific to give someone ssh access to download.zope.org? mgedmin would like to help out with the KGS maintainance, but cannot get into the box | 21:28 |
J1m | Yes, I have to do something specific. | 21:28 |
srichter | J1m: could you do this for mgedmin please? | 21:29 |
J1m | yes, done | 21:29 |
srichter | thanks a lot | 21:29 |
srichter | I'll let him know and get him started | 21:30 |
*** whit has quit IRC | 21:30 | |
*** whit has joined #zope3-dev | 21:33 | |
*** elro has quit IRC | 21:36 | |
*** afd_ has quit IRC | 21:37 | |
*** vipod has joined #zope3-dev | 21:37 | |
*** afd_ has joined #zope3-dev | 21:37 | |
*** projekt01 has quit IRC | 21:39 | |
*** jpcw2002 has quit IRC | 21:51 | |
*** jpcw2002 has joined #zope3-dev | 21:52 | |
*** flox has quit IRC | 22:04 | |
*** flox has joined #zope3-dev | 22:21 | |
*** whit has quit IRC | 22:23 | |
*** maurits has quit IRC | 22:24 | |
*** romanofski has joined #zope3-dev | 22:28 | |
*** whit has joined #zope3-dev | 22:43 | |
*** flox has quit IRC | 22:43 | |
*** flox has joined #zope3-dev | 22:45 | |
*** elro has joined #zope3-dev | 22:46 | |
*** fairwinds has quit IRC | 22:47 | |
*** jodok has joined #zope3-dev | 22:51 | |
philiKON | J1m: ping | 22:54 |
*** jodok has quit IRC | 22:56 | |
benji | philiKON: Temporary failure in name resolution. | 22:57 |
philiKON | dang | 22:57 |
*** junkafarian has joined #zope3-dev | 22:57 | |
philiKON | how temporary? ;) | 22:57 |
benji | heh | 22:58 |
benji | no idea; he's not at his desk and hasn't been for a while | 22:58 |
philiKON | i see | 22:58 |
philiKON | on well, i guess he'll see that i pinged him when he gets back | 22:58 |
*** dbfrombrc has joined #zope3-dev | 23:01 | |
*** jodok has joined #zope3-dev | 23:07 | |
*** danielblackburn has joined #zope3-dev | 23:14 | |
*** romanofski has quit IRC | 23:16 | |
*** fcorrea has quit IRC | 23:23 | |
*** jukart has quit IRC | 23:24 | |
*** dunny has joined #zope3-dev | 23:27 | |
*** flox has left #zope3-dev | 23:27 | |
*** danielblackburn_ has quit IRC | 23:31 | |
*** vipod has quit IRC | 23:33 | |
*** aaronv has quit IRC | 23:34 | |
*** fairwinds has joined #zope3-dev | 23:42 | |
*** fairwinds has quit IRC | 23:44 | |
J1m | philiKON, pong | 23:52 |
philiKON | J1m: did you get my email about the releases? | 23:53 |
J1m | I dunno | 23:53 |
J1m | when did you send it? | 23:53 |
philiKON | it was on zope-dev as well | 23:53 |
J1m | what was the subject? | 23:53 |
philiKON | Running the 3.4 KGS tests: 9 fail, 6 errors | 23:54 |
philiKON | i sent the email about 23 hours ago | 23:54 |
J1m | k, sure | 23:54 |
J1m | this is about te kgs. | 23:55 |
J1m | Not sure about releases. | 23:55 |
philiKON | this isn't really about the KGS | 23:55 |
philiKON | it's about shane's fixes | 23:55 |
philiKON | which he did on various trunks | 23:55 |
philiKON | and i created release tags | 23:55 |
philiKON | but i don't have PyPI rights to all packages | 23:55 |
philiKON | also, id on't have a windows machine | 23:55 |
philiKON | to build binary eggs | 23:55 |
philiKON | (all affected packages have C code, which Shane fixed) | 23:56 |
srichter | philiKON: I can run my script for you ;-) | 23:56 |
J1m | oh, so someone wants bdist_egg releases. | 23:56 |
J1m | :) | 23:56 |
philiKON | J1m: yes, basically someone (I) wants python setup.py register sdist bdist_egg upload :) | 23:56 |
srichter | philiKON: for Windows, ... | 23:56 |
philiKON | eggsactly ;) | 23:56 |
J1m | k, from those tags. | 23:56 |
philiKON | right | 23:56 |
J1m | k, I can do that. | 23:56 |
philiKON | awesome | 23:57 |
philiKON | thanks | 23:57 |
srichter | btw, I am willing to build binary packages as well | 23:57 |
srichter | I have my VMWare setup correctly | 23:57 |
*** whit has quit IRC | 23:57 | |
J1m | bingo! :) | 23:57 |
philiKON | :) | 23:57 |
*** sunew has joined #zope3-dev | 23:57 | |
*** whit has joined #zope3-dev | 23:58 | |
*** baijum has left #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!