Re: [ZODB-Dev] Solved!!! Re: unable to import ZODB: class ConflictError, AttributeError

2012-06-14 Thread Paul Winkler
NOT allow importing globally installed packages. virtualenv --system-site-packages means allow importing global packages. -- Paul Winkler ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https

Re: [ZODB-Dev] RFC: Remove KeyError as base class of POSKeyError

2011-12-15 Thread Paul Winkler
Yes thank you!! Paul Winkler -- Typed on my phone. Apologies for typos, brevity, and/or bizarre word substitutions. On Dec 15, 2011, at 11:52 AM, Jim Fulton j...@zope.com wrote: POSKeyError subclasses KeyError. While this makes sense conceptually, it's really unfortunate in practice

Re: [ZODB-Dev] Speeding up ZODB (was redis cache for RelStorage)

2011-05-06 Thread Paul Winkler
. If this is indeed the problem, one symptom would be vastly better performance on warm pages when all the needed objects are in the client cache. Is this a Zope 2 app? Have you checked the control panel to see what the cache stats look like? -- Paul Winkler http://www.slinkp.com

Re: [ZODB-Dev] Speeding up ZODB (was redis cache for RelStorage)

2011-05-06 Thread Paul Winkler
to retrieve a suboject. I've seen this proposed several times over the years, but AFAIK nobody has implemented it yet. For example: http://www.mail-archive.com/zodb-dev@zope.org/msg04107.html -- Paul Winkler http://www.slinkp.com ___ For more

Re: [ZODB-Dev] MySQL server has gone away with RelStorage

2010-10-25 Thread Paul Winkler
trace log? -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev

[ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Paul Winkler
everything? That'd replace step 3 with a second call to rsync, and eliminate steps 4 and 6. But I'm not sure how fast it is at updating a big binary file. I think I'll do an experiment today and report back on this option. Paul Winkler -- Typed on my phone. Apologies for typos, brevity

Re: [ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Paul Winkler
On Fri, Jun 11, 2010 at 10:18 AM, Chris Withers ch...@simplistix.co.ukwrote: Paul Winkler wrote: 3 should be pretty fast as its an incremental backup. 4 may take a little while but iirc it's not too bad for this db - maybe 10 minutes. Most of the downtime is caused by rebuilding the index

Re: [ZODB-Dev] Restoring from repozo and reusing an index file?

2010-06-11 Thread Paul Winkler
On Fri, Jun 11, 2010 at 11:48 AM, Paul Winkler sli...@gmail.com wrote: On Fri, Jun 11, 2010 at 10:34 AM, Hanno Schlichting ha...@hannosch.euwrote: I tend to run rsync via rsync -rP --rsh=ssh. The Data.fs is an append-only file, so rsync is very efficient at handling it. Only zeopack

Re: [ZODB-Dev] difference between RAM and cache in ZODB

2009-03-31 Thread Paul Winkler
an in-memory cache in RAM, and an optional on-disk cache. Note that the latter only applies when using ZEO. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing

[ZODB-Dev] A koan: persistent object with no container

2008-11-14 Thread Paul Winkler
If I instantiate a subclass of Persistent, but I don't ever assign it as an attribute on the root (or any other Persistent instance) ... then what happens to my instance when the transaction commits? A) it's saved in the ZODB, but not reachable? or B) it's never saved at all? or C) something else

Re: [ZODB-Dev] Zeo Server as a single point of failure

2008-03-10 Thread Paul Winkler
and connect them with ease. in that vein, DirectoryStorage-behind-ZEO has worked perfectly for years... but this new stuff is very interesting! -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http

Re: [ZODB-Dev] Fixing POSKeyErrors :-)

2008-02-13 Thread Paul Winkler
, what happens to the index values for that content? Does undo fire an ObjectModifiedEvent? If not I'd guess that the catalog will still contain pre-undo data. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki

Re: [ZODB-Dev] ZODB 3.8.0a1 released

2007-05-12 Thread Paul Winkler
picked up somewhere (I forget from whom). -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb

[ZODB-Dev] ExportImport.py: failing on import of extension class

2007-04-26 Thread Paul Winkler
misinformed about the originating zope version? I wish I had more access to the original host, but I don't... I'm just trying to pick up the pieces with what I've been given. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see

