Re: [ZODB-Dev] New ZODB Mailing list

2014-02-24 Thread Jens Vagelpohl
On 24 Feb 2014, at 11:16 , Vincent Pelletier wrote: > On Sat, 22 Feb 2014 10:37:38 -0500, > Jim Fulton wrote : >> I've created a new ZODB mailing list via google groups: >> >> https://groups.google.com/forum/#!forum/zodb > > If others are wondering how to join the group without using a gmail

Re: [ZODB-Dev] db.undoLog() does not work as documented ..

2010-08-23 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/24/10 00:11 , Laurence Rowe wrote: > I created the zodbdocs following the examples of zope2docs and > zope3docs for docs.zope.org. Jens Vagelpohl added them to the cron job > that updates docs.zope.org and is the person responsible for

[ZODB-Dev] Test mail, please disregard

2010-08-05 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ... just to check if the list is broken as Martin Aspeli seems to believe. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkxaZjQACgkQRAx5nvEhZLJnOwCfRosCbl5sQH8cuD1ZwNG2r7NN aFQAn1MVXOXYErTz9Rmd0dkJyXAkSl6U =ED9Q -END P

Re: [ZODB-Dev] Old transaction records with "bad" pickle data preventing packing

2010-06-14 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/14/10 10:19 , Shane Hathaway wrote: > On 06/14/2010 01:43 AM, Jens Vagelpohl wrote: >> My question: Is there any risk associated with ignoring the failure >> during packing? The latest object versions for the persistent objects in

[ZODB-Dev] Old transaction records with "bad" pickle data preventing packing

2010-06-14 Thread Jens Vagelpohl
Hi all, In a system using Zope 2.11 and ZODB 3.7.0b3 I'm having a problem with old transaction records containing pickle data that fails on cPickle.Unpickler.noload as employed by ZODB.serialize.referencesf, I get an AttributeError from inside the cPickle module: def referencesf(p, oids=None):

Re: [ZODB-Dev] The database root: It's a trap!

2010-05-12 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/12/10 13:21 , Jim Fulton wrote: > On Wed, May 12, 2010 at 7:16 AM, Jens Vagelpohl wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 5/12/10 13:07 , Jim Fulton wrote: >>> B. Change ZODB so

Re: [ZODB-Dev] The database root: It's a trap!

2010-05-12 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/12/10 13:07 , Jim Fulton wrote: > B. Change ZODB so that the root object is a variant of persistent >mapping that either refuses to store more than a small number of >objects, or at least issues a warning when more than a small >number

Re: [ZODB-Dev] Problems in ZEO pack in 3.9.x?

2010-04-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/27/10 12:29 , Hanno Schlichting wrote: > On Mon, Apr 26, 2010 at 7:44 PM, Jim Fulton wrote: >> What do folks think about this? Should missing records be ignored? Or >> should the missing record cause the pack (or maybe just GC) to fail? > > Mmh,

Re: [ZODB-Dev] How do I find out the size of a subtree of the object graph?

2009-09-14 Thread Jens Vagelpohl
On Sep 14, 2009, at 13:27 , Chris Withers wrote: Jens Vagelpohl wrote: Sadly, when you're trying to figure out which folder is using all the space on a disk that's running out of space, that's not practical... How about simply writing a script that crawls the ZODB and gives

Re: [ZODB-Dev] How do I find out the size of a subtree of the object graph?

2009-09-14 Thread Jens Vagelpohl
On Sep 14, 2009, at 13:10 , Chris Withers wrote: Jim Fulton wrote: ZODB doesn't provide any direct support because it has no notion of tree. Does it have any notion of object size on disk for a given object? In Zope 2, you could export the folder and look at the size of the export. Sad

Re: [ZODB-Dev] what could cause this kind of cache corruption?

2008-07-31 Thread Jens Vagelpohl
On Jul 31, 2008, at 17:37 , Chris Withers wrote: Jens Vagelpohl wrote: Sounds logical to me. The running instance and your zopectl run- script work in the same space with identical configurations, so both will start using the same ZEO cache file. To me this sounds like a recipe for

