philiKON | srichter, RE #370: the trunk does "have" etc when you make an isntance | 01:01 |
---|---|---|
srichter | :-( | 01:01 |
srichter | who does that! | 01:01 |
philiKON | we all should do that IMO | 01:01 |
philiKON | IMO, a zope checkout shouldn't be runnable | 01:01 |
*** benji_york has quit IRC | 01:18 | |
*** jhauser_ has quit IRC | 01:26 | |
*** tav|offline is now known as tav | 01:27 | |
*** th1a has joined #zope3-dev | 01:45 | |
philiKON | anybody got any idea why http://domain.com/files/foobar won't be served locally but is going to zope when having the following virtualhost config in apache: | 02:16 |
philiKON | RewriteEngine On | 02:16 |
philiKON | RewriteRule ^/files/(.*) - [L] | 02:16 |
philiKON | RewriteRule ^/(.*) http://localhost:10080/++vh++http:%{SERVER_NAME}:80/++/$1 [P,L] | 02:16 |
philiKON | ? | 02:16 |
philiKON | nm | 03:02 |
Damascene | what was the problem? | 03:02 |
philiKON | i changed it to RewriteRule ^/files/ - [L] and it miracously worked | 03:03 |
*** th1a has left #zope3-dev | 03:03 | |
*** bskahan has quit IRC | 04:26 | |
*** projekt01 has quit IRC | 04:28 | |
srichter | philiKON: still there? | 04:32 |
*** xena has quit IRC | 04:40 | |
*** xena has joined #zope3-dev | 04:41 | |
*** BjornT has quit IRC | 04:47 | |
*** viyyer has joined #zope3-dev | 07:43 | |
*** stub has joined #zope3-dev | 08:02 | |
*** jdz has quit IRC | 08:17 | |
*** jdz__ has joined #zope3-dev | 08:17 | |
zagy | moin | 08:23 |
*** sashav has quit IRC | 08:31 | |
viyyer | hello | 08:34 |
viyyer | I've been trying to run i18n translateable text using ZPT.. what am I doing wrong ? | 08:35 |
viyyer | <p i18n:translate="" > sometext </p> fails on macro expansion.. | 08:36 |
d2m | viyyer: how does it fail -- doesn't it translate the content ? | 08:39 |
viyyer | d2m it doesn't translate the content.. and.. if i click the expand macro checkbox and.. I get this error [Macro expansion failed | 08:41 |
viyyer | exceptions.AttributeError: 'ZopeContext' object has no attribute 'request'] | 08:41 |
viyyer | d2m, actually.. most of the ZPT examples I'm trying out are failing on the dynamic content.. | 08:45 |
d2m | viyyer: give me some more info -- which ZPT examples ? | 08:45 |
viyyer | d2m, ZPT examples on the zope3 developer hand book .. | 08:46 |
*** jdz__ has quit IRC | 08:56 | |
*** zagy has quit IRC | 08:57 | |
*** hdima has joined #zope3-dev | 09:08 | |
*** Theuni has joined #zope3-dev | 09:22 | |
*** sashav has joined #zope3-dev | 09:50 | |
*** sashav_ has joined #zope3-dev | 10:00 | |
*** mooded has joined #zope3-dev | 10:14 | |
*** SteveA has joined #zope3-dev | 10:21 | |
*** jhauser has joined #zope3-dev | 10:28 | |
*** Aiste has joined #zope3-dev | 10:43 | |
*** mexiKON has joined #zope3-dev | 11:00 | |
*** dlk has joined #zope3-dev | 11:03 | |
*** philiKON has quit IRC | 11:07 | |
*** d2m has quit IRC | 11:10 | |
*** AJC has joined #zope3-dev | 11:13 | |
*** projekt01 has joined #zope3-dev | 11:25 | |
*** __gotcha has joined #zope3-dev | 11:58 | |
*** d2m has joined #zope3-dev | 12:06 | |
*** mexiKON is now known as philiKON | 12:27 | |
*** MalcolmC has joined #zope3-dev | 12:54 | |
srichter | viyyer: note that the developer's book talks mainly about filesystem development; we are not supporting TTW development yet. The few examples that are meant for TTW ZPT Pages should work though | 13:12 |
*** upsidedown has joined #zope3-dev | 13:13 | |
viyyer | srichter, they work fine. except that the example on title didn't mention about the metadata page | 13:22 |
*** xena has quit IRC | 13:56 | |
*** xena has joined #zope3-dev | 14:03 | |
*** srichter has quit IRC | 14:17 | |
*** xena has joined #zope3-dev | 14:29 | |
*** viyyer has quit IRC | 14:36 | |
*** xena has joined #zope3-dev | 14:43 | |
*** sashav has quit IRC | 14:43 | |
*** xena has quit IRC | 14:44 | |
*** xena has joined #zope3-dev | 14:47 | |
*** niemeyer has joined #zope3-dev | 14:48 | |
*** xena has joined #zope3-dev | 14:50 | |
*** stub has quit IRC | 14:53 | |
*** stub has joined #zope3-dev | 15:08 | |
*** mgedmin has joined #zope3-dev | 15:09 | |
*** BjornT has joined #zope3-dev | 15:09 | |
*** xena has joined #zope3-dev | 15:13 | |
*** srichter has joined #zope3-dev | 15:18 | |
*** ChanServ sets mode: +o srichter | 15:19 | |
*** xena has quit IRC | 15:19 | |
*** xena has joined #zope3-dev | 15:21 | |
*** xena has quit IRC | 15:21 | |
*** alga has joined #zope3-dev | 15:22 | |
*** xena has joined #zope3-dev | 15:22 | |
*** xena has quit IRC | 15:33 | |
*** xena has joined #zope3-dev | 15:37 | |
*** mgedmin has quit IRC | 15:50 | |
*** gintas has joined #zope3-dev | 16:27 | |
*** gintas has quit IRC | 16:50 | |
*** hdima has quit IRC | 16:55 | |
*** sashav_ has quit IRC | 16:56 | |
*** stub has quit IRC | 17:00 | |
*** mooded has quit IRC | 17:04 | |
*** stub has joined #zope3-dev | 17:08 | |
*** gintas has joined #zope3-dev | 17:31 | |
*** hazmat has joined #zope3-dev | 17:47 | |
*** dlk has quit IRC | 17:57 | |
*** mkerrin has joined #zope3-dev | 18:07 | |
*** alga has quit IRC | 18:15 | |
*** tvon has quit IRC | 18:23 | |
*** jhauser_ has joined #zope3-dev | 18:31 | |
srichter | philiKON: do you have a test case where http://www.zope.org/Collectors/Zope3-dev/298 fails? | 18:37 |
*** jhauser has quit IRC | 18:48 | |
*** Theuni has quit IRC | 19:00 | |
*** __gotcha has quit IRC | 19:09 | |
*** __gotcha has joined #zope3-dev | 19:10 | |
*** tvon has joined #zope3-dev | 19:22 | |
*** Aiste has quit IRC | 19:26 | |
*** Aiste has joined #zope3-dev | 19:28 | |
*** mgedmin has joined #zope3-dev | 19:29 | |
*** stub has quit IRC | 19:33 | |
*** alga has joined #zope3-dev | 19:40 | |
*** MalcolmC has quit IRC | 19:44 | |
*** th1a has joined #zope3-dev | 19:46 | |
th1a | Hi all. When I do "bin/zopectl start" I expect that the process should run in the background, but it doesn't. Am I missing something? | 19:47 |
mgedmin | th1a, does it work (in foreground) when you do bin/zopectl fg? | 19:49 |
mgedmin | have you looked at the log files? | 19:49 |
th1a | It just runs in the foreground, at least insofar as I can't use the console until I hit ctrl-c. | 19:50 |
mgedmin | strange | 19:51 |
mgedmin | is this from a zope 3 checkout, or have you used mkzopeinstance? | 19:51 |
th1a | It is a checkout of the version that SB 1.0 is pinned to. | 19:52 |
mgedmin | afaiu running zope3 straight from a checkout is officially not supported and "not supposed to work" | 19:56 |
mgedmin | although we all do that and it works ;) | 19:56 |
th1a | Ah. | 19:56 |
mgedmin | I believe you have to change zdaemon.conf a little bit | 19:56 |
th1a | So I should make an instance. | 19:56 |
mgedmin | well, running mkzopeinstance straight from a checkout is also not supported | 19:57 |
th1a | Or just change zdaemon.conf :-) | 19:57 |
mgedmin | th1a, add "daemon true" to the <runner> section of zdaemon.conf | 19:58 |
mgedmin | also add something like | 19:58 |
mgedmin | directory $INSTANCE/var | 19:58 |
mgedmin | socket-name $INSTANCE/var/zdsock | 19:58 |
mgedmin | I'm not sure those two are strictly necessary | 19:58 |
*** BjornT has quit IRC | 19:59 | |
mgedmin | (replace $INSTANCE with the actual location | 19:59 |
mgedmin | or add %define INSTANCE /path/to/somewhere at the top) | 19:59 |
th1a | Right. | 19:59 |
th1a | adding "daemon true" seems to do the job. | 20:01 |
th1a | mgedmin: So do we need to tell people to use the same revision as we did, or should we assume that the trunk will work until the release of 3.1? | 20:02 |
mgedmin | sb 1.0 will work with the revision that jinty chose | 20:05 |
mgedmin | sb trunk will work with zope 3 trunk, I think | 20:05 |
mgedmin | I don't know what changes there are planned on zope 3 trunk before 3.1 | 20:06 |
mgedmin | (actually I could just look at the TODO file) | 20:06 |
*** Aiste has quit IRC | 20:13 | |
*** projekt01 has quit IRC | 20:28 | |
*** projekt01 has joined #zope3-dev | 20:29 | |
philiKON | srichter, the test for #298 was that i added a local role (this is x3.0 though) and tried to view the grant view. | 20:30 |
philiKON | that's where it failed | 20:31 |
philiKON | because the grant view (rolepermissionview.py) expects role titles to be message ids | 20:31 |
philiKON | i guess i could record a functional test for you | 20:32 |
*** sashav has joined #zope3-dev | 20:32 | |
* philiKON is off to dinner | 20:32 | |
projekt01 | philiKON, I think dominik was fixing this. | 20:34 |
*** bskahan has joined #zope3-dev | 20:42 | |
*** BjornT has joined #zope3-dev | 20:43 | |
projekt01 | philiKON, Dominik was adding a default (title) value for roles where do not have a translation. The return was None in this case, which ends in the error described in issue 298 | 20:44 |
projekt01 | philiKON, See zope/app/securitpolicy/browser/rolepermissionview.py | 20:45 |
projekt01 | ... Line 36 | 20:45 |
*** alga has quit IRC | 20:56 | |
philiKON | projekt01, was this also fixed for x3.0? | 20:59 |
projekt01 | I think just in the trunk | 21:01 |
philiKON | hmm | 21:01 |
philiKON | srichter, projekt01, i'll verify the bug myself and if it doesn't exist anymore, i'll close it | 21:02 |
philiKON | otherwise i'll make a note | 21:02 |
projekt01 | Ok, it was revision 29213 | 21:02 |
philiKON | well, point is that the easy way to fix this is to fix the line in question | 21:03 |
philiKON | i guess that's what dominik did | 21:03 |
philiKON | my point is that we local roles really need to ahve message id attributes | 21:03 |
philiKON | and we need a special widget that deals with that | 21:03 |
philiKON | of course, that raises some issues | 21:04 |
philiKON | i guess i should write a proposal | 21:04 |
projekt01 | Yes, I see this in the issue now. Should we do that to the TODO list | 21:04 |
projekt01 | Ok, or a proposal | 21:04 |
philiKON | well, the question is: what domain would this msg id be in? | 21:04 |
projekt01 | ???, good question | 21:04 |
philiKON | i'll write an RFC email to the list | 21:05 |
philiKON | asking whether we actually need the titles and descr of local roles translated | 21:05 |
projekt01 | A empty domain how everybody has to implement by itself? | 21:06 |
philiKON | i didnt' understand anything in that sentence | 21:06 |
projekt01 | Let's call the domain "custom" | 21:07 |
philiKON | no, that sucks | 21:07 |
philiKON | if we have msg ids, the domain needs to be specifyable | 21:07 |
philiKON | otoh, maybe this is all too much effort in case we get to see local configuration through ZCML | 21:08 |
projekt01 | Local roles are very important. Theres no option to use global roles on a server with different projects | 21:10 |
philiKON | right | 21:10 |
philiKON | but maybe upcoming versions will support local configuration through zcml | 21:11 |
philiKON | so that you can specify local roles thorugh zcml | 21:11 |
philiKON | i would very much like to see that | 21:11 |
projekt01 | Yup, this would be nice;-) | 21:11 |
philiKON | in fact, right now we have the following equations: | 21:11 |
philiKON | filesystem == global | 21:12 |
philiKON | TTW == local | 21:12 |
philiKON | this is very arbitrary | 21:12 |
philiKON | there's no reason why we shouldn't be able to do global stuff TTW | 21:12 |
*** hazmat has quit IRC | 21:12 | |
philiKON | however, nobody here really wants TTW anymoer | 21:12 |
* mgedmin wants the ability to add users TTW, but that's it | 21:13 | |
projekt01 | I think jim likes this, I saw something like generate zcml TTW or generated from definition in the workflow. | 21:14 |
projekt01 | mgemin, Yup, a little bit grant and add users | 21:15 |
philiKON | thanks to PAU that's very much external to everything | 21:15 |
philiKON | a global PAU could get users and their grants from LDAP | 21:16 |
philiKON | which allow syou to manage users anywhere | 21:16 |
philiKON | coommand line, TTW, whatever | 21:16 |
philiKON | zope would sometimes do good if it outsourced to well-known technologies | 21:16 |
projekt01 | 1+ | 21:16 |
philiKON | (of course, that "external to everything" is meant literally; even a PAU could manage principals that are even content objects; that has no effect on how we do global/local config) | 21:18 |
*** sashav has quit IRC | 21:23 | |
*** AJC has quit IRC | 21:29 | |
*** AJC has joined #zope3-dev | 21:30 | |
*** mgedmin has quit IRC | 21:46 | |
*** mgedmin has joined #zope3-dev | 21:46 | |
*** hazmat has joined #zope3-dev | 21:54 | |
*** jdz_ has joined #zope3-dev | 21:56 | |
mgedmin | hm, why must I have write permissions to the index file if I want to open a FileStorage for read-only access? | 21:58 |
mgedmin | actually, not the index file per se, but the directory containing the index file | 21:59 |
*** Voblia is now known as Homeblia | 22:04 | |
*** Aiste has joined #zope3-dev | 22:09 | |
* bradb hears the need for verbose security :) | 22:44 | |
*** mkerrin has quit IRC | 22:44 | |
srichter | philiKON: I actually tried what you described and it work; so we can close the issue then | 22:45 |
*** sashav has joined #zope3-dev | 23:03 | |
*** tvon has quit IRC | 23:15 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!