*** sm has quit IRC | 00:02 | |
wiggy | you're doing trial-and-error programming | 00:02 |
---|---|---|
wiggy | just look at existing code to see what it does | 00:02 |
junkafarian | i have no codebase to check | 00:02 |
junkafarian | ive got a template that references the standard ZMI | 00:03 |
wiggy | svn.zope.org has lots and lots of code | 00:03 |
junkafarian | and that calls "views/standard_macros/view" | 00:04 |
junkafarian | which i assume is referencing a zope module placed on the python path? | 00:04 |
junkafarian | wiggy: i dont like trial-and-error programming :P | 00:05 |
junkafarian | its usually my last resort | 00:05 |
*** sm has joined #zope3-dev | 00:07 | |
*** junkafarian has quit IRC | 00:17 | |
*** tarek has quit IRC | 00:28 | |
*** danfairs has quit IRC | 00:29 | |
*** gumpa has quit IRC | 00:31 | |
*** norro has quit IRC | 00:32 | |
*** pcardune has quit IRC | 00:32 | |
*** benji has quit IRC | 00:33 | |
*** timte has quit IRC | 00:33 | |
*** jsadjohnson has quit IRC | 00:37 | |
*** nerdalert has quit IRC | 00:47 | |
*** ccomb has left #zope3-dev | 00:56 | |
*** b52laptop has joined #zope3-dev | 01:00 | |
*** jsadjohnson has joined #zope3-dev | 01:03 | |
*** kali67 has joined #zope3-dev | 01:11 | |
*** J1m has quit IRC | 01:27 | |
*** b52laptop has quit IRC | 01:37 | |
*** pcardune has joined #zope3-dev | 01:39 | |
*** J1m has joined #zope3-dev | 01:45 | |
*** J1m has quit IRC | 01:46 | |
*** J1m has joined #zope3-dev | 01:46 | |
*** J1m has joined #zope3-dev | 01:47 | |
*** alecm_ has quit IRC | 01:51 | |
*** alecm has joined #zope3-dev | 01:51 | |
pcardune | philiKON_: are you around? I have a zopeproject question | 01:52 |
*** J1m has quit IRC | 01:54 | |
*** J1m has joined #zope3-dev | 01:54 | |
*** J1m has quit IRC | 01:54 | |
*** J1m has joined #zope3-dev | 01:55 | |
*** tarek has joined #zope3-dev | 01:55 | |
*** J1m has quit IRC | 01:57 | |
*** sm has quit IRC | 01:58 | |
*** J1m has joined #zope3-dev | 01:59 | |
*** fcorrea has quit IRC | 02:02 | |
*** J1m has joined #zope3-dev | 02:02 | |
*** sm has joined #zope3-dev | 02:03 | |
*** J1m has quit IRC | 02:04 | |
*** redir has quit IRC | 02:13 | |
*** greenman has quit IRC | 02:18 | |
*** jsadjohnson has quit IRC | 02:18 | |
*** tjs has left #zope3-dev | 02:20 | |
*** greenman has joined #zope3-dev | 02:32 | |
*** rcrafton has quit IRC | 02:44 | |
*** lmiller has joined #zope3-dev | 02:46 | |
*** dunny has joined #zope3-dev | 02:59 | |
*** run|home has quit IRC | 02:59 | |
*** jbb666 has joined #zope3-dev | 02:59 | |
*** b52laptop has joined #zope3-dev | 02:59 | |
*** mrevoir has joined #zope3-dev | 03:04 | |
*** niemeyer has quit IRC | 03:29 | |
*** edgordon has quit IRC | 03:46 | |
*** edgordon has joined #zope3-dev | 03:47 | |
*** zez_zez has joined #zope3-dev | 04:03 | |
*** RaFromBRC has quit IRC | 04:04 | |
*** b52laptop has quit IRC | 04:09 | |
*** rcrafton has joined #zope3-dev | 04:11 | |
*** pbugni has quit IRC | 04:17 | |
*** alecm has quit IRC | 04:17 | |
*** zez_zez has quit IRC | 04:27 | |
*** arroda has joined #zope3-dev | 04:30 | |
*** arroda has left #zope3-dev | 04:30 | |
*** kali67 has quit IRC | 04:33 | |
*** netshade has quit IRC | 04:44 | |
*** whit has joined #zope3-dev | 05:04 | |
*** philiKON_ has quit IRC | 05:13 | |
*** whit has quit IRC | 05:16 | |
*** edgordon has quit IRC | 05:30 | |
*** edgordon has joined #zope3-dev | 05:33 | |
*** jsadjohnson has joined #zope3-dev | 06:10 | |
*** kleist has joined #zope3-dev | 06:16 | |
*** jbb666 has quit IRC | 06:19 | |
*** mrevoir has quit IRC | 06:24 | |
*** greenman has quit IRC | 06:26 | |
*** kleist has quit IRC | 06:41 | |
*** stub has joined #zope3-dev | 06:50 | |
*** deo has quit IRC | 06:51 | |
*** marianom has left #zope3-dev | 06:56 | |
*** greenman has joined #zope3-dev | 07:01 | |
*** philiKON has joined #zope3-dev | 07:01 | |
edgordon | when 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-dev | 07:05 | |
*** jsadjohnson has quit IRC | 07:22 | |
*** natea|away has joined #zope3-dev | 07:25 | |
*** pcardune has quit IRC | 07:36 | |
*** rcrafton has quit IRC | 07:38 | |
*** natea|away has quit IRC | 07:42 | |
*** kleist has joined #zope3-dev | 07:50 | |
lmiller | edgordon: If you define an addform that should let you set attrs before adding | 07:50 |
*** baijum has joined #zope3-dev | 07:52 | |
*** natea|away has joined #zope3-dev | 07:52 | |
*** kali67 has joined #zope3-dev | 08:06 | |
*** natea|away has quit IRC | 08:11 | |
*** natea|away has joined #zope3-dev | 08:23 | |
*** naro has joined #zope3-dev | 08:27 | |
*** sorin has joined #zope3-dev | 08:38 | |
*** dobee has joined #zope3-dev | 08:38 | |
*** sorin is now known as sorindregan | 08:38 | |
*** yvl has joined #zope3-dev | 08:38 | |
*** greenman has quit IRC | 08:47 | |
*** natea|away has quit IRC | 08:53 | |
*** stub has quit IRC | 08:56 | |
*** jodok has quit IRC | 09:07 | |
*** timte has joined #zope3-dev | 09:07 | |
*** cursor has joined #zope3-dev | 09:08 | |
*** philiKON has quit IRC | 09:15 | |
*** jodok has joined #zope3-dev | 09:18 | |
*** ghendi has joined #zope3-dev | 09:20 | |
*** jukart has joined #zope3-dev | 09:21 | |
*** Aiste has quit IRC | 09:25 | |
*** kali67 has quit IRC | 09:28 | |
*** dunny has quit IRC | 09:29 | |
*** afd_ has quit IRC | 09:29 | |
*** d2m has joined #zope3-dev | 09:43 | |
*** romanofski has joined #zope3-dev | 09:57 | |
*** afd_ has joined #zope3-dev | 09:58 | |
*** goschtl has joined #zope3-dev | 10:18 | |
*** Aiste has joined #zope3-dev | 10:28 | |
*** baijum has quit IRC | 10:32 | |
*** baijum has joined #zope3-dev | 10:33 | |
*** greenman has joined #zope3-dev | 10:35 | |
*** stub has joined #zope3-dev | 10:35 | |
*** jfroche has joined #zope3-dev | 10:36 | |
timte | Is it ok for a browser view to "return open(filepath, 'r')" or are files never closed? | 10:38 |
zagy | files are closed when the object is disposed | 10:40 |
zagy | so it would be ok | 10:41 |
timte | great | 10:41 |
*** jinty has joined #zope3-dev | 11:01 | |
*** Aiste has quit IRC | 11:02 | |
*** norro has joined #zope3-dev | 11:06 | |
*** dobee has left #zope3-dev | 11:09 | |
*** junkafarian has joined #zope3-dev | 11:25 | |
*** ignas has joined #zope3-dev | 11:37 | |
*** markusleist has quit IRC | 11:47 | |
jap | any zc.buildout gurus here? | 11:53 |
*** jinty has quit IRC | 11:54 | |
wiggy | jap! | 11:54 |
jap | wig! ;) | 11:55 |
wiggy | jap: what's up with zc.buildout? | 11:55 |
jap | i'm working on an app which needs lxml and installs that during buildout | 11:56 |
jap | however, it's linking lxml to libxml in /opt instead of the one in /usr | 11:56 |
wiggy | there is a plone.recipe.lxml recipe that builds lxml | 11:57 |
jap | which i do not want | 11:57 |
jap | hm, time to check that out | 11:57 |
wiggy | that will try to build libxml2 and libxslt if needed as well | 11:57 |
jap | yep, i see | 11:57 |
jap | let's try that | 11:58 |
wiggy | there's a growing amount of useful plone.recipe.* stuff | 11:58 |
wiggy | cheeseshop can find them all | 11:58 |
jap | something's building, time for some coffee | 12:06 |
*** richardkan has joined #zope3-dev | 12:08 | |
*** markusleist has joined #zope3-dev | 12:10 | |
*** jinty has joined #zope3-dev | 12:17 | |
*** jinty has quit IRC | 12:21 | |
jap | great, that seems to work | 12:24 |
jap | now, for extra bonuspoints, is it possible to share that lxml between multiple buildouts? | 12:24 |
wiggy | the recipe doesn't support that | 12:25 |
jap | hm, bummer | 12:25 |
*** MrTopf has joined #zope3-dev | 12:31 | |
*** dunny has joined #zope3-dev | 12:42 | |
*** jinty has joined #zope3-dev | 12:57 | |
*** ignas has quit IRC | 12:59 | |
*** ignas has joined #zope3-dev | 12:59 | |
*** mkerrin has joined #zope3-dev | 13:01 | |
*** jodok has quit IRC | 13:08 | |
*** grahamstratton has joined #zope3-dev | 13:10 | |
*** jinty has quit IRC | 13:13 | |
*** spython has joined #zope3-dev | 13:14 | |
*** Aiste has joined #zope3-dev | 13:17 | |
wiggy | hah, I just got confirmation that I have my first zope3 customer | 13:19 |
*** b52laptop has joined #zope3-dev | 13:20 | |
timte | cool | 13:21 |
timte | are you self employed? | 13:21 |
wiggy | yes | 13:22 |
jap | nice | 13:22 |
timte | wiggy: do you have time for another customer? :) | 13:22 |
wiggy | not this week | 13:22 |
* wiggy needs to get plone 3 out as well | 13:23 | |
jap | this week? ;) | 13:23 |
wiggy | tagging the whole thing on friday, installers over the weekend, press release and official stuff on tuesday | 13:23 |
*** jinty has joined #zope3-dev | 13:23 | |
jap | hm, cool | 13:25 |
wiggy | very, developing with it is so much nicer than 2.5 | 13:27 |
*** jinty has quit IRC | 13:43 | |
*** dunny has quit IRC | 13:44 | |
*** netshade has joined #zope3-dev | 14:06 | |
*** baijum has quit IRC | 14:07 | |
*** baijum has joined #zope3-dev | 14:16 | |
wiggy | how do grokproject and zopeproject relate? | 14:18 |
*** afd has joined #zope3-dev | 14:18 | |
*** Newfie2007 has joined #zope3-dev | 14:20 | |
grahamstratton | I believe zopeproject allows you to use Zope as a library instead of a framework | 14:20 |
grahamstratton | So zopeproject will generate a sort of scaffolding for your zope app | 14:20 |
grahamstratton | grokproject builds on it to do the same for Grok apps | 14:21 |
grahamstratton | But I haven't played with either... | 14:21 |
*** Aiste has quit IRC | 14:22 | |
*** MJ has joined #zope3-dev | 14:22 | |
*** rcrafton has joined #zope3-dev | 15:00 | |
*** netshade has quit IRC | 15:21 | |
*** niemeyer has joined #zope3-dev | 15:37 | |
*** jsadjohnson has joined #zope3-dev | 15:46 | |
*** jodok has joined #zope3-dev | 15:46 | |
*** benji has joined #zope3-dev | 15:56 | |
*** projekt01 has joined #zope3-dev | 15:56 | |
*** yvl has quit IRC | 16:04 | |
*** netshade has joined #zope3-dev | 16:08 | |
*** J1m has joined #zope3-dev | 16:14 | |
*** afd has quit IRC | 16:14 | |
*** redir has joined #zope3-dev | 16:19 | |
*** cursor has quit IRC | 16:24 | |
*** greenman has quit IRC | 16:25 | |
*** sm has quit IRC | 16:31 | |
*** redir has quit IRC | 16:36 | |
edgordon | i 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 IRC | 16:44 | |
spython | edgordon: hmm, the add-button below the listing submits to @@contents.. but add via the addmenu submits to @@+ | 16:49 |
spython | if I'm not mistaken | 16:50 |
*** grahamstratton has left #zope3-dev | 16:50 | |
edgordon | oh 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 having | 16:51 |
*** gstratton has joined #zope3-dev | 16:51 | |
*** ghendi has quit IRC | 16:53 | |
*** nerdalert has joined #zope3-dev | 16:54 | |
spython | edgordon: you could check zope/app/container/browser/contents.py to see how it works | 16:54 |
*** sorindregan has quit IRC | 16:56 | |
spython | search for container_add_button, addObject, hasAdding.. might find some valuable info | 16:57 |
*** MJ has joined #zope3-dev | 16:57 | |
spython | just giving you pointers here :) | 16:57 |
spython | search in that .py-file that is.. | 16:58 |
edgordon | spython: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 that | 17:00 |
*** CrippsFX has joined #zope3-dev | 17:21 | |
CrippsFX | hello room. Did everybody miss me? | 17:21 |
edgordon | yep | 17:22 |
spython | a little.. | 17:23 |
CrippsFX | haha. aww, how sweet. | 17:23 |
CrippsFX | so ... 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-dev | 17:28 | |
* CrippsFX waves to mgedmin | 17:30 | |
* mgedmin waves back to CrippsFX | 17:30 | |
CrippsFX | :) | 17:30 |
*** naro has quit IRC | 17:36 | |
*** redir has joined #zope3-dev | 17:36 | |
*** naro has joined #zope3-dev | 17:37 | |
*** fcorrea has joined #zope3-dev | 17:49 | |
*** baijum has quit IRC | 18:04 | |
*** pcardune has joined #zope3-dev | 18:21 | |
*** rocky|away is now known as rocky | 18:29 | |
*** faassen has joined #zope3-dev | 18:31 | |
*** ignas has quit IRC | 18:45 | |
edgordon | spython: thanks for the pointers. I got it done. | 18:49 |
junkafarian | btw wiggy/benji thanks for your help last night | 18:50 |
junkafarian | got it fixed in the end | 18:50 |
benji | cool | 18:50 |
junkafarian | not really knowing what you are doing to start with never helps | 18:51 |
junkafarian | once again philipps book helped a lot | 18:52 |
benji | junkafarian: if you figure out how to know what you're doing before you start something, let me know <wink> | 18:53 |
*** markusleist has quit IRC | 18:54 | |
junkafarian | benji: its a long time goal of mine ;) | 18:55 |
*** jukart has quit IRC | 19:05 | |
*** RaFromBRC has joined #zope3-dev | 19:06 | |
*** projekt01 has left #zope3-dev | 19:16 | |
*** pcardune has quit IRC | 19:32 | |
CrippsFX | benji: I don't think there's any hope for any of us in that department :) | 19:33 |
*** pcardune has joined #zope3-dev | 19:36 | |
*** kali67 has joined #zope3-dev | 19:50 | |
benji | heh | 19:54 |
*** marianom has joined #zope3-dev | 20:01 | |
spython | edgordon: anytime | 20:07 |
*** romanofski has quit IRC | 20:08 | |
*** MrTopf has quit IRC | 20:17 | |
*** richardkan has quit IRC | 20:26 | |
*** foxmjay has joined #zope3-dev | 20:37 | |
*** alecm has joined #zope3-dev | 20:38 | |
*** gstratton has quit IRC | 20:43 | |
J1m | Theuni, ayt? | 20:47 |
J1m | srichter, ? | 20:51 |
spython | allllright | 20:53 |
benji | spython: shh! We're playing hide-and-seek with J1m. | 20:58 |
* benji sneaks behind a shrub. | 21:00 | |
* spython closes his eyes | 21:01 | |
spython | I'm unvisible! | 21:01 |
* benji makes a mental note to not pick spython to be on his team next time. | 21:02 | |
spython | :D | 21:02 |
*** MJ has quit IRC | 21:03 | |
*** naro has left #zope3-dev | 21:06 | |
*** Jell-O-Fishi has joined #zope3-dev | 21:06 | |
*** mgedmin has quit IRC | 21:18 | |
*** fcorrea has quit IRC | 21:20 | |
srichter | J1m: I am here now | 21:20 |
J1m | I was going to ask you about the test failure in buddydemo. | 21:20 |
J1m | I decided to ignore it. :/ | 21:20 |
srichter | ok | 21:20 |
spython | srichter: op some guys, you're making me nervous ;) | 21:21 |
*** junkafarian has left #zope3-dev | 21:23 | |
*** tarek_ has joined #zope3-dev | 21:26 | |
*** tarek has quit IRC | 21:27 | |
*** tarek_ has quit IRC | 21:33 | |
*** kleist has left #zope3-dev | 21:37 | |
*** MrTopf has joined #zope3-dev | 21:46 | |
CrippsFX | I have a template file located here: http://www.pastebin.ca/657262 ... 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 |
spython | agh! yellow on white | 21:50 |
spython | CrippsFX: hmm | 21:51 |
*** Newfie2007 has quit IRC | 21:52 | |
spython | why aren't you putting the namespace stuff in<html>? | 21:53 |
spython | and add <head> <body> stuff | 21:53 |
* spython likes stuff | 21:54 | |
CrippsFX | spython: because I shouldn't have to for something that's only going to be a view. | 22:00 |
CrippsFX | I have another page template that has all the xmlns stuff in a <div> and it works fine. | 22:00 |
spython | ok! then I don't know :) | 22:01 |
CrippsFX | damn :P | 22:01 |
*** foxmjay has quit IRC | 22:02 | |
*** sm has joined #zope3-dev | 22:05 | |
*** junkafarian has joined #zope3-dev | 22:05 | |
spython | wow, i need a new mouse.. the pointer occasionaly decides to go insane for around 5 secs and the returning to normal | 22:08 |
CrippsFX | spython: screw the mouse ... get a wacom tablet ;) | 22:08 |
CrippsFX | much easier on the wrist, so I've heard. | 22:08 |
* spython remembers the old trusty mice with a ball | 22:09 | |
CrippsFX | hahaha. | 22:09 |
spython | yeah, i got a penlike mouse some years ago and it was very easy on the wrist | 22:10 |
spython | but it just stopped working after a year | 22:10 |
CrippsFX | hm. That sucks. | 22:11 |
spython | sometimes i wonder if manufacturers deliberatly puts self destroying mechanisms in their product, conveniently triggered the day after warranty expires | 22:11 |
CrippsFX | spython: hahaha ... check this out ... in my template, I was using xmlns:metal="http://xml.namespaces.zope.org/metal" where it should have been xmlns:metal="http://xml.zope.org/namespaces/metal" | 22:12 |
CrippsFX | spython: with some manufacturers, I wouldn't be surprised ;) | 22:12 |
CrippsFX | but what you said just convinced me to buy a genuine wacom instead of a cheaper *imitation* | 22:12 |
spython | ah, ok.. I always copy paste the namespace stuff.. never remember how to write them | 22:13 |
spython | the pen mouse was nice, but you don't fully get the precision of a regular mouse.. but for surf/irc/mail it's great | 22:15 |
spython | horrible with games obviously :) | 22:15 |
CrippsFX | hahaha. Yeah ... I guess that only matters if you play games ;) | 22:17 |
*** dunny has joined #zope3-dev | 22:17 | |
CrippsFX | check 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 |
CrippsFX | oh yeah ... error's located here: http://www.pastebin.ca/657310 :) | 22:19 |
*** foxmjay has joined #zope3-dev | 22:23 | |
*** lucielejard has joined #zope3-dev | 22:24 | |
*** romanofski has joined #zope3-dev | 22:26 | |
*** netshade_ has joined #zope3-dev | 22:29 | |
*** netshade_ has quit IRC | 22:29 | |
edgordon | anyone 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 errors | 22:31 |
*** whit has joined #zope3-dev | 22:31 | |
*** jodok has quit IRC | 22:35 | |
*** netshade has quit IRC | 22:35 | |
*** dunny has quit IRC | 22:35 | |
*** danfairs has joined #zope3-dev | 22:37 | |
*** danfairs has quit IRC | 22:37 | |
*** whit has quit IRC | 22:38 | |
*** jsadjohnson has quit IRC | 22:46 | |
RaFromBRC | edgordon: i've found that usually means that the view object is failing during construction... usually in the __init__ method | 22:50 |
*** jodok has joined #zope3-dev | 22:51 | |
edgordon | ok. so frustrating though | 22:51 |
edgordon | no problems on the commandline either | 22:51 |
RaFromBRC | edgordon: yup. it used to be a lot worse, where ANY error in a view just showed up as a 404 | 22:51 |
RaFromBRC | if you put a pdb in the __init__ of your view class you can probably figure out what's going on pretty easily, though | 22:52 |
edgordon | yeah, some logging would be nice at least | 22:52 |
*** jodok has quit IRC | 22:52 | |
edgordon | oh, good idea | 22:52 |
*** foxmjay has quit IRC | 23:01 | |
*** mkerrin has quit IRC | 23:03 | |
CrippsFX | so, 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-dev | 23:06 | |
CrippsFX | ... well ...if somebody answers, I'll check the irclogs in the morning ... for now though, I'm going home. | 23:08 |
instantfoo | hi, any suggestions/guidelines how to effectively sort/filter the result from a catalog search? | 23:18 |
instantfoo | use case example.. say i want to sort the search results from the worldcookery app by creation date.. | 23:19 |
*** d2m has quit IRC | 23:29 | |
*** pbugni has quit IRC | 23:29 | |
*** greenman has joined #zope3-dev | 23:40 | |
*** jinty has joined #zope3-dev | 23:42 | |
*** jinty has quit IRC | 23:42 | |
*** romanofski has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!