IRC log of #zope3-dev for Wednesday, 2007-02-14

*** whit|busy4-1hr is now known as whit00:00
*** dunny has joined #zope3-dev00:02
*** J1m has quit IRC00:06
*** J1m has joined #zope3-dev00:07
*** nathany has quit IRC00:14
*** yota has joined #zope3-dev00:19
*** schwendinger has joined #zope3-dev00:26
*** noZoper has joined #zope3-dev00:34
noZopercan a BTreeContainer's contents be access using a TALES expression?00:35
*** wreutz has joined #zope3-dev00:36
*** schwendinger_ has joined #zope3-dev00:44
noZoperphiliKON: could you hint at the syntax00:44
philiKONcontainers are like dictionaries00:45
philiKONi don't know what exactly you want to do00:45
philiKONi suggest picking up a copy of my book :)00:46
wreutzhi all, have a problem with a Text field in my content type which uses formlib:00:46
wreutzi 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
wreutzlike <p>noch ein <b>test</b></p>00:47
wreutzcan anyone give me a hint what i'm doing wrong?00:48
philiKONsuch characters are always escaped when using Text00:48
philiKONif you want to allow verbatim markup, use SourceText00:48
*** natea_ is now known as natea|away00:48
wreutzphiliKON: thanks, will try that00:48
*** natea|away has quit IRC00:49
*** pelle_ has quit IRC00:50
wreutzphiliKON: hmm, didn't work, gets escaped too :-(00:51
*** pelle_ has joined #zope3-dev00:52
philiKONhmm, it should work00:52
philiKONzptpage uses SourceText as well00:52
*** alecm has quit IRC00:54
philiKONyou shoudl check whether the data is actually saved in an escaped form00:54
*** RaFromBRC has quit IRC00:54
philiKONor just displayed that way00:54
philiKONi do bet that you're forgetting a structure somewhere00:54
*** tarek__ has quit IRC00:57
*** RaFromBRC has joined #zope3-dev00:58
noZoperphiliKON: 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
philiKONit seems you know little about TALES00:59
philiKONi really do suggest reading about page templates00:59
philiKONthey're widely documented00:59
philiKONif you're looking for comprehensive documentation on zope 3, i suggest picking up a copy of my book: http://worldcookery.com00:59
*** schwendinger has quit IRC01:00
*** J1m has quit IRC01:01
noZoperits the different expression types that I'm uncertain about, and when/how to use them so I'll have to check that out01:01
philiKONyou can use path expressions pretty much everywhere, unless you need01:05
philiKON* to call something with parameters01:05
philiKON* make tests, like a == b01:05
philiKONin those cases you use python:01:06
wreutzphiliKON: without structure i get: <b>test</b>01:15
wreutzphiliKON: with structure i get: this is a <b>test</b>01:16
*** schwendinger_ is now known as schwendinger01:18
wreutzi define the field description = zope.schema.SourceText(.......01:18
wreutzand set title, description and required for this field01:18
*** Jell-O-Fishi has quit IRC01:22
*** rocky|away is now known as rocky|Zzz01:27
*** pelle_ has quit IRC01:27
*** alecm has joined #zope3-dev01:32
*** benji has quit IRC01:32
*** pelle_ has joined #zope3-dev01:36
*** dobee has joined #zope3-dev01:38
*** Aiste has quit IRC01:39
*** noZoper has quit IRC01:41
*** jodok has quit IRC01:45
*** dobee has quit IRC01:46
*** pelle_ has quit IRC01:47
*** schwendinger_ has joined #zope3-dev01:53
*** schwendinger has quit IRC02:01
*** nathany_ has quit IRC02:08
*** yota has quit IRC02:11
*** whit has quit IRC02:14
*** MrTopf has quit IRC02:48
*** b_52Free has quit IRC02:49
*** b_52Free has joined #zope3-dev02:50
*** bigkevmcd has quit IRC02:50
*** wreutz has quit IRC03:22
*** niemeyer has quit IRC03:49
*** wrobel has quit IRC03:56
*** J1m has joined #zope3-dev04:31
*** J1m has left #zope3-dev04:31
*** RaFromBRC has quit IRC04:44
*** stub has joined #zope3-dev05:10
*** dunny has quit IRC05:10
*** dunny has joined #zope3-dev05:41
*** Bhaskar has joined #zope3-dev05:42
*** baijum has joined #zope3-dev06:07
*** stu1 has joined #zope3-dev06:18
*** stub has quit IRC06:19
*** stu1 is now known as stub06:20
*** natea has joined #zope3-dev06:31
*** jfroche__ has joined #zope3-dev06:34
*** Bhaskar has quit IRC06:36
*** jfroche_ has quit IRC06:48
*** alecm has quit IRC07:23
*** Bhaskar has joined #zope3-dev07:24
*** romanofski has quit IRC08:13
*** jfroche__ has quit IRC08:27
*** Bhaskar has quit IRC08:31
*** b_52Free has quit IRC08:31
*** b_52Free has joined #zope3-dev08:32
*** povbot has joined #zope3-dev08:44
*** dobee has joined #zope3-dev08:58
*** wrobel has joined #zope3-dev09:07
*** zagy has joined #zope3-dev09:12
*** yvl has joined #zope3-dev09:17
*** dobee has quit IRC09:23
*** tarek has joined #zope3-dev09:35
*** romanofski has joined #zope3-dev09:35
*** Aiste has joined #zope3-dev09:41
*** pelle_ has joined #zope3-dev09:42
*** lzdych has joined #zope3-dev09:43
*** wreutz has joined #zope3-dev09:54
*** jfroche has joined #zope3-dev09:55
*** timte has joined #zope3-dev09:56
*** opetznick has joined #zope3-dev10:04
*** dlk has joined #zope3-dev10:09
*** naro has joined #zope3-dev10:10
*** jodok has joined #zope3-dev10:20
*** pelle_ has joined #zope3-dev10:22
*** wreutz has joined #zope3-dev10:25
*** opetznick has quit IRC10:31
*** opetznick has joined #zope3-dev10:35
*** harobed has joined #zope3-dev10:37
*** dobee has joined #zope3-dev10:37
*** jodok has quit IRC10:52
*** bigkevmcd has joined #zope3-dev10:53
*** pelle_ has quit IRC11:01
*** pelle_ has joined #zope3-dev11:01
*** jfroche has quit IRC11:14
*** jodok has joined #zope3-dev11:15
*** opetznick has quit IRC11:17
*** opetznick has joined #zope3-dev11:21
*** ktwilight has quit IRC11:23
*** ktwilight has joined #zope3-dev11:24
*** schwendinger has joined #zope3-dev11:29
*** dobee has quit IRC11:36
*** jodok has quit IRC11:36
*** Bhaskar has joined #zope3-dev11:38
*** dunny has quit IRC11:40
*** ktwilight_ has joined #zope3-dev11:41
*** dobee has joined #zope3-dev11:46
*** ktwilight has quit IRC11:56
*** ktwilight has joined #zope3-dev12:03
*** Bhaskar has quit IRC12:03
*** bigkevmcd has quit IRC12:06
*** stub has quit IRC12:07
*** stub has joined #zope3-dev12:08
*** timte has quit IRC12:12
*** tarek_ has joined #zope3-dev12:12
*** tarek has quit IRC12:16
*** ktwilight_ has quit IRC12:17
*** opetznick has quit IRC12:18
*** tarek_ has quit IRC12:24
*** mgedmin has joined #zope3-dev12:28
*** tarek_ has joined #zope3-dev12:29
*** dobee has quit IRC12:37
*** grahal has joined #zope3-dev12:43
*** waa has quit IRC12:52
*** dobee has joined #zope3-dev12:57
*** waa has joined #zope3-dev12:58
*** waa has left #zope3-dev13:01
*** opetznick has joined #zope3-dev13:14
*** shiny_ has joined #zope3-dev13:16
shiny_hi all13:17
shiny_while trying to run in schooltool-0.11.4 i'm getting   ImportError: No module named _zope_proxy_proxy13:18
baijumshiny_, check whether you installed Zope 3 properly?13:19
*** J1m has joined #zope3-dev13:19
shiny_ok baijum13:19
philiKONshiny_: sounds like you didn't compile zope3's C extensions13:19
shiny_philiKON: how to do it?13:20
mgedminthere's a #schooltool, btw13:20
philiKONshiny_: how did you install zope 3?13:20
mgedminschooltool's makefile should compile them for you, if you use a subversion checkout13:20
mgedminI don't remember how the releases were made13:20
mgedmin'cd Zope3 && make' should work13:21
shiny_by running configure13:21
shiny_then make13:21
shiny_then make check13:21
shiny_then make install13:21
shiny_i created the instance by using /usr/local/Zope-3.3/mkzopeinstance13:22
shiny_whether i missed any step?13:22
mgedminhow does schooltool know where to find your zope?13:24
shiny_i copied the schooltool to my python13:24
shiny_frm there i run the command sudo python install --home /home/zope/zope33-instance13:26
baijumshiny_, check whether you set PYTHONPATH=/your/zope/src before running schooltool's setup.py13:27
philiKONbaijum: i think he installed zope from a tarball13:27
philiKONalso, i'd be surprised if it were necessary to have zope in your sys.path for *installing* schooltool13:28
philiKONshiny_: so, you installed zope3 in /usr/local/..., made an instance, right?13:28
philiKONso go to that instance13:28
philiKONand execute13:29
*** mkerrin has joined #zope3-dev13:29
philiKONhello mkerrin13:29
mkerrinhi philiKON13:29
philiKONmkerrin: i'm trying 3.3.1 on windows right now13:30
philiKONwith adam's installer, i too get the error in
shiny_philiKON: wht i've to test in debugzope?13:31
philiKONshiny_: well, does it start?13:31
shiny_its showing command prompt13:31
philiKONwhen did you get the error about _zope_proxy_proxy ?13:32
shiny_trying to install schooltool13:32
philiKONuh huh13:33
philiKONexport PYTHONPATH=/usr/local/Zope-3.3.x/lib/python13:33
philiKONand then execute again13:33
mkerrinphiliKON: 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
philiKONmkerrin: i'm currently trying to understand why the tests didn't fail with 3.3.013:34
shiny_philiKON: i'm getting the same error13:35
philiKONshiny_: now that's weird13:35
philiKONcan you paste the traceback somewhere?13:35
shiny_i'll try philiKON13:36
mkerrinphiliKON: same here - nothing changed with respect to the Twisted code since 3.3.013:37
philiKONi wonder if the twisted external changed13:37
mkerrinnope - the external definition specifies a revision number13:40
*** dobee has quit IRC13:40
philiKONmkerrin: right, but perhaps that changed?13:41
*** rocky|Zzz is now known as rocky13:41
philiKONmkerrin: hah! i get the same failure with 3.3.0 too13:42
mkerrinfeck - I hate windows13:42
philiKONno kiddin'13:43
*** tonico|away is now known as tonico13:43
philiKONi actually get much more failures13:43
mkerrinare all these failures still in the twisted ftp code13:45
mkerrinwhere are they?13:46
philiKONone is in
philiKONand then there are lotsa ftest failures13:46
philiKONthat's 3.3.013:46
philiKON3.3.1 only fails with one, the twisted ftp thing13:47
* baijum wonder why no one found 3.3.0 test failures for last 2.5 months, no one use it ?13:53
philiKONperhaps nobody ran zopetest13:53
baijumphiliKON, now what we can do with that release ?13:54
philiKONrelease it :)13:54
mkerrinI 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
philiKONgood question13:55
mkerrinIf 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 work13:56
*** yvl has left #zope3-dev13:56
philiKONi see13:56
philiKONperhaps we can have adam check the trunk13:57
philiKONalso, i've been wanting to install those compilers13:57
*** timte has joined #zope3-dev13:57
philiKONmkerrin: you tried MingW and didn't get the failure, right?13:57
mkerrinI am still wondering how I got the tests to pass on Monday night13:57
mkerrinyeah - 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 problem14:01
mkerrinAnd I have no idea what msvcr71 is14:01
philiKONvisual c runtime 7.114:01
*** niemeyer has joined #zope3-dev14:02
*** ktwilight has quit IRC14:02
*** ktwilight has joined #zope3-dev14:03
*** dobee has joined #zope3-dev14:14
*** stub has quit IRC14:14
*** stub has joined #zope3-dev14:15
*** alga has joined #zope3-dev14:15
*** stub has quit IRC14:16
*** tarek_ has quit IRC14:19
*** J1m has left #zope3-dev14:20
*** ignas has joined #zope3-dev14:23
*** dobee has quit IRC14:26
shiny_philiKON: i installed it14:30
shiny_but its not showing in zope3.3 zmi14:30
shiny_whether any step is there to register or something like tht?14:31
*** alga has quit IRC14:31
shiny_whts add-on and where i can find it?14:33
*** alga has joined #zope3-dev14:35
*** natea has quit IRC14:39
*** tarek has joined #zope3-dev14:50
*** ktwilight has quit IRC14:55
*** ktwilight has joined #zope3-dev14:55
*** kobold has joined #zope3-dev14:56
*** wreutz has quit IRC14:58
*** wreutz has joined #zope3-dev15:04
*** dobee has joined #zope3-dev15:05
*** ktwilight_ has joined #zope3-dev15:05
*** tarek_ has joined #zope3-dev15:09
*** ktwilight has quit IRC15:16
*** natea has joined #zope3-dev15:20
*** dobee has quit IRC15:22
*** ktwilight has joined #zope3-dev15:23
*** tarek has quit IRC15:25
*** dobee has joined #zope3-dev15:30
*** baijum has quit IRC15:32
*** whit has joined #zope3-dev15:32
*** ktwilight_ has quit IRC15:37
*** jodok has joined #zope3-dev15:59
*** benji has joined #zope3-dev16:19
*** dobee has quit IRC16:45
*** dobee has joined #zope3-dev16:48
*** J1m has joined #zope3-dev17:08
*** dlk has left #zope3-dev17:08
*** J1m_ has joined #zope3-dev17:28
*** J1m has quit IRC17:35
*** jinty has joined #zope3-dev17:48
*** ignas has quit IRC17:49
*** wreutz has quit IRC17:49
*** rocky is now known as rocky|away17:51
*** jodok has quit IRC17:53
*** jodok has joined #zope3-dev17:57
*** jodok has quit IRC17:58
*** wreutz has joined #zope3-dev18:02
*** alecm has joined #zope3-dev18:05
*** jodok has joined #zope3-dev18:06
*** jodok has quit IRC18:09
*** softdevr has joined #zope3-dev18:14
*** rocky|away is now known as rocky18:24
*** natea has quit IRC18:26
*** natea has joined #zope3-dev18:27
*** mgedmin has quit IRC18:40
*** mgedmin has joined #zope3-dev18:44
*** rocky is now known as rocky|away18:49
*** timte has quit IRC18:57
*** harobed has quit IRC19:01
*** pelle_ has quit IRC19:05
*** zagy has quit IRC19:06
*** kobold has quit IRC19:22
*** tarek_ has quit IRC19:23
*** tarek_ has joined #zope3-dev19:24
*** jfroche has joined #zope3-dev19:29
*** dobee has quit IRC19:33
*** opetznick has quit IRC19:37
*** jinty has quit IRC19:38
*** tonico is now known as tonico|away19:48
*** timte has joined #zope3-dev19:56
*** zagy has joined #zope3-dev20:02
*** lzdych has quit IRC20:05
*** RaFromBRC has joined #zope3-dev20:10
*** yota has joined #zope3-dev20:10
*** yota has quit IRC20:11
*** yota has joined #zope3-dev20:11
*** deo has joined #zope3-dev20:17
*** J1m_ has quit IRC20:24
*** philiKON_ has joined #zope3-dev20:33
*** jfroche has quit IRC20:34
*** benji has quit IRC20:35
*** pelle_ has joined #zope3-dev20:37
*** philiKON has quit IRC20:40
*** philiKON_ is now known as philiKON20:41
*** b_52Free has quit IRC20:47
*** b_52Free has joined #zope3-dev20:50
*** tonico|away has quit IRC20:50
*** mkerrin has quit IRC20:53
*** jodok has joined #zope3-dev20:54
*** jodok has quit IRC20:54
*** mkerrin has joined #zope3-dev20:55
*** dunny has joined #zope3-dev21:01
*** whit is now known as whit|out21:03
*** J1m_ has joined #zope3-dev21:06
*** benji has joined #zope3-dev21:09
*** whit|out has quit IRC21:16
*** srichter has quit IRC21:18
softdevrwhere can I access an object's name?21:20
benji/if/ the object supports the pattern, the .__name__ attribute21:21
*** pelle_ has quit IRC21:21
*** pelle_ has joined #zope3-dev21:23
*** schwendinger has quit IRC21:32
*** softdevr has quit IRC21:32
timtewhen are __xxx__ private members and when are they not?21:33
*** zagy has quit IRC21:34
*** alga has quit IRC21:37
benji__xxx__ is never private (that's __xxx)21:39
*** whit has joined #zope3-dev21:44
*** whit is now known as whit|fidos21:45
*** grahal has quit IRC21:57
*** mgedmin has quit IRC22:02
J1m___xxx is refered to "annoying private".22:14
J1m_Normal private is _xxx.22:14
*** ktwilight has quit IRC22:18
*** ktwilight has joined #zope3-dev22:20
*** whit|fidos has quit IRC22:21
*** mkerrin has quit IRC22:24
*** whit has joined #zope3-dev22:27
*** tarek_ has quit IRC22:32
*** naro has quit IRC22:45
*** harobed_ has joined #zope3-dev23:02
*** harobed__ has joined #zope3-dev23:02
*** Aiste has quit IRC23:13
*** MrTopf has joined #zope3-dev23:13
*** timte has quit IRC23:21
*** mgedmin has joined #zope3-dev23:29
*** RaFromBRC is now known as RaFromBRC|lunch23:33
*** whit has quit IRC23:37

Generated by 2.15.1 by Marius Gedminas - find it at!