IRC log of #zope for Thursday, 2010-09-23

*** regebro has quit IRC00:03
CIA-7jim * r116733 ZODB/src/ZEO/tests/testConnection.py: adjusted debugging info00:03
*** tfrew87 has quit IRC00:03
*** menesis has quit IRC00:30
*** neo|4D has quit IRC00:32
*** vipod has quit IRC00:38
CIA-7ccomb * r116734 bluebream/src/bluebream/bluebream_base/project_template/etc/ (4 files): Added comments00:48
*** allisterb has joined #zope00:51
*** Arfrever has quit IRC00:52
*** mcdonc has quit IRC00:54
*** srichter has quit IRC00:56
*** jim_SFU has quit IRC00:56
*** Victor_T has quit IRC01:03
*** allisterb has quit IRC01:07
*** ccomb has quit IRC01:08
*** redir has quit IRC01:13
*** redir has joined #zope01:14
*** dunny_ has joined #zope01:19
*** dunny has quit IRC01:20
*** dunny_ is now known as dunny01:20
*** allisterb has joined #zope01:22
*** redir has quit IRC01:30
*** redir has joined #zope01:31
*** redir has quit IRC01:40
*** runyaga has quit IRC01:44
*** River_Rat has joined #zope01:57
*** astoon has joined #zope01:57
*** River-Rat has quit IRC01:59
*** mcdonc has joined #zope02:11
*** allisterb has quit IRC02:12
*** davetoo has quit IRC02:19
*** daMaestro has quit IRC02:20
*** redir has joined #zope02:24
*** beekeeper has joined #zope02:24
*** allisterb has joined #zope02:28
beekeeperhello02:28
beekeeperDoes anyone know why I would keep getting a default value of None when attempting to   print stdout from a filesystem command (echo "hello") using a simple external method (4   lines) and DTML Document consisting only of <dtml-var testStdout>?    http://pastebin.com/Q0Zuxv3u02:29
*** daMaestro has joined #zope02:32
beekeeper I get the expected output when running from python command line. I've read the Using External Methods section on Zope.org, googled, and looked at   examples in Zope Bible, Zope web app construction kit, Python for Unix and Linux system   administration.02:33
beekeeper(Zope 2.10.5-final, python 2.4.6)02:35
*** srichter has joined #zope02:49
*** dayne has quit IRC03:12
*** dayne has joined #zope03:27
*** MrTango has quit IRC03:50
*** runyaga has joined #zope04:04
*** davisagli has left #zope04:17
*** mcdonc has quit IRC04:18
*** mcdonc has joined #zope04:20
*** astoon has quit IRC04:28
*** daMaestro has quit IRC04:28
*** alvaro_ has quit IRC04:36
*** davisagli|away has joined #zope04:40
*** davisagli|away is now known as davisagli04:40
*** davisagli is now known as davisagli|away04:41
*** beekeeper has left #zope04:48
*** tiwula has quit IRC04:54
*** davisagli|away is now known as davisagli05:10
*** huajie has joined #zope05:19
*** davisagli is now known as davisagli|away05:42
*** davetoo has joined #zope05:43
*** davisagli|away is now known as davisagli05:53
*** fredvd|cooking has quit IRC05:55
*** benji has quit IRC05:59
*** davetoo has quit IRC06:11
*** kleist has joined #zope06:23
*** davisagli is now known as davisagli|away06:31
*** davisagli|away is now known as davisagli06:31
*** davisagli is now known as davisagli|away06:32
*** tiwula has joined #zope06:40
*** davisagli|away is now known as davisagli06:55
*** davisagli is now known as davisagli|away07:20
*** mahiti_skt has joined #zope07:36
*** davisagli|away is now known as davisagli07:43
*** runyaga has quit IRC07:43
*** runyaga has joined #zope07:43
*** tiwula has quit IRC07:55
*** baijum has joined #zope07:56
*** baijum1 has joined #zope08:09
*** baijum has quit IRC08:09
*** runyaga has quit IRC08:18
*** RUNYAGAs has joined #zope08:19
*** wosc has joined #zope08:20
*** d2m has joined #zope08:21
*** baijum1 has quit IRC08:29
*** baijum has joined #zope08:30
*** __mac__ has joined #zope08:40
*** JaRoel|4D has quit IRC08:55
*** RUNYAGAs has quit IRC08:56
*** baijum has quit IRC09:02
*** zagy has joined #zope09:05
*** mahiti_skt has quit IRC09:07
*** ccomb has joined #zope09:15
*** eperez has quit IRC09:16
*** Theuni1 has joined #zope09:22
*** hever has joined #zope09:25
*** pingviin1 has joined #zope09:32
*** Theuni1 has quit IRC09:33
*** sashav has joined #zope09:38
*** ccomb has quit IRC09:41
*** davisagli is now known as davisagli|away09:46
*** xitrium has joined #zope09:51
xitriumis this the right place for ZODB questions?09:51
betabugxitrium: just give it a try, maybe someone might see your question :-)09:52
xitriumok :)09:52
betabugif it's "standalone" zodb, knowledge is more sparse09:52
xitriumit's sort of a more general question...  I'm using a kind of large database and wondering how to iterate through all of the items without keeping them all in memory?09:52
betabugfrom within zope?09:53
*** cna has joined #zope09:53
xitriumI need to touch them all once but I don't want to keep them around... When I just try to do a for loop through them all, it loads them all into memory and then the process starts thrashing to swap because the DB is too large to fit at once09:53
xitriumno, it is standalone ZODB09:53
xitriumI'm not very good at databases09:54
xitriumIt seems like a simple issue but I'm not familiar with how they work really09:54
betabughmmm, dunno standalone, but in zope there are two things09:54
betabugfirst, zope keeps the objects cached and empties the cache when needed (they "fall out" or something)09:54
xitriumah09:55
betabugand the other thing is that you can "close" the transaction, freeing the memory, just a second, let me look it up in my code09:55
xitriumoh cool09:55
betabugjust some pointers to search for on the web:09:56
betabugget_transaction().commit() # commits the transaction - dangerous if you need undo, but sometimes just what you need09:56
betabugself._p_jar.cacheGC # call the garbage collector to free up memory09:56
xitriumcool09:57
xitriumthanks!09:57
betabugthose are what I use at one point in my code where I loop through a lot of very heavy objects09:57
betabugbut you'd have to check how they will do in a standalone environment09:57
xitriumokay09:58
betabugalso, hmmm, I wonder how self._p_jar.cacheGC actually calls anything... doesn't look much like a python call, without the () at the end09:58
xitriumtrue09:58
betabugwell, "it works for me" as they say, even if I don't know the details ;-)09:58
xitriumhehe09:58
xitriumthanks :D09:59
xitriumI think I've got enough here to find what I need09:59
betabugno problem, hope this really helps!09:59
betabugcool09:59
xitriumyeah it does, thanks :)09:59
*** menesis has joined #zope10:05
*** JaRoel|4D has joined #zope10:11
*** eperez has joined #zope10:23
*** goschtl has joined #zope10:26
*** MJ has joined #zope10:31
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** ccomb has joined #zope10:41
*** Theuni1 has joined #zope10:42
*** jakke has joined #zope10:42
*** neo|4D has joined #zope11:07
*** sunew has joined #zope11:07
*** astoon has joined #zope11:17
*** huajie has quit IRC11:23
*** tisto has joined #zope11:28
xitriumbetabug: do you know how to set the size of the cache in zodb at all?  I can get by with the garbage collection of the cache but it would be nice if I could have it limit itself11:28
betabughmmm, in zope it's in the admin UI and in the config files11:28
betabugno idea for standalone zodb11:29
*** hartym has joined #zope11:30
xitriumhmmm11:32
xitriumi think standalone zodb can use config files too...11:32
betabugyeah, could be, but likely not the same as for Zope 211:36
xitriumyeah..11:37
CIA-7icemac * r116735 z3c.recipe.staticlxml/ (4 files in 3 dirs):11:40
CIA-7- Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest``.11:40
CIA-7- Fixed smoke test to run on Mac OS X.11:40
CIA-7- Using test extra for running tests.11:40
CIA-7icemac * r116736 /z3c.recipe.staticlxml/branches/0.7.2: this is a tag, not a branch and it is identical to tag/0.7.211:40
CIA-7icemac * r116737 /z3c.recipe.staticlxml/ (branches/0.7.1 tags/0.7.1): this is actually a tag, not a branch11:40
CIA-7icemac * r116738 z3c.recipe.staticlxml/CHANGES.txt: 0.7.2 has already been released11:40
CIA-7icemac * r116739 /z3c.recipe.staticlxml/branches/0.7: trunk is still on 0.7.x, so the branch can be recrated when needed11:40
CIA-7icemac * r116740 /z3c.recipe.staticlxml/branches/ (0.7 0.7/downloads): reverted deletion of branch, it seems as is should be a tag11:40
CIA-7icemac * r116741 /z3c.recipe.staticlxml/ (branches/0.7 tags/0.7): this seems to be a releas tag not a branch11:40
CIA-7malthe * r116742 five.pt/src/five/pt/patches.py: PEP8.11:40
CIA-7malthe * r116743 five.pt/ (3 files in 2 dirs): Support eager loading of patched templates (via gc lookup).11:40
CIA-7malthe * r116744 five.pt/ (CHANGES.txt setup.py): Preparing release.11:40
CIA-7malthe * r116745 /five.pt/tags/1.3.1: Tagging release.11:40
*** vipod has joined #zope11:42
*** TomBlockley has joined #zope11:42
*** tPl0ch has joined #zope11:51
*** vipod has quit IRC11:52
*** goschtl has quit IRC11:59
*** mr_jolly has joined #zope11:59
*** Theuni1 has quit IRC12:00
*** Theuni1 has joined #zope12:03
*** menesis has quit IRC12:12
*** mitchell`off is now known as mitchell`12:12
*** saju_m has joined #zope12:12
*** touff has quit IRC12:14
*** goschtl has joined #zope12:17
*** sunew has quit IRC12:18
*** touff has joined #zope12:19
*** fredvd has joined #zope12:19
*** baijum has joined #zope12:30
*** astoon has quit IRC12:35
*** pingviin1 has quit IRC12:40
*** teix has joined #zope12:42
*** agroszer has joined #zope13:06
*** menesis has joined #zope13:09
*** sunew has joined #zope13:18
*** rwat has joined #zope13:27
rwathi, is there a newer list of hotfixes than http://www.zope.org/Products/Zope/hotfixes ? These seem to be out of date.13:28
CIA-7jens 2.1 * r116746 Products.CMFCalendar/Products/CMFCalendar/ (version.txt CHANGES.txt): - release prep for version 2.1.313:33
CIA-7jens * r116747 /Products.CMFCalendar/tags/2.1.3: - tagging version 2.1.313:33
CIA-7jens 2.1 * r116748 Products.CMFCalendar/Products/CMFCalendar/ (version.txt CHANGES.txt): - vb13:33
CIA-7jens 2.1 * r116749 Products.CMFCore/Products/CMFCore/ (version.txt CHANGES.txt): - release prep for version 2.1.313:33
CIA-7jens * r116750 /Products.CMFCore/tags/2.1.3: - tagging version 2.1.313:33
CIA-7jens 2.1 * r116751 Products.CMFCore/Products/CMFCore/ (version.txt CHANGES.txt): - vb13:33
CIA-7jens 2.1 * r116752 Products.CMFDefault/Products/CMFDefault/ (version.txt CHANGES.txt): - release prep for version 2.1.313:33
CIA-7jens * r116753 /Products.CMFDefault/tags/2.1.3: - tagging version 2.1.313:33
*** sashav has quit IRC13:35
betabugrwat: there isn't much to hotfix right now13:42
*** giampaolo has joined #zope13:43
betabugI think security is up-to-date with current releases13:44
betabugrwat: which zope version are you looking for?13:44
rwatbetabug: I've got a customer with an old plone that needs 2.8.713:44
betabug2.8.12 won't do?13:45
betabugwell, 2008-08-12 hotfix seems to be the last one, kind of seems correct with my memory13:46
betabugbut in your customer's case I'd go fro 2.8.1213:46
betabugyou can grab it from here: http://www.zope.org/Products/Zope/swpackage_releases13:47
rwatok I'll give that a go13:47
CIA-7jens 2.1 * r116754 Products.CMFDefault/Products/CMFDefault/ (version.txt CHANGES.txt): - vb13:47
CIA-7yuppie * r116755 /CMF.buildout/branches/ (zope212-cmf23 zope212-cmf23/bootstrap.py): - added a local copy of the special 1.4.4 bootstrap.py13:47
CIA-7jens 2.1 * r116756 Products.CMFUid/Products/CMFUid/ (version.txt CHANGES.txt): - release prep for version 2.1.313:47
CIA-7jens * r116757 /Products.CMFUid/tags/2.1.3: - tagging version 2.1.313:47
CIA-7yuppie zope212-cmf23 * r116758 CMF.buildout/README.txt: - added deprecation note13:47
CIA-7jens 2.1 * r116759 Products.CMFUid/Products/CMFUid/ (version.txt CHANGES.txt): - vb13:47
betabugmake a backup first :-)13:47
rwatyeah it's going onto a new server13:48
betabugunless you're married to the customer's daughter13:48
rwatthe customer is a british university, so probably not :)13:48
betabugyeah, makes it kind of difficult13:48
rwatwould 2.8.12 be ok in respect to http://secunia.com/advisories/36204/ ?13:49
betabugI'd guess so if the release date is later, but to be sure, consult the CHANGES.txt in the tarball13:50
*** __mac__ has quit IRC14:01
*** __mac__ has joined #zope14:01
*** jham has quit IRC14:04
*** lynucs has joined #zope14:06
*** saju_m has quit IRC14:06
CIA-7charlie_x * r116760 Products.CMFDefault/Products/CMFDefault/browser/content/ (interfaces.py folder.py): Refactored hidden fields into two schemas for better reuse.14:07
CIA-7charlie_x * r116761 Products.CMFDefault/Products/CMFDefault/browser/membership/ (5 files): Started working on membership management. Functionally complete but needs tidying, tests and registration.14:07
*** tisto is now known as tisto|lunch14:23
*** hever has quit IRC14:32
*** hever has joined #zope14:33
*** yareckon has joined #zope14:35
*** lynucs is now known as jham14:37
yareckonhi guys, I am on zope 2.10.x and want to do a custom 404 page for different sections of my site.  I've found and customized the standard error page, but want to send folks to other error pages based on parts of the url.  Unfortunately, brand new to Zope, so don't have any experience to draw on.14:40
betabugdepends on how your site is built14:40
yareckonwhat should I be googling / searching the wiki for to get started?14:40
betabugin general the request "bubbles up the acquisition" till it finds the standards_error_page14:41
betabugwhichever comes first14:41
betabugso if you have /a/b/c and you place an error page in /a/b/c, anything after "c/..." will get that error page14:41
yareckonthat means that deeper standards_error_pages will override ones closer to the root dir14:42
betabugwhile if they use /a/b/xxx they will get the default one in the root14:42
yareckonas long as the are named as such14:42
betabugyeah14:42
yareckoncool14:42
betabugyupp14:42
yareckonthat is elegant14:42
betabugyeah14:42
yareckondo I need to register those pages centrally anywhere? or does the naming convention just work14:42
betabugsome people don't like it too much, but that happens with fresh strawberries and whipped cream too14:43
betabugjust the naming convention14:43
yareckonwhat are the complaints?14:43
betabug"it's confusing", "it's trying to recreate class inheritance", "you never know which method/page will actually be called"14:43
yareckonhmm... "it's like drupal"  ?14:44
betabugor if you were asking about the strawberries: "they used to be sweeter when I was a kid", "too much sugar in the whipped cream"14:44
yareckonwell in any case, thanks for the tip, sounds like this is gonna work out :)14:44
betabugdefinitely, but strawberries aren't in season here now14:44
*** __mac__ has quit IRC14:44
yareckonyou'll have to eat your whipped cream off something else then14:45
betabugdamn, yeah14:45
*** MatthewWilkes has joined #zope14:56
planetzopebotZope 2 Instance 1.1 Released! (gmane.comp.web.zope.announce)  http://permalink.gmane.org/gmane.comp.web.zope.announce/149215:04
CIA-7adamg * r116762 lovely.buildouthttp/src/lovely/buildouthttp/buildouthttp.py: fix a windows test failure15:04
*** tisto|lunch is now known as tisto15:15
CIA-7adamg * r116763 lovely.buildouthttp/ (CHANGES.txt src/lovely/buildouthttp/buildouthttp.py): fixed behavour with python 2.6+. buildout failed on every 5th request in a single run15:18
*** huajie has joined #zope15:22
CIA-7baijum * r116764 bluebream/src/bluebream/bluebream_base/project_template/setup.py_tmpl: zope.app.interface is not required as a dependency15:32
*** __mac__ has joined #zope15:33
*** benji has joined #zope15:42
*** benji has quit IRC15:43
*** benji has joined #zope15:44
*** wosc has quit IRC15:44
CIA-7icemac * r116765 /zope.app.zopeappgenerations/branches/3.5: creating maintenance branch for ZTK 1.015:47
CIA-7icemac 3.5 * r116766 zope.app.zopeappgenerations/ (CHANGES.txt setup.py): bring branch in shape16:03
CIA-7icemac 1.0 * r116767 zopetoolkit/zopeapp.cfg: zope.app.zopeappgenerations needs to be on maintenance branch, too16:03
*** astoon has joined #zope16:13
*** tPl0ch has quit IRC16:14
*** menesis has quit IRC16:24
*** yvl has quit IRC16:24
*** yvl has joined #zope16:24
*** menesis has joined #zope16:24
CIA-7charlie_x * r116768 Products.CMFDefault/Products/CMFDefault/browser/content/folder.py: Field instantiation improved.16:37
*** vipod has joined #zope16:45
*** dayne has quit IRC16:47
*** touff has quit IRC16:50
*** touff has joined #zope16:54
*** pepeu has joined #zope16:55
*** touff has quit IRC16:59
*** cna has quit IRC16:59
*** sunew has quit IRC17:02
*** mr_jolly_ has joined #zope17:02
*** touff has joined #zope17:04
*** mr_jolly has left #zope17:04
*** jim_SFU has joined #zope17:06
*** hever has quit IRC17:08
*** Theuni1 has quit IRC17:10
*** touff has quit IRC17:12
*** MrWu has joined #zope17:12
*** __mac__ has quit IRC17:13
*** dayne has joined #zope17:14
*** dayne has left #zope17:15
*** touff has joined #zope17:16
*** fredvd is now known as fredvd|weg17:22
*** _bluetouff has joined #zope17:22
*** touff has quit IRC17:25
*** benji has quit IRC17:28
*** redir has quit IRC17:28
*** benji has joined #zope17:28
*** hever has joined #zope17:39
*** MJ has quit IRC17:39
*** davisagli|away is now known as davisagli18:03
*** davisagli is now known as davisagli|away18:05
*** tiwula has joined #zope18:18
*** daMaestro has joined #zope18:20
*** neo|4D has quit IRC18:20
*** zagy has quit IRC18:30
*** hever has quit IRC18:30
*** huajie has quit IRC18:31
*** __mac__ has joined #zope18:31
*** JaRoel|4D has quit IRC18:32
*** goschtl has quit IRC18:34
*** cbcunc has quit IRC18:36
*** davisagli|away is now known as davisagli18:37
*** __mac__ has quit IRC18:39
*** tisto has quit IRC18:43
*** MatthewWilkes has quit IRC18:46
*** MatthewWilkes has joined #zope18:47
*** benji is now known as benji-lunch19:00
*** ccomb has quit IRC19:01
*** runyaga has joined #zope19:02
*** giampaolo has quit IRC19:07
*** redir has joined #zope19:09
*** allisterb has quit IRC19:17
*** alvaro has joined #zope19:33
*** minskmaz has joined #zope19:38
*** menesis has quit IRC19:39
*** astoon has quit IRC19:47
*** mr_jolly_ has quit IRC19:50
*** mr_jolly has joined #zope19:50
*** benji-lunch is now known as benji20:03
*** JaRoel|4D has joined #zope20:03
CIA-7adamg * r116769 z3c.jsontree/ (CHANGES.txt setup.py): Preparing release 0.6.020:03
CIA-7adamg * r116770 /z3c.jsontree/tags/0.6.0: Tagging 0.6.020:03
CIA-7adamg * r116771 z3c.jsontree/ (CHANGES.txt setup.py): Back to development: 0.6.120:03
*** Hypergraphe_ has joined #zope20:03
*** mitchell` is now known as mitchell`off20:04
*** minskmaz has quit IRC20:24
*** Theuni1 has joined #zope20:26
*** pepeu has quit IRC20:30
*** redir has quit IRC20:33
*** redir has joined #zope20:36
yareckonnight all, thanks  for the help20:40
*** baijum has quit IRC20:42
*** yareckon has quit IRC20:43
*** astoon has joined #zope20:47
*** TomBlockley has quit IRC20:48
*** kiorky_ has joined #zope20:49
*** kiorky has quit IRC20:51
*** Arfrever has joined #zope20:58
*** menesis has joined #zope21:04
*** Hypergraphe_ has quit IRC21:06
*** eperez has quit IRC21:13
CIA-7charlie_x * r116772 Products.CMFDefault/Products/CMFDefault/browser/content/folder.py: All forms must have form_fields() even if that name is empty.21:17
*** minskmaz has joined #zope21:21
*** jim_SFU has quit IRC21:34
*** jim_SFU has joined #zope21:40
*** shastry has joined #zope21:44
*** shastry has joined #zope21:44
*** MatthewWilkes has quit IRC21:52
*** teix has left #zope21:57
*** kleist has quit IRC22:11
*** MrWu has quit IRC22:13
*** astoon has quit IRC22:23
*** minskmaz has quit IRC22:28
*** minskmaz has joined #zope22:30
*** kiorky_ has quit IRC22:31
*** kiorky has joined #zope22:31
*** daMaestro has quit IRC22:34
*** jim_SFU has quit IRC22:45
*** agroszer has quit IRC22:45
*** daMaestro has joined #zope22:46
*** alvaro_ has joined #zope22:47
*** alvaro has quit IRC22:47
*** smita1 has quit IRC22:51
*** redir has quit IRC23:00
*** rwat has quit IRC23:00
*** davisagli has quit IRC23:00
*** davisagli has joined #zope23:00
*** ccomb has joined #zope23:00
*** redir has joined #zope23:01
*** rwat has joined #zope23:01
*** minskmaz has quit IRC23:06
*** d2m has left #zope23:11
*** webmaven has joined #zope23:12
*** Theuni1 has quit IRC23:14
*** thetet has joined #zope23:19
*** smita1 has joined #zope23:28
CIA-7charlie_x * r116773 Products.CMFDefault/Products/CMFDefault/browser/membership/ (members.pt delete_members.pt members.py): Members now display correctly.23:31
*** Theuni has joined #zope23:31
*** Theuni is now known as Guest7399423:31
*** Hypergraphe_ has joined #zope23:40

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