Re: [ZODB-Dev] what could cause this kind of cache corruption?

2008-07-31 Thread Jens Vagelpohl
On Jul 31, 2008, at 17:23 , Chris Withers wrote: I didn't realise (and I've done it often and never experienced this in the past) than running a zopectl run script from the same instance home as a running client could result in ZEO client cache corruption. Should this be the case? Sound

Re: [ZODB-Dev] zodb tools for zodb as of zope 2.9.6?

2008-02-05 Thread Jens Vagelpohl
On Feb 5, 2008, at 01:57 , Chris Withers wrote: Hi All, Where can I find the zodb tools (fsrefs.py, fstest.py, etc) as appropriate for the zodb that ships with Zope 2.9.6? iirc, 2.9.6 was one of the releases that didn't ship with ZODBTools due to a bug, so I'm looking for places to hunt!

Re: [ZODB-Dev] zc.recipe.zeo

2007-08-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3 Aug 2007, at 06:56, David Pratt wrote: I ask this since setting threads to 1 improved performance according to the recent high performance zope session by Lovely systems at europython. Just setting the number of threads to 1 won't improve

Re: [ZODB-Dev] more lockup information / zope2.9.6+zodb 3.6.2

2007-04-10 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10 Apr 2007, at 20:19, Alan Runyan wrote: File "/usr/local/python-2.4.4/lib/python2.4/asyncore.py", line 343, in rec v data = self.socket.recv(buffer_size) error: (113, 'No route to host') File "/usr/local/python-2.4.4/lib/python2.4/a

Re: [ZODB-Dev] two level cache

2007-03-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Mar 2007, at 11:02, Atmasamarpan Novy wrote: Two level cache: A current ZODB cache will become a first level cache (L1), each ZODB connection maintains its own copy. When an object is needed it reads it from L2 cache instead from a storage

Re: [ZODB-Dev] Re: roll back filestorage zodb to a certain date?

2007-03-21 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Mar 2007, at 17:29, Chris Withers wrote: I'm hoping for some means to just lop transactions off the end of the Data.fs until I get to the point in time I want... Why don't you just record the exact size of your Data.fs before starting you

Re: [ZODB-Dev] trigger loading a Persistent's attributes

2007-01-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Jan 2007, at 00:18, Simon Burton wrote: I have a Persistent object, however, its attributes only get loaded from the storage when I request a specific attribute. Problem is, I don't know the names of the attributes necessarily. I was trying

Re: [ZODB-Dev] Trouble with importing...

2006-11-18 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18 Nov 2006, at 17:23, Mark Bartlett wrote: My real goal is to create articles from external sources and insert them into zope. XML seems the logical way to go. Is there a better way? -msb ;) IMHO trying to "abuse" the ZODB import/export-mech

Re: [ZODB-Dev] HOWTO recover from Data.fs.tmp

2006-10-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Oct 2006, at 16:54, Juan Pablo Giménez wrote: El lun, 02-10-2006 a las 22:20 +0200, Roché Compaan escribió: On Mon, 2006-10-02 at 17:19 -0300, Juan Pablo Giménez wrote: > El lun, 02-10-2006 a las 14:00 -0400, Benji York escribió: > > >> "D

Re: [ZODB-Dev] HOWTO recover from Data.fs.tmp

2006-10-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 Oct 2006, at 14:07, Russ Ferriday wrote: But for an app to be writing into thin air without complaining - THAT's a bug! Even having a backup of the Data.fs would not help! Not picking on zope, but if that's what's happening it has to be ca

Re: [ZODB-Dev] Re: What makes the ZODB slow?

2006-07-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3 Jul 2006, at 01:10, Lennart Regebro wrote: On 7/2/06, Chris Withers <[EMAIL PROTECTED]> wrote: I wonder if there's something to be said for having a generic object indexing service that didn't use ZODB but used its own local indexes and re

Re: [ZODB-Dev] Zeo: connection problem

