*** Tornet has joined #zope3-dev | 00:01 | |
Tornet | Hi! Does somebody know where to find complete application (sources) for Zope3? | 00:02 |
---|---|---|
*** GreenNet has joined #zope3-dev | 00:04 | |
*** clueck has joined #zope3-dev | 00:10 | |
*** zbir has quit IRC | 00:19 | |
*** haruki has quit IRC | 00:21 | |
*** Tornet has quit IRC | 00:25 | |
*** GreenNet has quit IRC | 00:27 | |
*** niemeyer_ has joined #zope3-dev | 00:49 | |
*** niemeyer has quit IRC | 00:56 | |
*** povbot has joined #zope3-dev | 01:16 | |
*** Varg__ has quit IRC | 01:17 | |
*** roym has quit IRC | 01:22 | |
*** mexiKON has joined #zope3-dev | 01:26 | |
*** niemeyer_ is now known as niemeyer | 01:30 | |
*** philiKON has quit IRC | 01:31 | |
*** SteveA has quit IRC | 01:36 | |
*** SteveA has joined #zope3-dev | 01:39 | |
*** sashav_ has joined #zope3-dev | 01:39 | |
*** MiUlEr has joined #zope3-dev | 01:43 | |
*** sashav__ has joined #zope3-dev | 01:48 | |
*** sashav_ has quit IRC | 01:48 | |
*** yota has quit IRC | 01:50 | |
*** sashav has quit IRC | 01:55 | |
*** yotaff has quit IRC | 02:15 | |
*** mexiKON has left #zope3-dev | 02:20 | |
*** __matt__ has quit IRC | 02:20 | |
*** __matt__ has joined #zope3-dev | 02:20 | |
*** sashav__ has quit IRC | 02:23 | |
*** __matt__ is now known as horizon5 | 02:29 | |
*** __matt__ has joined #zope3-dev | 02:30 | |
*** horizon5 has quit IRC | 02:30 | |
*** matt__ has joined #zope3-dev | 02:31 | |
*** __matt__ has quit IRC | 02:31 | |
*** anguenot has quit IRC | 02:37 | |
*** stub has joined #zope3-dev | 02:50 | |
*** _projekt01 has quit IRC | 02:55 | |
*** hazmat has joined #zope3-dev | 02:58 | |
*** jinty has quit IRC | 03:03 | |
*** sashav has joined #zope3-dev | 03:09 | |
*** loreto has quit IRC | 03:20 | |
*** sashav has quit IRC | 03:45 | |
*** newpers has joined #zope3-dev | 03:53 | |
*** matt__ is now known as horizon5 | 03:58 | |
*** hazmat has quit IRC | 03:59 | |
*** th1a has quit IRC | 04:17 | |
*** anguenot_ has joined #zope3-dev | 04:18 | |
*** clueck has quit IRC | 04:22 | |
*** anguenot__ has joined #zope3-dev | 05:46 | |
*** hazmat has joined #zope3-dev | 05:51 | |
*** ChanServ sets mode: +o hazmat | 05:51 | |
*** niemeyer has quit IRC | 05:54 | |
*** anguenot has joined #zope3-dev | 05:55 | |
*** anguenot_ has quit IRC | 06:03 | |
*** MacYET_ has joined #zope3-dev | 06:03 | |
*** anguenot__ has quit IRC | 06:07 | |
*** anguenot has quit IRC | 06:12 | |
*** MacYET has quit IRC | 06:12 | |
*** natea has joined #zope3-dev | 06:28 | |
*** whit has quit IRC | 06:40 | |
*** anguenot has joined #zope3-dev | 06:43 | |
*** srichter has joined #zope3-dev | 07:13 | |
*** ChanServ sets mode: +o srichter | 07:14 | |
*** stub has quit IRC | 08:08 | |
*** jhauser_ has joined #zope3-dev | 08:18 | |
*** BjornT has joined #zope3-dev | 08:24 | |
*** jhauser has quit IRC | 08:33 | |
*** sashav has joined #zope3-dev | 08:33 | |
*** zagy has quit IRC | 08:42 | |
*** zagy has joined #zope3-dev | 08:45 | |
*** zagy has quit IRC | 08:50 | |
*** zagy has joined #zope3-dev | 08:50 | |
*** sashav has quit IRC | 09:01 | |
* MacYET_ is back (gone 03:06:26) | 09:10 | |
*** viyyer has joined #zope3-dev | 09:24 | |
viyyer | how can i make plone work on zope3 | 09:24 |
MacYET_ | z3 does not work with plone.point | 09:25 |
MacYET_ | plone does not work with z3 | 09:25 |
*** hdima has joined #zope3-dev | 09:29 | |
*** viyyer has left #zope3-dev | 09:31 | |
*** MJ has quit IRC | 09:52 | |
*** yota has joined #zope3-dev | 09:57 | |
*** tarek has joined #zope3-dev | 10:09 | |
*** sashav has joined #zope3-dev | 10:18 | |
*** tekNico has joined #zope3-dev | 10:21 | |
*** Theuni has joined #zope3-dev | 10:25 | |
*** sashav has quit IRC | 10:42 | |
*** sashav has joined #zope3-dev | 10:43 | |
*** jenner has joined #zope3-dev | 10:50 | |
jenner | hi | 10:50 |
*** stub has joined #zope3-dev | 10:52 | |
*** newpers has quit IRC | 10:53 | |
*** MJ has joined #zope3-dev | 11:22 | |
*** guest25 has joined #zope3-dev | 11:24 | |
*** guest25 has quit IRC | 11:25 | |
*** baiju has joined #zope3-dev | 11:33 | |
*** baiju1 has joined #zope3-dev | 11:37 | |
*** stub has quit IRC | 11:40 | |
* MacYET_ is away: sushi hunting | 11:52 | |
sashav | morning, any links for where I can learn how I can make an already existing class persistent object in zope without touching the class? do I need to use an adapter that spits out a new persistent instance? | 11:55 |
sashav | never mind | 11:57 |
*** zagy has left #zope3-dev | 12:11 | |
*** zagy has joined #zope3-dev | 12:17 | |
*** tvon has joined #zope3-dev | 12:21 | |
*** baiju1 has quit IRC | 12:41 | |
* MacYET_ is back (gone 00:51:19) | 12:43 | |
*** andres has quit IRC | 13:13 | |
*** andres has joined #zope3-dev | 13:16 | |
*** drzoltron_ has joined #zope3-dev | 13:22 | |
VladDrac | caught any sushi? | 13:28 |
*** dobee has joined #zope3-dev | 13:31 | |
*** mp has quit IRC | 13:34 | |
*** Alef has joined #zope3-dev | 13:37 | |
*** baiju1 has joined #zope3-dev | 13:48 | |
*** mkerrin has joined #zope3-dev | 13:50 | |
*** tarek has quit IRC | 13:53 | |
*** tarek has joined #zope3-dev | 14:06 | |
*** tarek_ has joined #zope3-dev | 14:06 | |
*** tarek_ has quit IRC | 14:09 | |
*** MacYET_ has quit IRC | 14:25 | |
*** MacYET_ has joined #zope3-dev | 14:25 | |
*** zbir has joined #zope3-dev | 14:41 | |
*** drzoltron_ has quit IRC | 14:41 | |
*** faassen has joined #zope3-dev | 14:43 | |
*** mgedmin has joined #zope3-dev | 14:44 | |
*** jukart has joined #zope3-dev | 14:45 | |
*** zbir has quit IRC | 14:50 | |
*** jukart has left #zope3-dev | 14:51 | |
*** baiju1 has quit IRC | 14:52 | |
*** mgedmin has quit IRC | 14:53 | |
*** mgedmin has joined #zope3-dev | 14:56 | |
*** MiUlEr has quit IRC | 14:59 | |
*** srichter has quit IRC | 15:06 | |
*** philiKON has joined #zope3-dev | 15:13 | |
*** stub has joined #zope3-dev | 15:18 | |
*** niemeyer has joined #zope3-dev | 15:20 | |
*** MJ has quit IRC | 15:20 | |
*** ignas has joined #zope3-dev | 15:24 | |
*** benji_york has joined #zope3-dev | 15:27 | |
*** MrTopf has joined #zope3-dev | 15:29 | |
hdima | Is there are way to get multi adapter by interfaces? | 15:48 |
hdima | For example: | 15:48 |
hdima | getMultiAdapter((IObject1, IObject2), name="name") | 15:49 |
hdima | ? | 15:49 |
SteveA | there's no nice api for doing that, even for a single interface | 15:52 |
SteveA | which is a shame | 15:52 |
SteveA | you can query the adapters registry directly | 15:52 |
SteveA | or you can create objects soley to provide those interfaces, to do the query | 15:53 |
hdima | Curently I've create a fake objects which provides my interfaces, but it's not the right way... :) | 15:54 |
SteveA | right | 15:55 |
*** zbir has joined #zope3-dev | 15:55 | |
*** mgedmin has quit IRC | 15:56 | |
*** mgedmin has joined #zope3-dev | 15:58 | |
*** mgedmin has quit IRC | 16:06 | |
*** stub has quit IRC | 16:07 | |
*** mgedmin has joined #zope3-dev | 16:08 | |
mgedmin | svn.zope.org is dead? | 16:12 |
benji_york | apparently | 16:14 |
MacYET_ | looks like | 16:14 |
*** philiKON has quit IRC | 16:21 | |
benji_york | Jim is being informed about svn.zope.org | 16:22 |
*** baldtrol has left #zope3-dev | 16:23 | |
*** philiKON has joined #zope3-dev | 16:23 | |
*** jinty has joined #zope3-dev | 16:25 | |
*** Alef has quit IRC | 16:28 | |
*** Alef has joined #zope3-dev | 16:28 | |
*** baiju1 has joined #zope3-dev | 16:33 | |
*** J1m has joined #zope3-dev | 16:40 | |
J1m | I just unwedged svn.zope.org | 16:40 |
*** fdrake has joined #zope3-dev | 16:41 | |
fdrake | philiKON, it sounds like you have no actual use for the HTML out mode from ZPT; is that right? | 16:42 |
philiKON | fdrake, i don't | 16:43 |
philiKON | but hdima has | 16:43 |
philiKON | i-mode markup | 16:43 |
philiKON | which probably has .000001% market share | 16:43 |
J1m | Sounds like an untapped market. ;) | 16:43 |
philiKON | (i-mode is a Japanese mobile phone information system, quite popular over there, never really popular in Europe, no idea about the US) | 16:44 |
philiKON | J1m, i meant market share as in all web clients | 16:44 |
philiKON | it's not really "web", so it might not count | 16:44 |
J1m | Isn't it possible to express i-mode markup in xhtml? | 16:44 |
philiKON | don't ask me, ask hdima | 16:46 |
hdima | Seems like real i-mode phones are happy with xhtml | 16:46 |
philiKON | what is an unreal i-mode phone? | 16:46 |
fdrake | ah, good | 16:46 |
hdima | Only specs said about html markup | 16:46 |
philiKON | ic | 16:46 |
fdrake | so XHTML is sufficient in practice? | 16:47 |
hdima | yes | 16:47 |
fdrake | I like that answer. :-) | 16:47 |
hdima | :) | 16:47 |
philiKON | same here | 16:47 |
philiKON | fdrake, about the spec | 16:47 |
philiKON | or, the proposal rather | 16:48 |
philiKON | forcing people into a file extension somehow feels wrong to me | 16:48 |
philiKON | we've never done that | 16:48 |
fdrake | I don't know if there could be any Zope 2 issues with an XHTML-only story; it seems unlikely, but I should send a message to that group as well. | 16:48 |
fdrake | It's not great, I'll agree. | 16:48 |
fdrake | But it has less separation from the content than something in ZCML. | 16:49 |
philiKON | you know what would even be no separation from the content? if we'd decide based on <?xml ?> being there or not | 16:49 |
philiKON | :) | 16:49 |
philiKON | *if* we have to go with the file extension thing, why not at least express it the negative way | 16:50 |
fdrake | The catch is that <?xml ?> is a problem for some content (like what's fed to MSIE). :-( | 16:50 |
philiKON | yeah | 16:50 |
philiKON | i was being sarcastic | 16:50 |
philiKON | anyways | 16:50 |
philiKON | *if* we have to go with the file extension thing, why not at least express it the negative way | 16:50 |
philiKON | : | 16:50 |
fdrake | ideally, reasonable filesystems would support typed data :-) | 16:50 |
philiKON | if a zpt DOESN'T have the .hpt file extension, it's XML | 16:50 |
fdrake | because of the compatibility issue | 16:51 |
philiKON | hrm | 16:51 |
fdrake | Jim suggested that we could introduce two extensions, .xpt and .hpt, so either way could be explicit. | 16:51 |
philiKON | .xpt sucks | 16:51 |
fdrake | so does HTML | 16:51 |
fdrake | and data sniffing. | 16:52 |
philiKON | introducing those would set this file extension into stone forever | 16:52 |
philiKON | i like .pt | 16:52 |
philiKON | we would never come back to it, i predict | 16:52 |
philiKON | because renaming stuff is just too hard | 16:52 |
fdrake | Julien and I played with the idea of changing the sniffing, so that if any namespaces are used, XML mode is used. | 16:52 |
fdrake | that's a more expensive sniff though, and still a sniff | 16:53 |
philiKON | yes | 16:53 |
philiKON | well | 16:53 |
philiKON | we agree taht HTML mode should go in the long term, yes? | 16:53 |
benji_york | go == go away? | 16:53 |
philiKON | yes | 16:54 |
fdrake | you and I do, certainly, and many others here as well | 16:54 |
benji_york | then I agree :) | 16:54 |
hdima | I agree | 16:54 |
philiKON | fdrake, let's say we:=you and me for the moment | 16:54 |
philiKON | so, HTML mode is not going to stay with us forever | 16:54 |
philiKON | so, any dirty thing (like sniffing) would not be sticking around forever, either | 16:54 |
philiKON | in fact, it would have a fixed expiration date | 16:55 |
philiKON | e.g. Zope 3.4 | 16:55 |
fdrake | right | 16:56 |
fdrake | and, more interestingly, there would only be XHTML output if I have my way | 16:56 |
fdrake | that would buy simplifications in the implementation, and at least a small bit of performance | 16:57 |
SteveA | will it be easier to add <doctypes> to pages in the future? | 16:57 |
SteveA | i guess i can do that in the view code | 16:57 |
philiKON | fdrake, you mean, even html mode would be xhtml mode? | 16:57 |
fdrake | haven't thought about that | 16:57 |
fdrake | philiKON, YES!!!! | 16:57 |
philiKON | ic | 16:57 |
philiKON | will xhtml mode be utilizing xml mode? | 16:58 |
fdrake | keeping the parser is easy | 16:58 |
fdrake | yes | 16:58 |
philiKON | so, xhtml mode will need the namespace declarations and everything tucked into a document element? | 16:58 |
hdima | It would be nice to introduce some pluggable modes... | 16:58 |
fdrake | but the "/>" would always need to be converted to " />"; another simplification | 16:58 |
fdrake | xhtml mode requires that now | 16:59 |
fdrake | perhaps, but better to simplify | 16:59 |
* mgedmin notes that the w3c validator barfs on pages that declare HTML 4 doctype and have tags like <... /> | 16:59 | |
* mgedmin doesn't care, 'cause /me always declares his pages as XHTML | 16:59 | |
philiKON | yeah | 17:00 |
philiKON | i'd be surprised if anyone is actually still using HTML4, especially for the potential new implementation we're rolling out | 17:00 |
philiKON | man, china has already messed up my english | 17:00 |
philiKON | fdrake, so, coming back to the rationale i was on before | 17:02 |
*** baiju1 has quit IRC | 17:02 | |
philiKON | i'd rather introduce something now that is going to go away by the deprecation process we started | 17:02 |
philiKON | self-removal through deprecation so to speak | 17:02 |
philiKON | this wouldn't happen with a special file extension... | 17:02 |
*** anguenot has quit IRC | 17:03 | |
philiKON | namespace declarations there or not might be a suitable switch | 17:03 |
philiKON | i wouldn't count on it, though | 17:03 |
fdrake | right | 17:04 |
philiKON | why not temporarily introduce a "tal:mode='xhtml|xml'"? | 17:04 |
philiKON | on the document element | 17:04 |
fdrake | Jim just noted that another need for XML-mode without the XML declaration is templates that generate fragments | 17:04 |
fdrake | like a portlet or a widget | 17:04 |
philiKON | yes | 17:04 |
philiKON | of course | 17:04 |
mgedmin | yes | 17:05 |
mgedmin | I was bitten by this once | 17:05 |
SteveA | i'd like to be able to state the namespaces externally from the xml file | 17:05 |
fdrake | tal:mode might be ok | 17:05 |
SteveA | for example, to state them once for a while project | 17:06 |
SteveA | um, whole project | 17:06 |
philiKON | uh | 17:06 |
fdrake | can't do that for normal XML, and we want normal XML | 17:06 |
philiKON | yes | 17:06 |
philiKON | +1 for dull, spec-compliant XML | 17:06 |
fdrake | the catch really is fragments (like portlets, etc.) | 17:06 |
mgedmin | precisely | 17:06 |
philiKON | what about them? | 17:06 |
fdrake | where the namespace context is in the referencing document | 17:06 |
philiKON | ah | 17:07 |
SteveA | for normal software developers, these are just dead chickens | 17:07 |
mgedmin | I once constructed recursive trees with a .pt for every node | 17:07 |
SteveA | the framework should make it optional to write these things | 17:07 |
mgedmin | and got xmlns declarations on every output element | 17:07 |
*** srichter has joined #zope3-dev | 17:07 | |
fdrake | I'd rather be safe and make fragments documents with a top-level element w/ namespaces | 17:07 |
fdrake | and use tal:omit-tag="" if desired | 17:07 |
philiKON | yup | 17:07 |
SteveA | this is going to really put off non-xml-zealots | 17:07 |
mgedmin | the same solution just occurred to me now | 17:08 |
mgedmin | but not N years ago, when I encountered the problem ;) | 17:08 |
philiKON | mgedmin, having xmlns attributes flying around everywhere is maybe ugly, but it's at least safe | 17:08 |
mgedmin | philiKON, you could say the same thing about Java! | 17:08 |
SteveA | noooo | 17:08 |
fdrake | anything that side-steps a specification, that's bad | 17:09 |
SteveA | really, this is a bunch of dead chickens | 17:09 |
philiKON | mgedmin, if it's in the *output*, i don't care | 17:09 |
philiKON | mgedmin, you were complaining about the outpout... | 17:09 |
SteveA | i'm talking about the input files | 17:09 |
philiKON | yes, SteveA, i wasn't talking to you though | 17:09 |
philiKON | :) | 17:09 |
philiKON | i would have a hard time arguing with you, because I agree on the dead chickens part, but I'm also tired of Zope doing its | 17:10 |
philiKON | own non-standard compliant thing all the time | 17:10 |
SteveA | so, just to get it straight, is there a proposal to make xmlns stuff mandatory for all page templates that programmers and ui people write? | 17:10 |
fdrake | no | 17:11 |
fdrake | I'm not proposing remove HTML-mode input. | 17:11 |
SteveA | i'd be happy making people write well formed xml fragments as input | 17:11 |
fdrake | I'm proposing that output is always XHTML-mode. | 17:11 |
SteveA | i think that's a good thing | 17:11 |
SteveA | my UI guy is happy with the idea of always outputting xhtml mode | 17:12 |
MacYET_ | then all our applications would break :) | 17:12 |
fdrake | So do I, but there are too many backward compatibility problems. | 17:12 |
philiKON | fdrake, wait, i thought this was all about the input? | 17:12 |
fdrake | No, there are two aspects: | 17:12 |
fdrake | - we want explicit input mode control for templates | 17:13 |
fdrake | - we want to use macros across modes | 17:13 |
fdrake | So we want the interpreter to always handle things the same way. | 17:14 |
fdrake | It certainly shouldn't be based on the input mode. | 17:14 |
philiKON | so, the htmlparser is going to stick around? | 17:14 |
fdrake | As long as folks want to use HTML input. | 17:15 |
* philiKON decides they don't anymore... ;) | 17:15 | |
fdrake | I wouldn't mind removing it, but others would get to do a lot of work changing templates. | 17:15 |
fdrake | Were only it so easy! :-) | 17:15 |
philiKON | well, let's make a Gedankenexperiment | 17:16 |
philiKON | when would such a change be fatal? | 17:16 |
philiKON | in Zope 3.4 or 3.5 | 17:16 |
philiKON | lots of time to see those deprecation warnings | 17:16 |
philiKON | lots of time to change templates | 17:16 |
philiKON | for someone actually going to those platforms | 17:16 |
philiKON | now, i suspect that people with HTML4 templates wanting to use Zope 3.4/3.5/... are, uh, .000001% of all Zope 3 developers? | 17:17 |
*** MJ has joined #zope3-dev | 17:17 | |
fdrake | hopefully no more than that | 17:17 |
philiKON | (currently, this percentage probably doesn't even represent hdima's left leg) | 17:18 |
fdrake | :-) | 17:18 |
hdima | :) | 17:18 |
philiKON | anyways, i'm going to bed | 17:19 |
* philiKON votes for tal:mode | 17:19 | |
fdrake | So 3.2 would need to generate a DepWarning for HTML-mode templates, then. | 17:19 |
fdrake | bed, schmed. | 17:19 |
philiKON | heh | 17:19 |
fdrake | read a good book. :-) | 17:19 |
philiKON | na, i have the flu | 17:20 |
fdrake | ugh. | 17:20 |
philiKON | or something like that | 17:20 |
fdrake | hope you feel better soon! | 17:20 |
philiKON | +1 on 3.2 deprecating html mode input | 17:20 |
*** anguenot has joined #zope3-dev | 17:20 | |
fdrake | are there still any objections to removing HTML mode output? | 17:20 |
fdrake | sounds like not in this group | 17:21 |
philiKON | better ask on the list :) | 17:21 |
fdrake | well, there is that... | 17:21 |
philiKON | so, let's get this straight | 17:21 |
philiKON | xhtml mode is like xml mode | 17:21 |
philiKON | except... | 17:21 |
philiKON | - it adds the space for singleton tags | 17:21 |
philiKON | - ... what else? | 17:21 |
philiKON | (xhtml mode meaning xhtml OUTPUT mode) | 17:21 |
*** Alef has quit IRC | 17:22 | |
fdrake | there is no "xhtml" mode; there never has been | 17:22 |
fdrake | HTML mode produces XHTML | 17:23 |
*** hdima has quit IRC | 17:23 | |
fdrake | where it handles an element at all | 17:23 |
philiKON | i thougth we're inventing it here | 17:23 |
philiKON | ok | 17:23 |
fdrake | ah; ok, if we want to give the changes a name, that's fine | 17:23 |
philiKON | HTML input mode -> xhtml output mode, yes? | 17:23 |
fdrake | it would be the only output mode | 17:23 |
* philiKON is confused | 17:24 | |
philiKON | we have two inputs modes, right? HTML and XML, yes? | 17:24 |
philiKON | what output modes are there right now? | 17:24 |
fdrake | right | 17:24 |
fdrake | HTML and XML | 17:24 |
philiKON | ok | 17:24 |
philiKON | and you're proposing to make them XHTML and XML output modes, right? | 17:24 |
fdrake | we want to remove HTML output mode for 3.2 | 17:24 |
fdrake | no | 17:25 |
fdrake | I'm proposing that XML mode would follow the XHTML compat guidelines (" />" etc.) | 17:25 |
fdrake | and remove HTML mode | 17:25 |
philiKON | ok | 17:25 |
philiKON | and in addition to that, i'm proposing to deprecate HTML mode | 17:25 |
fdrake | so we get XHTML w/ b/w compat conventions if we have HTML-esque input | 17:25 |
fdrake | for input | 17:26 |
philiKON | and in addition to that, i'm proposing to deprecate HTML input mode | 17:26 |
fdrake | for XML that isn't XHTML, we still get XML, but it happens to use the XHTML compat conventions | 17:26 |
philiKON | yeah | 17:26 |
philiKON | that's fine, i think | 17:27 |
philiKON | zpt always does stuff with the whitespace, so this'd just be another whitespace thing of zpts | 17:27 |
fdrake | RSS, etc., will be happy enough with that since syntactic equivalence is provided by the XML spec | 17:27 |
fdrake | right | 17:27 |
philiKON | summary before i go to bed: +1 on consolidating the output modes; as you know, i'd also like to go further and deprecate html input mode, and instead of sniffing based on the <?xml ?> processing instruction, i propose a (temporary, since html is going to go away anyways) tal:mode attr on the documentelement. | 17:29 |
fdrake | 1) we agree on output mode consolidation | 17:30 |
fdrake | 2) we agree on deprecation of HTML input mode | 17:30 |
fdrake | 3) I'll think about the tal:mode attribute vs. sniffing for XML namespaces to trigger XML mode | 17:31 |
fdrake | tal:mode would still require declaring the TAL namespace | 17:31 |
fdrake | :-) | 17:31 |
philiKON | not in HTML mode :) | 17:31 |
fdrake | right; HTML mode doesn't change at all | 17:32 |
fdrake | other than generating a warning | 17:32 |
philiKON | yup | 17:32 |
philiKON | ok, g'night everyone then | 17:33 |
fdrake | g'nite! | 17:33 |
faassen | philiKON: good night! | 17:36 |
* philiKON sings "i say hello and you say goodbye..." | 17:37 | |
MacYET_ | philiKON: this was before you were born :) | 17:40 |
*** sashav has quit IRC | 17:41 | |
philiKON | MacYET_, and you were what at the time? shitting into diapers? | 17:41 |
*** niemeyer is now known as nie_lunch | 17:41 | |
MacYET_ | LOL | 17:42 |
*** andres has quit IRC | 17:48 | |
*** srichter has quit IRC | 17:53 | |
*** alga has joined #zope3-dev | 18:03 | |
*** regebro has joined #zope3-dev | 18:21 | |
*** projekt01 has joined #zope3-dev | 18:25 | |
*** projekt01 is now known as _projekt01 | 18:25 | |
*** SureshZ has joined #zope3-dev | 18:29 | |
*** zagy_ has joined #zope3-dev | 18:36 | |
regebro | Hi all! | 18:37 |
benji_york | hi there | 18:37 |
regebro | If I try to get a view I declared for a specific interface, | 18:37 |
*** nie_lunch is now known as niemeyer | 18:37 | |
regebro | for an object that gets that interface via a ZCML statement, | 18:37 |
regebro | this should work fine, right? | 18:38 |
benji_york | right | 18:38 |
SteveA | there is a zcml statement that says a class implements an additional interface | 18:38 |
SteveA | so that will cause instances of that class to provide that interface | 18:38 |
regebro | Yeah, well it doesn't so there is something else wrong. :( | 18:38 |
SteveA | so it will be lookupable as a view | 18:38 |
regebro | So I'm in the interesting situation of figuring out why a broswer:page statement evidently doesnät work, with no error messages. | 18:40 |
regebro | Hohoho. So much fun. Already waster two hours. | 18:40 |
SteveA | take the object you're getting the view on | 18:40 |
SteveA | and inspect its interfaces | 18:40 |
SteveA | using the zope.interface API | 18:40 |
SteveA | and check that it provides what you expect it to | 18:40 |
SteveA | next, check your request is a standard request | 18:41 |
regebro | It does provide that, yes. | 18:41 |
regebro | Yup, request is a normal fine standard http request. | 18:42 |
SteveA | are you sure your browser:page zcml is being read in? | 18:42 |
SteveA | add a syntax or semantic error to it | 18:42 |
regebro | Well, the rest o fthe file is being read, so..., but I'll check. | 18:43 |
regebro | Yeah, getting rid of permission makes it complain. :) | 18:44 |
SteveA | okay. try this. | 18:47 |
SteveA | make a new interface unlike anything else | 18:47 |
regebro | Nope! I just found the error! :) | 18:47 |
SteveA | make your class implement that marker interface, and register the view for that | 18:47 |
SteveA | cool | 18:48 |
SteveA | what was it? | 18:48 |
regebro | Well, the Presentation service was not available at the time I registered the page. | 18:48 |
SteveA | interesting. i'm surprised the zcml action didn't fail | 18:49 |
regebro | Yeah, me too. | 18:49 |
*** zagy has quit IRC | 18:51 | |
regebro | I thought it might be a Five-thing, but no, Zope 3.0.0 does the same. | 18:51 |
regebro | It wraps the getGlobalService for Presentation in a try/except and passes if it fails. | 18:52 |
SteveA | hmm | 18:52 |
SteveA | looks like a bug / misfeature | 18:52 |
regebro | If that hasn't been changed in 3.1, we probably want to add a log error there... | 18:52 |
regebro | Yup. | 18:53 |
*** J1m has quit IRC | 18:53 | |
MacYET_ | is there a z3 product area? | 18:53 |
d2m | http://www.zope.org/Products/Zope3-Packages was created long ago | 18:56 |
*** Theuni has quit IRC | 18:57 | |
*** MrTopf has quit IRC | 18:59 | |
regebro | Oeeeuuhhh... There is smoe kind of subtle magic going on here. | 18:59 |
regebro | Both Zope 3.0.0. and five does this when a page is registered: | 19:00 |
regebro | getGlobalService(Presentation) | 19:00 |
regebro | And both completely ignored the result. | 19:00 |
regebro | I mean, they do | 19:00 |
regebro | s = getGlobalService(Presentation) | 19:00 |
regebro | and s is never used. | 19:00 |
*** srichter has joined #zope3-dev | 19:07 | |
*** ChanServ sets mode: +o srichter | 19:07 | |
*** natea is now known as natea|away | 19:18 | |
*** tekNico has left #zope3-dev | 19:22 | |
SteveA | regebro: seeing a variable called 's' is worthy of a bug in itself | 19:34 |
regebro | Yup. | 19:35 |
regebro | OK, I checked, it's gone in trunk. | 19:36 |
regebro | And the bug was indeed a fivebug. | 19:36 |
*** dobee has quit IRC | 19:51 | |
*** mkerrin has quit IRC | 19:52 | |
*** whit has joined #zope3-dev | 19:57 | |
*** tvon has left #zope3-dev | 20:12 | |
*** sashav has joined #zope3-dev | 20:13 | |
*** SureshZ has left #zope3-dev | 20:15 | |
*** srichter has quit IRC | 20:15 | |
*** srichter has joined #zope3-dev | 20:18 | |
*** ChanServ sets mode: +o srichter | 20:18 | |
*** srichter has quit IRC | 20:26 | |
*** srichter has joined #zope3-dev | 20:27 | |
*** ChanServ sets mode: +o srichter | 20:29 | |
*** jenner has left #zope3-dev | 20:36 | |
*** sashav has quit IRC | 20:44 | |
*** sashav has joined #zope3-dev | 20:46 | |
*** sashav has quit IRC | 20:47 | |
*** zbir_ has joined #zope3-dev | 20:48 | |
*** faassen has quit IRC | 20:51 | |
*** sashav has joined #zope3-dev | 20:55 | |
*** clueck has joined #zope3-dev | 20:56 | |
clueck | Shiiiiiiiiiiiiiit! I can't login as admin anymore. | 20:59 |
*** zbir has quit IRC | 21:00 | |
benji_york | clueck, did you forget the password? | 21:00 |
clueck | I removed all the default Credebtials Plugins from the PAU for the root folder, except a Session Credentials Plugin. | 21:00 |
*** BjornT has quit IRC | 21:00 | |
*** BjornT has joined #zope3-dev | 21:01 | |
clueck | Now there is in error when I call login.html | 21:01 |
*** regebro has quit IRC | 21:02 | |
benji_york | clueck, go to http://192.168.0.42:8080/++etc++site/@@contents.html | 21:02 |
benji_york | oops, that IP should have been "localhost" (or whatever IP you have your server running on) | 21:05 |
benji_york | from there you should be able to navigate to "default" and then fix your PAU | 21:05 |
clueck | benji_york, wait a second | 21:06 |
clueck | benyji_york, no, I can't access it, because I'm not logged in | 21:10 |
benji_york | hmm, I'm confused... I have an instance here that doesn't even have a PAU, and it works... | 21:11 |
benji_york | perhaps you can go into the database and remove the PAU alltogether and then log in | 21:11 |
benji_york | (but I suspect there is an easier answer) | 21:12 |
clueck | I think the reason is that I have a Session Credentials Plugin as first Plugin in the PAU for the root folder | 21:12 |
clueck | I can still login as users which are registered in the Authenticator Plugin (Principal Folder) for the PAU | 21:15 |
benji_york | yep, I just reproduced your problem | 21:15 |
clueck | but not as admin | 21:15 |
clueck | well, yes, I could start the debugger and remove the PAU alltogether | 21:16 |
benji_york | clueck, got it; here's what you do... | 21:18 |
clueck | ! | 21:18 |
benji_york | go to http://admin:admin@localhost:8080/++etc++site/default/ | 21:19 |
benji_york | (substitute admin user name and password and server name) | 21:19 |
clueck | hm, now there seems to be a cookie problem | 21:21 |
*** BjornT has quit IRC | 21:22 | |
*** BjornT has joined #zope3-dev | 21:23 | |
*** BjornT has quit IRC | 21:25 | |
clueck | hm, the browser does not block any cookies, I yust checked | 21:26 |
benji_york | I don't understand | 21:26 |
clueck | it says something about a redirection limit | 21:26 |
clueck | and I don't understand it, too | 21:27 |
benji_york | it sounds like the username and/or password were wrong and it tried to redirect to a page that you can't see, so it tried to redirect again and got into a redirection loop, verify the username and password you put in the URL (http://user:pass@server....) | 21:28 |
benji_york | (also, try in a "clean" browser, i.e. one you haven't logged into the site with recently) | 21:30 |
clueck | yes, I yust did that | 21:30 |
clueck | It wants to redirect to login.html | 21:31 |
benji_york | that suggests that you got the user/pass wrong | 21:31 |
clueck | impossible, in the url it is clear text, not ***** | 21:33 |
benji_york | if you say so, If I use the wrong password (or the wrong URL) I get the same results, don't know what to say | 21:34 |
*** BjornT has joined #zope3-dev | 21:36 | |
clueck | yes, I'm sure, yust compared it with etc/principals.zcml | 21:38 |
benji_york | can you paste the URL here? | 21:39 |
*** SureshZ has joined #zope3-dev | 21:39 | |
clueck | http://admin:password@localhost:8080/++etc++site/default | 21:40 |
clueck | admin is admin, password is something else | 21:40 |
benji_york | hmm, strange, in firefox I get the same result as you, but in opera 8.5 it works | 21:44 |
clueck | I used Konqueror as a 'clean' browser, firefox and mozilla seamonkey complained about the redirection limit | 21:46 |
benji_york | another data point, firefox on windows (same version 1.0.7) seems to work, but not linux | 21:46 |
benji_york | do you have a windows box handy? :) | 21:47 |
clueck | debian linux | 21:47 |
clueck | I'll install opera and try | 21:47 |
benji_york | right, but do you have a windows box with firefox on it? | 21:47 |
benji_york | ok, I was using Opera on Windows, perhaps it'll work on Linux | 21:48 |
clueck | no, all Win-Boxes are running linux now :( | 21:48 |
benji_york | well, opera 8 on linux exhibits the same problem | 21:50 |
clueck | that's strange | 21:51 |
clueck | the first time I wish to have a win-box | 21:51 |
benji_york | :) | 21:51 |
clueck | I'll try to organize one -- that will take some time | 21:52 |
clueck | benji_york: THANKS! | 21:53 |
benji_york | NP | 21:53 |
benji_york | you might try with Opera 8.5 (I used 8) before building a box just for this | 21:53 |
benji_york | (and the "delete the PAU" option might be better than building a Windows box, and there may well be other options I haven't thought of) | 21:53 |
*** dobee has joined #zope3-dev | 21:55 | |
clueck | you're right, I'd rather like to learn about Z3 and using the debugger that Win | 21:56 |
*** sashav has quit IRC | 22:01 | |
*** mexiKON has joined #zope3-dev | 22:15 | |
*** MacYET_ has quit IRC | 22:19 | |
*** philiKON has quit IRC | 22:24 | |
*** zbir_ is now known as zbir | 22:26 | |
*** mexiKON has quit IRC | 22:37 | |
*** alga has quit IRC | 22:38 | |
clueck | benji_york, I have managed it :-) | 23:05 |
benji_york | GREAT! | 23:05 |
clueck | cURL works on linux | 23:05 |
benji_york | very imaginative :) | 23:06 |
clueck | so curl http://admin:password@localhost:8080/++etc++site/default/PluggableAuthentication/@@undo.html succeeded | 23:06 |
*** dobee has quit IRC | 23:06 | |
benji_york | I'll have to remember that one :) | 23:06 |
*** dobee has joined #zope3-dev | 23:08 | |
*** jinty has left #zope3-dev | 23:09 | |
*** _projekt01 is now known as projekt01 | 23:09 | |
*** mgedmin has quit IRC | 23:14 | |
*** d2m has quit IRC | 23:15 | |
*** d2m has joined #zope3-dev | 23:16 | |
*** ignas has quit IRC | 23:21 | |
*** dobee has quit IRC | 23:23 | |
*** hazmat has quit IRC | 23:25 | |
*** sashav has joined #zope3-dev | 23:39 | |
*** srichter has quit IRC | 23:52 | |
*** srichter has joined #zope3-dev | 23:54 | |
*** ChanServ sets mode: +o srichter | 23:54 | |
*** sashav_ has joined #zope3-dev | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!