*** bigkevmcd has quit IRC | 00:04 | |
*** bigkevmcd has joined #zope | 00:05 | |
*** redir has quit IRC | 00:10 | |
CIA-7 | andig andig-compositeindex * r117072 Zope/src/Products/ (3 files in 3 dirs): transpose query integration into the catalog | 00:25 |
---|---|---|
*** daMaestro has quit IRC | 00:29 | |
*** daMaestro has joined #zope | 00:35 | |
*** alexpilz has quit IRC | 00:36 | |
*** yuvilio has quit IRC | 00:39 | |
*** kleist has quit IRC | 00:43 | |
*** menesis has quit IRC | 00:44 | |
CIA-7 | charlie_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 IRC | 01:05 | |
*** J1m has quit IRC | 01:05 | |
*** srichter has quit IRC | 01:07 | |
*** alga has quit IRC | 01:19 | |
*** davisagli is now known as davisagli|away | 01:19 | |
*** JaRoel|4D has quit IRC | 01:22 | |
*** Arfrever has quit IRC | 01:22 | |
*** davisagli|away is now known as davisagli | 01:23 | |
*** thetet has quit IRC | 01:29 | |
*** redir has joined #zope | 01:31 | |
*** d2m has quit IRC | 01:33 | |
*** allisterb has quit IRC | 01:36 | |
*** tiwula has quit IRC | 01:41 | |
*** shastry has quit IRC | 01:45 | |
*** shastry has joined #zope | 01:49 | |
*** shastry has joined #zope | 01:49 | |
*** dvschramm is now known as dvschramm|away | 01:50 | |
*** bigkevmcd has quit IRC | 01:52 | |
*** allisterb has joined #zope | 01:52 | |
*** bigkevmcd has joined #zope | 01:53 | |
*** ccomb has quit IRC | 02:02 | |
*** webmaven has quit IRC | 02:04 | |
*** yuvilio has joined #zope | 02:12 | |
*** yuvilio has quit IRC | 02:12 | |
*** julesa has joined #zope | 02:24 | |
*** mr_jolly has quit IRC | 02:26 | |
*** bigkevmcd has quit IRC | 02:26 | |
*** mr_jolly_ is now known as mr_jolly | 02:26 | |
*** bigkevmcd has joined #zope | 02:26 | |
*** dayne has quit IRC | 02:37 | |
*** mr_jolly has quit IRC | 02:37 | |
*** shastry has quit IRC | 02:48 | |
*** smita1 has quit IRC | 02:56 | |
*** SpankyFromBRC has joined #zope | 03:05 | |
*** daMaestro has quit IRC | 03:29 | |
*** srichter has joined #zope | 03:44 | |
*** pepeu has joined #zope | 03:49 | |
*** davisagli is now known as davisagli|away | 03:54 | |
*** MrTango has quit IRC | 03:55 | |
*** astoon has joined #zope | 03:57 | |
*** SpankyFromBRC has quit IRC | 03:59 | |
*** huajie has joined #zope | 03:59 | |
*** pepeu has quit IRC | 04:11 | |
CIA-7 | srichter * r117074 keas.kmi/ (CHANGES.txt setup.py): Get ready for release. | 04:11 |
CIA-7 | srichter * r117075 keas.kmi/setup.py: Remove framework classifier. | 04:11 |
CIA-7 | srichter * r117076 /keas.kmi/tags/2.0.0: Create release tag. | 04:11 |
CIA-7 | srichter * r117077 keas.kmi/ (CHANGES.txt setup.py): vb | 04:11 |
*** davisagli|away is now known as davisagli | 04:22 | |
*** davisagli is now known as davisagli|away | 04:23 | |
*** davisagli|away is now known as davisagli | 04:28 | |
*** davisagli is now known as davisagli|away | 04:29 | |
*** J1m has joined #zope | 04:49 | |
*** J1m has quit IRC | 04:51 | |
*** benji has quit IRC | 04:57 | |
*** davisagli|away is now known as davisagli | 05:06 | |
*** alecm has quit IRC | 05:22 | |
*** alecm has joined #zope | 05:27 | |
*** huajie has quit IRC | 05:29 | |
*** davisagli is now known as davisagli|away | 05:47 | |
*** davisagli|away is now known as davisagli | 05:52 | |
*** astoon has quit IRC | 06:11 | |
*** srichter has quit IRC | 06:12 | |
*** davisagli is now known as davisagli|away | 06:59 | |
*** kleist has joined #zope | 07:10 | |
*** davisagli|away is now known as davisagli | 07:12 | |
*** baijum has joined #zope | 07:39 | |
*** davisagli is now known as davisagli|away | 07:39 | |
*** davisagli|away is now known as davisagli | 07:50 | |
*** jan_s has joined #zope | 07:55 | |
*** JaRoel|4D has joined #zope | 08:26 | |
*** __mac__ has joined #zope | 08:42 | |
*** JaRoel|4D has quit IRC | 08:49 | |
*** Theuni1 has quit IRC | 08:52 | |
*** zagy has joined #zope | 09:01 | |
*** Theuni1 has joined #zope | 09:04 | |
*** prinzdezibel has joined #zope | 09:18 | |
prinzdezibel | Hi. Which encoding does zope3 serve and how can I control it? | 09:18 |
*** jakke has joined #zope | 09:18 | |
zagy | usually it serves utf8 | 09:20 |
zagy | you can set a content-type header with a different encoding | 09:20 |
zagy | when your views return unicode that's encoded automatically | 09:21 |
prinzdezibel | zagy: 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 |
zagy | jup | 09:25 |
zagy | the auto-encoding only applies to text/* | 09:26 |
zagy | for other content-types that doesn't make sense | 09:26 |
zagy | that is you can set text/html; charset=latin1 and get your unicode response encoded to latin1 | 09:26 |
zagy | but that only works if it is representable in latin1 | 09:26 |
*** Theuni1 has quit IRC | 09:27 | |
prinzdezibel | sure | 09:27 |
*** Theuni1 has joined #zope | 09:28 | |
*** prinzdezibel has quit IRC | 09:31 | |
*** alexpilz has joined #zope | 09:44 | |
*** alexpilz has quit IRC | 09:49 | |
*** pingviin1 has joined #zope | 09:52 | |
*** JaRoel|4D has joined #zope | 09:54 | |
*** fredvd|cooking is now known as fredvd | 09:54 | |
*** J1m has joined #zope | 09:56 | |
CIA-7 | icemac * 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-7 | icemac * r117079 z3c.reload/ (LICENSE.txt bootstrap.py COPYRIGHT.txt): Conform to repository policy. | 10:00 |
CIA-7 | icemac * r117080 z3c.relationfield/ (5 files in 2 dirs): | 10:00 |
CIA-7 | * Updated test setup and test to run with current versions of dependent | 10:00 |
CIA-7 | packages, thus running with Python 2.6, too. | 10:00 |
CIA-7 | * Added missing (test) dependencies. | 10:00 |
CIA-7 | icemac * r117081 z3c.relationfield/ (LICENSE.txt COPYRIGHT.txt): Conform to repository policy. | 10:00 |
*** Wu has joined #zope | 10:06 | |
*** fredvd is now known as fredvd|auto | 10:14 | |
*** MJ has joined #zope | 10:19 | |
*** tisto has joined #zope | 10:21 | |
*** neo|4D has joined #zope | 10:22 | |
*** vipod has joined #zope | 10:23 | |
*** davisagli has left #zope | 10:25 | |
*** planetzopebot has quit IRC | 10:33 | |
*** davisagli has joined #zope | 10:33 | |
*** davisagli is now known as davisagli|away | 10:33 | |
*** planetzopebot has joined #zope | 10:34 | |
*** Theuni1 has quit IRC | 10:36 | |
*** J1m has quit IRC | 10:37 | |
*** alexpilz has joined #zope | 10:39 | |
*** alga has joined #zope | 10:46 | |
*** mitchell`off is now known as mitchell` | 10:46 | |
*** ccomb has joined #zope | 10:50 | |
*** touff has quit IRC | 10:51 | |
*** alexpilz has quit IRC | 10:52 | |
*** smita1 has joined #zope | 10:52 | |
*** digitalmortician has joined #zope | 10:52 | |
*** alexpilz has joined #zope | 10:52 | |
*** smita1 has quit IRC | 10:52 | |
*** fredvd|auto is now known as fredvd | 10:53 | |
*** tisto has quit IRC | 11:01 | |
*** tisto has joined #zope | 11:03 | |
*** sunew has joined #zope | 11:05 | |
*** sashav has joined #zope | 11:06 | |
*** menesis has joined #zope | 11:07 | |
*** Theuni1 has joined #zope | 11:08 | |
*** ccomb has quit IRC | 11:13 | |
*** baijum has quit IRC | 11:13 | |
*** mr_jolly has joined #zope | 11:14 | |
*** mr_jolly has left #zope | 11:15 | |
*** giampaolo has joined #zope | 11:24 | |
*** ccomb has joined #zope | 11:32 | |
*** goschtl has joined #zope | 11:34 | |
*** agroszer has joined #zope | 11:36 | |
*** d2m has joined #zope | 11:42 | |
*** sashav has quit IRC | 11:45 | |
*** touff has joined #zope | 11:49 | |
*** Hypergraphe has joined #zope | 11:50 | |
*** touff has quit IRC | 11:52 | |
*** touff has joined #zope | 11:54 | |
*** touff has quit IRC | 11:58 | |
*** nitrogenycs has joined #zope | 12:02 | |
*** touff has joined #zope | 12:04 | |
*** AnneGilles has joined #zope | 12:05 | |
*** hever has joined #zope | 12:16 | |
*** hever has quit IRC | 12:18 | |
*** regebro has joined #zope | 12:19 | |
*** hever has joined #zope | 12:19 | |
*** MrTango has joined #zope | 12:26 | |
*** touff has quit IRC | 12:28 | |
*** baijum has joined #zope | 12:31 | |
*** thetet has joined #zope | 12:32 | |
*** AnneGilles has quit IRC | 12:33 | |
*** touff has joined #zope | 12:33 | |
*** teix has joined #zope | 12:34 | |
*** touff has quit IRC | 12:39 | |
*** pingviin1 has quit IRC | 12:44 | |
*** menesis has quit IRC | 12:44 | |
*** digitalmortician has quit IRC | 12:55 | |
*** touff has joined #zope | 13:07 | |
*** dvschramm|away has quit IRC | 13:13 | |
*** benji has joined #zope | 13:14 | |
*** kiorky has quit IRC | 13:15 | |
*** fredvd has quit IRC | 13:16 | |
*** dvschramm|away has joined #zope | 13:16 | |
CIA-7 | shane * r117082 relstorage/ (7 files in 4 dirs): | 13:19 |
CIA-7 | Prep for 1.4.0: | 13:19 |
CIA-7 | - Enabled ketama and compression in pylibmc_wrapper. Both options | 13:19 |
CIA-7 | are 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 an | 13:20 |
CIA-7 | object where transaction extended info was set. | 13:20 |
*** touff has quit IRC | 13:26 | |
*** thetet has quit IRC | 13:29 | |
*** menesis has joined #zope | 13:37 | |
*** J1m has joined #zope | 13:38 | |
*** milele has quit IRC | 13:58 | |
*** svenn has joined #zope | 14:00 | |
CIA-7 | yuppie * r117083 Products.CMFCore/Products/CMFCore/ (CHANGES.txt utils.py tests/test_utils.py): | 14:04 |
CIA-7 | - added FakeExecutableObject | 14: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|lunch | 14:25 | |
*** sunew is now known as windows | 14:27 | |
*** windows is now known as sunew | 14:27 | |
*** J1m has quit IRC | 14:29 | |
*** ccomb has quit IRC | 14:30 | |
*** thetet has joined #zope | 14:57 | |
*** hever has quit IRC | 14:59 | |
*** hever has joined #zope | 14:59 | |
*** mcdonc has quit IRC | 15:10 | |
*** alexpilz has quit IRC | 15:10 | |
*** alexpilz has joined #zope | 15:11 | |
*** touff has joined #zope | 15:16 | |
*** mcdonc has joined #zope | 15:16 | |
CIA-7 | shane * r117084 relstorage/ (4 files in 3 dirs): Made compatible with ZODB 3.10.0b7. | 15:18 |
*** wosc has joined #zope | 15:22 | |
*** fredvd has joined #zope | 15:28 | |
*** baijum has quit IRC | 15:29 | |
*** ccomb has joined #zope | 15:35 | |
*** wosc has quit IRC | 15:35 | |
*** svenn has quit IRC | 15:36 | |
CIA-7 | shane * r117085 relstorage/CHANGES.txt: Credit for Helge. | 15:48 |
*** dunny has quit IRC | 15:52 | |
*** alga has quit IRC | 15:53 | |
*** milele has joined #zope | 15:54 | |
*** sunew has quit IRC | 15:59 | |
*** touff has quit IRC | 16:01 | |
*** milele has quit IRC | 16:02 | |
*** fredvd is now known as fredvd|shop | 16:12 | |
CIA-7 | mgedmin * r117086 /zopetoolkit/doc/source/zope-dev/index.rst: Fix reference to archive.rst. | 16:24 |
*** kiorky has joined #zope | 16:41 | |
*** max has joined #zope | 16:41 | |
*** max is now known as Guest34701 | 16:41 | |
*** Guest34701 has quit IRC | 16:43 | |
*** fredvd|shop is now known as fredvd | 16:48 | |
*** J1m has joined #zope | 16:48 | |
*** lucmult has quit IRC | 16:51 | |
*** lucmult has joined #zope | 16:51 | |
*** lucmult has joined #zope | 16:51 | |
*** pepeu has joined #zope | 16:55 | |
*** Theuni1 has quit IRC | 16:58 | |
*** dvschramm|away is now known as dvschramm | 16:58 | |
*** baijum has joined #zope | 17:01 | |
planetzopebot | Plone Conference Talks Announced (Plone News) http://plone.org/events/conferences/bristol-2010/plone-conference-talks-announced | 17:04 |
*** dayne has joined #zope | 17:05 | |
*** webmaven has joined #zope | 17:07 | |
*** __mac__ has quit IRC | 17:09 | |
*** MrWu has joined #zope | 17:13 | |
*** MrWu has joined #zope | 17:13 | |
*** touff has joined #zope | 17:15 | |
*** lucmult1 has joined #zope | 17:17 | |
*** lucmult has quit IRC | 17:17 | |
*** MatthewWilkes has joined #zope | 17:17 | |
*** touff has quit IRC | 17:19 | |
CIA-7 | wichert * r117087 five.pt/ (CHANGES.txt src/five/pt/__init__.py): Apply patches at import time instead of product initialisation. | 17:22 |
CIA-7 | wichert * r117088 /five.pt/ (4 files in 3 dirs): Tag 1.3.3 | 17:22 |
CIA-7 | ctheune * r117089 /zopetoolkit/doc/source/zope-dev/zope-dev-20100928.rst: Extract summary from meeting record. | 17:22 |
*** hever has quit IRC | 17:29 | |
*** tisto|lunch is now known as tisto | 17:35 | |
*** lucmult1 has quit IRC | 17:35 | |
*** lucmult has joined #zope | 17:35 | |
*** lucmult has quit IRC | 17:42 | |
*** lucmult1 has joined #zope | 17:43 | |
*** lucmult1 has quit IRC | 17:43 | |
*** lucmult has joined #zope | 17:43 | |
*** lucmult has left #zope | 17:46 | |
*** davisagli|away is now known as davisagli | 17:46 | |
*** davisagli is now known as davisagli|away | 17:47 | |
CIA-7 | jim * r117090 ZODB/src/ (ZEO/zrpc/client.py ZEO/tests/testZEO.py CHANGES.txt): | 17:55 |
CIA-7 | Bug fixed | 17:55 |
CIA-7 | - On some systems, using an empty string in a server address of a ZEO | 17:55 |
CIA-7 | client led to a socket error. Now, ZEO clients treat '' as an alias | 17:55 |
CIA-7 | for 'localhost'. | 17:55 |
*** MJ has quit IRC | 18:01 | |
*** fredvd is now known as fredvd|auto | 18:05 | |
*** davisagli|away is now known as davisagli | 18:12 | |
*** davisagli is now known as davisagli|away | 18:15 | |
*** zagy has quit IRC | 18:18 | |
*** goschtl has quit IRC | 18:22 | |
*** alexpilz has quit IRC | 18:38 | |
*** lcpfnvc has quit IRC | 18:41 | |
*** shastry has joined #zope | 18:43 | |
*** shastry has joined #zope | 18:43 | |
*** __mac__ has joined #zope | 18:44 | |
*** fredvd|auto is now known as fredvd | 18:44 | |
CIA-7 | jim * r117091 ZODB/src/ (4 files in 3 dirs): (log message trimmed) | 18:49 |
CIA-7 | Bugs fixed | 18:49 |
CIA-7 | ---------- | 18:49 |
CIA-7 | - When a pool timeout was specified for a database and old connections | 18:49 |
CIA-7 | were removed due to timing out, an error occured due to a bug in the | 18:49 |
CIA-7 | connection cleanup logic. | 18:49 |
CIA-7 | - When mulri-database connections were no longer used and cleaned up, | 18:49 |
CIA-7 | jim * r117092 ZODB/src/ZEO/tests/testZEO.py: Try to avoid spurious failure due to test race | 18:49 |
*** Theuni1 has joined #zope | 18:50 | |
*** davisagli|away is now known as davisagli | 18:51 | |
*** tiwula has joined #zope | 18:53 | |
*** mitchell` is now known as mitchell`off | 18:59 | |
*** giampaolo has quit IRC | 19:05 | |
*** JaRoel|4D has quit IRC | 19:08 | |
*** xitrium has joined #zope | 19:12 | |
xitrium | Hey 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 |
Theuni1 | yes | 19:13 |
Theuni1 | use btrees | 19:13 |
xitrium | okay | 19:13 |
xitrium | OOBTree? | 19:14 |
*** tisto has quit IRC | 19:14 | |
benji | xitrium: what are the keys and values? | 19:15 |
xitrium | keys are strings and values are persistent objects (with subobjects etc) | 19:16 |
mgedmin | is there any reason to use a PersistentDict, ever? | 19:17 |
mcdonc | because every tutorial shows it, so that the tutorial author doesn't need to explain why you need to do self._p_changed = True | 19:18 |
xitrium | I only started with them because I read they're constant time lookup and I wanted fast lookups :( | 19:18 |
mgedmin | mcdonc, no, I mean why not use an OOBTree? | 19:18 |
mcdonc | mgedmin: because the tutorial author doesnt want to explain what a btree is | 19:18 |
mcdonc | (no good reason, iow) | 19:18 |
mcdonc | unless space is a premium | 19:19 |
mgedmin | does it take less space? | 19:19 |
mcdonc | an empty dict is like 282 bytes | 19:19 |
mcdonc | not sure what an empty btree is | 19:19 |
mcdonc | but likely more, and more overhead per key | 19:20 |
*** MatthewWilkes has quit IRC | 19:20 | |
mgedmin | len(pickle.dumps(PersistentDict())) == 92 | 19:20 |
mgedmin | len(pickle.dumps(OOBTree())) == 61 | 19:20 |
mgedmin | len(pickle.dumps(PersistentDict([(x, x) for x in range(1000)]))) = 10872 | 19:21 |
mgedmin | len(pickle.dumps(OOBTree([(x, x) for x in range(1000)]))) = 12640 | 19:21 |
mcdonc | len(pickle.dumps({})) | 19:22 |
mcdonc | 6 | 19:22 |
mcdonc | getsizeof({}) | 19:22 |
mcdonc | 280 | 19:22 |
* mgedmin now wants to microbenchmark access speed for various sizes, but he should get back to work | 19:22 | |
xitrium | Oh awesome, it's down from 6.1 seconds to 0.0087 seconds! | 19:26 |
xitrium | Thanks guys :D | 19:26 |
mgedmin | you'll also be happy to see slower data.fs growth as you modify that structure | 19:33 |
xitrium | awesome | 19:39 |
*** alvaro_ has joined #zope | 19:42 | |
*** ccomb has quit IRC | 19:47 | |
*** sm has quit IRC | 19:57 | |
*** xitrium has quit IRC | 19:57 | |
*** pingviin1 has joined #zope | 20:00 | |
*** alexpilz has joined #zope | 20:08 | |
*** webmaven has quit IRC | 20:08 | |
*** webmaven has joined #zope | 20:15 | |
*** allisterb has quit IRC | 20:16 | |
*** sm has joined #zope | 20:18 | |
*** zagy has joined #zope | 20:42 | |
*** zagy has quit IRC | 20:43 | |
*** zagy has joined #zope | 20:43 | |
*** daMaestro has joined #zope | 20:53 | |
*** regebro has left #zope | 21:01 | |
CIA-7 | jim * r117093 ZODB/src/ (ZEO/zrpc/server.py CHANGES.txt): | 21:03 |
CIA-7 | Bug fixed | 21:03 |
CIA-7 | - Changes to suppprt IPv6 broke a fix for a problem on Mac OS X that | 21:03 |
CIA-7 | could cause a server to stop accepting connections. | 21:03 |
*** JaRoel|4D has joined #zope | 21:05 | |
*** hever has joined #zope | 21:09 | |
*** baijum has quit IRC | 21:11 | |
*** ccomb has joined #zope | 21:14 | |
*** hax404 has joined #zope | 21:19 | |
CIA-7 | icemac * r117094 /hurry.zoperesource/branches: branches | 21:21 |
CIA-7 | icemac * r117095 /hurry.zoperesource/branches/icemac-IBrowserRequest: branch to make package compatible with layers which do not extend IDefaultBrowserLayer | 21:21 |
CIA-7 | icemac icemac-IBrowserRequest * r117096 hurry.zoperesource/ (src/hurry/zoperesource/zcml.py CHANGES.txt): | 21:21 |
CIA-7 | Created `ResourceDirectories` now are registered for ``IBrowserRequest`` the | 21:21 |
CIA-7 | base class of the previously used ``IDefaultBrowserLayer``. So this package can | 21:21 |
CIA-7 | be used when the layer used by the application does not extend | 21:21 |
CIA-7 | ``IDefaultBrowserLayer``, as e. g. `z3c.layer.pagelet` does. | 21:21 |
*** teix has quit IRC | 21:24 | |
*** daMaestro has quit IRC | 21:35 | |
*** MrWu has quit IRC | 21:36 | |
*** ccomb has quit IRC | 21:41 | |
*** zagy1 has joined #zope | 21:41 | |
*** zagy has quit IRC | 21:41 | |
*** mcdonc has quit IRC | 21:42 | |
*** mcdonc has joined #zope | 21:42 | |
*** agroszer_ has joined #zope | 21:48 | |
*** agroszer has quit IRC | 21:49 | |
*** __mac__ has quit IRC | 22:02 | |
*** zagy1 has quit IRC | 22:08 | |
*** JaRoel|4D has quit IRC | 22:20 | |
*** menesis has quit IRC | 22:25 | |
CIA-7 | jim * r117097 /ZODB/tags/3.10.0b8: tag | 22:30 |
CIA-7 | jim 3.10.0b8 * r117098 ZODB/setup.py: *** empty log message *** | 22:30 |
*** hever has quit IRC | 22:31 | |
*** agroszer_ has quit IRC | 22:33 | |
*** JaRoel|4D has joined #zope | 22:46 | |
CIA-7 | shane * r117099 /relstorage/tags/1.4.0: Tagged 1.4.0. | 23:01 |
CIA-7 | shane * r117100 /relstorage/ (tags/1.4.0/README.txt trunk/README.txt): Updated the multi-master comment in README | 23:01 |
*** dunny has joined #zope | 23:02 | |
*** __mac__ has joined #zope | 23:03 | |
*** webar7 has joined #zope | 23:09 | |
webar7 | how do I rename an object (a plone site) from the zopectl debug console? | 23:10 |
webar7 | I'm at >>> prompt ... do I need to import a bunch of things? | 23:10 |
webar7 | do I need to use zeoctl if I'm using zeo?! | 23:13 |
*** menesis has joined #zope | 23:13 | |
*** pepeu has quit IRC | 23:20 | |
sm | something like >>> app.path.to.parentfolder.manage_renameObject('oldsiteid','newsiteid') . But why ? | 23:24 |
*** kleist has quit IRC | 23:24 | |
webar7 | it won't rename in the ZMI | 23:24 |
webar7 | figured maybe it was timing out | 23:25 |
sm | no traceback ? | 23:25 |
webar7 | no | 23:25 |
webar7 | says the oject is being used or refers to url etc etc | 23:25 |
sm | it might be timing out, everything will be recataloged | 23:25 |
webar7 | sounds like part of the folder is getting renamed an then timing out | 23:26 |
sm | I imagine you'd see activity in event.log if log verbosity is high enough | 23:26 |
webar7 | so .... app.plone_folder.manage_renameObject('plone_folder','plone_folder2') | 23:27 |
webar7 | it's a plone site installed as a folder called plone_folder | 23:27 |
webar7 | probably app.plone_folder.manage_renameObject('plone_folder','Site') is what we want | 23:28 |
webar7 | or app.plone_folder.manage_renameObject('plone_folder','www.whatever.com) | 23:28 |
CIA-7 | shane * r117101 relstorage/ (CHANGES.txt setup.py): Back to dev. | 23:29 |
webar7 | oops ... how do I authenticate in the debug console ...argh! | 23:30 |
sm | http://wiki.zope.org/zope2/HowToBecomeManagerInDebugger | 23:30 |
webar7 | thanks | 23:30 |
sm | and after the rename, you probably have to import transaction; transaction.commit() | 23:30 |
sm | won't you avoid the timeout if you connect directly to zope's http port ? | 23:30 |
webar7 | hmm | 23:31 |
webar7 | let's try that :-D | 23:31 |
webar7 | hhah | 23:31 |
sm | and 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 operation | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!