| *** redir has quit IRC | 00:07 | |
| *** jukart has quit IRC | 00:11 | |
| *** ccomb has quit IRC | 00:13 | |
| *** vimes656_ has joined #zope3-dev | 00:14 | |
| *** nathany has quit IRC | 00:24 | |
| *** ccomb has joined #zope3-dev | 00:25 | |
| *** vimes656 has quit IRC | 00:31 | |
| *** greenman has joined #zope3-dev | 00:39 | |
| *** norro has quit IRC | 00:47 | |
| *** tarek has quit IRC | 00:56 | |
| *** dbfrombrc has quit IRC | 00:57 | |
| *** jhauser has quit IRC | 01:07 | |
| *** dbfrombrc has joined #zope3-dev | 01:13 | |
| *** yota has quit IRC | 01:19 | |
| *** timte has quit IRC | 01:31 | |
| *** vimes656_ has quit IRC | 01:37 | |
| *** flox has left #zope3-dev | 01:38 | |
| *** lurkymclurkleton has quit IRC | 01:39 | |
| *** nathany has joined #zope3-dev | 01:42 | |
| *** J1m has quit IRC | 01:43 | |
| *** MrTopf has quit IRC | 01:48 | |
| *** lucielejard has quit IRC | 01:51 | |
| *** tarek has joined #zope3-dev | 02:00 | |
| *** supton has joined #zope3-dev | 02:01 | |
| *** sp0cksbeard has quit IRC | 02:02 | |
| *** tarek has quit IRC | 02:03 | |
| *** benji has quit IRC | 02:09 | |
| *** jodok has quit IRC | 02:14 | |
| *** dbfrombrc has quit IRC | 02:17 | |
| *** greenman has quit IRC | 02:17 | |
| *** fcorrea has quit IRC | 02:17 | |
| *** hazmat has quit IRC | 02:17 | |
| *** acsr has quit IRC | 02:17 | |
| *** rcrafton_ has quit IRC | 02:17 | |
| *** philiKON has quit IRC | 02:17 | |
| *** wolfe has quit IRC | 02:17 | |
| *** tlotze has quit IRC | 02:17 | |
| *** hazmat has joined #zope3-dev | 02:17 | |
| *** dbfrombrc has joined #zope3-dev | 02:17 | |
| *** greenman has joined #zope3-dev | 02:17 | |
| *** rcrafton_ has joined #zope3-dev | 02:17 | |
| *** fcorrea has joined #zope3-dev | 02:17 | |
| *** philiKON has joined #zope3-dev | 02:17 | |
| *** wolfe has joined #zope3-dev | 02:17 | |
| *** acsr has joined #zope3-dev | 02:17 | |
| *** tlotze has joined #zope3-dev | 02:17 | |
| *** irc.freenode.net sets mode: +o hazmat | 02:17 | |
| *** aclark|away is now known as aclark | 02:29 | |
| *** sm has joined #zope3-dev | 02:30 | |
| *** whit has quit IRC | 02:32 | |
| *** aclark is now known as aclark|dinner | 02:32 | |
| *** nathany has quit IRC | 02:37 | |
| *** gberdyshev_ has quit IRC | 02:38 | |
| *** gberdyshev_ has joined #zope3-dev | 02:39 | |
| *** bigkevmcd has quit IRC | 02:46 | |
| *** bigkevmcd has joined #zope3-dev | 02:46 | |
| *** tdoggette has quit IRC | 02:49 | |
| *** b52lap has quit IRC | 02:51 | |
| *** supton has quit IRC | 03:00 | |
| *** jsadjohnson has quit IRC | 03:05 | |
| *** aclark|dinner is now known as aclark | 03:07 | |
| *** rcrafton has joined #zope3-dev | 03:20 | |
| *** rcrafton_ has quit IRC | 03:36 | |
| *** srichter has quit IRC | 03:38 | |
| *** greenman has quit IRC | 03:39 | |
| *** rmarianski has quit IRC | 04:21 | |
| *** quodt has quit IRC | 04:39 | |
| *** georgyberdyshev has joined #zope3-dev | 04:39 | |
| *** gberdyshev_ has quit IRC | 04:39 | |
| *** georgyberdyshev is now known as gberdyshev_ | 04:39 | |
| *** aaronv has joined #zope3-dev | 04:42 | |
| *** aclark is now known as aclark|away | 04:44 | |
| *** fairwinds has quit IRC | 04:51 | |
| *** whit has joined #zope3-dev | 04:52 | |
| *** sm has quit IRC | 05:12 | |
| *** sm has joined #zope3-dev | 05:13 | |
| *** rmarianski has joined #zope3-dev | 05:21 | |
| *** greenman has joined #zope3-dev | 05:21 | |
| *** tdoggette has joined #zope3-dev | 05:24 | |
| *** sm has quit IRC | 05:29 | |
| *** whit has quit IRC | 05:45 | |
| *** aaronv has quit IRC | 05:47 | |
| *** sm has joined #zope3-dev | 06:38 | |
| *** afd_ has joined #zope3-dev | 06:39 | |
| *** dbfrombrc has quit IRC | 06:43 | |
| *** ateoh211 has joined #zope3-dev | 06:46 | |
| ateoh211 | this might be the be the better place to ask my question | 06:47 |
|---|---|---|
| ateoh211 | using five 1.4 / plone 2.5 / and jpye (yikes) | 06:47 |
| ateoh211 | jpype I mean | 06:48 |
| ateoh211 | so - integrating java w/ python w/ zope | 06:48 |
| ateoh211 | I'm basically ashamed to ask about this because we all know that java suKKs and python RULZ! | 06:50 |
| ateoh211 | but, if anyone here has used jpype and experienced the error ' No matching overloads found. at src/native/common/jp_method.cpp:121' and can tell me about it, I'd love to know | 06:51 |
| ateoh211 | basically, the code runs from the CLI no problem, if I make a persistent object, the jvm memory runs out after 15-20,000 requests of that object, if I make a browser view or a utility, I get the No matching overloads error | 06:53 |
| *** afd__ has joined #zope3-dev | 06:53 | |
| ateoh211 | if it looks familier and rings bells, please respond --- if you think I'm lame for trying to use some java stuff w/ zope just know it's not my choice :-) | 06:54 |
| *** afd_ has quit IRC | 06:55 | |
| *** binseer has joined #zope3-dev | 06:58 | |
| *** rmarianski has quit IRC | 07:00 | |
| *** greenman has quit IRC | 07:19 | |
| *** stub has joined #zope3-dev | 07:35 | |
| *** vimes656 has joined #zope3-dev | 08:04 | |
| *** mcdonc has quit IRC | 08:09 | |
| *** vimes656 has quit IRC | 08:13 | |
| *** vimes656 has joined #zope3-dev | 08:14 | |
| *** afd__ has quit IRC | 08:18 | |
| *** ateoh211 is now known as ateoh211| | 08:33 | |
| *** ateoh211| is now known as ateoh211|jpype | 08:34 | |
| *** sm has quit IRC | 08:42 | |
| *** mintsauce has joined #zope3-dev | 08:47 | |
| *** zagy has quit IRC | 08:54 | |
| *** timte has joined #zope3-dev | 08:58 | |
| *** jayaraj has joined #zope3-dev | 08:58 | |
| *** timte has quit IRC | 09:00 | |
| *** timte has joined #zope3-dev | 09:00 | |
| *** afd__ has joined #zope3-dev | 09:01 | |
| *** jukart has joined #zope3-dev | 09:03 | |
| *** dobee has joined #zope3-dev | 09:04 | |
| *** __mac__ has joined #zope3-dev | 09:05 | |
| *** srichter has joined #zope3-dev | 09:12 | |
| *** jukart has quit IRC | 09:20 | |
| *** jukart has joined #zope3-dev | 09:20 | |
| *** markusleist has joined #zope3-dev | 09:26 | |
| *** zagy has joined #zope3-dev | 09:26 | |
| *** srichter has quit IRC | 09:36 | |
| *** markusleist has quit IRC | 09:39 | |
| *** romanofski has joined #zope3-dev | 09:43 | |
| mintsauce | Working my way through PVW's zope3 book. I can add objects etc fine, but I want to create a custom page to list them all ... I've created a .pt and added it to zcml, but I'm a bit lost where to start with the class. | 09:45 |
| *** flox has joined #zope3-dev | 09:46 | |
| *** rcrafton has quit IRC | 09:51 | |
| *** vimes656 has quit IRC | 09:54 | |
| *** sm has joined #zope3-dev | 09:54 | |
| *** ccomb2 has joined #zope3-dev | 09:56 | |
| *** ccomb2 has quit IRC | 09:57 | |
| *** ccomb_sa has joined #zope3-dev | 09:57 | |
| *** binseer has quit IRC | 10:00 | |
| *** binseer has joined #zope3-dev | 10:03 | |
| *** harobed has joined #zope3-dev | 10:13 | |
| *** jpcw2002 has left #zope3-dev | 10:18 | |
| *** jpcw2002 has joined #zope3-dev | 10:19 | |
| *** jodok has joined #zope3-dev | 10:21 | |
| *** binseer has quit IRC | 10:22 | |
| *** binseer has joined #zope3-dev | 10:24 | |
| *** jodok has quit IRC | 10:26 | |
| *** MJ has joined #zope3-dev | 10:38 | |
| *** georgyberdyshev has joined #zope3-dev | 10:39 | |
| *** gberdyshev_ has quit IRC | 10:39 | |
| *** georgyberdyshev is now known as gberdyshev_ | 10:40 | |
| *** binseer has quit IRC | 10:40 | |
| *** binseer has joined #zope3-dev | 10:42 | |
| *** kursor has joined #zope3-dev | 10:56 | |
| *** malthe has joined #zope3-dev | 11:02 | |
| *** elro has joined #zope3-dev | 11:11 | |
| *** elro has quit IRC | 11:12 | |
| *** kursor has quit IRC | 11:16 | |
| *** quodt has joined #zope3-dev | 11:38 | |
| *** jodok has joined #zope3-dev | 11:38 | |
| *** markusleist has joined #zope3-dev | 11:41 | |
| *** philiKON has quit IRC | 11:44 | |
| *** jodok has quit IRC | 11:52 | |
| *** goschtl has joined #zope3-dev | 11:53 | |
| *** jodok has joined #zope3-dev | 11:53 | |
| *** sm has quit IRC | 12:03 | |
| *** b52laptop has joined #zope3-dev | 12:05 | |
| *** seletz has joined #zope3-dev | 12:07 | |
| mintsauce | anyone using collective.lorem? | 12:08 |
| *** philiKON has joined #zope3-dev | 12:08 | |
| *** junkafarian has joined #zope3-dev | 12:11 | |
| afd__ | mintsauce: did you solve your problem about that page? | 12:11 |
| mintsauce | afd__: sorta, adapted this: http://wiki.zope.org/zope3/Zope3In30Minutes#views - pretty impressed how easy it was, although I cant adapt it to bring in my custom description field .... i get a key error. Is that because it's not in the catalog? | 12:13 |
| afd__ | mintsauce: the catalog only indexes fields for which it is configured to index | 12:14 |
| afd__ | each index in the catalog indexes a specific attribute (or method) from objects | 12:14 |
| afd__ | so, if you want another field indexed, you need to add and configure the index that will do that | 12:14 |
| afd__ | then you'll be able to include that index in the searches | 12:14 |
| afd__ | mintsauce: if you're listing the contents of a folder, you don't need to use the catalog | 12:15 |
| *** junkafarian has quit IRC | 12:15 | |
| afd__ | just treat the folder as a mapping (python dictionary) and iterate through its objects | 12:15 |
| mintsauce | afd__: that's what i thought, but i still get a key error - hang on, let me re-enable to suspect code | 12:15 |
| afd__ | ok | 12:16 |
| mintsauce | KeyError: 'od_description' - od_description is my description field (od_what is my title field, which works fine) | 12:17 |
| afd__ | could you paste on the pastebin the full traceback? | 12:18 |
| mintsauce | afd__: lol, restarted server to get a clean traceback and whatever i've done since has fixed the problem! | 12:20 |
| mintsauce | afd__: thanks for the offer tho :) | 12:20 |
| afd__ | np | 12:20 |
| mintsauce | is this iteration through objects memory intensive? I was reading that it's better to use indexes? | 12:21 |
| afd__ | mintsauce: it depends. It's about "waking up objects". Zope has a fixed cache for the objects that were read from the database and sit now in the memory | 12:22 |
| afd__ | If you want to list the contents of a folder, you'll probably wake up the objects anyway, to read their data (title, size, and so on) | 12:23 |
| afd__ | if you have a filtered view on the folder, then you probably should use the catalog | 12:24 |
| mintsauce | afd__: makes sense. the example in PVW's books is for searches using DC, which i suppose could have a much larger number of hits | 12:24 |
| *** ignas has joined #zope3-dev | 12:25 | |
| *** ignas has joined #zope3-dev | 12:25 | |
| *** mkerrin has joined #zope3-dev | 12:25 | |
| *** thruflo has joined #zope3-dev | 12:37 | |
| *** thruflo is now known as thru|mtg | 12:42 | |
| *** mintsauce has quit IRC | 12:47 | |
| *** aaronv has joined #zope3-dev | 13:14 | |
| *** afd__ has quit IRC | 13:22 | |
| *** brandon_rhodes has joined #zope3-dev | 13:25 | |
| *** regebro has joined #zope3-dev | 13:40 | |
| *** ktwilight_ has joined #zope3-dev | 13:42 | |
| *** mgedmin has joined #zope3-dev | 13:49 | |
| *** ktwilight has quit IRC | 13:55 | |
| *** fairwinds has joined #zope3-dev | 14:02 | |
| *** fairwinds has joined #zope3-dev | 14:08 | |
| *** andres has joined #zope3-dev | 14:17 | |
| *** aaronv has quit IRC | 14:30 | |
| *** yvl has joined #zope3-dev | 14:30 | |
| *** georgyberdyshev has joined #zope3-dev | 14:39 | |
| *** gberdyshev_ has quit IRC | 14:39 | |
| *** georgyberdyshev is now known as gberdyshev_ | 14:39 | |
| *** benji has joined #zope3-dev | 14:40 | |
| *** mintsauce has joined #zope3-dev | 14:42 | |
| *** afd__ has joined #zope3-dev | 14:43 | |
| mintsauce | anyone using gdata.py or any form of google data import with zope? | 14:46 |
| *** jinty has joined #zope3-dev | 14:50 | |
| *** alga has joined #zope3-dev | 15:19 | |
| *** tarek has joined #zope3-dev | 15:21 | |
| *** seletz_ has joined #zope3-dev | 15:24 | |
| *** aclark|away is now known as aclark | 15:24 | |
| *** rcrafton has joined #zope3-dev | 15:29 | |
| *** projekt01 has joined #zope3-dev | 15:30 | |
| *** rcrafton has quit IRC | 15:34 | |
| *** yvl has quit IRC | 15:36 | |
| *** seletz has quit IRC | 15:37 | |
| *** stub has quit IRC | 15:46 | |
| *** sp0cksbeard has joined #zope3-dev | 15:50 | |
| *** brandon_rhodes has quit IRC | 15:50 | |
| *** lurkymclurkleton has joined #zope3-dev | 15:51 | |
| *** ateoh211|jpype has quit IRC | 15:54 | |
| *** jhauser has joined #zope3-dev | 15:55 | |
| *** danielblackburn has joined #zope3-dev | 15:58 | |
| *** aaronv has joined #zope3-dev | 16:01 | |
| *** mintsauce has quit IRC | 16:02 | |
| *** J1m has joined #zope3-dev | 16:13 | |
| *** whit has joined #zope3-dev | 16:14 | |
| *** binseer has left #zope3-dev | 16:16 | |
| *** binseer has joined #zope3-dev | 16:22 | |
| *** alecghica has quit IRC | 16:28 | |
| *** jsadjohnson has joined #zope3-dev | 16:30 | |
| *** thru|mtg is now known as thru|proposal | 16:31 | |
| *** Aiste has joined #zope3-dev | 16:37 | |
| *** georgyberdyshev has joined #zope3-dev | 16:39 | |
| *** gberdyshev_ has quit IRC | 16:39 | |
| *** georgyberdyshev is now known as gberdyshev_ | 16:39 | |
| *** alecghica has joined #zope3-dev | 16:47 | |
| *** fcorrea has quit IRC | 16:52 | |
| *** fcorrea has joined #zope3-dev | 16:52 | |
| *** brandon_rhodes has joined #zope3-dev | 16:57 | |
| *** sm_ has joined #zope3-dev | 17:00 | |
| *** thruflo has joined #zope3-dev | 17:01 | |
| *** dunny has quit IRC | 17:04 | |
| *** tarek has quit IRC | 17:05 | |
| *** tarek has joined #zope3-dev | 17:08 | |
| *** thru|proposal has quit IRC | 17:16 | |
| *** MJ has quit IRC | 17:29 | |
| *** Aiste has quit IRC | 17:32 | |
| *** lucielejard has joined #zope3-dev | 17:36 | |
| *** nathany has joined #zope3-dev | 17:56 | |
| *** danielblackburn_ has joined #zope3-dev | 17:56 | |
| *** nathany has quit IRC | 17:57 | |
| *** mcdonc has joined #zope3-dev | 17:59 | |
| *** jsadjohnson has quit IRC | 18:01 | |
| *** reco has joined #zope3-dev | 18:08 | |
| *** andres_f has joined #zope3-dev | 18:09 | |
| *** srichter has joined #zope3-dev | 18:10 | |
| *** andres has quit IRC | 18:10 | |
| *** danielblackburn has quit IRC | 18:12 | |
| *** goschtl has quit IRC | 18:15 | |
| *** tarek has quit IRC | 18:17 | |
| *** tarek has joined #zope3-dev | 18:18 | |
| *** sm_ is now known as sm | 18:29 | |
| *** lurkymclurkleton has quit IRC | 18:33 | |
| *** lurkymclurkleton has joined #zope3-dev | 18:33 | |
| *** rmarianski has joined #zope3-dev | 18:33 | |
| *** zagy has quit IRC | 18:33 | |
| *** projekt01 has quit IRC | 18:39 | |
| *** tarek has quit IRC | 18:45 | |
| *** reco has quit IRC | 18:48 | |
| *** srichter has quit IRC | 18:50 | |
| *** srichter has joined #zope3-dev | 18:50 | |
| CSWookie | I hate browser:page. | 18:51 |
| *** __mac__ has quit IRC | 18:53 | |
| *** srichter has quit IRC | 18:54 | |
| *** vimes656 has joined #zope3-dev | 18:56 | |
| mgedmin | mhm | 19:05 |
| *** nathany has joined #zope3-dev | 19:12 | |
| *** lucielejard has quit IRC | 19:13 | |
| * philiKON points CSWookie to grokcore.view... define and register views simply in python | 19:14 | |
| philiKON | (it's not released yet, but works) | 19:14 |
| *** reco has joined #zope3-dev | 19:17 | |
| *** jayaraj has quit IRC | 19:18 | |
| *** lucielejard has joined #zope3-dev | 19:19 | |
| *** lucielejard has quit IRC | 19:20 | |
| *** srichter has joined #zope3-dev | 19:21 | |
| *** yotaff has quit IRC | 19:22 | |
| mgedmin | srichter: hi! | 19:24 |
| mgedmin | would you have a spare minute to bump ClientForm to version 0.2.9 in the KGS? | 19:24 |
| mgedmin | or give me a link to a document explaining the KGS update procedure? | 19:24 |
| mgedmin | it's needed to fix https://bugs.launchpad.net/zope3/+bug/243785 | 19:24 |
| *** romanofski has quit IRC | 19:24 | |
| *** reco has quit IRC | 19:25 | |
| srichter | mgedmin: yeah | 19:25 |
| srichter | mgedmin: we need to ask J1m to give and others access tot he directory as well, then you can jsut upload it yourself | 19:25 |
| srichter | the basic steps are | 19:26 |
| srichter | checkout 3.4 branch of zope.release | 19:26 |
| srichter | update the controlled-packages.cfg file | 19:26 |
| philiKON | btw, i wonder why the zope KGS is actually part of the zope.release software tree | 19:26 |
| philiKON | wouldn't it make more sense to maintain this in the Zope3 tree? | 19:27 |
| srichter | then use the provided tools to upload the file and create the tree | 19:27 |
| srichter | for me zope.release represents the Zope 3 tree | 19:27 |
| srichter | I can generate the Zope 3 tree from that or update it at least | 19:27 |
| philiKON | hmm. that feels a bit weird | 19:27 |
| philiKON | to me, zope.release is a piece of software | 19:27 |
| philiKON | it's almost as if a Zope buildout lived inside of zc.buildout | 19:28 |
| *** MrTopf has joined #zope3-dev | 19:28 | |
| mgedmin | isn't it more like a standalone buildout that refers to the software instead of containing it? | 19:28 |
| philiKON | well, that's what i would prefer | 19:28 |
| philiKON | but zope.release cotains both the software (which is generic) and the Zope3 specific version definitions | 19:28 |
| srichter | not true | 19:29 |
| philiKON | it feels to me that they should be separated | 19:29 |
| srichter | zope.kgs contains the software | 19:29 |
| philiKON | ah | 19:29 |
| philiKON | i got that mixed up then | 19:29 |
| *** seletz_ is now known as seletz | 19:29 | |
| philiKON | hmm | 19:29 |
| philiKON | how about renaming zope.release then? | 19:29 |
| philiKON | zope.release sounds like a packag ename ;) | 19:29 |
| srichter | zope.release contains only a few scripts that a very specific of updating the Zope3 tree and othe small bits particularly releated to the Zope 3 release process | 19:30 |
| MrTopf | Hi | 19:30 |
| srichter | the generic KGS code that Grok, Plone and others can use is in zope.kgs | 19:30 |
| *** rocky is now known as rocky|away | 19:30 | |
| philiKON | srichter: that's great to know | 19:30 |
| philiKON | srichter: would it make sense to merge zope.release with the Zope3 tree? | 19:30 |
| srichter | well, the Zope 3 tree might go away at some point, but I would imagine that zope.release survives | 19:31 |
| philiKON | well | 19:31 |
| philiKON | that's the point | 19:31 |
| philiKON | perhaps it wouldn't go away | 19:31 |
| srichter | it would make sense to have a big warning on the Zope3 tree saying: The code is only updated by a bot these days | 19:31 |
| philiKON | or we merge them and say: the fact that you're still getting the software via svn:externals is for legacy | 19:32 |
| philiKON | please execute these scripts | 19:32 |
| philiKON | that pull in the stuff using eggs | 19:32 |
| srichter | I am not feeling strongly either way; just that checking out a Zope 3 tree always takes a lot more time than the small zope.release package | 19:32 |
| philiKON | is it really a package? | 19:32 |
| srichter | mgedmin: I updated the KGS and published it as 3.4.0c2 | 19:33 |
| philiKON | or just a buildout? | 19:33 |
| *** reco has joined #zope3-dev | 19:33 | |
| mgedmin | srichter: thanks! | 19:33 |
| *** acsr has left #zope3-dev | 19:33 | |
| srichter | philiKON: it's a package because it contains a script to update the Zoep3 tree and upload the KGS to download.zope.org | 19:34 |
| philiKON | gotcha | 19:34 |
| srichter | those 2 scripts did not make sense in zope.kgs | 19:34 |
| fcorrea | hello there, is there any reason for z3c.fom to pull up __name__ and __parent__ from an interface and think it is a field? I am prooly doing something stupid here becuse I need to force it to pick the correct fields with select() for add/edit/display | 19:34 |
| mgedmin | fcorrea: your schema probably inherits from IContained | 19:35 |
| srichter | fcorrea: this is not z3c.form specific; simply omit('__parent__', '__name__') | 19:35 |
| *** timte_ has joined #zope3-dev | 19:35 | |
| fcorrea | mgedmin, srichter, gotcha. Thanks! | 19:36 |
| *** timte has quit IRC | 19:39 | |
| *** philiKON has quit IRC | 19:40 | |
| *** lurkymclurkleton has quit IRC | 19:40 | |
| *** lurkymclurkleton has joined #zope3-dev | 19:41 | |
| *** timte_ has quit IRC | 19:42 | |
| srichter | mgedmin: mmh, the batch job has not run yet | 19:43 |
| mgedmin | batch job? | 19:43 |
| srichter | strange, the index got updated | 19:43 |
| srichter | oh yes, different script | 19:43 |
| srichter | there are two cron jobs | 19:43 |
| srichter | one to keep the indeces up-to-date | 19:44 |
| *** timte has joined #zope3-dev | 19:44 | |
| srichter | and another to generate the Web site | 19:44 |
| srichter | http://download.zope.org/zope3.4/intro.html | 19:44 |
| mgedmin | all I know is that zope.testbrowser's buildout.cfg, which refers to .../3.4/versions.cfg, saw the updated ClientForm requirement right away | 19:45 |
| CSWookie | Hmm. Couldn't I do it in Python anyway? Or is grokcore.view a happy convenience? | 19:48 |
| srichter | mgedmin: ok, that script is run every minute | 19:52 |
| *** ignas has quit IRC | 19:56 | |
| *** philiKON has joined #zope3-dev | 20:00 | |
| *** regebro has quit IRC | 20:05 | |
| *** fcorrea has quit IRC | 20:08 | |
| *** timte has quit IRC | 20:11 | |
| *** binseer has quit IRC | 20:11 | |
| *** thruflo has quit IRC | 20:12 | |
| *** timte has joined #zope3-dev | 20:12 | |
| *** fcorrea has joined #zope3-dev | 20:17 | |
| *** RaFromBRC has joined #zope3-dev | 20:18 | |
| srichter | J1m: are you there? | 20:19 |
| J1m | yes | 20:19 |
| srichter | J1m Theuni edited /var/www/download.zope.org/zope3.4/zope.i18nmessageid/ | 20:20 |
| srichter | with his username and his poersonal group | 20:20 |
| srichter | which breaks updating this packge on download.zope.org | 20:20 |
| srichter | can you set the group to zopesvn for me please? | 20:20 |
| J1m | sure' | 20:20 |
| srichter | thx | 20:20 |
| srichter | mgedmin: it looks as if pretty much all Zope SVN users can update the KGS now | 20:21 |
| J1m | done | 20:22 |
| srichter | thx, running the scripts now | 20:22 |
| *** mkerrin has quit IRC | 20:24 | |
| *** timte has quit IRC | 20:35 | |
| *** alga has quit IRC | 20:36 | |
| *** nathany has quit IRC | 20:39 | |
| *** georgyberdyshev has joined #zope3-dev | 20:40 | |
| *** gberdyshev_ has quit IRC | 20:40 | |
| *** georgyberdyshev is now known as gberdyshev_ | 20:40 | |
| *** nathany has joined #zope3-dev | 20:41 | |
| srichter | mgedmin: now 3.4.0c2 is also in the intro page | 20:48 |
| srichter | http://download.zope.org/zope3.4/intro.html | 20:48 |
| *** RaFromBRC has left #zope3-dev | 20:50 | |
| srichter | mgedmin: btw, if you are interested, I can tell you about the process of updating the KGS | 20:50 |
| *** seletz has left #zope3-dev | 20:51 | |
| mgedmin | srichter: I'm potentially interested, but I think I'd be happier with a HOWTO.txt in the repository than a difficult-to-find irc conversation | 20:51 |
| mgedmin | I see there's a README.txt in zope.release | 20:52 |
| *** fcorrea_ has joined #zope3-dev | 20:52 | |
| mgedmin | what I hadn't remembered was to look into the 'zope.release' project in the svn repo | 20:52 |
| mgedmin | I think I knew about it once, but I forgot | 20:52 |
| *** harobed has quit IRC | 21:00 | |
| *** fcorrea has quit IRC | 21:02 | |
| *** jinty has quit IRC | 21:02 | |
| *** baijum has joined #zope3-dev | 21:03 | |
| *** dobee has quit IRC | 21:12 | |
| *** markusleist has quit IRC | 21:13 | |
| *** jodok has quit IRC | 21:13 | |
| *** quodt has quit IRC | 21:16 | |
| *** romanofski has joined #zope3-dev | 21:22 | |
| *** jpcw2002 has quit IRC | 21:24 | |
| *** baijum has left #zope3-dev | 21:25 | |
| *** lucielejard has joined #zope3-dev | 21:26 | |
| *** ranjith has joined #zope3-dev | 21:29 | |
| *** timte has joined #zope3-dev | 21:30 | |
| *** nathany has quit IRC | 21:38 | |
| srichter | mgedmin: ok | 21:38 |
| srichter | the README.txt needs a little bit of updating to explain on how to update the Zope3 tree | 21:39 |
| *** harobed has joined #zope3-dev | 21:39 | |
| srichter | you also do not have to generate the buildout and versions anymore before uplaoding the cfg | 21:39 |
| *** nathany has joined #zope3-dev | 21:41 | |
| *** sm has quit IRC | 21:41 | |
| *** zagy has joined #zope3-dev | 21:47 | |
| *** rocky|away is now known as rocky1 | 21:53 | |
| *** ranjith has quit IRC | 21:53 | |
| *** rocky1 is now known as rocky | 21:53 | |
| *** jodok has joined #zope3-dev | 22:00 | |
| *** quodt has joined #zope3-dev | 22:01 | |
| whit | howdy folks.... is there an easy way to limit file upload size via configuration in zope3 currently? perhaps in zope.conf? | 22:02 |
| * whit is just looking for pointer before digging | 22:02 | |
| srichter | no | 22:02 |
| srichter | at least not that I am aware of | 22:03 |
| whit | srichter: any suggestions on how to handle such a thing? | 22:03 |
| mgedmin | memory leak in zope 3 functional tests: | 22:04 |
| mgedmin | every ftest records the in-memory DB object as a global unnamed IDatabase utility | 22:04 |
| * whit wonders if a wsgi filter that looks at contentlength would be the way to go | 22:04 | |
| srichter | whit: it really depends where you want to make that decision | 22:04 |
| mgedmin | apparently the global adapter registry retains references to all the utilities ever registered for that interface | 22:04 |
| srichter | whit: a wsgi filter would be appropriate, if you simply want to avoid DOS attacks | 22:04 |
| whit | srichter: right... if I want to return a meaningful error, I'd need to percolate that info somehow | 22:05 |
| srichter | whit: if you want to enforce a limit for the user and give nice messages etc you probably have to go into the app | 22:05 |
| srichter | the WSGI filter could also remove the lengthy content and then add a header notifying Zope that the file was too large | 22:06 |
| srichter | this is how z3c.extfile etc do it | 22:06 |
| whit | srichter: yeah, that's what I was thinking | 22:06 |
| srichter | but I think for DOS attacks you want to block on the front-end server side already | 22:06 |
| whit | I actually intended on using z3c.extfile, but the programmer working on this couldn't figure out how to get it working | 22:07 |
| srichter | whit: contact dobee (Bernd) or kartnaller (Juergen) from lovely | 22:07 |
| srichter | I am pretty sure they will help out | 22:07 |
| whit | srichter: I may if I get time.... sort of in the death by 1000 cuts phase of pre-deployment ;) | 22:08 |
| srichter | I hear you; I am on my way to that situation myself | 22:08 |
| srichter | but I have until December ;-) | 22:09 |
| whit | srichter: is that when you guys are launching? | 22:09 |
| srichter | whit: yep | 22:09 |
| whit | srichter: where are you located now? still in boston? | 22:09 |
| srichter | whit: nope, I work downtown SF | 22:10 |
| whit | I thought I remember you saying you were headed to sf ;) | 22:11 |
| * whit misses the bay sometimes | 22:11 | |
| whit | srichter: anyhoo... thanks for the advice and give sf my best :) | 22:11 |
| srichter | I miss MA :-) | 22:11 |
| * whit chuckles | 22:11 | |
| srichter | thx | 22:11 |
| whit | but do you miss memphis? | 22:11 |
| srichter | a little bit :-) | 22:11 |
| whit | man it's hot in TN right now | 22:12 |
| srichter | I really miss the music, especially after talking to someone about it yesterday | 22:12 |
| srichter | I do not miss the heat, racism and religion :-) | 22:12 |
| * benji doesn't miss TN summer. | 22:12 | |
| whit | yeah... no joke | 22:12 |
| * whit adds poverty and poor urban planning to that list | 22:13 | |
| mgedmin | http://mg.pov.lt/db-objects-in-memory.png | 22:13 |
| mgedmin | hm, maybe those aren't utilities | 22:14 |
| mgedmin | _subscribers | 22:14 |
| mgedmin | hm | 22:14 |
| srichter | mgedmin: did you produce the graph by hand? | 22:15 |
| benji | It's a very pretty graph. | 22:15 |
| mgedmin | srichter: have you seen http://mg.pov.lt/blog/hunting-python-memleaks.html ? | 22:15 |
| *** zagy has quit IRC | 22:15 | |
| mgedmin | partially by hand, with tools | 22:15 |
| srichter | mgedmin: /me is not a regular blog consumer | 22:16 |
| mgedmin | waste of time, blogs | 22:17 |
| * mgedmin speaks from experience | 22:17 | |
| mgedmin | but then sometimes you find interesting things | 22:17 |
| * srichter reads this post though | 22:17 | |
| mgedmin | anyway, every functional test apparently leaves a full in-memory object database forever | 22:17 |
| mgedmin | which means your RAM requirements grow fast when you have many functional tests | 22:17 |
| mgedmin | that post I linked was produced on Zope 3.2 | 22:18 |
| mgedmin | now I'm doing the same sort of thing with 3.4 | 22:18 |
| mgedmin | IDatabase utilities are a new thing in 3.4 | 22:18 |
| mgedmin | hence my suspicion | 22:18 |
| srichter | mmh, interesting; I guess the wrapped demo storage has a ref hanging around | 22:18 |
| mgedmin | but now I see it's the _subscribers dict | 22:18 |
| mgedmin | no, wait, it's an object named "utilities", which is a GlobalAdapterRegistry instance and keeps the IDatabase things in its _subscribers list | 22:20 |
| * mgedmin reads source code | 22:21 | |
| mgedmin | oh, there's an unregisterUtility in the AdapterRegistry | 22:21 |
| mgedmin | nice | 22:21 |
| srichter | thsi checks tool seems very cool | 22:21 |
| *** yota has joined #zope3-dev | 22:24 | |
| * mgedmin updates blog post with link to the followup | 22:24 | |
| mgedmin | hm, so probably FunctionalTestSetup.tearDown should locate the global component registry and call unprovideUtility for all of them | 22:26 |
| * mgedmin tries it | 22:28 | |
| *** nathany has quit IRC | 22:29 | |
| mgedmin | yup, that fixes the leak | 22:30 |
| mgedmin | now memory usage is flat after the 2nd test repetition | 22:32 |
| *** georgyberdyshev has joined #zope3-dev | 22:39 | |
| *** gberdyshev_ has quit IRC | 22:39 | |
| *** georgyberdyshev is now known as gberdyshev_ | 22:39 | |
| *** aclark is now known as aclark|away | 22:45 | |
| *** lurkymclurkleton has quit IRC | 22:46 | |
| *** lurkymclurkleton has joined #zope3-dev | 22:46 | |
| *** sunew has joined #zope3-dev | 22:47 | |
| *** malthe is now known as malthe|away | 22:51 | |
| *** ChanServ sets mode: +o srichter | 23:04 | |
| *** sunew has quit IRC | 23:11 | |
| *** jodok has quit IRC | 23:12 | |
| *** jukart has quit IRC | 23:13 | |
| mgedmin | okay, the easy part is done: I have a tested patch at https://bugs.launchpad.net/zope3/+bug/251273 | 23:13 |
| mgedmin | now for the hard part: figuring out which repository branches to change and what changelogs to modify and what version numbers to bump and what svn:externals to update and... | 23:14 |
| * mgedmin weeps | 23:14 | |
| *** romanofski has quit IRC | 23:14 | |
| mgedmin | it's late, I'm going home | 23:14 |
| *** mgedmin has quit IRC | 23:14 | |
| *** dunny has joined #zope3-dev | 23:16 | |
| *** greenman has joined #zope3-dev | 23:27 | |
| fcorrea_ | Does anyone know if the resource namespace in z3 is bad for SEO? I can't believe I'll need to explain it doesn't affect anything to the client | 23:31 |
| ccomb | whit srichter : https://svn.gawel.org/gp.fileupload/trunk/ | 23:32 |
| ccomb | this a new wsgi middleware that provide a progress status and a size limit | 23:32 |
| whit | ccomb: rocking! thanks! | 23:32 |
| ccomb | with a jquery plugin to have an ajax progress bar | 23:33 |
| afd__ | fcorrea_: aren't the resource links usually rendered as site/@@/resource.css ? | 23:33 |
| *** nathany has joined #zope3-dev | 23:36 | |
| fcorrea_ | afd__, I use something like: /++resources++foo/something.css, where foo is a resource directory | 23:37 |
| afd__ | I think doing something like <script tal:attributes="src context/++resource++lib/scripts.js" ></script> will result in a link like I mentioned above | 23:38 |
| afd__ | so that would get rid of the ++resource++ in the urls | 23:39 |
| fcorrea_ | aft__, trying here, sec | 23:43 |
| fcorrea_ | afd__, you were right. Will try to come up with something to zrtresource now then. Thanks | 23:48 |
| *** gberdyshev_ has quit IRC | 23:49 | |
| *** timte has quit IRC | 23:52 | |
| *** aaronv has quit IRC | 23:56 | |
| fcorrea_ | afd__, some more feedback when using z3c.resources for example. By doing this: /* zrt-replace: "/client/systemz/images/" tal"string:${context/++resource++pmgr.images}/" */ works as well | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!