IRC log of #zope3-dev for Tuesday, 2006-03-07

mcdoncfrdrake: in that proposal he says The full Zope 3 implementation of this proposal, except for the type argument of browser directives and the Browser Skin Names vocabulary, is available in the philikon-simplify-skinning branch. It is awaiting review but otherwise ready for merge.00:05
*** efrerich has joined #zope3-dev00:08
fdrakeAh, I was thinking it had been merged.00:09
fdrakeOk, I guess I'll wait.  :-)00:10
*** fdrake has left #zope3-dev00:21
*** benji has quit IRC00:35
*** gumpa is now known as gumpa-afk00:38
*** jinty has quit IRC00:44
*** tiredbones has quit IRC00:49
*** tiredbones has joined #zope3-dev00:49
*** TrevorP has joined #zope3-dev01:02
*** tarek has quit IRC01:13
*** tarek has joined #zope3-dev01:17
*** efrerich has quit IRC01:23
*** srichter has joined #zope3-dev01:24
*** pdex_ has joined #zope3-dev01:44
pdex_moin01:45
*** pdex_ has quit IRC01:45
*** rockyburt has joined #zope3-dev01:46
*** ChanServ sets mode: +o srichter01:47
*** sbj3 has quit IRC01:53
*** philiKON has joined #zope3-dev02:00
*** yota has quit IRC02:06
*** tanghus has quit IRC02:24
*** philiKON has quit IRC02:45
*** oferw has quit IRC02:50
*** rockyburt is now known as rockyburt|zzz03:23
*** fabiorizzo has joined #zope3-dev03:27
*** natea_ has joined #zope3-dev03:39
*** newpers has quit IRC03:41
*** natea_ has quit IRC03:41
*** natea_ has joined #zope3-dev03:41
*** natea has quit IRC03:54
*** fabiorizzo has left #zope3-dev04:01
*** zbir has joined #zope3-dev04:13
*** srichter has quit IRC04:24
*** srichter has joined #zope3-dev04:24
*** ChanServ sets mode: +o srichter05:00
*** natea_ is now known as natea|dinner05:07
*** stub has joined #zope3-dev05:08
*** stu1 has joined #zope3-dev05:09
*** SureshZ has joined #zope3-dev05:14
*** stub has quit IRC05:27
*** baijum has joined #zope3-dev05:33
*** deo has quit IRC05:35
*** SureshZ has left #zope3-dev05:37
*** sm has joined #zope3-dev05:40
*** stu1 is now known as stub05:54
*** natea|dinner has quit IRC06:31
*** natea has joined #zope3-dev06:39
*** natea_ has joined #zope3-dev06:43
*** natea_ has quit IRC06:43
*** natea has quit IRC07:00
*** sm has quit IRC07:34
*** dobee has joined #zope3-dev07:56
*** tanghus has joined #zope3-dev07:58
*** baijum has left #zope3-dev07:59
*** rom|zZZ has quit IRC08:05
*** dobee has quit IRC08:11
*** tanghus has quit IRC08:11
*** tanghus has joined #zope3-dev08:12
*** baijum has joined #zope3-dev08:27
*** tanghus has quit IRC08:32
*** tanghus has joined #zope3-dev08:34
*** tarek has quit IRC08:40
*** dobee has joined #zope3-dev08:41
*** tarek has joined #zope3-dev08:45
*** eins has joined #zope3-dev08:45
einshi08:45
*** hdima has joined #zope3-dev09:11
*** zagy has joined #zope3-dev09:14
*** j-w has joined #zope3-dev09:17
*** eins has quit IRC09:19
*** MJ has quit IRC09:29
*** romanofski has joined #zope3-dev09:36
*** sureshvv has joined #zope3-dev09:46
romanofskimoin :)09:47
*** ignas has joined #zope3-dev09:47
*** mp has quit IRC09:58
*** Theuni has joined #zope3-dev10:03
*** jinty has joined #zope3-dev10:27
*** alga has joined #zope3-dev10:38
*** romanofski has quit IRC10:38
*** romanofski has joined #zope3-dev10:39
*** sashav has joined #zope3-dev10:39
*** Aiste has quit IRC11:03
*** vinsci has quit IRC11:24
*** vinsci has joined #zope3-dev11:24
*** vinsci has joined #zope3-dev11:25
*** vinsci- has joined #zope3-dev11:25
*** dunny has quit IRC11:42
*** zbir has quit IRC11:58
*** zbir has joined #zope3-dev11:59
*** andres has joined #zope3-dev12:01
*** stub has quit IRC12:13
*** alga has quit IRC12:23
*** romanofski has quit IRC12:45
*** romanofski has joined #zope3-dev12:46
*** mgedmin has joined #zope3-dev12:46
*** alga has joined #zope3-dev12:49
*** rockyburt|zzz is now known as rockyburt13:05
*** faassen has joined #zope3-dev13:07
*** romanofski has quit IRC13:11
*** stub has joined #zope3-dev13:17
*** tarek has quit IRC13:36
*** jinty has quit IRC13:42
*** Aiste has joined #zope3-dev13:47
*** jinty has joined #zope3-dev13:59
*** __mac__ has joined #zope3-dev14:20
*** yota has joined #zope3-dev14:30
*** philiKON has joined #zope3-dev14:37
*** romanofski has joined #zope3-dev14:40
*** philiKON has quit IRC14:42
*** philiKON has joined #zope3-dev14:43
*** romanofski has quit IRC14:46
*** rockyburt is now known as rockyburt|away14:48
*** alga has quit IRC14:48
*** jinty has quit IRC14:54
*** natea has joined #zope3-dev14:56
*** zopepaul has joined #zope3-dev15:05
*** rockyburt|away is now known as rockyburt15:05
*** roym has joined #zope3-dev15:09
roymDo I need to do anything special to get Acquisition in z3 trunk - "import Acquisition" gives me an error.15:10
philiKONloll15:11
philiKONAcquisition is dead, man :)15:11
philiKON(the package, not the concept)15:11
roymsigh!15:11
philiKONit never existed in zope 315:11
philiKONwhy do you need it?15:11
roymI have hierarchical folders and wanted a child folder to "acquire" some of its parents methods15:12
roym(er, subclasses derived from Folder)15:13
philiKONso you have15:13
philiKONfolder/15:13
philiKONfolder/subfolder115:13
philiKONfolder/subfolder215:13
philiKONetc.?15:13
roymroughly, yes... and I don't want to have to say context/__parent__ etc..15:14
philiKONi don't understand why you'd have to15:15
roymok - clue me in - what am I missing. if I have A/B/C and I want C to use A.f()?15:16
philiKONWhat does A.f() do?15:17
*** romanofski has joined #zope3-dev15:18
roymI am using viewlets to paint some left nav links - and when I am in a view for C, I want the viewlet to have a link to some view of A.15:19
roymso A.f() would produce links to navigate to views of A.15:21
roymI mean, I have all the standard reasons that acquisition was so hot in Z2, and surely, some of them are still valid!15:22
philiKONcontext/++acquire++f15:22
*** sashav has quit IRC15:22
philiKONexplicit aquisition is still hot15:22
*** _anguenot has joined #zope3-dev15:23
roymlooking at /usr/local/Zope3/src/zope/structuredtext/regressions/Acquisition.stx, don't I need to be able to import Acquisition to do this?15:23
roym(bringing us back to my original question)15:25
philiKONthis text you're looking at...15:27
philiKONlook at its path name then think again ;)15:27
philiKONit's old zope 2 legacy stuff15:27
philiKONno idea what it's about in detail, but it's probably not what you want15:27
philiKONcontext/++acquire++f doesn't require the Acquisition package, no15:27
roymah.. thanks!15:28
philiKONit walks up the IPhysicallyLocatable parents (or just hard-wires to __parent__, dunno)15:28
roymexcellent - exactly what I was trying to get at.15:28
*** alga has joined #zope3-dev15:30
*** romanofski has quit IRC15:32
*** romanofski has joined #zope3-dev15:33
*** zopepaul has quit IRC15:36
*** TrevorP has quit IRC15:38
*** natea is now known as natea|away15:42
*** gumpa-afk is now known as gumpa15:53
*** natea|away has quit IRC15:54
*** benji has joined #zope3-dev15:54
*** natea has joined #zope3-dev15:54
*** sureshvv has quit IRC15:55
*** TrevorP has joined #zope3-dev16:00
*** baijum has left #zope3-dev16:14
*** philiKON has quit IRC16:25
*** sawdog has joined #zope3-dev16:25
*** tanghus has quit IRC16:31
*** zopepaul has joined #zope3-dev16:44
*** Aiste is now known as Aiste|away16:49
guruzhow can i tell zope to use the (@@)contents.html as the default instead of the edit.html i declared? i don't understand the type attribute of zope:defaultView16:54
mgedminguruz: do you mean the default as in when the user enters http://some/url/ you get the same view as http://some/url/@@contents.html16:55
mgedminor the default as in when the user clicks on 'url' in the ZMI, she gets url/@@contents.html?16:55
mgedminin the first case, use the defaultView directive16:55
mgedminin the second case, make sure @@contents.html is the first zmi_menu item for your content tye16:56
*** zopepaul has left #zope3-dev16:56
guruzthanks, i meant the second case. works now16:57
mgedminalso you probably want <browser:defaultView> instead of <zope:defaultView> for the first case16:57
mgedminthe 'type' attribute to <zope:defaultView> is the request type (IBrowserRequest, IHTTPRequest, IFTPRequest, ...)16:57
guruzAh.16:58
guruzthe API docs lack quality information like the one you provide :|16:58
mgedminthere are API docs somewhere???17:00
* mgedmin is so used to reading the source code when he needs to figure out something in zope317:00
* mgedmin actually does know about ++apidoc++ and likes it, but he usually doesn't have a running zope3 instance, and starting one is too much of a hassle17:01
srichtermgedmin: I really hope to remove the final bugs from the static apidoc script at the next sprint17:02
*** MJ has joined #zope3-dev17:07
*** sm has joined #zope3-dev17:07
*** hdima has quit IRC17:13
*** eins has joined #zope3-dev17:21
*** natea has quit IRC17:21
*** jinty has joined #zope3-dev17:29
*** stub has quit IRC17:34
*** vlado has joined #zope3-dev17:39
*** mgedmin has quit IRC17:40
*** regebro has joined #zope3-dev17:40
*** MJ has quit IRC17:41
*** tarek has joined #zope3-dev17:43
regebroHowdy all!17:45
regebroAnybody have some example of how to use a specific ZODB file in a test?17:46
regebrosrichter mentioned testing upgrades that way together with layers...17:47
srichtersource.schooltool.org17:48
srichtersomewhere generatations are tested17:48
srichterI think mgedmin or ignas know the detaiuls on that17:48
regebroOK, thanks.17:49
guruzgreat17:50
guruzwrong channel17:50
*** tanghus has joined #zope3-dev17:50
*** ignas has quit IRC17:56
*** philiKON has joined #zope3-dev18:00
*** andres has quit IRC18:04
*** ignas has joined #zope3-dev18:05
guruzwhat do i need to do so my container supports the + operation? /mycontainer/+/zope.app.file.Image= gives me a 40418:06
*** tarek has quit IRC18:15
*** zagy has quit IRC18:23
philiKON+ isn't an operation18:31
philiKONit's a view18:31
philiKONthe adding view18:31
*** ignas has quit IRC18:32
*** mkerrin has joined #zope3-dev18:46
*** zbir has quit IRC18:47
*** MJ has joined #zope3-dev18:48
*** ignas has joined #zope3-dev18:53
*** elro has joined #zope3-dev18:54
*** mgedmin has joined #zope3-dev18:55
guruzphiliKON: hmm18:57
srichterguruz: the easiest way is to specify the <containerViews> ZCML directive19:00
guruzsrichter: i am already specifying that. i view my object as directory/container just fine, but i get a 404 when using the + view. i'm looking now if i have disabled that somehow19:03
srichteryour containerViews directive must specify the "add" attribute or something similar19:04
srichtercheck aoidoc19:04
srichtercheck apidoc19:04
srichterhttp://localhost:8080/++apidoc++19:04
guruzi have add="zope.ManageContent" in it. do i have to specify a addForm ?19:05
srichterno19:07
*** j-w has quit IRC19:07
srichterall this attribute does is generate the + view for you19:07
*** rockyburt has quit IRC19:10
*** rockyburt has joined #zope3-dev19:11
*** zagy has joined #zope3-dev19:12
guruzhum hum hum19:13
guruzthen i really wonder what could be wrong.19:14
guruzanything else i could be missing?19:17
elrohi there, I'm trying to build a search form (for an ldap search) and I think I want to use formlib.19:17
elroSo I have defined some schema based interdaces for a search and a search result19:18
*** romanofski is now known as rom|aw19:18
elrowhat I can't work out is how I return search results from a SearchForm(form.Form)19:19
guruzsrichter: any idea about my problem?19:21
guruzintrospector says i am implementing IContentContainer, so i think it should work19:22
*** gumpa has quit IRC19:23
*** vlado has quit IRC19:24
*** dobee has quit IRC19:29
*** zbir has joined #zope3-dev19:29
regebrojoin #schooltool19:30
regebroOups, sorry. ;)19:30
guruzhm i really have no clue19:33
guruzah19:34
guruzsrichter: this is funny:19:35
guruzadding an image does not work19:35
guruzit has as url that it can't find: mycontainer/+/zope.app.file.Image=19:35
srichterdoes mycontainer/@@+ work?19:36
srichteror mycontainer/+ for that matter19:36
*** mp has joined #zope3-dev19:37
*** deo has joined #zope3-dev19:38
guruzadding a folder does work, and it has as url mycontainer/@@contents.html?type_name=BrowserAdd__zope.app.folder.folder.Folder19:38
guruz@@+ gives me a radio button list, just + an error19:39
srichterok, that is strange19:39
srichterso mycontainer@@+/zope.app.file.Image= should work19:39
guruzcontainer/@@+/zope.app.file.Image= does work indeed19:39
srichterso mycontainer/@@+/zope.app.file.Image= should work19:40
srichteryep19:40
srichterit is strange that + is not automatically found as a view19:40
philiKONperhaps mycontainer does something funny on __getitem__19:41
srichteryeah19:41
srichtermaybe its an IContentContainer issue? I dunno19:42
guruzphiliKON: yes, i have my own __getitem__.. hmm *looking at it*19:42
philiKONthere you go19:42
philiKONi bet it's not working right19:42
philiKONwrite a unit test for it where you do  mycontainer[u'+']19:43
philiKONsee if you get a KeyError19:43
*** zbir has quit IRC19:51
*** elro has quit IRC19:51
*** zbir has joined #zope3-dev19:51
einscan I remove objects using zope.app.debug.Debbuger?19:51
srichteryep19:52
srichterbut you have to commit the transaction manually, I believe19:52
einsoh19:52
einsok trying19:52
einssrichter thanks, it worked;)19:53
srichtercool19:54
guruzphiliKON: i don't see any error at my fault. how can it be that folders work and images do not? (they have different add-urls anyway)19:54
philiKONguruz, write tests :)19:56
*** Aiste|away is now known as Aiste19:59
guruzhm19:59
guruzokay great20:03
guruzi never coded python before20:03
guruzi found it out myself ;)20:04
guruzif default is not none:20:04
guruz  return default20:04
guruzraise KeyError20:04
guruz:)20:04
guruzphiliKON: yes, but i have to look into how-to-write-tests first20:04
guruzand i have some kind of deadline tomorrow (preseting my work to fellow students in my project)20:04
guruzso i really wanted to have it fixes20:04
*** vinsci has quit IRC20:06
*** vinsci- is now known as vinsci20:07
*** faassen has quit IRC20:08
*** dobee has joined #zope3-dev20:09
*** eins has quit IRC20:10
*** regebro has quit IRC20:10
*** ignas has quit IRC20:21
*** natea has joined #zope3-dev20:29
*** natea is now known as natea|jfk20:31
*** dunny has joined #zope3-dev20:41
*** jinty has quit IRC20:45
*** rockybur1 has joined #zope3-dev20:51
*** stub has joined #zope3-dev20:55
*** j1m has joined #zope3-dev20:56
*** rockyburt has quit IRC21:04
*** rockybur1 is now known as rockyburt21:04
*** willfe has joined #zope3-dev21:10
*** natea|jfk has quit IRC21:11
willfeGreetings, all!21:11
*** natea has joined #zope3-dev21:14
*** natea has joined #zope3-dev21:15
*** _anguenot has quit IRC21:27
*** sashav has joined #zope3-dev21:35
*** natea has quit IRC21:45
*** jinty has joined #zope3-dev21:47
*** mkerrin has quit IRC21:54
*** tanghus has quit IRC21:57
*** jhauser has joined #zope3-dev22:03
*** tanghus has joined #zope3-dev22:04
*** deo has quit IRC22:05
*** stub has quit IRC22:08
*** zbir has quit IRC22:11
*** deo has joined #zope3-dev22:11
*** zbir has joined #zope3-dev22:16
*** deo has quit IRC22:22
sawdogIf I'm building a product in Five, should I be setting the __parent__ of objects when I'm creating them?  In my tests, none of my objects have __parent__ attribute, so things like zapi.asboluteURL fail22:23
*** ignas has joined #zope3-dev22:33
*** deo has joined #zope3-dev22:34
*** alga has quit IRC22:39
*** zagy has quit IRC22:51
*** dunny has quit IRC22:56
*** sm has quit IRC22:57
*** sm has joined #zope3-dev23:03
*** alga has joined #zope3-dev23:13
*** jan_s has joined #zope3-dev23:16
*** tanghus has quit IRC23:25
*** ignas has quit IRC23:38
*** jinty has quit IRC23:43
*** tanghus has joined #zope3-dev23:45
*** elro has joined #zope3-dev23:48
*** mgedmin has quit IRC23:56
*** dobee has quit IRC23:58

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!