IRC log of #zope3-dev for Tuesday, 2007-08-14

*** sm has quit IRC00:02
wiggyyou're doing trial-and-error programming00:02
wiggyjust look at existing code to see what it does00:02
junkafariani have no codebase to check00:02
junkafarianive got a template that references the standard ZMI00:03 has lots and lots of code00:03
junkafarianand that calls "views/standard_macros/view"00:04
junkafarianwhich i assume is referencing a zope module placed on the python path?00:04
junkafarianwiggy: i dont like trial-and-error programming :P00:05
junkafarianits usually my last resort00:05
*** sm has joined #zope3-dev00:07
*** junkafarian has quit IRC00:17
*** tarek has quit IRC00:28
*** danfairs has quit IRC00:29
*** gumpa has quit IRC00:31
*** norro has quit IRC00:32
*** pcardune has quit IRC00:32
*** benji has quit IRC00:33
*** timte has quit IRC00:33
*** jsadjohnson has quit IRC00:37
*** nerdalert has quit IRC00:47
*** ccomb has left #zope3-dev00:56
*** b52laptop has joined #zope3-dev01:00
*** jsadjohnson has joined #zope3-dev01:03
*** kali67 has joined #zope3-dev01:11
*** J1m has quit IRC01:27
*** b52laptop has quit IRC01:37
*** pcardune has joined #zope3-dev01:39
*** J1m has joined #zope3-dev01:45
*** J1m has quit IRC01:46
*** J1m has joined #zope3-dev01:46
*** J1m has joined #zope3-dev01:47
*** alecm_ has quit IRC01:51
*** alecm has joined #zope3-dev01:51
pcardunephiliKON_: are you around?  I have a zopeproject question01:52
*** J1m has quit IRC01:54
*** J1m has joined #zope3-dev01:54
*** J1m has quit IRC01:54
*** J1m has joined #zope3-dev01:55
*** tarek has joined #zope3-dev01:55
*** J1m has quit IRC01:57
*** sm has quit IRC01:58
*** J1m has joined #zope3-dev01:59
*** fcorrea has quit IRC02:02
*** J1m has joined #zope3-dev02:02
*** sm has joined #zope3-dev02:03
*** J1m has quit IRC02:04
*** redir has quit IRC02:13
*** greenman has quit IRC02:18
*** jsadjohnson has quit IRC02:18
*** tjs has left #zope3-dev02:20
*** greenman has joined #zope3-dev02:32
*** rcrafton has quit IRC02:44
*** lmiller has joined #zope3-dev02:46
*** dunny has joined #zope3-dev02:59
*** run|home has quit IRC02:59
*** jbb666 has joined #zope3-dev02:59
*** b52laptop has joined #zope3-dev02:59
*** mrevoir has joined #zope3-dev03:04
*** niemeyer has quit IRC03:29
*** edgordon has quit IRC03:46
*** edgordon has joined #zope3-dev03:47
*** zez_zez has joined #zope3-dev04:03
*** RaFromBRC has quit IRC04:04
*** b52laptop has quit IRC04:09
*** rcrafton has joined #zope3-dev04:11
*** pbugni has quit IRC04:17
*** alecm has quit IRC04:17
*** zez_zez has quit IRC04:27
*** arroda has joined #zope3-dev04:30
*** arroda has left #zope3-dev04:30
*** kali67 has quit IRC04:33
*** netshade has quit IRC04:44
*** whit has joined #zope3-dev05:04
*** philiKON_ has quit IRC05:13
*** whit has quit IRC05:16
*** edgordon has quit IRC05:30
*** edgordon has joined #zope3-dev05:33
*** jsadjohnson has joined #zope3-dev06:10
*** kleist has joined #zope3-dev06:16
*** jbb666 has quit IRC06:19
*** mrevoir has quit IRC06:24
*** greenman has quit IRC06:26
*** kleist has quit IRC06:41
*** stub has joined #zope3-dev06:50
*** deo has quit IRC06:51
*** marianom has left #zope3-dev06:56
*** greenman has joined #zope3-dev07:01
*** philiKON has joined #zope3-dev07:01
edgordonwhen using a addMenuItem directive, what is it that determines whether the object will be added right away vs. taking you to an add form to set attributes before adding?07:04
*** pbugni has joined #zope3-dev07:05
*** jsadjohnson has quit IRC07:22
*** natea|away has joined #zope3-dev07:25
*** pcardune has quit IRC07:36
*** rcrafton has quit IRC07:38
*** natea|away has quit IRC07:42
*** kleist has joined #zope3-dev07:50
lmilleredgordon: If you define an addform that should let you set attrs before adding07:50
*** baijum has joined #zope3-dev07:52
*** natea|away has joined #zope3-dev07:52
*** kali67 has joined #zope3-dev08:06
*** natea|away has quit IRC08:11
*** natea|away has joined #zope3-dev08:23
*** naro has joined #zope3-dev08:27
*** sorin has joined #zope3-dev08:38
*** dobee has joined #zope3-dev08:38
*** sorin is now known as sorindregan08:38
*** yvl has joined #zope3-dev08:38
*** greenman has quit IRC08:47
*** natea|away has quit IRC08:53
*** stub has quit IRC08:56
*** jodok has quit IRC09:07
*** timte has joined #zope3-dev09:07
*** cursor has joined #zope3-dev09:08
*** philiKON has quit IRC09:15
*** jodok has joined #zope3-dev09:18
*** ghendi has joined #zope3-dev09:20
*** jukart has joined #zope3-dev09:21
*** Aiste has quit IRC09:25
*** kali67 has quit IRC09:28
*** dunny has quit IRC09:29
*** afd_ has quit IRC09:29
*** d2m has joined #zope3-dev09:43
*** romanofski has joined #zope3-dev09:57
*** afd_ has joined #zope3-dev09:58
*** goschtl has joined #zope3-dev10:18
*** Aiste has joined #zope3-dev10:28
*** baijum has quit IRC10:32
*** baijum has joined #zope3-dev10:33
*** greenman has joined #zope3-dev10:35
*** stub has joined #zope3-dev10:35
*** jfroche has joined #zope3-dev10:36
timteIs it ok for a browser view to "return open(filepath, 'r')" or are files never closed?10:38
zagyfiles are closed when the object is disposed10:40
zagyso it would be ok10:41
*** jinty has joined #zope3-dev11:01
*** Aiste has quit IRC11:02
*** norro has joined #zope3-dev11:06
*** dobee has left #zope3-dev11:09
*** junkafarian has joined #zope3-dev11:25
*** ignas has joined #zope3-dev11:37
*** markusleist has quit IRC11:47
japany zc.buildout gurus here?11:53
*** jinty has quit IRC11:54
japwig! ;)11:55
wiggyjap: what's up with zc.buildout?11:55
japi'm working on an app which needs lxml and installs that during buildout11:56
japhowever, it's linking lxml to libxml in /opt instead of the one in /usr11:56
wiggythere is a plone.recipe.lxml recipe that builds lxml11:57
japwhich i do not want11:57
japhm, time to check that out11:57
wiggythat will try to build libxml2 and libxslt if needed as well11:57
japyep, i see11:57
japlet's try that11:58
wiggythere's a growing amount of useful plone.recipe.* stuff11:58
wiggycheeseshop can find them all11:58
japsomething's building, time for some coffee12:06
*** richardkan has joined #zope3-dev12:08
*** markusleist has joined #zope3-dev12:10
*** jinty has joined #zope3-dev12:17
*** jinty has quit IRC12:21
japgreat, that seems to work12:24
japnow, for extra bonuspoints, is it possible to share that lxml between multiple buildouts?12:24
wiggythe recipe doesn't support that12:25
japhm, bummer12:25
*** MrTopf has joined #zope3-dev12:31
*** dunny has joined #zope3-dev12:42
*** jinty has joined #zope3-dev12:57
*** ignas has quit IRC12:59
*** ignas has joined #zope3-dev12:59
*** mkerrin has joined #zope3-dev13:01
*** jodok has quit IRC13:08
*** grahamstratton has joined #zope3-dev13:10
*** jinty has quit IRC13:13
*** spython has joined #zope3-dev13:14
*** Aiste has joined #zope3-dev13:17
wiggyhah, I just got confirmation that I have my first zope3 customer13:19
*** b52laptop has joined #zope3-dev13:20
timteare you self employed?13:21
timtewiggy: do you have time for another customer?  :)13:22
wiggynot this week13:22
* wiggy needs to get plone 3 out as well13:23
japthis week? ;)13:23
wiggytagging the whole thing on friday, installers over the weekend, press release and official stuff on tuesday13:23
*** jinty has joined #zope3-dev13:23
japhm, cool13:25
wiggyvery, developing with it is so much nicer than 2.513:27
*** jinty has quit IRC13:43
*** dunny has quit IRC13:44
*** netshade has joined #zope3-dev14:06
*** baijum has quit IRC14:07
*** baijum has joined #zope3-dev14:16
wiggyhow do grokproject and zopeproject relate?14:18
*** afd has joined #zope3-dev14:18
*** Newfie2007 has joined #zope3-dev14:20
grahamstrattonI believe zopeproject allows you to use Zope as a library instead of a framework14:20
grahamstrattonSo zopeproject will generate a sort of scaffolding for your zope app14:20
grahamstrattongrokproject builds on it to do the same for Grok apps14:21
grahamstrattonBut I haven't played with either...14:21
*** Aiste has quit IRC14:22
*** MJ has joined #zope3-dev14:22
*** rcrafton has joined #zope3-dev15:00
*** netshade has quit IRC15:21
*** niemeyer has joined #zope3-dev15:37
*** jsadjohnson has joined #zope3-dev15:46
*** jodok has joined #zope3-dev15:46
*** benji has joined #zope3-dev15:56
*** projekt01 has joined #zope3-dev15:56
*** yvl has quit IRC16:04
*** netshade has joined #zope3-dev16:08
*** J1m has joined #zope3-dev16:14
*** afd has quit IRC16:14
*** redir has joined #zope3-dev16:19
*** cursor has quit IRC16:24
*** greenman has quit IRC16:25
*** sm has quit IRC16:31
*** redir has quit IRC16:36
edgordoni asked this last night, but my question wasn't that clear. I have some objects that go to an add form when selected vie the Add menu, but I really would like for them to just populate w/ defaults and skip the form. How does zope determine whether to take you to the add form vs. direct adding via the @@contents page?16:42
*** MJ has quit IRC16:44
spythonedgordon: hmm, the add-button below the listing submits to @@contents.. but add via the addmenu submits to @@+16:49
spythonif I'm not mistaken16:50
*** grahamstratton has left #zope3-dev16:50
edgordonoh really? cause i have some objects from the addmenu that submit to @@contents. I have added defaults to all the attributes, so i am just trying to figure out how to skip the add form. In the project i am working on, they want the user to add a bunch of items, then view a single form w/ all the folder's contents on one form, so they can quickly populate all the info in one place. That is done (thanks formlib), but I am having16:51
*** gstratton has joined #zope3-dev16:51
*** ghendi has quit IRC16:53
*** nerdalert has joined #zope3-dev16:54
spythonedgordon: you could check zope/app/container/browser/  to see how it works16:54
*** sorindregan has quit IRC16:56
spythonsearch for container_add_button, addObject, hasAdding.. might find some valuable info16:57
*** MJ has joined #zope3-dev16:57
spythonjust giving you pointers here :)16:57
spythonsearch in that .py-file that is..16:58
edgordonspython:yeah, thanks. reading through that now. Guess that should have been my starting point, I was just focusing on the interface and didn't think of that17:00
*** CrippsFX has joined #zope3-dev17:21
CrippsFXhello room. Did everybody miss me?17:21
spythona little..17:23
CrippsFXhaha. aww, how sweet.17:23
CrippsFXso ... I've been gone for 10 days ... and probably forgotten pretty much everything ... here's a heads up ... I'll probably be asking some pretty elementary questions for the next few days ;)17:24
*** mgedmin has joined #zope3-dev17:28
* CrippsFX waves to mgedmin 17:30
* mgedmin waves back to CrippsFX17:30
*** naro has quit IRC17:36
*** redir has joined #zope3-dev17:36
*** naro has joined #zope3-dev17:37
*** fcorrea has joined #zope3-dev17:49
*** baijum has quit IRC18:04
*** pcardune has joined #zope3-dev18:21
*** rocky|away is now known as rocky18:29
*** faassen has joined #zope3-dev18:31
*** ignas has quit IRC18:45
edgordonspython: thanks for the pointers. I got it done.18:49
junkafarianbtw wiggy/benji thanks for your help last night18:50
junkafariangot it fixed in the end18:50
junkafariannot really knowing what you are doing to start with never helps18:51
junkafarianonce again philipps book helped a lot18:52
benjijunkafarian: if you figure out how to know what you're doing before you start something, let me know <wink>18:53
*** markusleist has quit IRC18:54
junkafarianbenji: its a long time goal of mine ;)18:55
*** jukart has quit IRC19:05
*** RaFromBRC has joined #zope3-dev19:06
*** projekt01 has left #zope3-dev19:16
*** pcardune has quit IRC19:32
CrippsFXbenji: I don't think there's any hope for any of us in that department :)19:33
*** pcardune has joined #zope3-dev19:36
*** kali67 has joined #zope3-dev19:50
*** marianom has joined #zope3-dev20:01
spythonedgordon: anytime20:07
*** romanofski has quit IRC20:08
*** MrTopf has quit IRC20:17
*** richardkan has quit IRC20:26
*** foxmjay has joined #zope3-dev20:37
*** alecm has joined #zope3-dev20:38
*** gstratton has quit IRC20:43
J1mTheuni, ayt?20:47
J1msrichter, ?20:51
benjispython: shh!  We're playing hide-and-seek with J1m.20:58
* benji sneaks behind a shrub.21:00
* spython closes his eyes21:01
spythonI'm unvisible!21:01
* benji makes a mental note to not pick spython to be on his team next time.21:02
*** MJ has quit IRC21:03
*** naro has left #zope3-dev21:06
*** Jell-O-Fishi has joined #zope3-dev21:06
*** mgedmin has quit IRC21:18
*** fcorrea has quit IRC21:20
srichterJ1m: I am here now21:20
J1mI was going to ask you about the test failure in buddydemo.21:20
J1mI decided to ignore it. :/21:20
spythonsrichter: op some guys, you're making me nervous ;)21:21
*** junkafarian has left #zope3-dev21:23
*** tarek_ has joined #zope3-dev21:26
*** tarek has quit IRC21:27
*** tarek_ has quit IRC21:33
*** kleist has left #zope3-dev21:37
*** MrTopf has joined #zope3-dev21:46
CrippsFXI have a template file located here: ... when I try to view an object using this template I get a page that is completely blank except for the info, but I want a view under the ZMI ... what appears to be happening is that zope isn't parsing the metal tags. I was wondering if somebody could take a look and let me know what's wrong with my template.21:46
spythonagh! yellow on white21:50
spythonCrippsFX: hmm21:51
*** Newfie2007 has quit IRC21:52
spythonwhy aren't you putting the namespace stuff in<html>?21:53
spythonand add <head> <body> stuff21:53
* spython likes stuff21:54
CrippsFXspython: because I shouldn't have to for something that's only going to be a view.22:00
CrippsFXI have another page template that has all the xmlns stuff in a <div> and it works fine.22:00
spythonok! then I don't know :)22:01
CrippsFXdamn :P22:01
*** foxmjay has quit IRC22:02
*** sm has joined #zope3-dev22:05
*** junkafarian has joined #zope3-dev22:05
spythonwow, i need a new mouse.. the pointer occasionaly decides to go insane for around 5 secs and the returning to normal22:08
CrippsFXspython: screw the mouse ... get a wacom tablet ;)22:08
CrippsFXmuch easier on the wrist, so I've heard.22:08
* spython remembers the old trusty mice with a ball22:09
spythonyeah, i got a penlike mouse some years ago and it was very easy on the wrist22:10
spythonbut it just stopped working after a year22:10
CrippsFXhm. That sucks.22:11
spythonsometimes i wonder if manufacturers deliberatly puts self destroying mechanisms in their product, conveniently triggered the day after warranty expires22:11
CrippsFXspython: hahaha ... check this out ... in my template, I was using     xmlns:metal=""  where it should have been xmlns:metal=""22:12
CrippsFXspython: with some manufacturers, I wouldn't be surprised ;)22:12
CrippsFXbut what you said just convinced me to buy a genuine wacom instead of a cheaper *imitation*22:12
spythonah, ok.. I always copy paste the namespace stuff.. never remember how to write them22:13
spythonthe pen mouse was nice, but you don't fully get the precision of a regular mouse.. but for surf/irc/mail it's great22:15
spythonhorrible with games obviously :)22:15
CrippsFXhahaha. Yeah ... I guess that only matters if you play games ;)22:17
*** dunny has joined #zope3-dev22:17
CrippsFXcheck this out ... now I have the namespace stuff correct, but I'm getting a traceback ... seems like the talinterpreter isn't liking something, but the error isn't very informative *to me* ... I need help decoding it ;)22:19
CrippsFXoh yeah ... error's located here:   :)22:19
*** foxmjay has joined #zope3-dev22:23
*** lucielejard has joined #zope3-dev22:24
*** romanofski has joined #zope3-dev22:26
*** netshade_ has joined #zope3-dev22:29
*** netshade_ has quit IRC22:29
edgordonanyone else ever have trouble with Five views failing by just not showing up? I never have this trouble in z3, but w/ Five it seems like I get no feedback but 404 errors22:31
*** whit has joined #zope3-dev22:31
*** jodok has quit IRC22:35
*** netshade has quit IRC22:35
*** dunny has quit IRC22:35
*** danfairs has joined #zope3-dev22:37
*** danfairs has quit IRC22:37
*** whit has quit IRC22:38
*** jsadjohnson has quit IRC22:46
RaFromBRCedgordon: i've found that usually means that the view object is failing during construction... usually in the __init__ method22:50
*** jodok has joined #zope3-dev22:51
edgordonok. so frustrating though22:51
edgordonno problems on the commandline either22:51
RaFromBRCedgordon: yup.  it used to be a  lot worse, where ANY error in a view just showed up as a 40422:51
RaFromBRCif you put a pdb in the __init__ of your view class you can probably figure out what's going on pretty easily, though22:52
edgordonyeah, some logging would be nice at least22:52
*** jodok has quit IRC22:52
edgordonoh, good idea22:52
*** foxmjay has quit IRC23:01
*** mkerrin has quit IRC23:03
CrippsFXso, what *precisely* causes this error: Warning: zope.tal.taldefs.METALError: macro u'context/@@standard_macros/view' has incompatible mode 'html', at line 2, column 1    ?23:05
*** markusleist has joined #zope3-dev23:06
CrippsFX... well ...if somebody answers, I'll check the irclogs in the morning ... for now though, I'm going home.23:08
instantfoohi, any suggestions/guidelines how to effectively sort/filter the result from a catalog search?23:18
instantfoouse case example.. say i want to sort the search results from the worldcookery app by creation date..23:19
*** d2m has quit IRC23:29
*** pbugni has quit IRC23:29
*** greenman has joined #zope3-dev23:40
*** jinty has joined #zope3-dev23:42
*** jinty has quit IRC23:42
*** romanofski has quit IRC23:53

Generated by 2.15.1 by Marius Gedminas - find it at!