Re: [ZODB-Dev] ExportImport.py: failing on import of extension class

2007-04-26 Thread Paul Winkler
On Thu, Apr 26, 2007 at 10:10:17AM -0400, Jim Fulton wrote: On Apr 26, 2007, at 2:13 AM, Paul Winkler wrote: In ExportImport._importDuringCommit() I found this little gem: pfile = StringIO(data) unpickler = Unpickler(pfile) unpickler.persistent_load

Re: [ZODB-Dev] ExportImport.py: failing on import of extension class

2007-04-26 Thread Paul Winkler
it in a Zope 2.7.9 instance. I see two possibilities: * the guy who told me it came from 2.7.8 was wrong. Does the evidence support this? * something else is wrong Are there any known explanations in this category? -- Paul Winkler http://www.slinkp.com

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Paul Winkler
exploring in zopectl debug. That might help you determine whether the plone instance itself is broken, or some vital sub-object. As long as you don't call transaction.commit() carelessly, this is safe. more here: http://docs.neuroinf.de/programming-plone/debug#1-6 -- Paul Winkler http://www.slinkp.com

Re: [ZODB-Dev] ZODB - XMLRPC - Content is not allowed in prolog.

2007-03-13 Thread Paul Winkler
. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] History-less FileStorage?

2006-12-29 Thread Paul Winkler
is the minimal variant of DirectoryStorage. See http://dirstorage.sourceforge.net/FAQ.html I've never tried it. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev

Re: [ZODB-Dev] Adopting ZODB

2006-07-13 Thread Paul Winkler
=Building_20Neural_20Networks_20using_20Conx). Is there any ability in ZODB to retroactively wrap objects in a persistence mechanism instead of having to rewrite an entire library to use the Persistent class? Write a wrapper. In the simplest case: class PersistentFoo(somemodule.Foo, Persistent): pass -- Paul Winkler http

Re: [ZODB-Dev] Adopting ZODB

2006-07-13 Thread Paul Winkler
chains of non-Persistent objects, it leads to write conflict errors and unnecessary storage bloat. Make some Persistent wrapper classes and use them. Use BTrees when you need a large number of highly mutable sub-objects. -- Paul Winkler http://www.slinkp.com

Re: ZEO cache best practices, was Re: [ZODB-Dev] ZEO 3.2 (Zope 2.7) -3.6 (Zope 2.9) upgrading: Much slower startup due to cache file creation

2006-04-18 Thread Paul Winkler
On Tue, Apr 18, 2006 at 02:12:15PM -0400, Tim Peters wrote: [Paul Winkler] Interesting. Is there a recommended way now to judge whether your ZEO cache is big enough? Was there a recommended way before? If so, it probably sucked too ;-) Heh. Well, I had a site that under some usage

Re: [ZODB-Dev] Re: Question (Re: Possible contributions to ZODB)

2006-02-03 Thread Paul Winkler
be useful for things like an outgoing email service. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman

Re: [ZODB-Dev] Slow Zeo load times after upgrade to ZODB 3.4

2005-10-22 Thread Paul Winkler
On 10/22/05, Dieter Maurer [EMAIL PROTECTED] wrote: Paul Winkler wrote at 2005-10-21 16:24 -0400: ... Why do you want to use the same zope.conf, and how can that possibly work anyway? You can't run two servers on the same port! He might use the same configuration file on different hosts

Re: [ZODB-Dev] tweaking invalidation-queue-size

2005-08-02 Thread Paul Winkler
On Tue, Aug 02, 2005 at 05:43:16PM -0400, Tim Peters wrote: Alas, I'm afraid that will remain true even after this reply 0.9 wink. Actually, that explains a lot. Thanks Tim! if-I-wasn't-about-dead-from-everything-going-on-yesterday-and-today- I'd-check-in-a-patch-to-the-docs-'ly-yrs, -- Paul

[ZODB-Dev] ZEO cache problems and a lost ZEO connection

2005-08-01 Thread Paul Winkler
are on the same subnet and the admins swear they weren't monkeying with the firewall or anything else. -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list

Re: [ZODB-Dev] ZODB 3.2.8 final released

2005-04-28 Thread Paul Winkler
:-) -- Paul Winkler http://www.slinkp.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev