| *** dobee has quit IRC | 00:00 | |
| *** BjornT_ has joined #zope3-dev | 00:01 | |
| srichter | does anyone know how povbot generates the HTML version of the channel log? | 00:03 |
|---|---|---|
| *** timte has quit IRC | 00:04 | |
| *** avoine has quit IRC | 00:08 | |
| *** meatballhat has left #zope3-dev | 00:13 | |
| *** faassen has joined #zope3-dev | 00:26 | |
| *** stub has quit IRC | 00:30 | |
| *** pcardune has joined #zope3-dev | 00:32 | |
| *** marcin_ant has joined #zope3-dev | 00:51 | |
| *** yota has quit IRC | 00:52 | |
| *** dobee has joined #zope3-dev | 00:53 | |
| *** reco has joined #zope3-dev | 01:01 | |
| *** dobee has quit IRC | 01:10 | |
| *** seonew has joined #zope3-dev | 01:18 | |
| *** jbb666 has quit IRC | 01:20 | |
| seonew | in contents.pt the macros 'contents' is defined. can this macro be accessed in a PT through @@standard_macros? | 01:23 |
| seonew | use-macro="context/@@standard_macros/???" | 01:24 |
| *** marcin_ant has quit IRC | 01:25 | |
| *** d2m has quit IRC | 01:27 | |
| *** seonew has quit IRC | 01:48 | |
| *** pcardune has quit IRC | 01:55 | |
| *** natea|naples has joined #zope3-dev | 01:57 | |
| *** bigkevmcd has quit IRC | 01:58 | |
| *** jbb666 has joined #zope3-dev | 02:04 | |
| *** jbb666 has quit IRC | 02:38 | |
| *** faassen has quit IRC | 02:41 | |
| *** jbb666 has joined #zope3-dev | 02:42 | |
| *** jodok|LA has joined #zope3-dev | 02:47 | |
| *** rocky has quit IRC | 03:03 | |
| *** natea|naples has quit IRC | 03:04 | |
| *** jodok|LA has quit IRC | 03:15 | |
| *** wrobel has quit IRC | 03:23 | |
| *** root has joined #zope3-dev | 03:26 | |
| *** root is now known as blackburnd | 03:32 | |
| *** blackburnd has quit IRC | 03:36 | |
| *** niemeyer has quit IRC | 03:37 | |
| *** niemeyer has joined #zope3-dev | 03:40 | |
| *** niemeyer has quit IRC | 03:42 | |
| *** b52lap has quit IRC | 03:42 | |
| *** jinty has quit IRC | 03:58 | |
| *** whit has quit IRC | 04:15 | |
| *** baijum has joined #zope3-dev | 05:54 | |
| *** jbb666 has quit IRC | 06:09 | |
| *** jbb666 has joined #zope3-dev | 06:11 | |
| *** stub has joined #zope3-dev | 06:22 | |
| *** pcardune has joined #zope3-dev | 06:48 | |
| *** pcardune has quit IRC | 07:08 | |
| *** jbb666 has quit IRC | 07:37 | |
| *** Bhaskar has joined #zope3-dev | 07:41 | |
| *** MiUlEr has joined #zope3-dev | 07:42 | |
| *** Rimal has joined #zope3-dev | 07:45 | |
| *** reco has quit IRC | 07:47 | |
| *** afd_ has joined #zope3-dev | 07:51 | |
| *** stub has quit IRC | 08:38 | |
| *** wrobel has joined #zope3-dev | 08:39 | |
| *** afd_ has quit IRC | 08:45 | |
| *** naro has joined #zope3-dev | 08:46 | |
| *** afd_ has joined #zope3-dev | 08:46 | |
| *** ghendi has joined #zope3-dev | 08:52 | |
| *** MiUlEr has quit IRC | 08:52 | |
| *** dobee has joined #zope3-dev | 08:59 | |
| *** me2 has joined #zope3-dev | 09:00 | |
| *** zagy has joined #zope3-dev | 09:03 | |
| *** jukart has joined #zope3-dev | 09:04 | |
| *** sorin has joined #zope3-dev | 09:05 | |
| *** sorin is now known as sorindregan | 09:05 | |
| *** pghoratiu has joined #zope3-dev | 09:14 | |
| *** timte has joined #zope3-dev | 09:26 | |
| *** d2m has joined #zope3-dev | 09:34 | |
| *** Aiste has joined #zope3-dev | 09:42 | |
| *** zagy_ has joined #zope3-dev | 09:44 | |
| *** zagy has quit IRC | 09:44 | |
| *** tarek has joined #zope3-dev | 09:49 | |
| *** zagy_ is now known as zagy | 09:50 | |
| *** natea|naples has joined #zope3-dev | 09:58 | |
| *** BjornT has quit IRC | 10:11 | |
| *** romanofski has joined #zope3-dev | 10:12 | |
| *** lurker has joined #zope3-dev | 10:15 | |
| *** BjornT_ is now known as BjornT | 10:20 | |
| *** yota has joined #zope3-dev | 10:36 | |
| *** wreutz has joined #zope3-dev | 10:39 | |
| *** harobed has joined #zope3-dev | 10:39 | |
| *** stub has joined #zope3-dev | 10:57 | |
| *** jfroche has quit IRC | 11:14 | |
| *** jinty has joined #zope3-dev | 11:14 | |
| *** jfroche has joined #zope3-dev | 11:16 | |
| *** benji has quit IRC | 11:18 | |
| *** lzdych has joined #zope3-dev | 11:28 | |
| *** stub has quit IRC | 11:54 | |
| *** projekt01 has joined #zope3-dev | 12:00 | |
| *** Henri__ has joined #zope3-dev | 12:11 | |
| *** softdevr has joined #zope3-dev | 12:15 | |
| *** b52laptop has joined #zope3-dev | 12:27 | |
| *** Henri__ has left #zope3-dev | 12:27 | |
| baijum | Anyone successfuly used zope.paste with Apache mod_python ? | 12:38 |
| philiKON | no, but i want to try :) | 12:39 |
| *** me2 has quit IRC | 12:39 | |
| *** Rimal has quit IRC | 12:39 | |
| *** Bhaskar has quit IRC | 12:39 | |
| baijum | I was trying to do as described here : http://pylonshq.com/project/pylonshq/wiki/ModPython | 12:40 |
| baijum | but not yet succeded ... | 12:40 |
| * baijum waiting for philiKON 's tutorial on zope.paste + mod_python :) | 12:43 | |
| philiKON | :) | 12:43 |
| timte | philiKON: didn't you write a soc proposal on implementing a mod_wsgi or something like that? does this make that unnecessary? | 13:07 |
| philiKON | well, i did improve zope.paste slightly at the bbq sprint and last week to work in that direction | 13:08 |
| philiKON | this is nothing that i would use in production yet | 13:08 |
| timte | first zserver, then twisted and now some wsgi server, lots of efforts on the servers | 13:11 |
| *** Aiste has quit IRC | 13:12 | |
| timte | wasn't the wsgi server available when the twisted server was implemented? or maybe it's not nearly as performant | 13:12 |
| philiKON | wsgi is an API spec | 13:13 |
| philiKON | both zope.server and twisted are hooked up using wsgi | 13:13 |
| philiKON | for the http part that is | 13:13 |
| philiKON | ftp still needs to hooked up differently | 13:14 |
| philiKON | also, there's unnecessary code duplication | 13:14 |
| philiKON | it just needs to evolve | 13:14 |
| philiKON | stuff like paste.deploy lets us get rid of a lot of the code duplication | 13:14 |
| philiKON | i plan to blog on this soonish :) | 13:14 |
| *** mkerrin has joined #zope3-dev | 13:14 | |
| timte | but paste includes a wsgi server that will be run if you have Paste.Main in zope.conf, doesn't it? that's the wsgi server I meant | 13:15 |
| philiKON | no | 13:15 |
| philiKON | that Paste.Main thing is a way to hook some wsgi middlewares between the zope wsgi app and whichever wsgi server *zope uses*, using paste.deploy | 13:16 |
| philiKON | it's a big ugly actually | 13:16 |
| philiKON | paste.script comes with some simple http server, yeah | 13:16 |
| philiKON | so you can go paster serve foo.ini | 13:16 |
| timte | but it's just for development? | 13:17 |
| philiKON | that's my impression | 13:17 |
| philiKON | i need to find out what django and TG use for production | 13:17 |
| timte | I don't think django has something integrated. You will configure fastcgi + apache + other stuff for yourself. | 13:18 |
| philiKON | ok, so it's fcgi | 13:18 |
| baijum | philiKON, I think you can look into Pylons also, their deployment looks good (I think Ian Bicking is behind it) | 13:23 |
| philiKON | yup, ian does a lot with pylons | 13:24 |
| baijum | btw, I managed to run Zope 3 using zope.paste and mod_python, http://zope3.pastey.net/10277 But it's very very slow ... | 13:26 |
| * baijum is awasy | 13:26 | |
| philiKON | baijum: this might be due to the fact that mod_python loads a new python interpreter for each new process | 13:27 |
| philiKON | hence starting zope every time | 13:27 |
| *** Aiste has joined #zope3-dev | 13:36 | |
| *** ignas has joined #zope3-dev | 13:45 | |
| *** philiKON has quit IRC | 13:47 | |
| *** ktwilight has quit IRC | 13:49 | |
| *** ktwilight has joined #zope3-dev | 13:54 | |
| *** ktwilight has joined #zope3-dev | 13:55 | |
| *** afd_ has quit IRC | 14:03 | |
| *** pghoratiu has left #zope3-dev | 14:05 | |
| *** dlk has joined #zope3-dev | 14:15 | |
| *** stub has joined #zope3-dev | 14:31 | |
| *** dlk has left #zope3-dev | 14:32 | |
| * baijum is back | 14:32 | |
| *** afd_ has joined #zope3-dev | 14:33 | |
| softdevr | hi, contents.pt has the macro 'contents' defined within it - can I use that macro from my own page template? | 14:36 |
| *** salfield has joined #zope3-dev | 14:36 | |
| lurker | yes | 14:37 |
| softdevr | i'm accessing the view as 'context/@@contents.html/' but can't find the 'contents' macro within it | 14:37 |
| lurker | macros/contents | 14:37 |
| softdevr | that doesn't work for me | 14:37 |
| lurker | well, @@contents.html is the view class, innit? | 14:38 |
| softdevr | yeah | 14:39 |
| *** philiKON has joined #zope3-dev | 14:39 | |
| softdevr | I've tried context/@@contents.html/macros/contents | 14:39 |
| lurker | you need the pt | 14:39 |
| softdevr | but get a traversal error on 'macros' | 14:40 |
| softdevr | if I just drop in 'context/@@contents.html' that works | 14:40 |
| softdevr | I just can't get access to the specific macro within the PT that I want | 14:41 |
| afd_ | softdevr: you can do something like this in your view class | 14:43 |
| afd_ | macro_page = ViewPageTemplate('contents.pt') | 14:43 |
| afd_ | and inside your template you'll have: | 14:44 |
| afd_ | tal:define="macros_page view/macro_page" | 14:44 |
| afd_ | and then metal:use-macro="macros_page/macros/content" | 14:44 |
| afd_ | I guess something like this will work, haven't tried though | 14:44 |
| softdevr | right, I'll have a go, thanks | 14:45 |
| softdevr | going back to the original attempt, it looks like macros isn't defined for @@contents.html, either that or I can't access it | 14:46 |
| lurker | @@contents.html is *not* the template | 14:46 |
| lurker | but the view | 14:46 |
| softdevr | In the examples I've seen templates are accessed through the view | 14:49 |
| afd_ | softdevr: which examples? | 14:49 |
| softdevr | Weitershauen's book | 14:50 |
| *** jfroche_ has joined #zope3-dev | 14:56 | |
| softdevr | what syntax would be used to access the template directly? | 14:57 |
| *** jfroche has quit IRC | 15:04 | |
| softdevr | lurker: can I point to the pt from the path expression or does it need to be done as afd_ suggested? | 15:05 |
| *** dlk has joined #zope3-dev | 15:09 | |
| *** dlk has quit IRC | 15:10 | |
| *** niemeyer has joined #zope3-dev | 15:24 | |
| *** b52lap has joined #zope3-dev | 15:28 | |
| *** pghoratiu has joined #zope3-dev | 15:39 | |
| *** MarkB1 has joined #zope3-dev | 15:43 | |
| *** MarkB1 has left #zope3-dev | 15:43 | |
| *** b52laptop has quit IRC | 15:44 | |
| *** MiUlEr has joined #zope3-dev | 15:48 | |
| *** afd_ has quit IRC | 15:49 | |
| *** philiKON has quit IRC | 15:49 | |
| *** benji has joined #zope3-dev | 15:53 | |
| *** natea|naples has quit IRC | 15:53 | |
| *** twcook has left #zope3-dev | 15:54 | |
| *** MiUlEr has quit IRC | 15:59 | |
| *** ofer_ has joined #zope3-dev | 15:59 | |
| *** hazmat has joined #zope3-dev | 16:07 | |
| *** ChanServ sets mode: +o hazmat | 16:07 | |
| *** afd_ has joined #zope3-dev | 16:09 | |
| *** hazmat has quit IRC | 16:22 | |
| *** philiKON has joined #zope3-dev | 16:24 | |
| *** avoine has joined #zope3-dev | 16:26 | |
| *** philiKON has quit IRC | 16:27 | |
| *** lzdych has quit IRC | 16:28 | |
| *** salfield has quit IRC | 16:28 | |
| *** salfield_ has joined #zope3-dev | 16:28 | |
| *** philiKON has joined #zope3-dev | 16:32 | |
| *** tarek_ has joined #zope3-dev | 16:32 | |
| *** pghoratiu has left #zope3-dev | 16:36 | |
| *** ghendi has quit IRC | 16:37 | |
| * baijum just looked at zope.paste and mod_python again | 16:39 | |
| baijum | Now I added 'PythonInterpreter main_interpreter' in httpd.conf | 16:39 |
| *** whit has joined #zope3-dev | 16:40 | |
| *** philiKON has quit IRC | 16:40 | |
| projekt01 | dobbe, ayt? | 16:40 |
| baijum | I can access the page for first time..when access again it's shows 500 status and the log is here: http://zope3.pastey.net/10294 | 16:41 |
| *** tarek has quit IRC | 16:42 | |
| baijum | Any idea what this function does ? File "/mbaiju/wa/Zope3trunk/src/ZODB/lock_file.py", line 42, in lock_file\n fcntl.flock(file.fileno(), _flags) | 16:42 |
| *** mgedmin has joined #zope3-dev | 16:43 | |
| projekt01 | dobee, should we define own i18n domains for namespace packages in z3c.schema | 16:45 |
| baijum | When I just commented that line, everything woked fine :) | 16:45 |
| dobee | projekt01: yes, z3c.i18n is for other purposes | 16:46 |
| dobee | vocabularies etc | 16:46 |
| projekt01 | dobee, Ok, will do that | 16:47 |
| * baijum so running Zope 3 using zope.paste and Apache mod_python is just few steps: http://zope3.pastey.net/10277 | 16:49 | |
| * baijum now I have to figure out src/ZODB/lock_file.py, line 42 | 16:49 | |
| *** hazmat has joined #zope3-dev | 17:04 | |
| *** ChanServ sets mode: +o hazmat | 17:04 | |
| afd_ | softdevr: look in zope.formlib configure.zcml, you'll see there the view/template namespace adapter | 17:07 |
| *** stub has quit IRC | 17:15 | |
| *** philiKON has joined #zope3-dev | 17:17 | |
| baijum | philiKON, ping ? | 17:20 |
| philiKON | pong | 17:20 |
| baijum | philiKON, I was looking at zope.paste again | 17:20 |
| philiKON | cool | 17:20 |
| philiKON | what's up? | 17:20 |
| baijum | When I can access the page for first time is showed without any problem..when access again it's shows 500 status and the log is here: http://zope3.pastey.net/10294 | 17:21 |
| philiKON | yes, it's what i told you | 17:21 |
| philiKON | it opens a new interpreter | 17:21 |
| philiKON | hence it will load a new zope application | 17:21 |
| baijum | Now I added 'PythonInterpreter main_interpreter' in httpd.conf | 17:21 |
| philiKON | which won't work | 17:21 |
| philiKON | because of zodb lock files | 17:21 |
| philiKON | ah, ok | 17:22 |
| philiKON | that might work | 17:22 |
| baijum | but still the problem remains | 17:22 |
| philiKON | well, reduce the number of processes to 1 | 17:22 |
| baijum | philiKON, see the log..why zodb file is opened for each request ? | 17:23 |
| philiKON | sigh | 17:23 |
| philiKON | i tried to explain this above | 17:23 |
| philiKON | because it opens a new interpreter for new requests | 17:23 |
| philiKON | it's the way apache prefork works | 17:23 |
| baijum | ah. ok | 17:23 |
| baijum | so, what's the solution ? | 17:24 |
| philiKON | there are several solutions | 17:24 |
| philiKON | i already told you one | 17:24 |
| philiKON | reduce the number of processes to 1 | 17:25 |
| philiKON | an alternative is to use zeo | 17:25 |
| baijum | but 'reducing the number of processes to 1' doesn't seem to work ... | 17:25 |
| philiKON | how are you doing it? | 17:26 |
| baijum | see this: http://zope3.pastey.net/10277 | 17:26 |
| baijum | my steps are given there | 17:26 |
| philiKON | yes, but i see nowhere where you tell apache to only fork 1 process | 17:28 |
| baijum | I added it later : PythonInterpreter main_interpreter | 17:28 |
| baijum | below PythonHandler | 17:29 |
| philiKON | that's not about processes | 17:29 |
| philiKON | that just tells it which interpreter *definition* to use | 17:29 |
| baijum | ah | 17:30 |
| baijum | how to do it ? | 17:30 |
| philiKON | if you're using mpm_prefork, MaxSpareServers 10 | 17:31 |
| philiKON | just read the apache docs | 17:31 |
| *** whit has quit IRC | 17:31 | |
| baijum | ok | 17:31 |
| baijum | philiKON, thanks ! I will look into this later | 17:32 |
| * baijum leaving | 17:32 | |
| *** baijum has quit IRC | 17:33 | |
| *** srichter has quit IRC | 17:37 | |
| *** srichter has joined #zope3-dev | 17:37 | |
| *** sorindregan has quit IRC | 17:40 | |
| *** twcook has joined #zope3-dev | 17:42 | |
| *** jbb666 has joined #zope3-dev | 17:49 | |
| *** ofer_ has quit IRC | 17:50 | |
| *** jfroche_ has quit IRC | 17:50 | |
| *** jfroche_ has joined #zope3-dev | 17:51 | |
| *** whitmo has joined #zope3-dev | 17:51 | |
| *** lurker has quit IRC | 18:00 | |
| *** whitmo has quit IRC | 18:08 | |
| mgedmin | waah, python's profiling tools make me cry | 18:14 |
| timte | oh there is a mod_wsgi | 18:15 |
| timte | philiKON: did you try mod_wsgi? | 18:16 |
| philiKON | no | 18:16 |
| *** wreutz has quit IRC | 18:18 | |
| jbb666 | i didnt think it was released yet? | 18:21 |
| *** jfroche_ has quit IRC | 18:22 | |
| *** whit has joined #zope3-dev | 18:24 | |
| jbb666 | oh it is now.... | 18:24 |
| *** jrc2e has left #zope3-dev | 18:28 | |
| *** tarek__ has joined #zope3-dev | 18:31 | |
| *** tarek has joined #zope3-dev | 18:36 | |
| *** tarek__ has quit IRC | 18:40 | |
| *** ignas has quit IRC | 18:43 | |
| *** whit has quit IRC | 18:44 | |
| *** tarek_ has quit IRC | 18:45 | |
| *** timte has quit IRC | 18:56 | |
| *** jukart has quit IRC | 18:56 | |
| *** ChanServ sets mode: +o srichter | 19:14 | |
| *** harobed has quit IRC | 19:15 | |
| *** hazmat has quit IRC | 19:15 | |
| *** rocky has joined #zope3-dev | 19:16 | |
| *** hazmat has joined #zope3-dev | 19:18 | |
| *** ChanServ sets mode: +o hazmat | 19:18 | |
| *** romanofski has quit IRC | 19:18 | |
| *** timte has joined #zope3-dev | 19:19 | |
| *** faassen has joined #zope3-dev | 19:20 | |
| *** hazmat has quit IRC | 19:21 | |
| *** hazmat has joined #zope3-dev | 19:22 | |
| *** ChanServ sets mode: +o hazmat | 19:22 | |
| *** lurker has joined #zope3-dev | 19:22 | |
| *** jkakar has quit IRC | 19:22 | |
| *** jkakar has joined #zope3-dev | 19:28 | |
| *** wreutz has joined #zope3-dev | 19:29 | |
| *** softdevr has quit IRC | 19:35 | |
| *** projekt01 has quit IRC | 19:51 | |
| *** benji has quit IRC | 19:53 | |
| philiKON | anybody going to europython and willing to share a room? | 19:56 |
| *** natea|naples has joined #zope3-dev | 20:07 | |
| *** dobee has quit IRC | 20:09 | |
| *** tarek has left #zope3-dev | 20:15 | |
| *** wreutz_ has joined #zope3-dev | 20:15 | |
| * pbugni wishes he had the funds for that | 20:21 | |
| *** jukart has joined #zope3-dev | 20:23 | |
| *** tarek has joined #zope3-dev | 20:23 | |
| *** wreutz has quit IRC | 20:23 | |
| *** whit has joined #zope3-dev | 20:27 | |
| *** tonico has quit IRC | 20:40 | |
| *** tonico has joined #zope3-dev | 20:41 | |
| *** benji has joined #zope3-dev | 20:51 | |
| *** dobee has joined #zope3-dev | 20:54 | |
| *** mgedmin has quit IRC | 21:05 | |
| *** pbugni is now known as pbugni|afk | 21:16 | |
| *** harobed has joined #zope3-dev | 21:19 | |
| *** jinty has quit IRC | 21:24 | |
| *** jbb666 has quit IRC | 21:29 | |
| *** wreutz_ has quit IRC | 21:30 | |
| *** ksmith99 has joined #zope3-dev | 21:30 | |
| *** naro has quit IRC | 21:32 | |
| *** bigkevmcd has joined #zope3-dev | 21:34 | |
| *** jukart has quit IRC | 21:42 | |
| *** natea|naples is now known as natea|away | 21:43 | |
| *** jkakar has quit IRC | 21:44 | |
| *** jkakar has joined #zope3-dev | 21:44 | |
| *** romanofski has joined #zope3-dev | 21:47 | |
| *** rocky has quit IRC | 21:49 | |
| *** dunny has joined #zope3-dev | 21:57 | |
| *** jukart_ has joined #zope3-dev | 22:06 | |
| *** tom__ has joined #zope3-dev | 22:22 | |
| *** salfield_ has quit IRC | 22:29 | |
| *** tom__ has quit IRC | 22:38 | |
| *** tarek_ has joined #zope3-dev | 22:40 | |
| *** salfield has joined #zope3-dev | 22:40 | |
| *** tarek has quit IRC | 22:49 | |
| *** jukart_ has quit IRC | 22:54 | |
| *** jukart has joined #zope3-dev | 23:06 | |
| *** jbb666 has joined #zope3-dev | 23:06 | |
| *** jukart has quit IRC | 23:15 | |
| *** salfield_ has joined #zope3-dev | 23:15 | |
| *** jrc2e has joined #zope3-dev | 23:15 | |
| *** jrc2e has left #zope3-dev | 23:17 | |
| *** dobee has quit IRC | 23:24 | |
| *** mkerrin has quit IRC | 23:25 | |
| *** romanofski has quit IRC | 23:26 | |
| *** tarek__ has joined #zope3-dev | 23:26 | |
| *** timte has quit IRC | 23:27 | |
| *** dobee has joined #zope3-dev | 23:28 | |
| *** salfield has quit IRC | 23:31 | |
| *** natea|away_ has joined #zope3-dev | 23:36 | |
| *** natea|away has quit IRC | 23:36 | |
| *** natea|away_ has quit IRC | 23:39 | |
| *** natea|away has joined #zope3-dev | 23:39 | |
| *** tarek__ has quit IRC | 23:40 | |
| *** tarek has joined #zope3-dev | 23:40 | |
| *** tarek_ has quit IRC | 23:45 | |
| *** natea|away is now known as natea | 23:47 | |
| *** jfroche has joined #zope3-dev | 23:55 | |
| *** Jell-O-Fishi has joined #zope3-dev | 23:55 | |
| *** avoine has quit IRC | 23:56 | |
| *** jfroche has quit IRC | 23:59 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!