*** flox has quit IRC | 00:02 | |
tristil | http://paste.plone.org/10957 | 00:03 |
---|---|---|
*** flox has joined #zope3-dev | 00:07 | |
philiKON | tristil, "referencing" something in a TALES path expression calls it automatically | 00:07 |
philiKON | so, you're actually already calling the method the first time probably | 00:07 |
tristil | philiKON, I don't really understand. | 00:10 |
philiKON | tal:define="foo some/path/to/method" | 00:11 |
tristil | It's view/xmlContents, which is the name of the method in the view class. The other method works fine. Both are allowed_attributes. | 00:11 |
philiKON | view/xmlContents will *call* the method | 00:11 |
*** d2m has left #zope3-dev | 00:13 | |
tristil | philiKON, it's an an xml-return method. Call it and it gives back a xml representation of the folder contents. | 00:14 |
philiKON | i dont' care what it does | 00:14 |
philiKON | i'm just telling you what's happening | 00:14 |
tristil | I just don't know what TraversalError means here. | 00:14 |
philiKON | dude, are you not listening? | 00:14 |
tristil | Or anywhere really :) | 00:15 |
philiKON | tal:define="foo view/xmlContents" is equivalent to tal:define="foo view.xmlContents()" | 00:16 |
philiKON | notice the () | 00:16 |
philiKON | either you want nocall: | 00:16 |
philiKON | or you simply don't want to try to call the stuff twice | 00:17 |
tristil | <div tal:define="xml view/xmlContents" tal:replace="xml"/> | 00:17 |
tristil | </div> | 00:17 |
*** roym has quit IRC | 00:18 | |
tristil | philiKON, thanks for trying to help, but I don't think you really tried to understand my problem. Maybe that was the next problem I was going to run into, but my problem was a TraversalError: <div tal:define="xml nocall:view/xmlContents" tal:replace="nocall:xml"/> This causes a TraversalError. | 00:30 |
philiKON | does your 'view' have a 'xmlContents' method? | 00:31 |
*** gumpa has joined #zope3-dev | 00:32 | |
philiKON | TraversalError is an an indicator that it doesn't | 00:32 |
tristil | philiKON, yeah. | 00:32 |
philiKON | in http://paste.plone.org/10957 | 00:32 |
philiKON | it doesn't | 00:32 |
tristil | philiKON, it does. It's just weirdly offset in the paste. But maybe this indicates problems with the indents. | 00:34 |
philiKON | that's what i suspect | 00:34 |
philiKON | anyways, TraversalError indicates that the path expression can't be resolved | 00:35 |
*** Bernulf has joined #zope3-dev | 00:35 | |
tristil | philiKON, Yeah that was it! It was treating it as a nested def. Thanks. | 00:36 |
philiKON | np | 00:39 |
*** whit has joined #zope3-dev | 00:42 | |
russf | philiKON: regarding... http://www.zope.org/Collectors/Zope3-dev/688 | 01:07 |
russf | I'm working on it, and don't have the answer, but first of all there's this patch: http://zope3.pastebin.com/802160 | 01:08 |
philiKON | russf, i'm about to go to bed here... | 01:08 |
russf | enjoy! | 01:08 |
russf | I'll put a note in collector. Go sleep! | 01:08 |
philiKON | k | 01:09 |
philiKON | g'night | 01:09 |
russf | g'night! | 01:09 |
*** WebMaven has joined #zope3-dev | 01:25 | |
*** batlogg has quit IRC | 01:27 | |
*** Bernulf has quit IRC | 01:30 | |
*** jinty has quit IRC | 01:46 | |
*** Londo_ has joined #zope3-dev | 01:56 | |
*** gumpa has quit IRC | 02:16 | |
*** ofer has joined #zope3-dev | 02:29 | |
*** ofer has quit IRC | 02:51 | |
*** tristil_ has joined #zope3-dev | 02:56 | |
*** tristil has quit IRC | 03:04 | |
*** wrobel has quit IRC | 03:32 | |
*** philiKON has quit IRC | 03:35 | |
*** WebMaven has quit IRC | 04:18 | |
*** MiUlEr has joined #zope3-dev | 04:53 | |
*** oggers has quit IRC | 06:36 | |
*** philiKON has joined #zope3-dev | 06:58 | |
*** philiKON has quit IRC | 08:02 | |
*** whit_ has joined #zope3-dev | 08:25 | |
*** whit has quit IRC | 08:29 | |
*** jukart has joined #zope3-dev | 08:34 | |
*** jukart has quit IRC | 08:52 | |
*** natea_ has joined #zope3-dev | 08:58 | |
*** natea has quit IRC | 09:06 | |
*** MiUlEr has quit IRC | 09:22 | |
*** whit_ is now known as whit | 09:42 | |
*** philiKON has joined #zope3-dev | 09:53 | |
*** baijum has joined #zope3-dev | 09:58 | |
*** d2m has joined #zope3-dev | 10:01 | |
baijum | hmm... zope3-dev mail archiving still not working? | 10:06 |
baijum | oh! gmane works http://news.gmane.org/gmane.comp.web.zope.zope3 | 10:07 |
*** whit has quit IRC | 10:11 | |
*** dobee has joined #zope3-dev | 10:33 | |
flox | baijum, ayt? | 10:58 |
baijum | flox, ? | 10:59 |
flox | i hv problem with the logout link, on my instance. | 10:59 |
flox | It does not work anymore. | 10:59 |
flox | i will invetigate next week | 11:00 |
baijum | 3.3 branch ? | 11:00 |
flox | trunk | 11:00 |
flox | with Firefox. | 11:01 |
flox | with IE, I hv no problem | 11:01 |
baijum | Firefox version ? | 11:02 |
flox | last 1.5 | 11:02 |
flox | 1.5.0.7 | 11:02 |
flox | the logout feature is not the same on IE and on Mozilla | 11:02 |
*** harobed has joined #zope3-dev | 11:03 | |
flox | on Mozilla, we use an XMLHttpRequest object. | 11:03 |
flox | i will do more tests next week, to track down where is the problem | 11:03 |
baijum | ok | 11:04 |
flox | have a nice day. | 11:06 |
flox | bye | 11:06 |
baijum | bye | 11:06 |
baijum | flox, just wait | 11:07 |
flox | yes? | 11:07 |
baijum | it's working here for trunk in 1.5.0.7 (same version) | 11:07 |
baijum | in Linux | 11:07 |
baijum | any special case to test? | 11:08 |
flox | ok, thanks | 11:08 |
flox | maybe some Firefox plugin.. | 11:08 |
flox | or I should try with a clean ZODB | 11:09 |
baijum | how this will relate to ZODB? | 11:09 |
flox | no idea | 11:11 |
flox | if it works for you, i think this is related to a misconfiguration on my instance. | 11:12 |
flox | I will do a fresh checkout from trunk. | 11:13 |
flox | If it works, i will compare both instances | 11:14 |
*** wrobel has joined #zope3-dev | 11:14 | |
baijum | flox, why go for fresh checkout always, ust clean the changed files. | 11:15 |
baijum | s/ust/just | 11:15 |
flox | baiijum: I removed some packages | 11:15 |
baijum | svn up? | 11:15 |
baijum | if you really want to do fresh checkout, just keep a tar ball of fresh check out somewhere, then untar and svn up, again keep a clean tar ball always.. | 11:17 |
flox | i hv | 11:17 |
flox | ok, i replace the 'zope' folder, and i do a single test | 11:19 |
flox | i:-( | 11:30 |
flox | :-( | 11:30 |
flox | baijum: mayb i hv a test case | 11:33 |
flox | baijum: u can try with URL '/++skin++Rotterdam/' | 11:33 |
baijum | yes, logout not working with Rotterdam skin. | 11:35 |
flox | i think this is the '++skin++' thing that does not work | 11:35 |
flox | i've done other tests, and i hv same problem | 11:36 |
baijum | yes, '++skin++' may be the problem, '/++Boston/' also not working | 11:36 |
baijum | '/++skin++Boston/' | 11:37 |
flox | ok, we have the test case.... | 11:37 |
flox | now, i'm not available. | 11:38 |
flox | i will look further later. | 11:38 |
*** timte has joined #zope3-dev | 11:41 | |
dokai | hi timte | 11:44 |
timte | hi dude | 11:44 |
dokai | got back home alright from the training? | 11:44 |
timte | sure and got some needed sleep too :) | 11:46 |
timte | what about you? | 11:46 |
dokai | same here :) i was pretty tired when i got home | 11:47 |
dokai | philiKON: thanks again for the training, it was great! | 11:47 |
timte | did you give the adapter to the headnet guys? | 11:48 |
dokai | yes, they have it | 11:49 |
*** philiKON has quit IRC | 11:54 | |
timte | dokai: are they mailing it or will they keep it until I come and get it? | 12:07 |
timte | it's more cheap to buy a new one than taking a train to get it :) | 12:08 |
dokai | timte: i think you need to contact them about that | 12:13 |
baijum | zope.decorator is deprecated and new code is used in zope.app and zope.location (in trunk), | 12:44 |
baijum | so we can remove zope.decorator from src/zope/app/DEPENDENCIES.cfg and src/zope/location/DEPENDENCIES.cfg ? | 12:44 |
timte | There's a SSHServerFactory, does that mean zope has ssh support somehow? | 13:06 |
flox | baijum: for zope.location, ok | 13:07 |
flox | but for zope.app, i think the 'deprecation' process is to keep the module until the end of the deprecation period | 13:07 |
*** HakTom has joined #zope3-dev | 13:11 | |
baijum | flox, really? I just committed it, ok will revert it. | 13:12 |
flox | not sure 100% | 13:12 |
baijum | will ask and revert, if required. | 13:12 |
flox | factly, it should be included in future Zope 3 release (3.4 | 13:13 |
flox | i think you have to let it in some 'DEPENDENCIES.cfg' file in order to have it included. | 13:13 |
baijum | you mean, zpkg will only include packages in src/zope/app/DEPENDENCIES.cfg ? | 13:14 |
flox | i fuess | 13:14 |
flox | s/fuess/guess/ | 13:14 |
baijum | ok, after confirmation, will revert that change. | 13:15 |
flox | i figured out what is wrong with 'logout' link | 13:17 |
flox | i will fix it | 13:17 |
*** HakTom has quit IRC | 13:28 | |
*** HakTom has joined #zope3-dev | 13:29 | |
*** oggers has joined #zope3-dev | 13:30 | |
*** HakTom has quit IRC | 13:34 | |
*** HakTom has joined #zope3-dev | 13:35 | |
*** dobee has quit IRC | 13:43 | |
*** Aiste has joined #zope3-dev | 13:44 | |
*** dobee has joined #zope3-dev | 14:05 | |
*** dokai has quit IRC | 14:07 | |
*** dokai has joined #zope3-dev | 14:08 | |
* baijum realized that zope.decorator dependancy shouldn't be removed from zope.app untill 3.6 release, otherwise zpkg will not include it | 14:12 | |
baijum | so, should I revert this and commit again ? http://svn.zope.org/?rev=70566&view=rev | 14:13 |
baijum | or just make changes again ? (That commit, doesn't fail any tests) | 14:13 |
*** dunny has quit IRC | 14:17 | |
flox | hi baijum | 14:20 |
flox | i see u forgot some svn properties on the /zope/component/testfiles/*.py | 14:20 |
flox | svn:eol-style and svn:keywords | 14:20 |
baijum | flox, will add, but I am thinking to revert commit.. | 14:22 |
baijum | should I really revert it, or make changes again ? | 14:23 |
flox | IMHO, better to make change. | 14:23 |
flox | revert is when u break something, and in emergency | 14:24 |
*** ofer has joined #zope3-dev | 14:24 | |
flox | i go to lunch | 14:24 |
baijum | flox, will do like that. | 14:25 |
*** philiKON has joined #zope3-dev | 15:39 | |
*** HakTom has quit IRC | 15:55 | |
*** jukart has joined #zope3-dev | 16:55 | |
*** J1m has joined #zope3-dev | 17:05 | |
*** baijum has quit IRC | 17:06 | |
*** HakTom has joined #zope3-dev | 17:32 | |
*** dobee has quit IRC | 18:10 | |
*** ofer has quit IRC | 18:46 | |
*** jukart has quit IRC | 19:26 | |
*** whit has joined #zope3-dev | 20:06 | |
*** HakTom has quit IRC | 20:14 | |
*** j2hklm4 has joined #zope3-dev | 20:30 | |
*** dunny has joined #zope3-dev | 20:40 | |
*** HakTom has joined #zope3-dev | 20:41 | |
*** HakTom has quit IRC | 20:50 | |
*** batlogg has joined #zope3-dev | 20:55 | |
*** whit has quit IRC | 21:02 | |
*** batlogg has quit IRC | 21:17 | |
*** batlogg has joined #zope3-dev | 21:17 | |
*** jukart has joined #zope3-dev | 21:20 | |
*** dunny has quit IRC | 21:25 | |
*** jukart has quit IRC | 21:48 | |
*** batlogg has quit IRC | 22:15 | |
*** batlogg has joined #zope3-dev | 22:16 | |
*** dlk has joined #zope3-dev | 22:26 | |
*** gumpa has joined #zope3-dev | 23:07 | |
j2hklm4 | Hi I'm having problems with Benji York's tutorial - I'm not able to hit the views with the same urls he posts there | 23:12 |
benji | j2hklm4: which URL in particular? | 23:13 |
j2hklm4 | hi benji :-) | 23:13 |
j2hklm4 | I'm towards the end | 23:13 |
j2hklm4 | let me see | 23:13 |
j2hklm4 | http://localhost:8080/hello/edit.html | 23:13 |
j2hklm4 | of course I'm on 8090 | 23:13 |
j2hklm4 | but | 23:14 |
j2hklm4 | I can hit the objects I've added | 23:14 |
j2hklm4 | but I can't seem to find the edit view | 23:14 |
j2hklm4 | i get a not found on /hello | 23:14 |
benji | did you add an object with that name? | 23:14 |
benji | "hello" that is | 23:14 |
j2hklm4 | erm no | 23:15 |
j2hklm4 | http://localhost:8090/HelloWorld | 23:15 |
j2hklm4 | that hits an object I created | 23:15 |
*** ktwilight has joined #zope3-dev | 23:15 | |
j2hklm4 | when I hit this http://localhost:8090/HelloWorld/edit.html I get password prompt then A system error occurred. | 23:16 |
j2hklm4 | benji this is the error I get | 23:18 |
j2hklm4 | File "/usr/local/Zope-3.2.1/lib/python/zope/app/traversing/browser/absoluteurl.py", line 81, in breadcrumbs | 23:18 |
j2hklm4 | raise TypeError(_insufficientContext) | 23:18 |
benji | is this in Zope 3.2? | 23:18 |
j2hklm4 | yes it is | 23:19 |
j2hklm4 | I've got some funny text highlighting in one of my classes so I am suspicious | 23:20 |
j2hklm4 | this one class EditView(form.EditForm): | 23:21 |
*** romanofski has quit IRC | 23:21 | |
benji | j2hklm4: can you pastebin your code? | 23:23 |
j2hklm4 | sure | 23:23 |
j2hklm4 | http://paste.plone.org/10966 | 23:24 |
j2hklm4 | \\ | 23:24 |
j2hklm4 | benji here ya go http://paste.plone.org/10966 | 23:24 |
j2hklm4 | do you see anything glaring there benji ? | 23:31 |
benji | nope, I'm trying the code out now | 23:32 |
j2hklm4 | k thanks | 23:32 |
j2hklm4 | also looking for a good resource of ZCatalog for Z3 | 23:32 |
benji | the docs are pretty good | 23:34 |
benji | j2hklm4: can you pastebin your ZCML too | 23:34 |
j2hklm4 | sure | 23:34 |
j2hklm4 | benji here - http://paste.plone.org/10967 - thanks | 23:35 |
benji | for catalogs look here: http://svn.zope.org/Zope3/trunk/src/zope/app/catalog/README.txt?rev=68940&view=markup | 23:35 |
benji | also zc.catalog can be useful | 23:35 |
j2hklm4 | ok I'll checj it out - the intro you sent looks good | 23:38 |
*** tarek has joined #zope3-dev | 23:49 | |
benji | j2hklm4: I seem to be getting a different error: ForbiddenAttribute: ('fname', <hello.hello.HelloWorld object at 0xb65e2e2c>) | 23:51 |
j2hklm4 | benji hmm | 23:51 |
j2hklm4 | I've set the attributes to public | 23:52 |
benji | are you sure you added an "QS Hello World" object, and not a plain "Hello World" object? | 23:52 |
j2hklm4 | no | 23:52 |
j2hklm4 | I'm not sure at all | 23:52 |
j2hklm4 | let me go look | 23:52 |
benji | try adding one with a different name | 23:53 |
j2hklm4 | http://localhost:8090/test1/@@introspector.html | 23:53 |
j2hklm4 | it is indeed a QS Hello World | 23:53 |
j2hklm4 | as were the last | 23:54 |
benji | well, that's not the problem | 23:54 |
j2hklm4 | is there any problem with computing attributes ? | 23:54 |
benji | and http://localhost:8090/test1/@@edit.html gives you the "not enough context" error | 23:54 |
j2hklm4 | I'm grabbing the attributes | 23:54 |
benji | ? | 23:54 |
j2hklm4 | and string concatenating | 23:54 |
j2hklm4 | greeting = "hello my name is " + fname + ' ' + lname + ' ' + 'my email is ' + email | 23:55 |
j2hklm4 | but I haven't set fname and lname to public | 23:55 |
j2hklm4 | yes it gives me an error | 23:56 |
benji | right, the cause of the error I see is that you added attributes and don't have security declarations for them; adding them to the IHelloWorld interface would be the easiest fix for that | 23:56 |
j2hklm4 | raise TypeError(_insufficientContext) | 23:56 |
j2hklm4 | could you give me an example | 23:57 |
j2hklm4 | so you mean in the zcml | 23:57 |
j2hklm4 | each one needs a sec declaration | 23:57 |
j2hklm4 | _insufficientContext = insufficient privledges | 23:58 |
benji | no, insufficientContext != insufficient privledges, I'm talking about the error I see, not the one you're seeing | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!