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

*** bigkevmcd has quit IRC00:04
*** bigkevmcd has joined #zope00:05
*** redir has quit IRC00:10
CIA-7andig andig-compositeindex * r117072 Zope/src/Products/ (3 files in 3 dirs): transpose query integration into the catalog00:25
*** daMaestro has quit IRC00:29
*** daMaestro has joined #zope00:35
*** alexpilz has quit IRC00:36
*** yuvilio has quit IRC00:39
*** kleist has quit IRC00:43
*** menesis has quit IRC00:44
CIA-7charlie_x * r117073 Products.CMFDefault/Products/CMFDefault/browser/admin/ (syndication.py tests/test_syndication.py configure.zcml): Format and whitespace cleanup.00:50
*** vipod has quit IRC01:05
*** J1m has quit IRC01:05
*** srichter has quit IRC01:07
*** alga has quit IRC01:19
*** davisagli is now known as davisagli|away01:19
*** JaRoel|4D has quit IRC01:22
*** Arfrever has quit IRC01:22
*** davisagli|away is now known as davisagli01:23
*** thetet has quit IRC01:29
*** redir has joined #zope01:31
*** d2m has quit IRC01:33
*** allisterb has quit IRC01:36
*** tiwula has quit IRC01:41
*** shastry has quit IRC01:45
*** shastry has joined #zope01:49
*** shastry has joined #zope01:49
*** dvschramm is now known as dvschramm|away01:50
*** bigkevmcd has quit IRC01:52
*** allisterb has joined #zope01:52
*** bigkevmcd has joined #zope01:53
*** ccomb has quit IRC02:02
*** webmaven has quit IRC02:04
*** yuvilio has joined #zope02:12
*** yuvilio has quit IRC02:12
*** julesa has joined #zope02:24
*** mr_jolly has quit IRC02:26
*** bigkevmcd has quit IRC02:26
*** mr_jolly_ is now known as mr_jolly02:26
*** bigkevmcd has joined #zope02:26
*** dayne has quit IRC02:37
*** mr_jolly has quit IRC02:37
*** shastry has quit IRC02:48
*** smita1 has quit IRC02:56
*** SpankyFromBRC has joined #zope03:05
*** daMaestro has quit IRC03:29
*** srichter has joined #zope03:44
*** pepeu has joined #zope03:49
*** davisagli is now known as davisagli|away03:54
*** MrTango has quit IRC03:55
*** astoon has joined #zope03:57
*** SpankyFromBRC has quit IRC03:59
*** huajie has joined #zope03:59
*** pepeu has quit IRC04:11
CIA-7srichter * r117074 keas.kmi/ (CHANGES.txt setup.py): Get ready for release.04:11
CIA-7srichter * r117075 keas.kmi/setup.py: Remove framework classifier.04:11
CIA-7srichter * r117076 /keas.kmi/tags/2.0.0: Create release tag.04:11
CIA-7srichter * r117077 keas.kmi/ (CHANGES.txt setup.py): vb04:11
*** davisagli|away is now known as davisagli04:22
*** davisagli is now known as davisagli|away04:23
*** davisagli|away is now known as davisagli04:28
*** davisagli is now known as davisagli|away04:29
*** J1m has joined #zope04:49
*** J1m has quit IRC04:51
*** benji has quit IRC04:57
*** davisagli|away is now known as davisagli05:06
*** alecm has quit IRC05:22
*** alecm has joined #zope05:27
*** huajie has quit IRC05:29
*** davisagli is now known as davisagli|away05:47
*** davisagli|away is now known as davisagli05:52
*** astoon has quit IRC06:11
*** srichter has quit IRC06:12
*** davisagli is now known as davisagli|away06:59
*** kleist has joined #zope07:10
*** davisagli|away is now known as davisagli07:12
*** baijum has joined #zope07:39
*** davisagli is now known as davisagli|away07:39
*** davisagli|away is now known as davisagli07:50
*** jan_s has joined #zope07:55
*** JaRoel|4D has joined #zope08:26
*** __mac__ has joined #zope08:42
*** JaRoel|4D has quit IRC08:49
*** Theuni1 has quit IRC08:52
*** zagy has joined #zope09:01
*** Theuni1 has joined #zope09:04
*** prinzdezibel has joined #zope09:18
prinzdezibelHi. Which encoding does zope3 serve and how can I control it?09:18
*** jakke has joined #zope09:18
zagyusually it serves utf809:20
zagyyou can set a content-type header with a different encoding09:20
zagywhen your views return unicode that's encoded automatically09:21
prinzdezibelzagy: Seems like it is determined through a combination of content-type (which is not always contained in the response) and default-zpublisher-encoding from zope.conf. Does this sound familar to you?09:25
zagyjup09:25
zagythe auto-encoding only applies to text/*09:26
zagyfor other content-types that doesn't make sense09:26
zagythat is you can set text/html; charset=latin1 and get your unicode response encoded to latin109:26
zagybut that only works if it is representable in latin109:26
*** Theuni1 has quit IRC09:27
prinzdezibelsure09:27
*** Theuni1 has joined #zope09:28
*** prinzdezibel has quit IRC09:31
*** alexpilz has joined #zope09:44
*** alexpilz has quit IRC09:49
*** pingviin1 has joined #zope09:52
*** JaRoel|4D has joined #zope09:54
*** fredvd|cooking is now known as fredvd09:54
*** J1m has joined #zope09:56
CIA-7icemac * r117078 z3c.reload/ (5 files in 3 dirs):10:00
CIA-7- Updated to run with Python 2.6.10:00
CIA-7- Added missing test depenencies.10:00
CIA-7- Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest``.10:00
CIA-7icemac * r117079 z3c.reload/ (LICENSE.txt bootstrap.py COPYRIGHT.txt): Conform to repository policy.10:00
CIA-7icemac * r117080 z3c.relationfield/ (5 files in 2 dirs):10:00
CIA-7* Updated test setup and test to run with current versions of dependent10:00
CIA-7packages, thus running with Python 2.6, too.10:00
CIA-7* Added missing (test) dependencies.10:00
CIA-7icemac * r117081 z3c.relationfield/ (LICENSE.txt COPYRIGHT.txt): Conform to repository policy.10:00
*** Wu has joined #zope10:06
*** fredvd is now known as fredvd|auto10:14
*** MJ has joined #zope10:19
*** tisto has joined #zope10:21
*** neo|4D has joined #zope10:22
*** vipod has joined #zope10:23
*** davisagli has left #zope10:25
*** planetzopebot has quit IRC10:33
*** davisagli has joined #zope10:33
*** davisagli is now known as davisagli|away10:33
*** planetzopebot has joined #zope10:34
*** Theuni1 has quit IRC10:36
*** J1m has quit IRC10:37
*** alexpilz has joined #zope10:39
*** alga has joined #zope10:46
*** mitchell`off is now known as mitchell`10:46
*** ccomb has joined #zope10:50
*** touff has quit IRC10:51
*** alexpilz has quit IRC10:52
*** smita1 has joined #zope10:52
*** digitalmortician has joined #zope10:52
*** alexpilz has joined #zope10:52
*** smita1 has quit IRC10:52
*** fredvd|auto is now known as fredvd10:53
*** tisto has quit IRC11:01
*** tisto has joined #zope11:03
*** sunew has joined #zope11:05
*** sashav has joined #zope11:06
*** menesis has joined #zope11:07
*** Theuni1 has joined #zope11:08
*** ccomb has quit IRC11:13
*** baijum has quit IRC11:13
*** mr_jolly has joined #zope11:14
*** mr_jolly has left #zope11:15
*** giampaolo has joined #zope11:24
*** ccomb has joined #zope11:32
*** goschtl has joined #zope11:34
*** agroszer has joined #zope11:36
*** d2m has joined #zope11:42
*** sashav has quit IRC11:45
*** touff has joined #zope11:49
*** Hypergraphe has joined #zope11:50
*** touff has quit IRC11:52
*** touff has joined #zope11:54
*** touff has quit IRC11:58
*** nitrogenycs has joined #zope12:02
*** touff has joined #zope12:04
*** AnneGilles has joined #zope12:05
*** hever has joined #zope12:16
*** hever has quit IRC12:18
*** regebro has joined #zope12:19
*** hever has joined #zope12:19
*** MrTango has joined #zope12:26
*** touff has quit IRC12:28
*** baijum has joined #zope12:31
*** thetet has joined #zope12:32
*** AnneGilles has quit IRC12:33
*** touff has joined #zope12:33
*** teix has joined #zope12:34
*** touff has quit IRC12:39
*** pingviin1 has quit IRC12:44
*** menesis has quit IRC12:44
*** digitalmortician has quit IRC12:55
*** touff has joined #zope13:07
*** dvschramm|away has quit IRC13:13
*** benji has joined #zope13:14
*** kiorky has quit IRC13:15
*** fredvd has quit IRC13:16
*** dvschramm|away has joined #zope13:16
CIA-7shane * r117082 relstorage/ (7 files in 4 dirs):13:19
CIA-7Prep for 1.4.0:13:19
CIA-7- Enabled ketama and compression in pylibmc_wrapper. Both options13:19
CIA-7are better for clusters.13:19
CIA-7- Oracle: Use a more optimal query for POSKeyError logging.13:19
CIA-7- Fixed a NameError that occurred when getting the history of an13:20
CIA-7object where transaction extended info was set.13:20
*** touff has quit IRC13:26
*** thetet has quit IRC13:29
*** menesis has joined #zope13:37
*** J1m has joined #zope13:38
*** milele has quit IRC13:58
*** svenn has joined #zope14:00
CIA-7yuppie * r117083 Products.CMFCore/Products/CMFCore/ (CHANGES.txt utils.py tests/test_utils.py):14:04
CIA-7- added FakeExecutableObject14:04
CIA-7(Charlie wants to use this in CMF; taken from https://mail.zope.org/pipermail/zope/2005-November/162956.html)14:04
*** tisto is now known as tisto|lunch14:25
*** sunew is now known as windows14:27
*** windows is now known as sunew14:27
*** J1m has quit IRC14:29
*** ccomb has quit IRC14:30
*** thetet has joined #zope14:57
*** hever has quit IRC14:59
*** hever has joined #zope14:59
*** mcdonc has quit IRC15:10
*** alexpilz has quit IRC15:10
*** alexpilz has joined #zope15:11
*** touff has joined #zope15:16
*** mcdonc has joined #zope15:16
CIA-7shane * r117084 relstorage/ (4 files in 3 dirs): Made compatible with ZODB 3.10.0b7.15:18
*** wosc has joined #zope15:22
*** fredvd has joined #zope15:28
*** baijum has quit IRC15:29
*** ccomb has joined #zope15:35
*** wosc has quit IRC15:35
*** svenn has quit IRC15:36
CIA-7shane * r117085 relstorage/CHANGES.txt: Credit for Helge.15:48
*** dunny has quit IRC15:52
*** alga has quit IRC15:53
*** milele has joined #zope15:54
*** sunew has quit IRC15:59
*** touff has quit IRC16:01
*** milele has quit IRC16:02
*** fredvd is now known as fredvd|shop16:12
CIA-7mgedmin * r117086 /zopetoolkit/doc/source/zope-dev/index.rst: Fix reference to archive.rst.16:24
*** kiorky has joined #zope16:41
*** max has joined #zope16:41
*** max is now known as Guest3470116:41
*** Guest34701 has quit IRC16:43
*** fredvd|shop is now known as fredvd16:48
*** J1m has joined #zope16:48
*** lucmult has quit IRC16:51
*** lucmult has joined #zope16:51
*** lucmult has joined #zope16:51
*** pepeu has joined #zope16:55
*** Theuni1 has quit IRC16:58
*** dvschramm|away is now known as dvschramm16:58
*** baijum has joined #zope17:01
planetzopebotPlone Conference Talks Announced (Plone News)  http://plone.org/events/conferences/bristol-2010/plone-conference-talks-announced17:04
*** dayne has joined #zope17:05
*** webmaven has joined #zope17:07
*** __mac__ has quit IRC17:09
*** MrWu has joined #zope17:13
*** MrWu has joined #zope17:13
*** touff has joined #zope17:15
*** lucmult1 has joined #zope17:17
*** lucmult has quit IRC17:17
*** MatthewWilkes has joined #zope17:17
*** touff has quit IRC17:19
CIA-7wichert * r117087 five.pt/ (CHANGES.txt src/five/pt/__init__.py): Apply patches at import time instead of product initialisation.17:22
CIA-7wichert * r117088 /five.pt/ (4 files in 3 dirs): Tag 1.3.317:22
CIA-7ctheune * r117089 /zopetoolkit/doc/source/zope-dev/zope-dev-20100928.rst: Extract summary from meeting record.17:22
*** hever has quit IRC17:29
*** tisto|lunch is now known as tisto17:35
*** lucmult1 has quit IRC17:35
*** lucmult has joined #zope17:35
*** lucmult has quit IRC17:42
*** lucmult1 has joined #zope17:43
*** lucmult1 has quit IRC17:43
*** lucmult has joined #zope17:43
*** lucmult has left #zope17:46
*** davisagli|away is now known as davisagli17:46
*** davisagli is now known as davisagli|away17:47
CIA-7jim * r117090 ZODB/src/ (ZEO/zrpc/client.py ZEO/tests/testZEO.py CHANGES.txt):17:55
CIA-7Bug fixed17:55
CIA-7- On some systems, using an empty string in a server address of a ZEO17:55
CIA-7client led to a socket error. Now, ZEO clients treat '' as an alias17:55
CIA-7for 'localhost'.17:55
*** MJ has quit IRC18:01
*** fredvd is now known as fredvd|auto18:05
*** davisagli|away is now known as davisagli18:12
*** davisagli is now known as davisagli|away18:15
*** zagy has quit IRC18:18
*** goschtl has quit IRC18:22
*** alexpilz has quit IRC18:38
*** lcpfnvc has quit IRC18:41
*** shastry has joined #zope18:43
*** shastry has joined #zope18:43
*** __mac__ has joined #zope18:44
*** fredvd|auto is now known as fredvd18:44
CIA-7jim * r117091 ZODB/src/ (4 files in 3 dirs): (log message trimmed)18:49
CIA-7Bugs fixed18:49
CIA-7----------18:49
CIA-7- When a pool timeout was specified for a database and old connections18:49
CIA-7were removed due to timing out, an error occured due to a bug in the18:49
CIA-7connection cleanup logic.18:49
CIA-7- When mulri-database connections were no longer used and cleaned up,18:49
CIA-7jim * r117092 ZODB/src/ZEO/tests/testZEO.py: Try to avoid spurious failure due to test race18:49
*** Theuni1 has joined #zope18:50
*** davisagli|away is now known as davisagli18:51
*** tiwula has joined #zope18:53
*** mitchell` is now known as mitchell`off18:59
*** giampaolo has quit IRC19:05
*** JaRoel|4D has quit IRC19:08
*** xitrium has joined #zope19:12
xitriumHey guys, persistent.dict.PersistentDict objects are taking > 6 seconds to look up keys in them... Should I be using another datastructure (I have tens of thousands of keys)?19:13
Theuni1yes19:13
Theuni1use btrees19:13
xitriumokay19:13
xitriumOOBTree?19:14
*** tisto has quit IRC19:14
benjixitrium: what are the keys and values?19:15
xitriumkeys are strings and values are persistent objects (with subobjects etc)19:16
mgedminis there any reason to use a PersistentDict, ever?19:17
mcdoncbecause every tutorial shows it, so that the tutorial author doesn't need to explain why you need to do self._p_changed = True19:18
xitriumI only started with them because I read they're constant time lookup and I wanted fast lookups :(19:18
mgedminmcdonc, no, I mean why not use an OOBTree?19:18
mcdoncmgedmin: because the tutorial author doesnt want to explain what a btree is19:18
mcdonc(no good reason, iow)19:18
mcdoncunless space is a premium19:19
mgedmindoes it take less space?19:19
mcdoncan empty dict is like 282 bytes19:19
mcdoncnot sure what an empty btree is19:19
mcdoncbut likely more, and more overhead per key19:20
*** MatthewWilkes has quit IRC19:20
mgedminlen(pickle.dumps(PersistentDict())) == 9219:20
mgedminlen(pickle.dumps(OOBTree())) == 6119:20
mgedminlen(pickle.dumps(PersistentDict([(x, x) for x in range(1000)]))) = 1087219:21
mgedminlen(pickle.dumps(OOBTree([(x, x) for x in range(1000)]))) = 1264019:21
mcdonclen(pickle.dumps({}))19:22
mcdonc619:22
mcdonc getsizeof({})19:22
mcdonc28019:22
* mgedmin now wants to microbenchmark access speed for various sizes, but he should get back to work19:22
xitriumOh awesome, it's down from 6.1 seconds to 0.0087 seconds!19:26
xitriumThanks guys :D19:26
mgedminyou'll also be happy to see slower data.fs growth as you modify that structure19:33
xitriumawesome19:39
*** alvaro_ has joined #zope19:42
*** ccomb has quit IRC19:47
*** sm has quit IRC19:57
*** xitrium has quit IRC19:57
*** pingviin1 has joined #zope20:00
*** alexpilz has joined #zope20:08
*** webmaven has quit IRC20:08
*** webmaven has joined #zope20:15
*** allisterb has quit IRC20:16
*** sm has joined #zope20:18
*** zagy has joined #zope20:42
*** zagy has quit IRC20:43
*** zagy has joined #zope20:43
*** daMaestro has joined #zope20:53
*** regebro has left #zope21:01
CIA-7jim * r117093 ZODB/src/ (ZEO/zrpc/server.py CHANGES.txt):21:03
CIA-7Bug fixed21:03
CIA-7- Changes to suppprt IPv6 broke a fix for a problem on Mac OS X that21:03
CIA-7could cause a server to stop accepting connections.21:03
*** JaRoel|4D has joined #zope21:05
*** hever has joined #zope21:09
*** baijum has quit IRC21:11
*** ccomb has joined #zope21:14
*** hax404 has joined #zope21:19
CIA-7icemac * r117094 /hurry.zoperesource/branches: branches21:21
CIA-7icemac * r117095 /hurry.zoperesource/branches/icemac-IBrowserRequest: branch to make package compatible with layers which do not extend IDefaultBrowserLayer21:21
CIA-7icemac icemac-IBrowserRequest * r117096 hurry.zoperesource/ (src/hurry/zoperesource/zcml.py CHANGES.txt):21:21
CIA-7Created `ResourceDirectories` now are registered for ``IBrowserRequest`` the21:21
CIA-7base class of the previously used ``IDefaultBrowserLayer``. So this package can21:21
CIA-7be used when the layer used by the application does not extend21:21
CIA-7``IDefaultBrowserLayer``, as e. g. `z3c.layer.pagelet` does.21:21
*** teix has quit IRC21:24
*** daMaestro has quit IRC21:35
*** MrWu has quit IRC21:36
*** ccomb has quit IRC21:41
*** zagy1 has joined #zope21:41
*** zagy has quit IRC21:41
*** mcdonc has quit IRC21:42
*** mcdonc has joined #zope21:42
*** agroszer_ has joined #zope21:48
*** agroszer has quit IRC21:49
*** __mac__ has quit IRC22:02
*** zagy1 has quit IRC22:08
*** JaRoel|4D has quit IRC22:20
*** menesis has quit IRC22:25
CIA-7jim * r117097 /ZODB/tags/3.10.0b8: tag22:30
CIA-7jim 3.10.0b8 * r117098 ZODB/setup.py: *** empty log message ***22:30
*** hever has quit IRC22:31
*** agroszer_ has quit IRC22:33
*** JaRoel|4D has joined #zope22:46
CIA-7shane * r117099 /relstorage/tags/1.4.0: Tagged 1.4.0.23:01
CIA-7shane * r117100 /relstorage/ (tags/1.4.0/README.txt trunk/README.txt): Updated the multi-master comment in README23:01
*** dunny has joined #zope23:02
*** __mac__ has joined #zope23:03
*** webar7 has joined #zope23:09
webar7how do I rename an object (a plone site) from the zopectl debug console?23:10
webar7I'm at >>> prompt ... do I need to import a bunch of things?23:10
webar7do I need to use zeoctl if I'm using zeo?!23:13
*** menesis has joined #zope23:13
*** pepeu has quit IRC23:20
smsomething like >>> app.path.to.parentfolder.manage_renameObject('oldsiteid','newsiteid') . But why ?23:24
*** kleist has quit IRC23:24
webar7it won't rename in the ZMI23:24
webar7figured maybe it was timing out23:25
smno traceback ?23:25
webar7no23:25
webar7says the oject is being used or refers to url etc etc23:25
smit might be timing out, everything will be recataloged23:25
webar7sounds like part of the folder is getting renamed an then timing out23:26
smI imagine you'd see activity in event.log if log verbosity is high enough23:26
webar7so ....   app.plone_folder.manage_renameObject('plone_folder','plone_folder2')23:27
webar7it's a plone site installed as a folder called plone_folder23:27
webar7probably  app.plone_folder.manage_renameObject('plone_folder','Site') is what we want23:28
webar7or  app.plone_folder.manage_renameObject('plone_folder','www.whatever.com)23:28
CIA-7shane * r117101 relstorage/ (CHANGES.txt setup.py): Back to dev.23:29
webar7oops ... how do I authenticate in the debug console ...argh!23:30
smhttp://wiki.zope.org/zope2/HowToBecomeManagerInDebugger23:30
webar7thanks23:30
smand after the rename, you probably have to import transaction; transaction.commit()23:30
smwon't you avoid the timeout if you connect directly to zope's http port ?23:30
webar7hmm23:31
webar7let's try that :-D23:31
webar7hhah23:31
smand tail -f event.log .. so you can see if this is a minutes, hours, or days kind of deal :)23:31
* sm thinks: actually, the web timeout won't stop zope's rename operation23:49

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