IRC log of #zope3-dev for Tuesday, 2006-06-27

*** The|uni has quit IRC00:07
*** edgordon has quit IRC00:09
*** dobee has quit IRC00:14
*** edgordon_ has quit IRC00:22
*** hazmat has joined #zope3-dev00:30
*** ChanServ sets mode: +o hazmat00:30
*** TresEquis has joined #zope3-dev00:44
*** volvox has joined #zope3-dev01:00
*** volvox_ has joined #zope3-dev01:14
*** benji has quit IRC01:17
*** mgedmin has quit IRC01:20
*** TresEquis has left #zope3-dev01:25
*** volvox__ has joined #zope3-dev01:28
*** volvox has quit IRC01:29
*** sashav has quit IRC01:30
*** batlogg has quit IRC01:35
*** volvox___ has joined #zope3-dev01:38
*** philiKON has quit IRC01:39
*** jhauser_ has quit IRC01:40
*** volvox____ has joined #zope3-dev01:41
*** volvox_ has quit IRC01:44
*** gumpa has left #zope3-dev01:50
*** volvox__ has quit IRC01:56
*** volvox___ has quit IRC01:57
*** volvox____ has quit IRC02:37
floxhi02:40
floxi hv user zope.Manager declared in principals.zcml02:40
*** rocky|away has quit IRC02:41
floxbut if i go directly to a sub-site, he refuse to authenticate this user zope.Manager02:41
floxI can only authenticate if I request the root '[top]'02:41
floxi guess u cannot authenticate in a sub-site, with the users declared in 'principals.zcml'...02:42
floxany way to bypass this?02:43
floxfactly, i have a PAU inside the sub-site02:43
*** oferw has joined #zope3-dev03:13
*** rocky has joined #zope3-dev03:13
*** J1m has quit IRC03:20
*** rocky is now known as rocky|Zzz03:51
*** yota has quit IRC03:57
*** nouri has quit IRC04:06
*** nouri has joined #zope3-dev04:10
*** stub has joined #zope3-dev04:20
*** hazmat has quit IRC04:28
*** oferw has quit IRC04:30
*** rocky|Zzz has quit IRC04:33
*** hazmat has joined #zope3-dev05:24
*** ChanServ sets mode: +o hazmat05:24
*** whit has quit IRC05:34
*** RaFromBRC has quit IRC05:41
*** alecm has quit IRC05:52
*** alecm has joined #zope3-dev06:34
*** stub has quit IRC06:57
*** chenqiong has joined #zope3-dev06:59
*** hazmat has quit IRC07:09
*** philiKON has joined #zope3-dev07:27
*** Aiste has joined #zope3-dev07:47
*** sashav has joined #zope3-dev07:48
*** eins has joined #zope3-dev08:00
einshi08:00
*** alecm has quit IRC08:07
*** philiKON has quit IRC08:08
*** hazmat has joined #zope3-dev08:12
*** ChanServ sets mode: +o hazmat08:12
*** stub has joined #zope3-dev08:17
*** Theuni has joined #zope3-dev08:33
*** febb has joined #zope3-dev08:48
*** hazmat has quit IRC08:51
*** sashav has quit IRC08:57
*** dobee has joined #zope3-dev08:58
*** hdima has joined #zope3-dev09:03
*** trevorp-office has joined #zope3-dev09:06
*** trevorp-office has quit IRC09:07
*** baijum has joined #zope3-dev09:17
*** SureshV has joined #zope3-dev09:23
*** chenqiong has quit IRC09:28
*** romanofski has joined #zope3-dev09:37
*** febb has left #zope3-dev09:37
romanofskimoin09:37
einsromanofski hi:)09:39
* romanofski waves to eins 09:39
*** baijum has quit IRC10:04
*** sashav has joined #zope3-dev10:08
*** flox has quit IRC10:23
*** philiKON has joined #zope3-dev10:32
*** yota has joined #zope3-dev10:32
*** armychina has joined #zope3-dev10:45
*** projekt01 has joined #zope3-dev11:01
*** BjornT has joined #zope3-dev11:05
*** baijum has joined #zope3-dev11:11
*** flox has joined #zope3-dev11:21
*** armychina has quit IRC11:29
*** volvox has joined #zope3-dev12:03
*** batlogg has joined #zope3-dev12:19
*** romanofski has quit IRC12:26
*** _projekt01 has joined #zope3-dev12:30
*** projekt01 has quit IRC12:32
*** flox has quit IRC12:32
*** romanofski has joined #zope3-dev12:34
*** mgedmin has joined #zope3-dev12:56
*** dunny has quit IRC13:03
*** alga has joined #zope3-dev13:03
*** flox has joined #zope3-dev13:06
*** mkerrin has joined #zope3-dev13:07
*** batlogg has quit IRC13:13
*** J1m has joined #zope3-dev13:16
*** batlogg has joined #zope3-dev13:23
*** regebro has joined #zope3-dev13:29
*** rocky has joined #zope3-dev13:34
*** rocky has quit IRC14:01
*** alga has quit IRC14:01
*** genconc has quit IRC14:13
*** rocky has joined #zope3-dev14:14
*** nathany has joined #zope3-dev14:37
*** SureshV has quit IRC14:59
*** mexiKON has joined #zope3-dev15:03
*** faassen has joined #zope3-dev15:05
*** philiKON has quit IRC15:12
*** eins has left #zope3-dev15:19
*** _projekt01 has quit IRC15:24
baijumJ1m, how to fix something in 3.3 branch, I mean first in trunk then merge to branch?15:29
J1mOther way around is prefered.15:30
baijumdo you merge for every commit or set of commits?15:34
J1mThere is no fixed rule.15:34
J1mI merge sets myself most of the time because I am lazy.15:34
J1mDoing them separately is a little cleaner.15:35
faassenJ1m: hey.15:35
J1mho15:35
faassenJ1m: are we Snow White dwarfs?15:36
Theunilol15:36
*** regebro has quit IRC15:37
*** benji has joined #zope3-dev15:39
baijumJ1m, let me commit this typo http://zope3.pastebin.com/712516 (Just curious to commit something :)15:40
baijums/typo/typo fix15:40
J1msure, as long as you run the tests before checking in.15:42
*** regebro has joined #zope3-dev15:47
*** avoine has joined #zope3-dev16:04
*** ignas has joined #zope3-dev16:06
* baijum Total: 7180 tests, 0 failures, 0 errors then... committed :)16:09
baijumis it necessary to subscribe to zope3-checkins to commit something?16:16
baijumThere was a mai "Your message to Zope3-Checkins awaits moderator approval"16:16
baijums/mai/mail16:16
baijumanyway, I subscribed now16:16
J1mNo, you don't have to subscribe.16:17
mgedminbut it is a good idea16:18
mgedminyou can disable email delivery16:18
regebrobaijum: It used to be that nobody saw your commits if you were not subscribed. That may have changed.16:18
regebroBut probably not. :)16:19
J1myes, that has changed16:19
*** alga has joined #zope3-dev16:22
*** gumpa has joined #zope3-dev16:26
*** baijum has left #zope3-dev16:28
*** regebro has quit IRC16:33
*** nathany has quit IRC16:36
*** whit has joined #zope3-dev16:46
*** whit has quit IRC16:55
floxany contrib for the current 3.3.0b1 should be made in /Zope3/branches/3.317:20
floxright?17:20
Theuniyep17:20
*** gumpa is now known as gumpa-afk17:20
J1mright17:20
Theuni+forward port to trunk if necessary17:20
floxthks17:21
*** whit has joined #zope3-dev17:33
*** oferw has joined #zope3-dev17:34
mgedminanyone seen a testbrowser error like this one: http://zope3.pastebin.com/733131 ?17:37
benjimgedmin, pastebin.com seems to be having problems17:38
mgedminyes, it is very slow here too... does anyone know an alternative pastebin?17:39
mgedminhere: http://paste.plone.org/492017:39
mgedminby the way, the error just disappeared17:39
benjihmm, "disappeared" :/17:40
mgedminI ran ftests a couple of times, got the same error17:40
mgedminadded a handleErrors = False, reran the tests, no error17:40
mgedminremoved handleErrors = False, reran the tests, no error17:40
mgedminsvn diff shows that the ftest file is unchanged17:40
mgedminso if the traceback doesn't ring a bell, don't bother investigating it17:41
*** hdima has quit IRC17:42
*** mgedmin changes topic to "logs available at http://zope3.pov.lt/irclogs/ || paste code examples into http://zope3.pastebin.com/ or http://paste.plone.org/"17:44
benjino bells, mgedmin, but from the traceback it looks like you're accessing an external site (i.e. not a functional test), so it is possible some transient error (connectivity, server, etc.) was the source17:44
mgedminno, it is a functional test17:45
benjihmm, that's quite strange then17:45
*** sashav has quit IRC17:46
*** romanofski has quit IRC17:50
*** batlogg has quit IRC17:50
*** romanofski has joined #zope3-dev17:50
*** stub has quit IRC17:51
*** romanofski has quit IRC17:55
*** romanofski has joined #zope3-dev17:56
mgedminis there an adapter that sets the dublin core title on IObjectAddedEvent?18:01
Theunihmm?18:02
*** russf has quit IRC18:02
mexiKONmgedmin, what would it set the title to?18:02
Theunihow should it do that?18:02
mgedminthe __name__18:02
mexiKONhmm, no i don't think there's such a thing18:02
Theuniprobably the right answer is: there might be one if you put one in :)18:02
mgedminok18:02
mgedminthanks18:03
mexiKONi'm not convinced that there should be one18:04
*** mexiKON is now known as philiKON18:05
*** efrerich has joined #zope3-dev18:05
mgedminI just thought there might have been one18:06
mgedminbut I was mistaken18:06
mgedminI just registered my adapter for the wrong interface18:06
*** dobee has quit IRC18:08
*** batlogg has joined #zope3-dev18:12
*** alecm has joined #zope3-dev18:14
*** efrerich has quit IRC18:20
*** whit is now known as whit|out18:22
*** roym has joined #zope3-dev18:45
roymI can handle IUnauthorized exceptions so the user is taken to a specific (login) page, by making an entry in /etc/overrides.zcml. Is it possible to achieve the same thing on a site specific basis?18:47
mgedminI think so18:48
mgedmindo you have an authentication utility in your site?18:49
mgedminI think it is the job of the authentication utility to issue the challenge18:49
*** flox has quit IRC18:50
roymI have a custom PrincipalFolder18:50
roymand have added a PAU with it.18:50
roymWould I need a custom credentials plugin to achieve this?18:52
philiKONroym, achive what on a site specific basis?18:59
*** regebro has joined #zope3-dev18:59
roymI need unauthorized accesses to go to site specific views....19:02
roymif I have 2 sites A and B, then a diffferent login page for each.19:03
philiKONah, you want different log in pages19:05
philiKONroym, simply override loginForm.html for *19:06
philiKONinside the different sites19:06
philiKONhmm, "simply"19:07
philiKONwe don't have local configuration thru zcml yet :(19:07
roymhow can I do this then? would it be in the zmi?19:08
philiKONthen you can create your own two versions of theSessionCredentialsPlugin19:08
philiKONclass FirstSCP(SessionCredentialsPlugin):19:08
philiKON    loginpagename = 'loginForm.html'19:08
philiKONclass SecondSCP(SessionCredentialsPlugin):19:08
philiKON    loginpagename = 'loginForm2.html'19:08
philiKONyou provide loginForm and loginForm219:08
roymah - gotcha, thanks!19:09
philiKONobviously, they will both be avialable everywhere :(19:09
philiKONso, users could type in loginForm.html explicitly where they should be getting loginForm2.html19:09
*** whit has joined #zope3-dev19:10
*** zagy has quit IRC19:12
*** romanofski has quit IRC19:16
*** Theuni has quit IRC19:18
*** whit is now known as whit|lunch19:27
*** regebro has quit IRC19:32
*** gumpa-afk is now known as gumpa19:32
*** sashav has joined #zope3-dev19:33
*** regebro has joined #zope3-dev19:39
*** alecm has quit IRC19:46
*** flox has joined #zope3-dev20:02
*** zagy has joined #zope3-dev20:13
*** whit|lunch is now known as whit20:21
*** jinty has quit IRC20:26
*** volvox has quit IRC20:32
*** rocky has quit IRC20:45
*** batlogg has joined #zope3-dev20:49
mgedminwhat's the right way to provide a computed default value for a field in a zope.formlib.form.AddForm?20:50
mgedminthe only way I can see is to override setUpWidgets20:51
philiKONmgedmin, you can also override __call__ and say self.foo_widget.setInputValue(...) or whatever the name of the widget api method is20:59
mgedminI'd rather override setUpWidgets21:00
mgedmin(which is what I did)21:00
mgedmin(works fine)21:00
philiKONk :)21:00
*** faassen has quit IRC21:07
*** zagy has quit IRC21:08
*** zagy has joined #zope3-dev21:09
*** edgordon has joined #zope3-dev21:09
*** rocky has joined #zope3-dev21:15
roymCan someone help me understand why I get a bunch of NotFound exceptions on pl.gif and mi.gif. I have the latest trunk, and haven't even created anything in there.21:17
*** RaFromBRC has joined #zope3-dev21:18
*** rodeno has joined #zope3-dev21:20
rodenohappened?21:20
*** rodeno has left #zope3-dev21:21
roymhmmm... the files mi.gif and pl.gif are available as ++skin++Rotterdam/++resource++pl.gif; however it looks like the tree renderer is trying to get them as @@/pl.gif and @@/mi.gif21:31
roymIs this a bug?21:31
*** batlogg has quit IRC21:34
floxnot a bug21:35
floxwhich OS u use?21:35
floxURL is something like: http://127.0.0.1:8080/@@/pl.gif21:36
*** batlogg has joined #zope3-dev21:37
*** mkerrin has quit IRC21:38
philiKONroym, @@/pl.gif is correct21:40
philiKONin fact, a_site/@@/pl.gif is the way the URLs will appear21:40
philiKONwhere a_site is a site folder21:40
roymmy mistake... pl.gif is ok21:42
roymthanks21:42
oferwphiliKON: what you say about brazil today?21:50
philiKONthey hardly moved at all :)21:50
oferwphiliKON: but they still won and this is what important...21:51
oferwphiliKON: don't you think?21:51
oferwphiliKON: if they will win it all nobody will remember this game ;-)21:51
philiKONsure21:52
philiKONbut they'll lose to germany in the finale :)21:52
oferwlet's see :-)21:53
philiKONindeed :)21:53
oferwwhen is germany next game?21:53
philiKONfriday21:54
philiKONright when i leave my airplane in geneva21:54
philiKONso i might stick around the airport just to watch the match :)21:54
oferwwhen is the flight?21:55
philiKON15:30 - 17:10 UTC+221:55
philiKONthe game is at 17:00 UTC+221:55
oferwright on time...21:56
philiKONlet's hope so :)21:56
oferwhere also in the city many places put outside big tv screens (cafes and bars)21:56
philiKONwe have a big screen on the university campus21:57
philiKONwith beer and a grill :)21:57
oferwthis is for you http://sports.yahoo.com/sow/photo?slug=getty-fbl-wc2006-match55-bra-gha-jubo_2_14_53_pm&prov=getty21:57
oferw:)21:58
*** ignas has quit IRC22:05
d2manyone got 'fssync' running ? i can't get it to checkout files to the filesystem for a start22:06
oferwphiliKON: you know that here we need to pay money to see the whole games on tv - part of them not costs money, how it is in germany?22:07
J1md2m, it's probably got serious bitrot by now. :(22:07
J1mIt isn't supported atm, but I hope it will be someday.22:07
d2mJ1m: i see everything in debugprint, but have no idea to get the data back into the response22:07
J1mSorry, I can't offer any suggestions.  I haven't played with it in years.22:09
roymphiliKON: I think I see now what was going on with the mi.gif and pl.gif22:09
*** BjornT has quit IRC22:10
roymThey are fine except when you are looking at a site.22:10
roymhttp://++skin++Rotterdam/++etc++site/@@/pl.gif fails22:10
philiKONroym, of course22:11
philiKONroym, because @@ is only available at sites22:12
philiKONoferw, matches are free on german television22:12
roymphiliKON: This means that one just has to live with the NotFound exceptions when managing  a site?22:13
philiKON no, not really22:13
philiKONresource should be looked up even when inside the site manager22:13
philiKONno idea what's going wrong with your site there22:13
* philiKON out22:14
mgedminroym: page templates ought to use tales expressions to figure out the URLs of resources22:18
mgedmine.g. <img tal:attributes="src context/++resource++my.png" />22:18
mgedminthen in the rendered html that <img> element will have a proper (absolute) url to /site/@@/my.png22:19
roymmgedmin: agreed.22:19
roymI was trying to protect the top level of the site by denying View access to unauthorized users.22:19
roymI think this is what caused the issues. So my question is: what is the correct way to protect the root level (ie: force an Unauthorized exception).22:20
*** dunny has joined #zope3-dev22:22
*** oferw has quit IRC22:22
*** dunny has quit IRC22:24
mgedminI still do not understand why denying zope.View would cause NotFound errors22:26
roymmaybe it's not on account of that... here's what I did:22:29
roymI made a new zope instance22:29
roymI then visit the manage-site tab.22:29
roymdril down to default->error reporting.22:29
roymthere are already errors about missing mi.gif and pl.gif22:30
*** mgedmin has quit IRC22:30
*** mgedmin has joined #zope3-dev22:30
*** hazmat has joined #zope3-dev22:46
*** ChanServ sets mode: +o hazmat22:46
*** alga has quit IRC22:53
*** mgedmin has quit IRC22:57
*** dobee has joined #zope3-dev23:12
roymI think my issues are on account of opera (and javascript). Things look much cleaner in IE and firefox. Is anyone out there using opera (8.51) primarily - can you confirm if there are glitches with mi.gif etc...23:13
*** sashav has quit IRC23:16
*** hazmat has quit IRC23:18
*** mgedmin has joined #zope3-dev23:18
*** dobee has quit IRC23:34
*** avoine has quit IRC23:36
*** batlogg has quit IRC23:44
*** zagy has quit IRC23:50
*** benji_york has joined #zope3-dev23:58

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