2006-06-07 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7 Jun 2006, at 11:53, Richard Jennings wrote: Hi, I have a Zope2.7.2/Zeo2.2.2 instance running, using the standard zope.conf & zeo.conf settings (exception: port=8081) and it works fine. I want read-only access to the instance zodb to read

Re: [ZODB-Dev] Clustering ZEO Server with drbd

2006-05-29 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 May 2006, at 16:59, [EMAIL PROTECTED] wrote: If you setup drbd and heartbeat , the spare will take over the floating ip from the zeo server and restart the service. drbd is simply doing a block level replication of the zeo server file sy

Re: [ZODB-Dev] Clustering ZEO Server with drbd

2006-05-29 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 May 2006, at 16:45, Christian Theune wrote: [EMAIL PROTECTED] wrote: Hi folks, I'm looking at making a scalable zope infrastructure, I can scale the ZEO clients and mysql, the only issue is the ZEO server. I have used drbd and heartbeat i

Re: [ZODB-Dev] ZEO Authentication

2006-05-26 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 May 2006, at 16:43, Benji York wrote: Andreas Jung wrote: You could use a firewall to allow incoming ZEO connection only from authorized IP address...should not be more than some lines of iptables configuration or so. Similarly, you can

Re: [ZODB-Dev] ZEO Authentication

2006-05-26 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 May 2006, at 13:30, David Pratt wrote: I don't know anyone who uses authenticated ZEO connections, does it even work? IMHO most people are in a situation where the traffic between the ZEO clients and the ZEO server runs on an internal net

Re: [ZODB-Dev] ZEO Authentication

2006-05-26 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 May 2006, at 05:46, David Pratt wrote: I am curious how folks are handling authentication for ZEO in a general way (client against the server). Is is common to attempt to use user/passwords from acl in zope as a means of creating a lists

Re: [ZODB-Dev] Really want to refactor ZEO's networking archiecture

2006-05-05 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5 May 2006, at 02:57, David Pratt wrote: Hi Jim and Roderigo! This is encouraging news. I have been putting much thought into this also. There is a downside to refactoring ZEO in that there are many folks heavily dependent on it and also re

Re: [ZODB-Dev] Re: tid error with ClientStorage cache in Zope 2.9.2

2006-05-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2 May 2006, at 13:33, Florent Guillaume wrote: Oh, well, now that's an obviously named key *grumble* *grumble* Any recent zope has this in its default zope.conf: Come on, you know Chris *never* takes the "attempt to look something up myself

Re: [ZODB-Dev] Pidfile not truncated

2006-04-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 Apr 2006, at 09:01, Thomas Guettler wrote: I think it is a bug. If you think there is a bug please use the collector: http://www.zope.org/Collectors/Zope Email gets lost and forgotten, it is unsuitable for reporting bugs. jens -BEGI

Re: [ZODB-Dev] Conflict Error that won't go away?

2006-03-02 Thread Jens Vagelpohl
Wherever I run ZEO I would never enable the persistent cache. It has always tended to create more problems than it solves. I think a lot of people don't realize that the "persistent" of "persistent cache" only means "survives across ZEO client restarts", not "enable the ZEO cache". The ZEO

Re: [ZODB-Dev] Conflict Error that won't go away?

2006-03-02 Thread Jens Vagelpohl
On 2 Mar 2006, at 17:28, Sidnei da Silva wrote: Hi there, I'm facing an issue with a ConflictError that won't go away even after restarting. Looks like the ZODB got screwed somehow. Here's the traceback: Have you read this document and tried some of the tools mentioned here? http://www.zo

Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread Jens Vagelpohl
o You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From: Jens Vagelpohl <[EMAIL PROTECTED]> Date: 26 February 2006 10:33:39 GMT+01:00 To: zodb-dev Subject: Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone? On

Re: [ZODB-Dev] how to let java applet using mysql database work in zope/plone?

2006-02-26 Thread Jens Vagelpohl
On 26 Feb 2006, at 09:51, LonLon wrote: Hello! Currently, I am trying to integrate one java applet to plone CMS. However, since my applet use mysql database, the applet from plone/ zope can't get the mysql data from localhost. Can we store mysql data inside ZODB ? Or what is the ways to ge

