IRC log of #zope3-dev for Monday, 2009-03-09

jeandanielzope3 is working toward better re-use, and componentization. Is the wsgi middleware interface design a part of this work? or just remotely interesting?00:02
*** jamur2 has joined #zope3-dev00:15
*** yota has quit IRC00:15
*** jamur2 has quit IRC00:16
*** nyo has joined #zope3-dev00:26
nyojeandaniel: yes. on the forthcoming PyCon, some developers (shane, jim and others) will discuss about refactoring zope publishing framework to wsgi pipeline as well as possibly reusing WebOb for request/response objects.00:30
*** menesis has quit IRC00:33
jeandanieli remember having read a blog about that now by now. I was wondering what a wsgi pipeline could be at that time.00:44
nyojeandaniel: there's a poposal on the wiki -
*** tarek has quit IRC00:55
*** aaronv has quit IRC00:56
*** nyo has quit IRC00:56
*** andycat has joined #zope3-dev00:58
jeandanielnyo:  thank you, to me this wsgi pipeline looks a lot like the "Application Routeur" described in the sipservlet API (jsr289). SIP is a voip protocol like HTTP is a web protocol, the siplet api does a job similar to the http servlet API in java and the wsgi in python.01:03
*** [1]Doc_Dan has joined #zope3-dev01:03
*** Doc_Dan has quit IRC01:19
*** [1]Doc_Dan is now known as Doc_Dan01:19
jeandanielI am certainly oversimplifying but as I read the zope pipeline proposal and their intended use of ZCML to configure the list of application, I think about the config.xml of bea weblogic sipserver which allows us to choose and sequence the classes which would receive the request (zope is a web framework like bea's sipserver is a sip application server in j2ee)01:20
jeandanielmaybe python needs a ssgi, a sipserver gateway interface so that sip framework can develop in the same direction with fewer wheels to reinvent :)01:24
*** jeandaniel has quit IRC01:31
*** greenman has quit IRC01:46
*** junkafarian has quit IRC01:52
*** davisagli has quit IRC01:55
*** mgedmin has quit IRC02:21
*** pcardune has joined #zope3-dev02:29
*** tarek has joined #zope3-dev02:35
*** quodt has quit IRC02:36
*** tarek has quit IRC02:36
*** dbfrombrc has quit IRC02:42
*** pcardune has quit IRC02:46
*** troter has joined #zope3-dev03:06
*** troter has quit IRC03:07
*** greenman has joined #zope3-dev03:23
*** alga has quit IRC03:46
*** jamur2 has joined #zope3-dev04:01
*** pcardune has joined #zope3-dev04:06
*** MrTopf has quit IRC04:06
*** pcardune has quit IRC04:13
*** pcardune has joined #zope3-dev04:26
*** jamur2 has quit IRC04:56
*** hexsprite has joined #zope3-dev05:41
*** projekt01 has left #zope3-dev05:42
*** romanofski has joined #zope3-dev06:00
*** [1]Doc_Dan has joined #zope3-dev06:08
*** hexsprite has quit IRC06:08
*** tarek has joined #zope3-dev06:21
*** Doc_Dan has quit IRC06:26
*** [1]Doc_Dan is now known as Doc_Dan06:26
*** pcardune has quit IRC06:59
*** tarek has quit IRC07:00
*** greenman has quit IRC07:05
*** davisagli has joined #zope3-dev07:13
*** dbfrombrc has joined #zope3-dev07:23
*** tarek has joined #zope3-dev07:29
*** greenman has joined #zope3-dev07:42
*** tarek has quit IRC07:45
*** greenman has quit IRC07:49
*** redir has quit IRC07:57
*** philiKON has quit IRC08:07
*** JaRoel|4_ is now known as JaRoel|4D08:19
*** Theuni has joined #zope3-dev08:25
*** quodt has joined #zope3-dev08:33
*** malthe has joined #zope3-dev08:34
*** jamur2 has joined #zope3-dev08:48
*** benji has joined #zope3-dev08:57
*** JaRoel|4D has quit IRC08:58
*** quodt has quit IRC09:00
*** Aiste has joined #zope3-dev09:03
*** agroszer has joined #zope3-dev09:05
*** markusleist has quit IRC09:11
*** Theuni has quit IRC09:24
*** Theuni has joined #zope3-dev09:36
*** JaRoel|4D has joined #zope3-dev09:38
*** benji is now known as Guest7908209:42
*** benji_ has joined #zope3-dev09:42
*** yotaff has joined #zope3-dev09:43
*** BjornT has joined #zope3-dev09:43
*** greenman has joined #zope3-dev09:44
*** tarek has joined #zope3-dev09:45
*** quodt has joined #zope3-dev09:46
*** davisagli has quit IRC09:48
*** zagy has joined #zope3-dev09:48
*** tarek has quit IRC09:48
*** danfairs has quit IRC09:50
*** davisagli has joined #zope3-dev09:54
*** Guest79082 has quit IRC09:54
*** baijum has joined #zope3-dev09:57
*** pelle_ has joined #zope3-dev10:05
*** El_Rolando has joined #zope3-dev10:12
*** mkerrin has joined #zope3-dev10:18
*** benji has joined #zope3-dev10:20
*** Theuni has quit IRC10:25
*** harobed has joined #zope3-dev10:28
*** jpcw has joined #zope3-dev10:29
*** benji is now known as Guest2347610:32
*** benji__ has joined #zope3-dev10:32
*** MrTopf has joined #zope3-dev10:34
*** benji_ has quit IRC10:35
*** basti__ has joined #zope3-dev10:35
*** iham|away has quit IRC10:38
*** baijum has quit IRC10:40
*** mgedmin has joined #zope3-dev10:44
*** Theuni has joined #zope3-dev10:44
*** Guest23476 has quit IRC10:46
*** benji__ has quit IRC10:48
*** junkafarian has joined #zope3-dev10:49
*** benji has joined #zope3-dev10:49
*** tarek has joined #zope3-dev10:50
*** jpcw has quit IRC10:52
*** pyqwer has joined #zope3-dev10:53
*** markusleist has joined #zope3-dev10:54
*** regebro has joined #zope3-dev10:55
*** junkafarian has quit IRC10:55
*** benji is now known as Guest2359210:58
*** benji_ has joined #zope3-dev10:58
*** jamur2 has quit IRC11:01
*** quodt_ has joined #zope3-dev11:03
*** quodt has quit IRC11:04
*** menesis has joined #zope3-dev11:04
*** goschtl has joined #zope3-dev11:10
*** jukart has joined #zope3-dev11:11
*** Guest23592 has quit IRC11:12
*** danfairs has joined #zope3-dev11:15
*** jayaraj has joined #zope3-dev11:16
*** davisagli has quit IRC11:22
*** benji has joined #zope3-dev11:22
*** jpcw has joined #zope3-dev11:24
*** iham has joined #zope3-dev11:29
*** benji__ has joined #zope3-dev11:32
*** benji is now known as Guest33511:32
*** bigkevmcd has joined #zope3-dev11:35
*** tarek has quit IRC11:36
*** benji_ has quit IRC11:38
*** tarek has joined #zope3-dev11:39
*** tarek has quit IRC11:43
*** Guest335 has quit IRC11:45
*** nyo has joined #zope3-dev11:46
*** nyo has left #zope3-dev11:46
*** nyo has joined #zope3-dev11:48
*** nyo has left #zope3-dev11:49
*** tarek has joined #zope3-dev11:53
*** MrTopf has quit IRC12:02
*** andycat has quit IRC12:20
*** jhauser has joined #zope3-dev12:22
*** iham has quit IRC12:24
*** romanofski has quit IRC12:44
*** nyo1 has joined #zope3-dev12:48
*** nyo1 is now known as nyo12:48
*** nyo1 has joined #zope3-dev12:48
*** andycat has joined #zope3-dev12:50
*** jamur2 has joined #zope3-dev12:51
*** tarek has quit IRC12:53
*** malthe_ has joined #zope3-dev12:55
*** malthe has quit IRC12:59
*** romanofski has joined #zope3-dev13:00
*** tarek has joined #zope3-dev13:02
*** tarek has quit IRC13:04
*** tarek has joined #zope3-dev13:05
*** MJ has joined #zope3-dev13:07
*** Count-Duckula has joined #zope3-dev13:11
*** tarek has quit IRC13:11
*** tarek has joined #zope3-dev13:18
*** tarek has quit IRC13:19
*** benji__ has quit IRC13:32
*** MrTopf has joined #zope3-dev13:42
Count-Duckulalist all principals method?13:50
*** greenman has quit IRC14:00
*** DrogoNeve has joined #zope3-dev14:02
*** DrogoNeve has quit IRC14:02
*** tarek has joined #zope3-dev14:03
*** benji has joined #zope3-dev14:14
*** romanofski has quit IRC14:16
*** mandar has joined #zope3-dev14:19
*** mandar has joined #zope3-dev14:21
mandarhow do I call an external python function from ZPT?14:21
mandarhow do I call an external python function from ZPT?14:23
yvlit would be nice if you didn't do that14:25
yvlhandle the logic you want in the view class14:25
*** redir has joined #zope3-dev14:26
mandaractually i am new to can u please ellaborate? I am using plone 3.1 and it doesn't have this functionality yet.14:32
yvlsorry, I am not familiar with Plone enough (yet ;)14:33
yvlperhaps a better place to ask this question would be Plone-oriented channel14:34
yvlI mean they would suggest how to solve your problem, not how to hack-your-way-through14:34
yvl#plone should suit you14:37
*** jamur2 has quit IRC14:39
*** jamur2 has joined #zope3-dev14:39
*** junkafarian has joined #zope3-dev14:40
*** ignas has joined #zope3-dev14:44
*** jamur2 has quit IRC14:55
Count-DuckulaHow do I ensure the creator of a content object has ManageContent rights, seems like it would be a pretty obvious thing to need.14:56
*** redir has quit IRC14:57
*** jamur2 has joined #zope3-dev14:58
*** mandar has quit IRC15:02
*** alga has joined #zope3-dev15:04
*** J1m has joined #zope3-dev15:09
agroszermalthe_, would you mind releasing chameleon.core>=1.0b2215:10
malthe_agroszer: I did15:11
malthe_unless there's some bug15:11
malthe_err mistake15:12
agroszer says "Not found"15:12
malthe_i'll be damned15:12
malthe_agroszer: Server response (200): OK15:13
malthe_just uploaded it (again)15:13
malthe_sorry about that!15:13
agroszerbetter now15:13
*** __mac__ has joined #zope3-dev15:23
*** aaronv has joined #zope3-dev15:25
*** tarek has quit IRC15:40
*** pcardune has joined #zope3-dev15:45
*** J1m has quit IRC15:46
*** tarek has joined #zope3-dev15:47
*** J1m has joined #zope3-dev15:47
*** andycat has quit IRC15:50
*** pelle_ has quit IRC15:55
*** redir has joined #zope3-dev15:57
*** J1m has quit IRC16:03
*** pelle_ has joined #zope3-dev16:03
*** pcardune has quit IRC16:08
*** J1m has joined #zope3-dev16:13
*** lucielejard has joined #zope3-dev16:19
*** andycat has joined #zope3-dev16:20
*** dunny has quit IRC16:29
*** nathany has joined #zope3-dev16:31
*** dvschramm has joined #zope3-dev16:33
*** iham has joined #zope3-dev16:45
*** mintsauce has joined #zope3-dev17:02
*** J1m_ has joined #zope3-dev17:04
*** alecm has joined #zope3-dev17:07
*** J1m has quit IRC17:14
* mintsauce having issues with SSL support in virtualenv17:16
mintsaucesystem ssl support works fine17:16
mintsaucevirtualenv python "import socket hasattr(socket, "ssl")" returns false :(17:17
*** sp0cksbeard has joined #zope3-dev17:17
agroszerI'd guess virtualenv had an issue with _ssl.pyd17:17
*** basti__ has quit IRC17:18
mintsauceagroszer: I've tried creating a new virtualenv, but get the same result.17:18
mintsauceWhere exactly does virtualenv build python from - i thought it was based on the system version?17:18
agroszerno idea17:19
agroszerI remember last time I had to copy manually .libs to make work17:19
mgedminvirtualenv creates a lot of symlinks17:20
agroszerseems that _ssl.pyd must be on pythonpath17:20
mgedmin.pyd is a windows thing17:22
mgedminI thought virtualenv didn't work on windows?17:23
agroszermore/less it works17:23
agroszerwith some manual help on edge cases17:23
agroszerI guess it has the same problem on linux with or whatever it's called17:24
mintsauceI've tried this:
mintsaucewhich got me as far as ssl support on the system python17:24
mgedminpph, you're right17:25
mgedminsocket.ssl exists in my virtualenv17:25
mgedminon linux, virtualenv 1.3.217:25
agroszer>>> import _ssl17:26
agroszer>>> _ssl.__file__17:26
agroszerthen you'll see where it is17:26
mintsauce"No module named _ssl"17:26
agroszerin system python?17:26
mintsaucethats my whole problem - see the link above17:27
mintsaucein virtualenv17:27
agroszerbut check it in system python, then you'll know what to link/copy to virtualenv17:27
mintsaucehow do i copy that path into virtualenv?17:28
agroszerI think it has a local site-packages folder for the virtual env17:29
* mgedmin thinks mintsauce should report a bug for virtualenv17:31
* mgedmin also wants to know mintsauce's os and virtualenv version17:31
mintsauceos x  - 10.5.617:31
mgedminvirtualenv 10.5.6 doesn't exist17:32
*** nyo1 has left #zope3-dev17:32
mintsaucethats the os x version ;)17:33
mgedminand I asked for virtualenv version17:33
mgedminyou're trying to shortchange me! :)17:34
mintsaucevirtualenv 1.3.2 (took a while to check!)17:34
mgedminsoftware that doesn't support --version is not friendly17:34
mintsauceSo, what exactly should I put in /usr/local/lib/python2.5/site-packages - I'm out of my depth now ...17:36
mgedminyou should not touch /usr/local/lib17:37
mgedminyou should copy the _ssl.pyd file (isn't it called on macosx?) into /path/to/your/virtualenv/lib/python2.5/lib-dynload-or-wherever-it-was17:37
mintsaucedoh ENV/lib/17:37
mgedmincopy or symlink17:37
mgedminmy virtualenv sandbox has no files with 'ssl' in the name17:38
mgedminyet I can import socket; socket.ssl17:38
*** runyaga_ has quit IRC17:39
mgedminthat's because my virtualenv has a symlink for the whole lib-dynload/ directory17:39
mintsaucemgedmin: i get the impression if you had openssl support installed (which I didnt), when you first build a virtualenv, it'll pick it up fine17:39
agroszerthat's somehow understandable17:39
agroszer(meant for mgedmin)17:40
mgedmindon't think so -- the directory is symlinked17:40
mgedminif you install a new file under it, it'll become visible through the symlink17:40
*** redir_ has joined #zope3-dev17:42
*** redir_ is now known as GHOST17:46
Count-DuckulaCan I set up a content object with a DENY permission by default?17:46
*** GHOST is now known as Guest4372317:47
*** redir has quit IRC17:49
*** Guest43723 is now known as redir17:49
mintsaucemgedmin: Brilliant - that's fixed it, thanks :)17:53
mintsauceWhere would i report the bug / do you think that is a bug?17:53
*** runyaga has joined #zope3-dev18:00
mgedminI think that is a bug18:00
mgedminif there's a bug tracker link on the virtualenv home page, I'd report it there, if virtualenv has a web page18:00
mgedminotherwise I'd send an email to the author listed on the PyPI page for virtualenv18:00
Count-DuckulaCan some please explain Z3 permissions, I'm struggling to get my head round it.  I can't seem to access an object view unless I have view permssions on EVRYTHING down to the site root.  This seems stupid, since I don't want to give users permission to see the site root, but I do want the to view certain objects??? Anyone?18:03
ignasCount-Duckula: you have permissions on either views or object attributes18:11
*** yotaff has quit IRC18:11
ignasCount-Duckula: without seeing the error messages it is difficult to say, but maybe you want to allow people to access the attributes of the root object that lead to the final object...18:12
ignasalso - if you will make all the "views" on the root objects require some other permissions - people won't be able to access them18:12
*** jayaraj has quit IRC18:13
Count-Duckulaignas: I have a root->folder->obj.  If I set set every permission to -allow- for my principal on the folder and obj, it still doesn't allow me access.  I have to set allow on every permission on root for that principal too.  This doesn't seem right.18:16
ignasif it is not working - it should be giving an error18:17
ignasif it is giving an error - could you18:17
ignaslisppaste6: url18:17
lisppaste6To use the lisppaste bot, visit and enter your paste.18:17
ignaspost it18:17
Count-Duckulaignas: It's not giving me an error, just saying I'm unauthroised18:17
ignasand in console?18:17
ignasor log files?18:17
Count-Duckulanothing in console or log18:18
Count-Duckulawrong window :-)18:19
ignas /++etc++site/default/RootErrorReportingUtility/@@configure.html18:19
ignascan you access this page while logged in as a manager?18:19
benjiwe need a bot that complies with people's :q commands by kicking them ;)18:20
ignasyeah, away with those pesky VI users18:20
Count-Duckulaignas: Nothing in RootErrorReporting either18:23
ignasif you can access it18:23
Count-Duckulabut it's ignoring Unauthroised18:23
ignasremove the Unauthorized from the list18:24
ignasand try performing the operation again18:24
*** zagy has quit IRC18:24
*** Theuni1 has joined #zope3-dev18:25
Count-DuckulaI get an Unauthorised Exception in the log18:25
*** Theuni has quit IRC18:25
*** jayaraj has joined #zope3-dev18:26
*** harobed has quit IRC18:27
ignasclick on it18:27
ignaslook at it18:27
Count-Duckulauser: unauthenticated, seedasam, Sam, dasd   << my nonesense user          -------- URL http://localhost:8080/reports  --- which is the one I've given seedasam explicit ALLOW permissions on18:29
*** mintsauce has quit IRC18:35
Count-Duckulaideas anyone?18:35
*** jayaraj has quit IRC18:39
*** jayaraj has joined #zope3-dev18:40
*** Aiste has quit IRC18:41
*** jayaraj has quit IRC18:42
*** sawdog has joined #zope3-dev18:45
*** pelle_ has quit IRC18:52
*** mintsauce has joined #zope3-dev18:54
*** El_Rolando has quit IRC18:56
*** JaRoel|4D has quit IRC18:58
*** lucielejard has quit IRC19:05
*** sm has joined #zope3-dev19:09
*** lucielejard has joined #zope3-dev19:10
*** mintsauce has quit IRC19:14
*** davisagli has joined #zope3-dev19:34
*** ignas has quit IRC19:40
*** malthe_ has quit IRC19:48
*** agroszer_ has joined #zope3-dev19:52
*** pyqwer has quit IRC19:53
*** Count-Duckula has left #zope3-dev19:58
*** danfairs has quit IRC19:59
*** afd_ has joined #zope3-dev20:07
*** agroszer has quit IRC20:09
*** JaRoel|4D has joined #zope3-dev20:18
*** davisagli has left #zope3-dev20:22
*** mgedmin has quit IRC20:24
*** junkafarian has quit IRC20:31
*** menesis has quit IRC20:34
*** Theuni1 has quit IRC20:35
*** dunny has joined #zope3-dev20:36
*** tarek has quit IRC20:38
*** tarek has joined #zope3-dev20:50
*** zagy has joined #zope3-dev20:53
*** tarek has quit IRC20:53
*** menesis has joined #zope3-dev21:05
*** MrTopf has quit IRC21:16
*** cbcunc has joined #zope3-dev21:17
*** benji has quit IRC21:21
*** benji_ has joined #zope3-dev21:22
*** mcdonc_ has quit IRC21:32
*** mcdonc has joined #zope3-dev21:32
*** alga has quit IRC21:55
*** zagy has quit IRC21:56
*** greenman has joined #zope3-dev21:57
*** jukart has quit IRC21:59
*** iham has quit IRC22:14
*** Theuni has joined #zope3-dev22:17
*** mkerrin has quit IRC22:22
*** sm has quit IRC22:35
*** quodt_ has quit IRC22:36
*** junkafarian has joined #zope3-dev22:37
*** agroszer_ has quit IRC22:52
*** tarek has joined #zope3-dev22:59
*** alga has joined #zope3-dev23:00
*** aaronv has quit IRC23:04
*** markusleist has quit IRC23:05
*** benji_ has quit IRC23:09
*** harobed_ has joined #zope3-dev23:09
*** greenman has quit IRC23:17
*** sawdog_ has joined #zope3-dev23:21
*** lucielejard has quit IRC23:23
Theunisrichter: ping23:24
*** jamur2 has quit IRC23:24
Theunisrichter: sorry ... i'll ping you again tomorrow ... i'll fall into my bed instead now :)23:26
*** sawdog__ has joined #zope3-dev23:28
*** sawdog_ has quit IRC23:28
*** sawdog_ has joined #zope3-dev23:29
*** junkafarian_ has joined #zope3-dev23:30
*** sawdog_ has quit IRC23:30
*** sawdog_ has joined #zope3-dev23:30
*** sp0cksbeard has quit IRC23:36
*** romanofski has joined #zope3-dev23:38
*** sawdog has quit IRC23:39
*** sawdog has joined #zope3-dev23:44
*** sawdog__ has quit IRC23:46
*** hazmat has joined #zope3-dev23:49
*** ChanServ sets mode: +o hazmat23:49
*** sawdog__ has joined #zope3-dev23:50
*** junkafarian_ has quit IRC23:55
*** regebro has quit IRC23:56
*** flox has joined #zope3-dev23:56

Generated by 2.15.1 by Marius Gedminas - find it at!