IRC log of #zope3-dev for Thursday, 2006-01-12

*** povbot has joined #zope3-dev00:18
*** alga_ has joined #zope3-dev00:19
*** alga_ has quit IRC00:20
*** J1m has quit IRC00:28
*** alga has quit IRC00:30
*** SiggyF has joined #zope3-dev00:30
*** povbot` has quit IRC00:30
*** SiggyF has quit IRC00:47
tareksrichter, ayt01:05
tarekGary told me you guys had an old branch some times ago that started some things about javascript, etc..01:06
tarekdo you think it still exists ?01:06
tareksince you clean a bit all branch 2 month ago  I think01:06
tareka branch related to what I might write in the ajax proposal i am going to start01:07
srichterno, there was never such a thing in the SVN repo01:07
tareknevermind then :)01:08
srichterthere is a proposal out there that would allow some late hooks to add stuff into the page after rendering01:08
srichterthough I think the zope.formlib and zope.viewlet APIs provide better solutions. ;-)01:08
tareki c01:09
tarekthese packages have things that might fit to ajax use cases ?01:09
srichterwell, they can address how you insert Javascript libs in the header if you notice during rendering that you need them01:11
srichterthe paradigm in zope.formlib is that you doa  two-step process: update/render01:11
srichterviewlets would allow you to register javascript libs more generically01:11
tarekat this time the only helpers i have figured out that would be helpfull fo ajax would be custom views on each 'kind' of content (folder or item) and a few portal wide utilities01:13
tareki don't know if it' reall needs to be consolidated in somekind of package though01:14
srichterajax should not destroy the page flow01:15
srichterjust facilitate the information flow for a given page01:15
*** pcardune has left #zope3-dev01:16
srichterlike instant filtering or the amount of info shown is ok01:17
tarekfolder actions: cut,copy, paste ,reordering01:17
*** ruda_porto has quit IRC01:19
srichteryeah those twoo01:20
srichterthough they are border cases already01:20
*** wrobel has quit IRC01:22
*** wrobel has joined #zope3-dev01:24
*** benji has quit IRC02:06
*** tav is now known as tav|sleep02:10
*** philiKON has joined #zope3-dev02:16
projekt01srichter, ayt?02:24
*** philiKON has quit IRC02:57
*** _anguenot has joined #zope3-dev03:04
*** projekt01 has quit IRC03:09
*** yota has quit IRC03:25
*** _anguenot has quit IRC04:20
*** wrobel has quit IRC04:30
*** wrobel` has joined #zope3-dev04:31
*** zbir has quit IRC04:33
*** zbir has joined #zope3-dev07:15
*** cursor has joined #zope3-dev08:04
*** eins has joined #zope3-dev08:14
*** dobee has joined #zope3-dev08:24
*** stub has quit IRC08:25
*** stub has joined #zope3-dev08:26
*** natea has quit IRC08:29
*** sashav has joined #zope3-dev08:33
*** wrobel` has quit IRC08:34
*** wrobel has joined #zope3-dev08:35
*** zagy has joined #zope3-dev08:37
*** dobee has quit IRC08:39
*** zagy has quit IRC08:57
*** dobee has joined #zope3-dev09:01
*** zagy has joined #zope3-dev09:36
*** MJ has quit IRC09:41
*** j-w has joined #zope3-dev09:45
*** zagy has left #zope3-dev09:46
*** zagy has joined #zope3-dev09:47
*** romanofski has joined #zope3-dev09:50
einshi romanofski09:56
romanofskihi eins :)09:57
einscan anybody help with IZopeDublinCore? I'm trying to implement it for some objects and I get09:58
einsoops sorry09:58
einsok, I get  Error type:,  Error object: ('title', <wms.techcardgroupcontainer.techcardgroup.techcardgroup.TechCardGroupDublinCore object at 0xb483168c>)09:59
einstraceback is here:
einssetting <require permission="zope.Public" set_attributes="title" /> doesn't make sense10:00
__mac__eins: does this setting work? if not, the title-attribute might not be existing10:04
*** Theuni has joined #zope3-dev10:06
*** hdima has joined #zope3-dev10:11
einsit does exists..10:12
*** zagy has left #zope3-dev10:12
*** zagy has joined #zope3-dev10:31
*** RockyBurt has quit IRC10:33
*** RockyBurt has joined #zope3-dev10:34
*** RockyBurt has quit IRC10:45
*** cursor has left #zope3-dev10:46
*** RockyBurt has joined #zope3-dev10:46
*** MJ has joined #zope3-dev10:50
*** MrTopf has joined #zope3-dev10:50
*** sashav has joined #zope3-dev10:55
*** efrerich has joined #zope3-dev10:58
*** Aiste has joined #zope3-dev10:58
*** niemeyer has joined #zope3-dev11:07
*** RockyBurt has quit IRC11:14
*** MrTopf has quit IRC11:14
*** RockyBurt has joined #zope3-dev11:15
*** jhauser has joined #zope3-dev11:17
d2mhow do i set the 'content-type' of a resource ? it seems that the extension is not honored11:17
*** Aiste has quit IRC11:28
*** tav|sleep is now known as tav11:40
*** dlk has joined #zope3-dev12:19
*** alienoid has joined #zope3-dev12:23
*** yota has joined #zope3-dev12:26
*** mgedmin has joined #zope3-dev12:46
*** alga has joined #zope3-dev13:04
* tav waves to #zope3-dev 13:06
*** philiKON has joined #zope3-dev13:07
*** d2m_ has joined #zope3-dev13:27
*** d2m has quit IRC13:28
*** d2m_ is now known as d2m13:28
*** faassen has joined #zope3-dev13:31
*** Aiste has joined #zope3-dev13:35
*** MrTopf has joined #zope3-dev13:36
*** vinsci_ has joined #zope3-dev13:36
*** dlk has quit IRC13:37
*** efrerich has quit IRC13:37
*** sashav has quit IRC13:37
*** vinsci has quit IRC13:37
*** __mac__ has quit IRC13:37
*** dlk has joined #zope3-dev13:37
*** efrerich has joined #zope3-dev13:37
*** sashav has joined #zope3-dev13:37
*** __mac__ has joined #zope3-dev13:37
*** vinsci_ is now known as vinsci13:39
*** efrerich has quit IRC13:40
*** Aiste has quit IRC13:41
*** tav has quit IRC13:55
*** MrTopf has quit IRC14:01
*** mgedmin has quit IRC14:03
*** ignas has joined #zope3-dev14:16
*** fabiorizzo has joined #zope3-dev14:18
*** pcardune has joined #zope3-dev14:25
*** andres_ has joined #zope3-dev14:28
*** andres has quit IRC14:28
*** andres_ is now known as andres14:28
*** jinty has joined #zope3-dev14:29
*** jinty has quit IRC14:30
*** jinty has joined #zope3-dev14:31
*** mgedmin has joined #zope3-dev14:37
*** zbir has quit IRC15:12
*** vinsci has quit IRC15:17
*** vinsci has joined #zope3-dev15:17
*** christia1 has joined #zope3-dev15:25
*** _anguenot has joined #zope3-dev15:29
*** efge has joined #zope3-dev15:37
*** vinsci has quit IRC15:40
*** vinsci has joined #zope3-dev15:43
*** benji has joined #zope3-dev15:44
*** dman13 has joined #zope3-dev15:58
*** mgedmin has quit IRC16:04
*** mgedmin has joined #zope3-dev16:07
*** vlado has joined #zope3-dev16:11
*** Theuni has quit IRC16:18
*** zbir has joined #zope3-dev16:19
*** Aiste has joined #zope3-dev16:25
*** MrTopf has joined #zope3-dev16:26
*** eins has quit IRC16:35
*** MrTopf has quit IRC16:35
*** J1m has joined #zope3-dev16:58
*** tarek_ has joined #zope3-dev17:02
*** sashav has quit IRC17:07
*** MrTopf has joined #zope3-dev17:24
*** MrTopf has quit IRC17:25
*** Theuni has joined #zope3-dev17:26
*** MrTopf has joined #zope3-dev17:31
*** hdima has quit IRC17:34
*** dlk has quit IRC17:46
*** christia1 has left #zope3-dev18:08
*** mkerrin has joined #zope3-dev18:09
*** romanofski has quit IRC18:16
*** j-w has left #zope3-dev18:16
*** zagy has quit IRC18:20
*** alienoid has quit IRC18:34
*** dobee has quit IRC18:41
*** MrTopf has quit IRC18:48
*** zagy has joined #zope3-dev18:52
*** deo has joined #zope3-dev18:58
*** vlado has quit IRC19:03
*** MJ has quit IRC19:07
*** dman13 has quit IRC19:19
*** Aiste has quit IRC19:31
*** andres has quit IRC19:43
*** romanofski has joined #zope3-dev19:43
*** jinty has quit IRC19:46
*** Theuni has quit IRC19:49
*** zbir has quit IRC19:50
*** andrew__ has joined #zope3-dev19:57
*** andrew_m has quit IRC19:57
*** andrew__ is now known as andrew_m19:57
*** d2m has quit IRC20:00
*** romanofski is now known as rom|aw20:03
*** Theuni has joined #zope3-dev20:05
*** andrew_m has quit IRC20:06
*** d2m has joined #zope3-dev20:08
*** regebro has joined #zope3-dev20:20
regebroHi, I got a question about the new test runner is 3.2/2.9.20:20
regebroHow do you run functional tests? I have my functional tests in ftests, as was the standard in 2.8.20:21
regebroUsing -f no longer finds these tests.20:21
J1mThey need to be in a layer.20:21
J1mThis allows the test runner to be general.20:23
J1mI wasn't aware that Zope 2 had any notion of "functional tests".20:23
J1mAFAIK, the old zope 2 test runner didn't support the notion.20:24
*** zagy has quit IRC20:25
regebroWell, ZopeTestCase has had support for it for some time, and the old test runner used -f to mean that it ran the tests in ftests intead of tests.20:25
J1mAgain, I wasn't aware of that.  That was a somewhat recent addition.20:26
J1mI know because I added the old test runner to Zope 2.20:26
J1mWhen I added, it didn't have a functional test option.20:26
J1mLayers are very simple.20:26
regebroWell, I'll ignore layers for now, and just copy the functional tests to the tests directory with some renaming to avoid name conflicts, I think.20:27
*** rom|aw is now known as romanofski20:34
*** zagy has joined #zope3-dev20:38
efgeregebro: use --tests-pattern=ftests meanwhile20:41
*** mkerrin has left #zope3-dev20:47
TheuniJ1m:  does that difference between the c-code and python-code need to be removed? I'm not sure whether your answer means that this check is necessary because of some optimization in C?20:48
J1mI suggest making them consistent.20:55
TheuniSo I'll put that into the python version as well. How about testing that. Is there any chance to repeat the corresponding tests with the Python and C-Version ?20:57
benjiTheuni, running the same tests on C and Python versions of the same code is very important, I posit21:00
benjiif there isn't a good way to do that we should find one21:00
TheuniBtw: I also noticed that Zope won't start if you export the ZOPE_WATCH_CHECKERS environment variable and use the python checkers21:07
TheuniIt creates a weird situation where a class that I can't locate isn't the base class of an instance of it21:07
Theuniso an isinstance test fails, but everything except of the id of x.__class__  and the compared class (Checker) are equal21:08
*** natea has joined #zope3-dev21:08
faassenbenji: agreed with that. the code Theuni is looking at is different in C and Python, and the C version didn't work right last I tried.21:08
benjiyep, it's easy for that to happen21:09
Theunifaassen:  Huh? What a problem did you encounter with the C-Version?21:10
faassenTheuni: the WATCH_CHECKERS. it's been a while so I don't remember the detail, but it only gave very partial output21:10
*** ignas has quit IRC21:10
faassenTheuni: the python code indicated I should get a lot of blather from it, but I didn't, and it's likely a bug in the C code that just never was caught as it wasn't tested (neither was the whole watch checkesr business, I think)21:11
Theuniright. that's what i think as well. although i set it to like 100 (which is > 1, I believe) but i only got a couple of lines output21:11
faassenTheuni: I gave up on that story then so that's all I know.21:11
faassenTheuni: right, that's the symptoms I got.21:11
faassenTheuni: which means that benji is right, the tests should test the C code and the Python code (and the functionality :)21:11
benjioops, wrong window :)21:12
TheuniI'm not sure the WATCH_CHECKERS sympton indicates something serious.21:12
J1mAre y'all talking about the verbose security business?21:12
J1mThat is intentionally *not* supported by the C version.21:13
J1mThat is a case where the C and Python behavior is intentionally different.21:13
TheuniOk, right.21:14
TheuniI mainly have a problem finding my path through all that code because the c-modules don't show up in the stack in the pdbv21:14
romanofskithere should be a zope group! ->
J1mYou should disable the C versions when you want to step through the code.21:15
*** philiKON has quit IRC21:15
TheuniCan I do that for proxies?21:15
J1mIn this case though, that's not as easy as one would like.21:16
*** stub has quit IRC21:16
*** dobee has joined #zope3-dev21:16
J1mNo, proxies can only be written in C.21:16
faassenJ1m: I don't think anything documented this intentional difference, though.21:16
faassenJ1m: it got me lost for a bit.21:16
J1mfaassen, that's certainly possible.21:16
TheuniI supposed so. I was able to deactivate the _zope_security_policy be simply deleting the .so file. The other things, weren't as easy.21:16
TheuniWell. The others were proxies so I actually wasn't able to turn off the c variant.21:17
*** andrew_m has joined #zope3-dev21:25
*** srichter has quit IRC21:26
*** faassen has quit IRC21:29
*** MJ has joined #zope3-dev21:31
*** agroszer has joined #zope3-dev21:31
*** srichter has joined #zope3-dev21:34
*** srichter has quit IRC21:34
*** dobee has quit IRC21:37
*** _pcardune has joined #zope3-dev21:38
*** fabiorizzo has left #zope3-dev21:40
*** pcardune has quit IRC21:41
*** MJ has quit IRC21:46
*** srichter has joined #zope3-dev21:47
*** ChanServ sets mode: +o srichter21:47
*** d2m_ has joined #zope3-dev22:03
*** d2m has quit IRC22:04
*** _anguenot has quit IRC22:04
*** d2m_ is now known as d2m22:04
*** natea has quit IRC22:05
*** pcardune has joined #zope3-dev22:10
*** tiredbones has quit IRC22:10
*** vlado has joined #zope3-dev22:11
*** zagy has quit IRC22:13
*** niemeyer has quit IRC22:14
*** _pcardune has quit IRC22:15
*** efge has quit IRC22:15
*** tarek has quit IRC22:19
*** srichter has quit IRC22:20
*** pcardune has quit IRC22:24
*** jhauser_ has joined #zope3-dev22:24
*** tarek has joined #zope3-dev22:26
*** zbir has joined #zope3-dev22:27
*** zbir has quit IRC22:33
*** zbir has joined #zope3-dev22:33
*** jhauser has quit IRC22:35
*** Theuni has quit IRC22:40
*** tarek_ has joined #zope3-dev22:41
*** romanofski has quit IRC22:41
*** srichter has joined #zope3-dev22:48
*** tarek_ has quit IRC22:52
*** alga has quit IRC23:16
*** mgedmin has quit IRC23:19
*** ChanServ sets mode: +o srichter23:26
*** regebro has quit IRC23:26
*** benji has quit IRC23:33
*** RockyBurt has quit IRC23:48
*** efge has joined #zope3-dev23:57

Generated by 2.15.1 by Marius Gedminas - find it at!