Re: [ZODB-Dev] ZODB and Zope on one Linux machine, how?

2006-01-25 Thread Jens Vagelpohl
On 25 Jan 2006, at 09:49, Rene Pijlman wrote: Option 3: Use separate Python installations for Zope and the application. Install ZODB in the application's Python installation, not in Zope's. This is the only sane option. jens ___ For more informatio

Re: [ZODB-Dev] ZODB transaction question

2006-01-09 Thread Jens Vagelpohl
On 9 Jan 2006, at 21:21, Ammar Hakim wrote: Sometimes, in the last step the browser still gets the old data before the change was made. On a refresh, however, the correct data is obtained. Further, this problem does not always crop up: it seems that it occurs if the particual DB operation is ver

Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Jens Vagelpohl
On 11 Dec 2005, at 16:35, Jim Fulton wrote: Tim Peters wrote: [Jens Vagelpohl] Just as a heads-up because I don't know how much testing ever gets done on OS X: I do: none ;-) Can someone volunteer to run a Mac OS X buildbot slave? If not, I'll try to set up an *old* iMac th

[ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-10 Thread Jens Vagelpohl
Just as a heads-up because I don't know how much testing ever gets done on OS X: Running the tests on the current ZODB trunk using a self.built Python 2.4.2 on OS X (10.4.3) the following test fails: Failure in test test_must_use_consistent_connections (

Re: [ZODB-Dev] Object disappearing -- scary ZODB problem! Please help!!!

2005-11-23 Thread Jens Vagelpohl
On 23 Nov 2005, at 17:28, Dirksen Lau wrote: On 11/23/05, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: On 23 Nov 2005, at 17:06, Dirksen Lau wrote: 1. Open the ZMI of the root; 2. Create one object of whatever type (such as a DTML method); 3. Keep refreshing the browser. 4 out of 10 t

Re: [ZODB-Dev] Object disappearing -- scary ZODB problem! Please help!!!

2005-11-23 Thread Jens Vagelpohl
On 23 Nov 2005, at 17:06, Dirksen Lau wrote: 1. Open the ZMI of the root; 2. Create one object of whatever type (such as a DTML method); 3. Keep refreshing the browser. 4 out of 10 the new object disappears from the folder content list! If I surf dirrectly to the object, such as localhost/foo, I

Re: [ZODB-Dev] Reloading product in 2.8

2005-07-12 Thread Jens Vagelpohl
Imagine if somebody tried to use ZPTs, and the answer to any question where you get errors from it is "well, then don't use it?" It's just not a viable answer. Refresh is not a core functionality like ZPT. That comparison is a bit outlandish. If it is the majoritys agreement that this answ

Re: [ZODB-Dev] Reloading product in 2.8

2005-07-12 Thread Jens Vagelpohl
On 12 Jul 2005, at 18:17, Lennart Regebro wrote: previous Zope version, which I used, was 2.6.1, but it was very old version and I decided to jump to 2.8.0. I took problems with autorefresh. What can I do to solve my problems? If it creates problems then simply don't use it. That's not a

Re: [ZODB-Dev] Reloading product in 2.8

2005-07-12 Thread Jens Vagelpohl
On 12 Jul 2005, at 13:17, Victor Safronovich wrote: previous Zope version, which I used, was 2.6.1, but it was very old version and I decided to jump to 2.8.0. I took problems with autorefresh. What can I do to solve my problems? If it creates problems then simply don't use it. jens __

Re: [ZODB-Dev] Try and fail connect strategy for zeo/zrpc

2005-07-02 Thread Jens Vagelpohl
On 2 Jul 2005, at 01:37, Sidnei da Silva wrote: On Mon, Jun 27, 2005 at 02:38:48PM -0400, Tim Peters wrote: | > Any suggestions about how to best implement this, | | Maybe just create your own socket, attempt to connect, and if that attempt | fails produce the kind of error message you want t