| *** rocky1 has joined #zope3-dev | 00:01 | |
| *** rocky has quit IRC | 00:01 | |
| *** J1m has quit IRC | 00:01 | |
| *** pelle_ has quit IRC | 00:09 | |
| *** redir has joined #zope3-dev | 00:12 | |
| *** romanofski has joined #zope3-dev | 00:15 | |
| *** yota has quit IRC | 00:39 | |
| *** flox1 has left #zope3-dev | 00:41 | |
| *** pcardune has joined #zope3-dev | 00:48 | |
| *** sunew has quit IRC | 01:11 | |
| *** mcdonc has quit IRC | 01:16 | |
| *** MrTopf has quit IRC | 01:16 | |
| *** mcdonc has joined #zope3-dev | 01:26 | |
| *** regebro has quit IRC | 01:33 | |
| *** markusleist has quit IRC | 01:38 | |
| *** nyo has quit IRC | 01:59 | |
| *** tarek has quit IRC | 02:01 | |
| *** markusleist has joined #zope3-dev | 02:02 | |
| *** srichter has quit IRC | 02:20 | |
| *** quodt has quit IRC | 02:46 | |
| *** agile123 has joined #zope3-dev | 02:47 | |
| agile123 | hello adll | 02:48 |
|---|---|---|
| agile123 | all* | 02:48 |
| agile123 | can anybody tell me where i can get help for zope problem? | 02:48 |
| romanofski | probably here | 02:49 |
| agile123 | cool | 02:49 |
| mcdonc | agile123: dont ask to ask just ask and someone may be able to help | 02:49 |
| romanofski | don't ask to ask, just ask ;) | 02:49 |
| agile123 | thx guys .. | 02:49 |
| agile123 | alright so here goes | 02:50 |
| agile123 | I changed Connection.py and Cache.py for 2.9 _log error from launchpad bug fix | 02:50 |
| agile123 | website is back on but I can't connect to mysql | 02:50 |
| agile123 | when i go back to connector it says that connection is closed | 02:50 |
| agile123 | by website i mean plone* site | 02:51 |
| *** troter has joined #zope3-dev | 03:02 | |
| mcdonc | sorry agile123 i dont know | 03:14 |
| mcdonc | have you tried the connect button in the ui for the connector? | 03:14 |
| agile123 | yeh it gives me this error if i click browse on connector Error Value: _v_database_connection | 03:23 |
| agile123 | Error Value: _v_database_connection | 03:23 |
| agile123 | Error Type: AttributeError | 03:23 |
| mcdonc | sorry, i have no clue | 03:26 |
| agile123 | that is ok thx though | 03:27 |
| agile123 | i'll just try to reinstall da and db and see if it works | 03:28 |
| *** pcardune_ has joined #zope3-dev | 03:46 | |
| *** dbfrombrc_ has joined #zope3-dev | 03:55 | |
| *** dbfrombrc has quit IRC | 04:11 | |
| *** agile123 has quit IRC | 04:20 | |
| *** romanofski has quit IRC | 04:21 | |
| *** norro_ has quit IRC | 04:28 | |
| *** redir has quit IRC | 04:55 | |
| *** romanofski has joined #zope3-dev | 05:01 | |
| *** redir has joined #zope3-dev | 05:07 | |
| *** redir has quit IRC | 05:30 | |
| *** andycat has joined #zope3-dev | 05:45 | |
| *** andycat has quit IRC | 05:47 | |
| *** stub has joined #zope3-dev | 06:04 | |
| *** andycat has joined #zope3-dev | 06:08 | |
| *** alga has quit IRC | 06:22 | |
| *** greenman has quit IRC | 06:25 | |
| *** baijum has joined #zope3-dev | 06:49 | |
| *** binseer has joined #zope3-dev | 06:58 | |
| *** pcardune has quit IRC | 07:01 | |
| *** pcardune_ has quit IRC | 07:02 | |
| *** baijum has joined #zope3-dev | 07:15 | |
| *** afd___ has joined #zope3-dev | 07:17 | |
| *** fairwinds has quit IRC | 07:40 | |
| *** markusleist has quit IRC | 07:41 | |
| *** binseer has left #zope3-dev | 07:43 | |
| *** yota has joined #zope3-dev | 07:48 | |
| *** SteveA has quit IRC | 07:56 | |
| *** SteveA has joined #zope3-dev | 07:56 | |
| *** pcardune has joined #zope3-dev | 07:58 | |
| *** jukart has joined #zope3-dev | 08:02 | |
| *** jukart has quit IRC | 08:09 | |
| *** jukart has joined #zope3-dev | 08:34 | |
| *** agroszer_ has joined #zope3-dev | 08:42 | |
| *** pelle_ has joined #zope3-dev | 08:42 | |
| *** JaRoel|4D has quit IRC | 08:48 | |
| *** __mac__ has joined #zope3-dev | 08:52 | |
| *** basti__ has joined #zope3-dev | 08:54 | |
| *** malthe has joined #zope3-dev | 09:01 | |
| *** zagy has joined #zope3-dev | 09:09 | |
| *** markusleist has joined #zope3-dev | 09:21 | |
| *** agroszer_ is now known as agroszer | 09:28 | |
| *** romanofski has quit IRC | 09:34 | |
| *** JaRoel|4D has joined #zope3-dev | 09:39 | |
| *** JaRoel|4_ has joined #zope3-dev | 09:40 | |
| *** pcardune has quit IRC | 09:41 | |
| *** yotaff has joined #zope3-dev | 09:41 | |
| *** greenman has joined #zope3-dev | 09:42 | |
| *** mgedmin has joined #zope3-dev | 09:57 | |
| *** flox has joined #zope3-dev | 10:00 | |
| *** markusleist has quit IRC | 10:03 | |
| *** jpcw has joined #zope3-dev | 10:05 | |
| *** JaRoel|4D has quit IRC | 10:05 | |
| *** MJ has joined #zope3-dev | 10:09 | |
| *** MrTopf has joined #zope3-dev | 10:09 | |
| *** afd___ has quit IRC | 10:09 | |
| *** quodt has joined #zope3-dev | 10:11 | |
| *** regebro has joined #zope3-dev | 10:13 | |
| *** MJ has quit IRC | 10:14 | |
| *** MJ has joined #zope3-dev | 10:15 | |
| *** mkerrin has joined #zope3-dev | 10:16 | |
| *** Rolando has joined #zope3-dev | 10:34 | |
| *** olavgg has quit IRC | 10:39 | |
| *** pyqwer has joined #zope3-dev | 10:39 | |
| *** goschtl has joined #zope3-dev | 10:42 | |
| *** afd_ has joined #zope3-dev | 10:49 | |
| *** agroszer has quit IRC | 10:57 | |
| *** flox has left #zope3-dev | 11:01 | |
| *** flox has joined #zope3-dev | 11:02 | |
| *** olavgg has joined #zope3-dev | 11:06 | |
| *** zagy has quit IRC | 11:12 | |
| *** MrTopf has quit IRC | 11:19 | |
| *** __mac___ has joined #zope3-dev | 11:31 | |
| *** mgedmin has quit IRC | 11:33 | |
| *** mgedmin has joined #zope3-dev | 11:35 | |
| *** __mac__ has quit IRC | 11:40 | |
| *** jhauser has joined #zope3-dev | 11:40 | |
| *** MrTopf has joined #zope3-dev | 11:55 | |
| *** norro_ has joined #zope3-dev | 12:02 | |
| *** basti__ has quit IRC | 12:08 | |
| *** norro_ has quit IRC | 12:08 | |
| *** basti__ has joined #zope3-dev | 12:15 | |
| *** markusleist has joined #zope3-dev | 12:16 | |
| *** malthe has quit IRC | 12:22 | |
| *** malthe has joined #zope3-dev | 12:23 | |
| *** zagy has joined #zope3-dev | 12:49 | |
| *** thetet has joined #zope3-dev | 12:55 | |
| *** flox1 has joined #zope3-dev | 13:19 | |
| *** flox has quit IRC | 13:29 | |
| *** tarek has joined #zope3-dev | 13:35 | |
| *** Count-Duckula has joined #zope3-dev | 13:38 | |
| *** sunew has joined #zope3-dev | 13:38 | |
| Count-Duckula | how can I get to the context of a view from a pt, I used to be able to do restrictedTraverse('@@myView').myMethod()...but that obviously a no no in z3 | 13:47 |
| *** __mac___ has quit IRC | 13:52 | |
| *** __gotcha has joined #zope3-dev | 13:53 | |
| *** __mac__ has joined #zope3-dev | 13:53 | |
| *** greenman has quit IRC | 13:54 | |
| *** __mac__ has quit IRC | 14:11 | |
| *** dunny has quit IRC | 14:27 | |
| *** fairwinds has joined #zope3-dev | 14:31 | |
| *** benji has joined #zope3-dev | 14:32 | |
| mgedmin | Count-Duckula: the context of *the* view is 'context' in pt | 14:32 |
| mgedmin | do you want the context of a different view? | 14:32 |
| mgedmin | in which case, how are you getting the different view? | 14:33 |
| *** __gotcha has quit IRC | 14:37 | |
| Count-Duckula | mgedmin: The context of a different view | 14:40 |
| mgedmin | because usually you get the other view by doing other_views_context/@@other_views_name | 14:40 |
| mgedmin | in which case to get the context you just drop the /@@other_views_name | 14:40 |
| *** sunew has quit IRC | 14:42 | |
| Count-Duckula | mgedmin: In want the python class associated with a "view" which is not the current one. | 14:43 |
| *** gc_basti has joined #zope3-dev | 14:44 | |
| *** projekt01 has joined #zope3-dev | 14:47 | |
| mgedmin | class or instance? | 14:48 |
| mgedmin | usually you want an instance | 14:48 |
| mgedmin | tal:define="some_other_view nocall:object/@@viewname" | 14:48 |
| mgedmin | nocall: is the tricky bit | 14:48 |
| mgedmin | without it you'll get a string with the rendered html contents of that other view | 14:48 |
| Count-Duckula | All I want is the text from a method call like @@myView/myMethod I can't seem to do this in Z3 | 14:50 |
| *** stub has quit IRC | 14:52 | |
| mgedmin | strange, since it should just work | 14:53 |
| mgedmin | please show me the full expression | 14:53 |
| mgedmin | or, if that *is* the full expression, then you're relying on some magic that doesn't exist in z3: | 14:54 |
| mgedmin | a path expression cannot start with @@ | 14:54 |
| mgedmin | you need something in front of it | 14:54 |
| mgedmin | e.g. context/@@myView | 14:54 |
| Count-Duckula | mgedmin: I don't have a context, it's a standalone view with a callable method | 14:57 |
| mgedmin | ooh | 14:57 |
| mgedmin | standalone means <page for="*", I take it | 14:57 |
| mgedmin | in which case context/@@myView will work just fine | 14:57 |
| mgedmin | and you even get overridability for free! | 14:57 |
| Count-Duckula | It's the method call on the @@myView I can't get to work, in Z2 it works, in Z3 is says...The page that you are trying to access is not available | 14:58 |
| *** basti__ has quit IRC | 15:01 | |
| *** troter has quit IRC | 15:04 | |
| Count-Duckula | mgedmin: hmm That's odd your code works :-) but not if I call it off the URL | 15:06 |
| Count-Duckula | mgedmin: Thanks tho' got it working either way | 15:06 |
| *** flox has joined #zope3-dev | 15:07 | |
| afd_ | Count-Duckula: when you look at a view, it automatically execute its __call__ method. That's why you need to use the nocall: structure. Also, a string object (the result of calling the view) will not have your method available for it, of course | 15:07 |
| afd_ | so you can't call a method from a view directly through the web, unless you do some other special things | 15:08 |
| afd_ | the easiest would be to define a new view where you specify the attribute you want called as a result of the view | 15:08 |
| *** flox1 has quit IRC | 15:10 | |
| Count-Duckula | tal:replace="@@context/myView/myMethod" does work from within my PT in both Z3 and Z3. But I can only call @@myView/myMethod directly from the URL in Z2. | 15:11 |
| afd_ | correct is: | 15:12 |
| afd_ | <div tal:define="myview nocall:context/@@myView" tal:replace="myview/myMethod" /> | 15:12 |
| afd_ | and you can't call it directly from url, read what I wrote above | 15:13 |
| afd_ | z3 (and probably browser views in z2) don't magically publish methods and attributes from page classes | 15:13 |
| afd_ | you need to do it explicitelly | 15:14 |
| Count-Duckula | why the is the define considered good form? | 15:14 |
| afd_ | because context is probably a persistent object, and you can't do @@context | 15:14 |
| afd_ | it makes no sense | 15:15 |
| afd_ | and you need to do it with define because you first need to get the view class, "uncalled" | 15:15 |
| afd_ | when you do tal:content="structure context/@@myview" | 15:15 |
| afd_ | you will insert a string, right? | 15:15 |
| afd_ | so context/@@myview actually calls the view, it executes it __call__ method | 15:16 |
| Count-Duckula | ah, I get ya, to ensure that the view isn't called and doing stuff, when you don't need it to. | 15:16 |
| Count-Duckula | thanks | 15:19 |
| afd_ | np | 15:19 |
| *** baijum has quit IRC | 15:23 | |
| *** sunoano has quit IRC | 15:44 | |
| *** Jell-O-Fishi has quit IRC | 15:46 | |
| *** sunoano has joined #zope3-dev | 15:48 | |
| *** goschtl has quit IRC | 15:48 | |
| *** norro_ has joined #zope3-dev | 15:55 | |
| *** afd_ has quit IRC | 16:03 | |
| *** malthe has quit IRC | 16:05 | |
| *** J1m has joined #zope3-dev | 16:05 | |
| *** jamur2 has joined #zope3-dev | 16:05 | |
| *** malthe has joined #zope3-dev | 16:10 | |
| *** tarek has quit IRC | 16:10 | |
| *** lurkymclurkleton has joined #zope3-dev | 16:11 | |
| * mgedmin suddenly got what count duckula meant by "calling something directly from a url" | 16:14 | |
| mgedmin | no, zope 3 doesn't expose the internals of views in that way | 16:14 |
| mgedmin | your view could choose to expose some things if it wanted to by providing IBrowserPublisher | 16:15 |
| *** tarek has joined #zope3-dev | 16:15 | |
| mgedmin | or, better, you can use multiple <browser:page> directives with method="methodName" | 16:15 |
| mgedmin | ... or is that attribute="methodName" | 16:15 |
| *** sunoano has quit IRC | 16:16 | |
| *** pyqwer has quit IRC | 16:23 | |
| *** sunoano has joined #zope3-dev | 16:23 | |
| *** pyqwer has joined #zope3-dev | 16:24 | |
| *** fRiSi has joined #zope3-dev | 16:26 | |
| *** iham has quit IRC | 16:37 | |
| *** agroszer has joined #zope3-dev | 16:48 | |
| *** gc_basti has quit IRC | 17:00 | |
| *** goschtl has joined #zope3-dev | 17:14 | |
| *** goschtl has quit IRC | 17:16 | |
| *** sm has joined #zope3-dev | 17:18 | |
| *** goschtl has joined #zope3-dev | 17:44 | |
| *** MJ has quit IRC | 17:47 | |
| *** sm has quit IRC | 17:47 | |
| *** __mac__ has joined #zope3-dev | 18:02 | |
| *** thetet has quit IRC | 18:04 | |
| *** srichter has joined #zope3-dev | 18:06 | |
| *** thetet has joined #zope3-dev | 18:08 | |
| *** ChanServ sets mode: +o srichter | 18:18 | |
| *** projekt01 has quit IRC | 18:25 | |
| *** zagy has quit IRC | 18:26 | |
| *** shane_ has joined #zope3-dev | 18:34 | |
| *** thetet has left #zope3-dev | 18:36 | |
| *** jukart has quit IRC | 18:37 | |
| *** jukart has joined #zope3-dev | 18:38 | |
| *** srichter has quit IRC | 18:38 | |
| *** srichter has joined #zope3-dev | 18:38 | |
| *** sm has joined #zope3-dev | 18:39 | |
| *** fRiSi has quit IRC | 18:39 | |
| *** JaRoel|4_ has quit IRC | 18:40 | |
| *** Rolando has quit IRC | 18:40 | |
| *** nathany has joined #zope3-dev | 18:45 | |
| *** srichter has quit IRC | 18:46 | |
| *** srichter has joined #zope3-dev | 18:47 | |
| *** malthe has quit IRC | 18:48 | |
| *** jukart has quit IRC | 18:55 | |
| *** __mac__ has quit IRC | 18:57 | |
| *** tarek has quit IRC | 18:58 | |
| *** zagy has joined #zope3-dev | 19:00 | |
| *** ignas has joined #zope3-dev | 19:02 | |
| *** strichter has joined #zope3-dev | 19:12 | |
| *** pyqwer has quit IRC | 19:16 | |
| *** sunew has joined #zope3-dev | 19:23 | |
| *** pcardune has joined #zope3-dev | 19:26 | |
| *** srichter has quit IRC | 19:27 | |
| *** regebro has quit IRC | 19:29 | |
| *** rocky1 is now known as rocky | 19:31 | |
| *** strichter is now known as srichter | 19:41 | |
| *** ChanServ sets mode: +o srichter | 19:41 | |
| *** jukart has joined #zope3-dev | 19:42 | |
| *** quodt has quit IRC | 19:42 | |
| *** mkerrin has quit IRC | 19:48 | |
| *** JaRoel|4D has joined #zope3-dev | 19:51 | |
| *** goschtl has quit IRC | 19:51 | |
| *** rocky has quit IRC | 19:52 | |
| *** reco has quit IRC | 19:52 | |
| *** mkerrin has joined #zope3-dev | 19:53 | |
| *** mkerrin has quit IRC | 19:54 | |
| *** markusleist has quit IRC | 20:01 | |
| *** pcardune has quit IRC | 20:03 | |
| *** zagy has quit IRC | 20:08 | |
| *** Count-Duckula has left #zope3-dev | 20:11 | |
| *** mgedmin has quit IRC | 20:12 | |
| *** TresEquis has joined #zope3-dev | 20:13 | |
| *** reco has joined #zope3-dev | 20:13 | |
| *** dbfrombrc_ has quit IRC | 20:18 | |
| *** yotaff has quit IRC | 20:19 | |
| *** timte has joined #zope3-dev | 20:27 | |
| *** rocky has joined #zope3-dev | 20:37 | |
| *** aaronv has joined #zope3-dev | 20:44 | |
| *** TresEquis has quit IRC | 20:47 | |
| *** zagy has joined #zope3-dev | 20:53 | |
| *** nyo has joined #zope3-dev | 20:55 | |
| *** aaronv has quit IRC | 20:58 | |
| *** nyo has quit IRC | 21:01 | |
| *** jukart has quit IRC | 21:08 | |
| *** faassen has joined #zope3-dev | 21:10 | |
| *** gary_poster has joined #zope3-dev | 21:18 | |
| gary_poster | Theuni: ping | 21:18 |
| *** alecm has joined #zope3-dev | 21:19 | |
| Theuni | gary_poster: pong | 21:21 |
| gary_poster | Hey Theuni. I was going to do a bit of zope.testing hacking today but the tests fail on Py 2.4 and 2.5. log implicates you :-) | 21:21 |
| gary_poster | Theuni: most of the failures are having to do with some import checking, which I think is a feature you added recently | 21:22 |
| gary_poster | Theuni: I was hoping you just had a missing file or something | 21:22 |
| gary_poster | Theuni: will be happy to pastebin failures somewhere if you like | 21:22 |
| Theuni | hmm. no. unfortunately not. i got stuck with a "simple" change on the trunk. let me back out my changes and move them to a branch. that's where they belong. | 21:23 |
| Theuni | my mistake. | 21:23 |
| gary_poster | Theuni: ok thanks! | 21:23 |
| Theuni | retrospectively i should have created a branch right away | 21:23 |
| gary_poster | :-) | 21:23 |
| * Theuni hopes svn merge not to fail on him | 21:25 | |
| Theuni | well | 21:25 |
| Theuni | there goes my lesson | 21:25 |
| Theuni | i forgot that i had non-checked-in-changes locally | 21:26 |
| gary_poster | eek | 21:26 |
| gary_poster | are they saveable? | 21:26 |
| *** dunny has joined #zope3-dev | 21:26 | |
| Theuni | roughly | 21:27 |
| gary_poster | cool. | 21:27 |
| Theuni | it was work in mid-air on getting the tests run, but it wasn't at any reasonable point anyway | 21:27 |
| *** MrTopf has quit IRC | 21:28 | |
| Theuni | i'm running the tests without my branch now, gimme about 1 minute or so and you have a clean trunk | 21:28 |
| gary_poster | cool, np thanks | 21:28 |
| Theuni | There's one error about post_morten and exc_info that fails on both 2.4 and 2.5 for me and one (known) that fails on python 2.4 | 21:29 |
| Theuni | I think that was the same as when I started | 21:29 |
| Theuni | Done. r96602 has what you need. | 21:29 |
| gary_poster | Theuni: failures: ok. that's a shame too, but that's not your prob. :-) I'll take a glance at em. r96602: thanks again | 21:30 |
| *** iham has joined #zope3-dev | 21:31 | |
| Theuni | np. mea culpa from my side. | 21:31 |
| gary_poster | np | 21:32 |
| *** CSWookie has left #zope3-dev | 21:34 | |
| *** markusleist has joined #zope3-dev | 21:42 | |
| *** MJ has joined #zope3-dev | 21:43 | |
| *** afd_ has joined #zope3-dev | 21:48 | |
| *** danfairs has joined #zope3-dev | 21:53 | |
| *** Theuni has left #zope3-dev | 21:53 | |
| *** gary_poster has quit IRC | 21:54 | |
| *** aaronv has joined #zope3-dev | 21:59 | |
| *** greenman has joined #zope3-dev | 22:07 | |
| *** alecm has quit IRC | 22:18 | |
| *** alecm has joined #zope3-dev | 22:19 | |
| *** redir has joined #zope3-dev | 22:24 | |
| *** greenman has quit IRC | 22:38 | |
| *** afd_ has quit IRC | 22:40 | |
| *** sm has quit IRC | 22:44 | |
| *** tarek has joined #zope3-dev | 22:45 | |
| *** Theuni has joined #zope3-dev | 22:51 | |
| *** TresEquis has joined #zope3-dev | 22:52 | |
| *** norro_ is now known as norro | 22:57 | |
| *** faassen has quit IRC | 23:01 | |
| *** runyaga has joined #zope3-dev | 23:04 | |
| *** greenman has joined #zope3-dev | 23:16 | |
| *** pelle_ has quit IRC | 23:19 | |
| *** yota has quit IRC | 23:22 | |
| *** redir has quit IRC | 23:27 | |
| *** acsr has joined #zope3-dev | 23:41 | |
| *** dbfrombrc has joined #zope3-dev | 23:46 | |
| *** acsr_ has quit IRC | 23:58 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!