IRC log of #zope3-dev for Wednesday, 2005-03-02

philiKONsrichter, RE #370: the trunk does "have" etc when you make an isntance01:01
srichter:-(01:01
srichterwho does that!01:01
philiKONwe all should do that IMO01:01
philiKONIMO, a zope checkout shouldn't be runnable01:01
*** benji_york has quit IRC01:18
*** jhauser_ has quit IRC01:26
*** tav|offline is now known as tav01:27
*** th1a has joined #zope3-dev01:45
philiKONanybody 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 On02: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
philiKONnm03:02
Damascenewhat was the problem?03:02
philiKONi changed it to RewriteRule ^/files/ - [L] and it miracously worked03:03
*** th1a has left #zope3-dev03:03
*** bskahan has quit IRC04:26
*** projekt01 has quit IRC04:28
srichterphiliKON: still there?04:32
*** xena has quit IRC04:40
*** xena has joined #zope3-dev04:41
*** BjornT has quit IRC04:47
*** viyyer has joined #zope3-dev07:43
*** stub has joined #zope3-dev08:02
*** jdz has quit IRC08:17
*** jdz__ has joined #zope3-dev08:17
zagymoin08:23
*** sashav has quit IRC08:31
viyyerhello08:34
viyyerI'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
d2mviyyer: how does it fail -- doesn't it translate the content ?08:39
viyyerd2m it doesn't translate the content.. and.. if i click the expand macro checkbox and.. I get this error [Macro expansion failed08:41
viyyer exceptions.AttributeError: 'ZopeContext' object has no attribute 'request']08:41
viyyerd2m, actually.. most of the ZPT examples I'm trying out are failing on the dynamic content..08:45
d2mviyyer: give me some more info -- which ZPT examples ?08:45
viyyerd2m, ZPT examples on the zope3 developer hand book ..08:46
*** jdz__ has quit IRC08:56
*** zagy has quit IRC08:57
*** hdima has joined #zope3-dev09:08
*** Theuni has joined #zope3-dev09:22
*** sashav has joined #zope3-dev09:50
*** sashav_ has joined #zope3-dev10:00
*** mooded has joined #zope3-dev10:14
*** SteveA has joined #zope3-dev10:21
*** jhauser has joined #zope3-dev10:28
*** Aiste has joined #zope3-dev10:43
*** mexiKON has joined #zope3-dev11:00
*** dlk has joined #zope3-dev11:03
*** philiKON has quit IRC11:07
*** d2m has quit IRC11:10
*** AJC has joined #zope3-dev11:13
*** projekt01 has joined #zope3-dev11:25
*** __gotcha has joined #zope3-dev11:58
*** d2m has joined #zope3-dev12:06
*** mexiKON is now known as philiKON12:27
*** MalcolmC has joined #zope3-dev12:54
srichterviyyer: 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 though13:12
*** upsidedown has joined #zope3-dev13:13
viyyersrichter, they work fine. except that the example on title didn't mention about the metadata page13:22
*** xena has quit IRC13:56
*** xena has joined #zope3-dev14:03
*** srichter has quit IRC14:17
*** xena has joined #zope3-dev14:29
*** viyyer has quit IRC14:36
*** xena has joined #zope3-dev14:43
*** sashav has quit IRC14:43
*** xena has quit IRC14:44
*** xena has joined #zope3-dev14:47
*** niemeyer has joined #zope3-dev14:48
*** xena has joined #zope3-dev14:50
*** stub has quit IRC14:53
*** stub has joined #zope3-dev15:08
*** mgedmin has joined #zope3-dev15:09
*** BjornT has joined #zope3-dev15:09
*** xena has joined #zope3-dev15:13
*** srichter has joined #zope3-dev15:18
*** ChanServ sets mode: +o srichter15:19
*** xena has quit IRC15:19
*** xena has joined #zope3-dev15:21
*** xena has quit IRC15:21
*** alga has joined #zope3-dev15:22
*** xena has joined #zope3-dev15:22
*** xena has quit IRC15:33
*** xena has joined #zope3-dev15:37
*** mgedmin has quit IRC15:50
*** gintas has joined #zope3-dev16:27
*** gintas has quit IRC16:50
*** hdima has quit IRC16:55
*** sashav_ has quit IRC16:56
*** stub has quit IRC17:00
*** mooded has quit IRC17:04
*** stub has joined #zope3-dev17:08
*** gintas has joined #zope3-dev17:31
*** hazmat has joined #zope3-dev17:47
*** dlk has quit IRC17:57
*** mkerrin has joined #zope3-dev18:07
*** alga has quit IRC18:15
*** tvon has quit IRC18:23
*** jhauser_ has joined #zope3-dev18:31
srichterphiliKON: do you have a test case where http://www.zope.org/Collectors/Zope3-dev/298 fails?18:37
*** jhauser has quit IRC18:48
*** Theuni has quit IRC19:00
*** __gotcha has quit IRC19:09
*** __gotcha has joined #zope3-dev19:10
*** tvon has joined #zope3-dev19:22
*** Aiste has quit IRC19:26
*** Aiste has joined #zope3-dev19:28
*** mgedmin has joined #zope3-dev19:29
*** stub has quit IRC19:33
*** alga has joined #zope3-dev19:40
*** MalcolmC has quit IRC19:44
*** th1a has joined #zope3-dev19:46
th1aHi 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
mgedminth1a, does it work (in foreground) when you do bin/zopectl fg?19:49
mgedminhave you looked at the log files?19:49
th1aIt just runs in the foreground, at least insofar as I can't use the console until I hit ctrl-c.19:50
mgedminstrange19:51
mgedminis this from a zope 3 checkout, or have you used mkzopeinstance?19:51
th1aIt is a checkout of the version that SB 1.0 is pinned to.19:52
mgedminafaiu running zope3 straight from a checkout is officially not supported and "not supposed to work"19:56
mgedminalthough we all do that and it works ;)19:56
th1aAh.19:56
mgedminI believe you have to change zdaemon.conf a little bit19:56
th1aSo I should make an instance.19:56
mgedminwell, running mkzopeinstance straight from a checkout is also not supported19:57
th1aOr just change zdaemon.conf :-)19:57
mgedminth1a, add "daemon true" to the <runner> section of zdaemon.conf19:58
mgedminalso add something like19:58
mgedmin  directory $INSTANCE/var19:58
mgedmin  socket-name $INSTANCE/var/zdsock19:58
mgedminI'm not sure those two are strictly necessary19:58
*** BjornT has quit IRC19:59
mgedmin(replace $INSTANCE with the actual location19:59
mgedminor add %define INSTANCE /path/to/somewhere at the top)19:59
th1aRight.19:59
th1aadding "daemon true" seems to do the job.20:01
th1amgedmin:  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
mgedminsb 1.0 will work with the revision that jinty chose20:05
mgedminsb trunk will work with zope 3 trunk, I think20:05
mgedminI don't know what changes there are planned on zope 3 trunk before 3.120:06
mgedmin(actually I could just look at the TODO file)20:06
*** Aiste has quit IRC20:13
*** projekt01 has quit IRC20:28
*** projekt01 has joined #zope3-dev20:29
philiKONsrichter, 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
philiKONthat's where it failed20:31
philiKONbecause the grant view (rolepermissionview.py) expects role titles to be message ids20:31
philiKONi guess i could record a functional test for you20:32
*** sashav has joined #zope3-dev20:32
* philiKON is off to dinner20:32
projekt01philiKON, I think dominik was fixing this.20:34
*** bskahan has joined #zope3-dev20:42
*** BjornT has joined #zope3-dev20:43
projekt01philiKON, 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 29820:44
projekt01philiKON, See zope/app/securitpolicy/browser/rolepermissionview.py20:45
projekt01... Line 3620:45
*** alga has quit IRC20:56
philiKONprojekt01, was this also fixed for x3.0?20:59
projekt01I think just in the trunk21:01
philiKONhmm21:01
philiKONsrichter, projekt01, i'll verify the bug myself and if it doesn't exist anymore, i'll close it21:02
philiKONotherwise i'll make a note21:02
projekt01Ok, it was revision 2921321:02
philiKONwell, point is that the easy way to fix this is to fix the line in question21:03
philiKONi guess that's what dominik did21:03
philiKONmy point is that we local roles really need to ahve message id attributes21:03
philiKONand we need a special widget that deals with that21:03
philiKONof course, that raises some issues21:04
philiKONi guess i should write a proposal21:04
projekt01Yes, I see this in the issue now. Should we do that to the TODO list21:04
projekt01Ok, or a proposal21:04
philiKONwell, the question is: what domain would this msg id be in?21:04
projekt01???, good question21:04
philiKONi'll write an RFC email to the list21:05
philiKONasking whether we actually need the titles and descr of local roles translated21:05
projekt01A empty domain how everybody has to implement by itself?21:06
philiKONi didnt' understand anything in that sentence21:06
projekt01Let's call the domain "custom"21:07
philiKONno, that sucks21:07
philiKONif we have msg ids, the domain needs to be specifyable21:07
philiKONotoh, maybe this is all too much effort in case we get to see local configuration through ZCML21:08
projekt01Local roles are very important. Theres no option to use global roles on a server with different projects21:10
philiKONright21:10
philiKONbut maybe upcoming versions will support local configuration through zcml21:11
philiKONso that you can specify local roles thorugh zcml21:11
philiKONi would very much like to see that21:11
projekt01Yup, this would be nice;-)21:11
philiKONin fact, right now we have the following equations:21:11
philiKONfilesystem == global21:12
philiKONTTW == local21:12
philiKONthis is very arbitrary21:12
philiKONthere's no reason why we shouldn't be able to do global stuff TTW21:12
*** hazmat has quit IRC21:12
philiKONhowever, nobody here really wants TTW anymoer21:12
* mgedmin wants the ability to add users TTW, but that's it21:13
projekt01I think jim likes this, I saw something like generate zcml TTW or generated from definition in the workflow.21:14
projekt01mgemin, Yup, a little bit grant and add users21:15
philiKONthanks to PAU that's very much external to everything21:15
philiKONa global PAU could get users and their grants from LDAP21:16
philiKONwhich allow syou to manage users anywhere21:16
philiKONcoommand line, TTW, whatever21:16
philiKONzope would sometimes do good if it outsourced to well-known technologies21:16
projekt011+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 IRC21:23
*** AJC has quit IRC21:29
*** AJC has joined #zope3-dev21:30
*** mgedmin has quit IRC21:46
*** mgedmin has joined #zope3-dev21:46
*** hazmat has joined #zope3-dev21:54
*** jdz_ has joined #zope3-dev21:56
mgedminhm, why must I have write permissions to the index file if I want to open a FileStorage for read-only access?21:58
mgedminactually, not the index file per se, but the directory containing the index file21:59
*** Voblia is now known as Homeblia22:04
*** Aiste has joined #zope3-dev22:09
* bradb hears the need for verbose security :)22:44
*** mkerrin has quit IRC22:44
srichterphiliKON: I actually tried what you described and it work; so we can close the issue then22:45
*** sashav has joined #zope3-dev23:03
*** tvon has quit IRC23:15

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!