*** whit|busy4-1hr is now known as whit | 00:00 | |
*** dunny has joined #zope3-dev | 00:02 | |
*** J1m has quit IRC | 00:06 | |
*** J1m has joined #zope3-dev | 00:07 | |
*** nathany has quit IRC | 00:14 | |
*** yota has joined #zope3-dev | 00:19 | |
*** schwendinger has joined #zope3-dev | 00:26 | |
*** noZoper has joined #zope3-dev | 00:34 | |
noZoper | can a BTreeContainer's contents be access using a TALES expression? | 00:35 |
---|---|---|
*** wreutz has joined #zope3-dev | 00:36 | |
philiKON | sure | 00:41 |
*** schwendinger_ has joined #zope3-dev | 00:44 | |
noZoper | philiKON: could you hint at the syntax | 00:44 |
philiKON | containers are like dictionaries | 00:45 |
philiKON | i don't know what exactly you want to do | 00:45 |
philiKON | i suggest picking up a copy of my book :) | 00:46 |
wreutz | hi all, have a problem with a Text field in my content type which uses formlib: | 00:46 |
wreutz | i want to enable html code in my textfield, but when i display the content of the field in a pagetemplate, it is escaped html (yes, i used structure in the pt) | 00:47 |
wreutz | like <p>noch ein <b>test</b></p> | 00:47 |
wreutz | can anyone give me a hint what i'm doing wrong? | 00:48 |
philiKON | such characters are always escaped when using Text | 00:48 |
philiKON | if you want to allow verbatim markup, use SourceText | 00:48 |
*** natea_ is now known as natea|away | 00:48 | |
wreutz | philiKON: thanks, will try that | 00:48 |
*** natea|away has quit IRC | 00:49 | |
*** pelle_ has quit IRC | 00:50 | |
wreutz | philiKON: hmm, didn't work, gets escaped too :-( | 00:51 |
*** pelle_ has joined #zope3-dev | 00:52 | |
philiKON | hmm, it should work | 00:52 |
philiKON | zptpage uses SourceText as well | 00:52 |
*** alecm has quit IRC | 00:54 | |
philiKON | you shoudl check whether the data is actually saved in an escaped form | 00:54 |
*** RaFromBRC has quit IRC | 00:54 | |
philiKON | or just displayed that way | 00:54 |
philiKON | i do bet that you're forgetting a structure somewhere | 00:54 |
*** tarek__ has quit IRC | 00:57 | |
*** RaFromBRC has joined #zope3-dev | 00:58 | |
noZoper | philiKON: I'm just trying out Zope3 for now. How would I access the container's object using TALES, e.g. I tried 'context/values()'? I can see that values() is a method on the BTreeContainer but using it in this way causes a run-time error. | 00:58 |
philiKON | context/values | 00:58 |
philiKON | it seems you know little about TALES | 00:59 |
philiKON | i really do suggest reading about page templates | 00:59 |
philiKON | they're widely documented | 00:59 |
philiKON | if you're looking for comprehensive documentation on zope 3, i suggest picking up a copy of my book: http://worldcookery.com | 00:59 |
noZoper | thanks | 01:00 |
*** schwendinger has quit IRC | 01:00 | |
*** J1m has quit IRC | 01:01 | |
noZoper | its the different expression types that I'm uncertain about, and when/how to use them so I'll have to check that out | 01:01 |
philiKON | you can use path expressions pretty much everywhere, unless you need | 01:05 |
philiKON | * to call something with parameters | 01:05 |
philiKON | * make tests, like a == b | 01:05 |
philiKON | in those cases you use python: | 01:06 |
wreutz | philiKON: without structure i get: &lt;b&gt;test&lt;/b&gt; | 01:15 |
wreutz | philiKON: with structure i get: this is a <b>test</b> | 01:16 |
philiKON | weird | 01:17 |
*** schwendinger_ is now known as schwendinger | 01:18 | |
wreutz | i define the field description = zope.schema.SourceText(....... | 01:18 |
wreutz | and set title, description and required for this field | 01:18 |
*** Jell-O-Fishi has quit IRC | 01:22 | |
*** rocky|away is now known as rocky|Zzz | 01:27 | |
*** pelle_ has quit IRC | 01:27 | |
*** alecm has joined #zope3-dev | 01:32 | |
*** benji has quit IRC | 01:32 | |
*** pelle_ has joined #zope3-dev | 01:36 | |
*** dobee has joined #zope3-dev | 01:38 | |
*** Aiste has quit IRC | 01:39 | |
*** noZoper has quit IRC | 01:41 | |
*** jodok has quit IRC | 01:45 | |
*** dobee has quit IRC | 01:46 | |
*** pelle_ has quit IRC | 01:47 | |
*** schwendinger_ has joined #zope3-dev | 01:53 | |
*** schwendinger has quit IRC | 02:01 | |
*** nathany_ has quit IRC | 02:08 | |
*** yota has quit IRC | 02:11 | |
*** whit has quit IRC | 02:14 | |
*** MrTopf has quit IRC | 02:48 | |
*** b_52Free has quit IRC | 02:49 | |
*** b_52Free has joined #zope3-dev | 02:50 | |
*** bigkevmcd has quit IRC | 02:50 | |
*** wreutz has quit IRC | 03:22 | |
*** niemeyer has quit IRC | 03:49 | |
*** wrobel has quit IRC | 03:56 | |
*** J1m has joined #zope3-dev | 04:31 | |
*** J1m has left #zope3-dev | 04:31 | |
*** RaFromBRC has quit IRC | 04:44 | |
*** stub has joined #zope3-dev | 05:10 | |
*** dunny has quit IRC | 05:10 | |
*** dunny has joined #zope3-dev | 05:41 | |
*** Bhaskar has joined #zope3-dev | 05:42 | |
*** baijum has joined #zope3-dev | 06:07 | |
*** stu1 has joined #zope3-dev | 06:18 | |
*** stub has quit IRC | 06:19 | |
*** stu1 is now known as stub | 06:20 | |
*** natea has joined #zope3-dev | 06:31 | |
*** jfroche__ has joined #zope3-dev | 06:34 | |
*** Bhaskar has quit IRC | 06:36 | |
*** jfroche_ has quit IRC | 06:48 | |
*** alecm has quit IRC | 07:23 | |
*** Bhaskar has joined #zope3-dev | 07:24 | |
*** romanofski has quit IRC | 08:13 | |
*** jfroche__ has quit IRC | 08:27 | |
*** Bhaskar has quit IRC | 08:31 | |
*** b_52Free has quit IRC | 08:31 | |
*** b_52Free has joined #zope3-dev | 08:32 | |
*** povbot has joined #zope3-dev | 08:44 | |
*** dobee has joined #zope3-dev | 08:58 | |
*** wrobel has joined #zope3-dev | 09:07 | |
*** zagy has joined #zope3-dev | 09:12 | |
*** yvl has joined #zope3-dev | 09:17 | |
*** dobee has quit IRC | 09:23 | |
*** tarek has joined #zope3-dev | 09:35 | |
*** romanofski has joined #zope3-dev | 09:35 | |
*** Aiste has joined #zope3-dev | 09:41 | |
*** pelle_ has joined #zope3-dev | 09:42 | |
*** lzdych has joined #zope3-dev | 09:43 | |
*** wreutz has joined #zope3-dev | 09:54 | |
romanofski | morjens | 09:55 |
*** jfroche has joined #zope3-dev | 09:55 | |
*** timte has joined #zope3-dev | 09:56 | |
*** opetznick has joined #zope3-dev | 10:04 | |
*** dlk has joined #zope3-dev | 10:09 | |
*** naro has joined #zope3-dev | 10:10 | |
*** jodok has joined #zope3-dev | 10:20 | |
*** pelle_ has joined #zope3-dev | 10:22 | |
*** wreutz has joined #zope3-dev | 10:25 | |
*** opetznick has quit IRC | 10:31 | |
*** opetznick has joined #zope3-dev | 10:35 | |
*** harobed has joined #zope3-dev | 10:37 | |
*** dobee has joined #zope3-dev | 10:37 | |
*** jodok has quit IRC | 10:52 | |
*** bigkevmcd has joined #zope3-dev | 10:53 | |
*** pelle_ has quit IRC | 11:01 | |
*** pelle_ has joined #zope3-dev | 11:01 | |
*** jfroche has quit IRC | 11:14 | |
*** jodok has joined #zope3-dev | 11:15 | |
*** opetznick has quit IRC | 11:17 | |
*** opetznick has joined #zope3-dev | 11:21 | |
*** ktwilight has quit IRC | 11:23 | |
*** ktwilight has joined #zope3-dev | 11:24 | |
*** schwendinger has joined #zope3-dev | 11:29 | |
*** dobee has quit IRC | 11:36 | |
*** jodok has quit IRC | 11:36 | |
*** Bhaskar has joined #zope3-dev | 11:38 | |
*** dunny has quit IRC | 11:40 | |
*** ktwilight_ has joined #zope3-dev | 11:41 | |
*** dobee has joined #zope3-dev | 11:46 | |
*** ktwilight has quit IRC | 11:56 | |
*** ktwilight has joined #zope3-dev | 12:03 | |
*** Bhaskar has quit IRC | 12:03 | |
*** bigkevmcd has quit IRC | 12:06 | |
*** stub has quit IRC | 12:07 | |
*** stub has joined #zope3-dev | 12:08 | |
*** timte has quit IRC | 12:12 | |
*** tarek_ has joined #zope3-dev | 12:12 | |
*** tarek has quit IRC | 12:16 | |
*** ktwilight_ has quit IRC | 12:17 | |
*** opetznick has quit IRC | 12:18 | |
*** tarek_ has quit IRC | 12:24 | |
*** mgedmin has joined #zope3-dev | 12:28 | |
*** tarek_ has joined #zope3-dev | 12:29 | |
*** dobee has quit IRC | 12:37 | |
*** grahal has joined #zope3-dev | 12:43 | |
*** waa has quit IRC | 12:52 | |
*** dobee has joined #zope3-dev | 12:57 | |
*** waa has joined #zope3-dev | 12:58 | |
*** waa has left #zope3-dev | 13:01 | |
*** opetznick has joined #zope3-dev | 13:14 | |
*** shiny_ has joined #zope3-dev | 13:16 | |
shiny_ | hi all | 13:17 |
shiny_ | while trying to run setup.py in schooltool-0.11.4 i'm getting ImportError: No module named _zope_proxy_proxy | 13:18 |
baijum | shiny_, check whether you installed Zope 3 properly? | 13:19 |
*** J1m has joined #zope3-dev | 13:19 | |
shiny_ | ok baijum | 13:19 |
philiKON | shiny_: sounds like you didn't compile zope3's C extensions | 13:19 |
shiny_ | philiKON: how to do it? | 13:20 |
mgedmin | there's a #schooltool, btw | 13:20 |
philiKON | shiny_: how did you install zope 3? | 13:20 |
mgedmin | schooltool's makefile should compile them for you, if you use a subversion checkout | 13:20 |
mgedmin | I don't remember how the releases were made | 13:20 |
mgedmin | 'cd Zope3 && make' should work | 13:21 |
shiny_ | by running configure | 13:21 |
shiny_ | then make | 13:21 |
shiny_ | then make check | 13:21 |
shiny_ | then make install | 13:21 |
shiny_ | i created the instance by using /usr/local/Zope-3.3/mkzopeinstance | 13:22 |
shiny_ | whether i missed any step? | 13:22 |
mgedmin | hm | 13:23 |
mgedmin | how does schooltool know where to find your zope? | 13:24 |
shiny_ | i copied the schooltool to my python | 13:24 |
shiny_ | frm there i run the command sudo python setup.py install --home /home/zope/zope33-instance | 13:26 |
baijum | shiny_, check whether you set PYTHONPATH=/your/zope/src before running schooltool's setup.py | 13:27 |
philiKON | baijum: i think he installed zope from a tarball | 13:27 |
philiKON | also, i'd be surprised if it were necessary to have zope in your sys.path for *installing* schooltool | 13:28 |
philiKON | shiny_: so, you installed zope3 in /usr/local/..., made an instance, right? | 13:28 |
shiny_ | ys | 13:28 |
philiKON | so go to that instance | 13:28 |
philiKON | and execute | 13:29 |
philiKON | bin/debugzope | 13:29 |
*** mkerrin has joined #zope3-dev | 13:29 | |
philiKON | hello mkerrin | 13:29 |
shiny_ | ok | 13:29 |
mkerrin | hi philiKON | 13:29 |
philiKON | mkerrin: i'm trying 3.3.1 on windows right now | 13:30 |
philiKON | with adam's installer, i too get the error in zope.app.twisted | 13:30 |
shiny_ | philiKON: wht i've to test in debugzope? | 13:31 |
philiKON | shiny_: well, does it start? | 13:31 |
shiny_ | ys | 13:31 |
philiKON | good | 13:31 |
philiKON | now | 13:31 |
shiny_ | its showing command prompt | 13:31 |
philiKON | right | 13:31 |
philiKON | now | 13:32 |
philiKON | when did you get the error about _zope_proxy_proxy ? | 13:32 |
shiny_ | trying to install schooltool | 13:32 |
philiKON | interesting | 13:32 |
philiKON | in setup.py? | 13:32 |
shiny_ | ys | 13:32 |
philiKON | uh huh | 13:33 |
philiKON | try: | 13:33 |
philiKON | export PYTHONPATH=/usr/local/Zope-3.3.x/lib/python | 13:33 |
philiKON | and then execute setup.py again | 13:33 |
mkerrin | philiKON: I have downloaded adams installer but I won't be able to run the tests until later today - I have to use my laptop for work at the moment and a desktop computer beside me doesn't have windows installed on it. | 13:33 |
philiKON | mkerrin: i'm currently trying to understand why the tests didn't fail with 3.3.0 | 13:34 |
shiny_ | philiKON: i'm getting the same error | 13:35 |
philiKON | shiny_: now that's weird | 13:35 |
philiKON | can you paste the traceback somewhere? | 13:35 |
shiny_ | i'll try philiKON | 13:36 |
mkerrin | philiKON: same here - nothing changed with respect to the Twisted code since 3.3.0 | 13:37 |
philiKON | i wonder if the twisted external changed | 13:37 |
mkerrin | nope - the external definition specifies a revision number | 13:40 |
*** dobee has quit IRC | 13:40 | |
philiKON | mkerrin: right, but perhaps that changed? | 13:41 |
*** rocky|Zzz is now known as rocky | 13:41 | |
philiKON | mkerrin: hah! i get the same failure with 3.3.0 too | 13:42 |
mkerrin | feck - I hate windows | 13:42 |
philiKON | no kiddin' | 13:43 |
*** tonico|away is now known as tonico | 13:43 | |
philiKON | i actually get much more failures | 13:43 |
mkerrin | are all these failures still in the twisted ftp code | 13:45 |
philiKON | no | 13:45 |
mkerrin | where are they? | 13:46 |
philiKON | one is in zope.app.form | 13:46 |
philiKON | and then there are lotsa ftest failures | 13:46 |
philiKON | that's 3.3.0 | 13:46 |
philiKON | 3.3.1 only fails with one, the twisted ftp thing | 13:47 |
* baijum wonder why no one found 3.3.0 test failures for last 2.5 months, no one use it ? | 13:53 | |
philiKON | perhaps nobody ran zopetest | 13:53 |
baijum | philiKON, now what we can do with that release ? | 13:54 |
philiKON | release it :) | 13:54 |
mkerrin | I had to rehaul some of the FTP tests for the Twisted upgrade to 2.5 - so I am wondering if the problem exists on the trunk? | 13:55 |
philiKON | good question | 13:55 |
mkerrin | If not - the problem could be in the Twisted testing framework - I didn't have to touch the actual FTP implementation to get the upgrade to work | 13:56 |
*** yvl has left #zope3-dev | 13:56 | |
philiKON | i see | 13:56 |
philiKON | well | 13:56 |
philiKON | perhaps we can have adam check the trunk | 13:57 |
philiKON | also, i've been wanting to install those compilers | 13:57 |
*** timte has joined #zope3-dev | 13:57 | |
philiKON | mkerrin: you tried MingW and didn't get the failure, right? | 13:57 |
mkerrin | I am still wondering how I got the tests to pass on Monday night | 13:57 |
mkerrin | yeah - but it was a really painful. There was one major problem finding some msvcr71 library but I managed to get around by telling disutils to use some msvcrt library instead I can send you a 2 line patch to distutils if you get the same problem | 14:01 |
mkerrin | And I have no idea what msvcr71 is | 14:01 |
philiKON | visual c runtime 7.1 | 14:01 |
*** niemeyer has joined #zope3-dev | 14:02 | |
*** ktwilight has quit IRC | 14:02 | |
*** ktwilight has joined #zope3-dev | 14:03 | |
*** dobee has joined #zope3-dev | 14:14 | |
*** stub has quit IRC | 14:14 | |
*** stub has joined #zope3-dev | 14:15 | |
*** alga has joined #zope3-dev | 14:15 | |
*** stub has quit IRC | 14:16 | |
*** tarek_ has quit IRC | 14:19 | |
*** J1m has left #zope3-dev | 14:20 | |
*** ignas has joined #zope3-dev | 14:23 | |
*** dobee has quit IRC | 14:26 | |
shiny_ | philiKON: i installed it | 14:30 |
shiny_ | but its not showing in zope3.3 zmi | 14:30 |
shiny_ | whether any step is there to register or something like tht? | 14:31 |
*** alga has quit IRC | 14:31 | |
shiny_ | whts add-on and where i can find it? | 14:33 |
*** alga has joined #zope3-dev | 14:35 | |
*** natea has quit IRC | 14:39 | |
*** tarek has joined #zope3-dev | 14:50 | |
*** ktwilight has quit IRC | 14:55 | |
*** ktwilight has joined #zope3-dev | 14:55 | |
*** kobold has joined #zope3-dev | 14:56 | |
*** wreutz has quit IRC | 14:58 | |
*** wreutz has joined #zope3-dev | 15:04 | |
*** dobee has joined #zope3-dev | 15:05 | |
*** ktwilight_ has joined #zope3-dev | 15:05 | |
*** tarek_ has joined #zope3-dev | 15:09 | |
*** ktwilight has quit IRC | 15:16 | |
*** natea has joined #zope3-dev | 15:20 | |
*** dobee has quit IRC | 15:22 | |
*** ktwilight has joined #zope3-dev | 15:23 | |
*** tarek has quit IRC | 15:25 | |
*** dobee has joined #zope3-dev | 15:30 | |
*** baijum has quit IRC | 15:32 | |
*** whit has joined #zope3-dev | 15:32 | |
*** ktwilight_ has quit IRC | 15:37 | |
*** jodok has joined #zope3-dev | 15:59 | |
*** benji has joined #zope3-dev | 16:19 | |
*** dobee has quit IRC | 16:45 | |
*** dobee has joined #zope3-dev | 16:48 | |
*** J1m has joined #zope3-dev | 17:08 | |
*** dlk has left #zope3-dev | 17:08 | |
*** J1m_ has joined #zope3-dev | 17:28 | |
*** J1m has quit IRC | 17:35 | |
*** jinty has joined #zope3-dev | 17:48 | |
*** ignas has quit IRC | 17:49 | |
*** wreutz has quit IRC | 17:49 | |
*** rocky is now known as rocky|away | 17:51 | |
*** jodok has quit IRC | 17:53 | |
*** jodok has joined #zope3-dev | 17:57 | |
*** jodok has quit IRC | 17:58 | |
*** wreutz has joined #zope3-dev | 18:02 | |
*** alecm has joined #zope3-dev | 18:05 | |
*** jodok has joined #zope3-dev | 18:06 | |
*** jodok has quit IRC | 18:09 | |
*** softdevr has joined #zope3-dev | 18:14 | |
*** rocky|away is now known as rocky | 18:24 | |
*** natea has quit IRC | 18:26 | |
*** natea has joined #zope3-dev | 18:27 | |
*** mgedmin has quit IRC | 18:40 | |
*** mgedmin has joined #zope3-dev | 18:44 | |
*** rocky is now known as rocky|away | 18:49 | |
*** timte has quit IRC | 18:57 | |
*** harobed has quit IRC | 19:01 | |
*** pelle_ has quit IRC | 19:05 | |
*** zagy has quit IRC | 19:06 | |
*** kobold has quit IRC | 19:22 | |
*** tarek_ has quit IRC | 19:23 | |
*** tarek_ has joined #zope3-dev | 19:24 | |
*** jfroche has joined #zope3-dev | 19:29 | |
*** dobee has quit IRC | 19:33 | |
*** opetznick has quit IRC | 19:37 | |
*** jinty has quit IRC | 19:38 | |
*** tonico is now known as tonico|away | 19:48 | |
*** timte has joined #zope3-dev | 19:56 | |
*** zagy has joined #zope3-dev | 20:02 | |
*** lzdych has quit IRC | 20:05 | |
*** RaFromBRC has joined #zope3-dev | 20:10 | |
*** yota has joined #zope3-dev | 20:10 | |
*** yota has quit IRC | 20:11 | |
*** yota has joined #zope3-dev | 20:11 | |
*** deo has joined #zope3-dev | 20:17 | |
*** J1m_ has quit IRC | 20:24 | |
*** philiKON_ has joined #zope3-dev | 20:33 | |
*** jfroche has quit IRC | 20:34 | |
*** benji has quit IRC | 20:35 | |
*** pelle_ has joined #zope3-dev | 20:37 | |
*** philiKON has quit IRC | 20:40 | |
*** philiKON_ is now known as philiKON | 20:41 | |
*** b_52Free has quit IRC | 20:47 | |
*** b_52Free has joined #zope3-dev | 20:50 | |
*** tonico|away has quit IRC | 20:50 | |
*** mkerrin has quit IRC | 20:53 | |
*** jodok has joined #zope3-dev | 20:54 | |
*** jodok has quit IRC | 20:54 | |
*** mkerrin has joined #zope3-dev | 20:55 | |
*** dunny has joined #zope3-dev | 21:01 | |
*** whit is now known as whit|out | 21:03 | |
*** J1m_ has joined #zope3-dev | 21:06 | |
*** benji has joined #zope3-dev | 21:09 | |
*** whit|out has quit IRC | 21:16 | |
*** srichter has quit IRC | 21:18 | |
softdevr | where can I access an object's name? | 21:20 |
benji | /if/ the object supports the pattern, the .__name__ attribute | 21:21 |
*** pelle_ has quit IRC | 21:21 | |
*** pelle_ has joined #zope3-dev | 21:23 | |
softdevr | thanks | 21:27 |
benji | np | 21:28 |
*** schwendinger has quit IRC | 21:32 | |
*** softdevr has quit IRC | 21:32 | |
timte | when are __xxx__ private members and when are they not? | 21:33 |
*** zagy has quit IRC | 21:34 | |
*** alga has quit IRC | 21:37 | |
benji | __xxx__ is never private (that's __xxx) | 21:39 |
timte | oh | 21:39 |
*** whit has joined #zope3-dev | 21:44 | |
*** whit is now known as whit|fidos | 21:45 | |
*** grahal has quit IRC | 21:57 | |
*** mgedmin has quit IRC | 22:02 | |
J1m_ | __xxx is refered to "annoying private". | 22:14 |
J1m_ | Normal private is _xxx. | 22:14 |
*** ktwilight has quit IRC | 22:18 | |
*** ktwilight has joined #zope3-dev | 22:20 | |
*** whit|fidos has quit IRC | 22:21 | |
*** mkerrin has quit IRC | 22:24 | |
*** whit has joined #zope3-dev | 22:27 | |
*** tarek_ has quit IRC | 22:32 | |
*** naro has quit IRC | 22:45 | |
*** harobed_ has joined #zope3-dev | 23:02 | |
*** harobed__ has joined #zope3-dev | 23:02 | |
*** Aiste has quit IRC | 23:13 | |
*** MrTopf has joined #zope3-dev | 23:13 | |
*** timte has quit IRC | 23:21 | |
*** mgedmin has joined #zope3-dev | 23:29 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:33 | |
*** whit has quit IRC | 23:37 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!