Re: [Zope-dev] [ZODB-Dev] when did transaction lose the ability to be usable as a context manager?

2013-02-06 Thread Arfrever Frehtes Taifersar Arahesis
2013-02-06 09:57:14 Chris Withers napisał(a): I used to do this: import transaction with transaction: ... print 'hello' ... Traceback (most recent call last): File console, line 1, in module AttributeError: __exit__ When did that stop working and what should I now do instead?

Re: [Zope-dev] [ZODB-Dev] Progress report: porting persistent, BTrees to Python3

2012-12-17 Thread Chris McDonough
On Sun, 2012-12-16 at 22:10 +0100, Godefroid Chapelle wrote: Le 15/12/12 01:52, Tres Seaver a écrit : I fixed the remainig issues in persistent and released 4.0.5 today: its tests properly exercise the C extensions Under Python 3.2 / 3.3. I want to express my thanks to you, Tres, for

Re: [Zope-dev] [ZODB-Dev] Progress report: porting persistent, BTrees to Python3

2012-12-17 Thread Lennart Regebro
On Mon, Dec 17, 2012 at 10:05 AM, Chris McDonough chr...@plope.com wrote: On Sun, 2012-12-16 at 22:10 +0100, Godefroid Chapelle wrote: Le 15/12/12 01:52, Tres Seaver a écrit : I fixed the remainig issues in persistent and released 4.0.5 today: its tests properly exercise the C extensions

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-29 Thread Marius Gedminas
On Tue, Aug 28, 2012 at 06:31:05PM +0200, Vincent Pelletier wrote: On Tue, 28 Aug 2012 16:31:20 +0200, Martijn Pieters m...@zopatista.com wrote : Anything else different? Did you make any performance comparisons between RelStorage and NEO? I believe the main difference compared to all

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-29 Thread Jim Fulton
On Wed, Aug 29, 2012 at 2:29 AM, Marius Gedminas mar...@gedmin.as wrote: On Tue, Aug 28, 2012 at 06:31:05PM +0200, Vincent Pelletier wrote: On Tue, 28 Aug 2012 16:31:20 +0200, Martijn Pieters m...@zopatista.com wrote : Anything else different? Did you make any performance comparisons

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-29 Thread Jim Fulton
On Tue, Aug 28, 2012 at 12:31 PM, Vincent Pelletier vinc...@nexedi.com wrote: ... I forgot in the original mail to mention that NEO does all conflict resolutions on client side rather than server side. The same happens in relStorage, but this is different from ZEO. That's good. I'd like to

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-28 Thread Vincent Pelletier
On Mon, 27 Aug 2012 14:37:37 +0200, Vincent Pelletier vinc...@nexedi.com wrote : Under the hood, it relies on simple features of SQL databases To make things maybe a bit clearer, from the feedback I get: You can forget about SQL presence. NEO usage of SQL is as a relational as a handful of

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-28 Thread Martijn Pieters
On Mon, Aug 27, 2012 at 2:37 PM, Vincent Pelletier vinc...@nexedi.com wrote: NEO aims at being a replacement for use-cases where ZEO is used, but with better scalability (by allowing data of a single database to be distributed over several machines, and by removing database-level locking),

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-28 Thread Vincent Pelletier
On Tue, 28 Aug 2012 16:31:20 +0200, Martijn Pieters m...@zopatista.com wrote : Anything else different? Did you make any performance comparisons between RelStorage and NEO? I believe the main difference compared to all other ZODB Storage implementation is the finer-grained locking scheme: in

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-27 Thread Lennart Regebro
On Mon, Aug 27, 2012 at 2:37 PM, Vincent Pelletier vinc...@nexedi.com wrote: Hi, We've just tagged the 1.0 NEO release. NEO aims at being a replacement for use-cases where ZEO is used, but with better scalability (by allowing data of a single database to be distributed over several

Re: [Zope-dev] [ZODB-Dev] SVN: ZODB/trunk/ Note split of persistent.

2012-08-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/25/2012 10:24 AM, Hanno Schlichting wrote: Could you add zope.wineggbuilder on PyPi as a maintainer to the new standalone persistent package? That way we can automatically build Windows eggs for it, the same way we do for all other packages

Re: [Zope-dev] [ZODB-Dev] RFC: release persistent as a standalone package

2012-07-03 Thread Lennart Regebro
On Mon, Jul 2, 2012 at 7:35 PM, Alan Runyan runy...@gmail.com wrote: I would like to release a '4.0.0' version of the package, and switch the ZODB trunk to pull it in as a dependency (deleting the currently included (older) copy of persistent). One possible issue is that I have not (yet) made

Re: [Zope-dev] [ZODB-Dev] RFC: release persistent as a standalone package

2012-07-02 Thread Alan Runyan
I would like to release a '4.0.0' version of the package, and switch the ZODB trunk to pull it in as a dependency (deleting the currently included (older) copy of persistent). One possible issue is that I have not (yet) made the C extensions work under Python 3.2: I don't know whether that

Re: [Zope-dev] [ZODB-Dev] RFC: release persistent as a standalone package

2012-07-01 Thread Laurence Rowe
On 1 July 2012 02:16, Leonardo Rochael Almeida leoroch...@gmail.com wrote: I'm +1 on the change even without the answer to my next question, but can you elaborate on what is the advantage of releasing persistent appart from ZODB? As well as the clearer separation of concerns it opens up the

Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2012 09:56 PM, Suresh V. wrote: ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError: item already present wih same id due to _setObject and

Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Suresh V.
On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2012 09:56 PM, Suresh V. wrote: ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError:

Re: [Zope-dev] ZODB Mountpoint broken?

2012-02-29 Thread Suresh V.
On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2012 09:56 PM, Suresh V. wrote: ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError:

[Zope-dev] ZODB Mountpoint broken?

2012-02-28 Thread Suresh V.
ZODB Mountpoint distributed with Plone 4.1.2 always seems to create OFS.Folder even if the container-class is specified. Also getting a KeyError: item already present wih same id due to _setObject and _setOb both being called. Am trying to mount a plone.app.folder.folder.ATFolder from a

Re: [Zope-dev] [ZODB-Dev] transaction as context manager, exception during commit

2011-02-24 Thread Laurence Rowe
On 24 February 2011 10:17, Chris Withers ch...@simplistix.co.uk wrote: Hi Jim, The current __exit__ for transaction managers looks like this:     def __exit__(self, t, v, tb):         if v is None:             self.commit()         else:             self.abort() ..which means that if

Re: [Zope-dev] [ZODB-Dev] transaction as context manager, exception during commit

2011-02-24 Thread Chris Withers
On 24/02/2011 11:38, Laurence Rowe wrote: Hi Jim, The current __exit__ for transaction managers looks like this: def __exit__(self, t, v, tb): if v is None: self.commit() else: self.abort() ..which means that if you're using the

Re: [Zope-dev] [ZODB-Dev] Bug (?) in zope/publisher/publish.py:unwrapMethod

2011-01-26 Thread Vincent Pelletier
Le mardi 25 janvier 2011 19:08:11, Tres Seaver a écrit : The Zope2-specific version of 'mapply()' (in 'ZPublisher.mapply') is the right place to fix this issue, if it is to be fixed: Thanks for the info. P.S. This issue is off-topic for the ZODB list: I have cross-posted to 'zope-dev':

Re: [Zope-dev] [ZODB-Dev] Bug (?) in zope/publisher/publish.py:unwrapMethod

2011-01-26 Thread Vincent Pelletier
Le mercredi 26 janvier 2011 08:54:02, Vincent Pelletier a écrit : For some reason, I didn't see your mail on zope-dev As this mail reached the list, I think Tres' mail got caught by some filter. Original mail was: In publish.py[1], unwrapMethod tried to find what can be used to publish an

[Zope-dev] ZODB replication and high-availability across data centers

2010-10-21 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, we are currently investigating options for a large-scale solution where the machines (ZEO clients and ZEO server) should be separated across two data centers. Incoming traffic should be balanced between both data centers. Automatic failover

Re: [Zope-dev] ZODB replication and high-availability across data centers

2010-10-21 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sorry, wrong list : Andreas Jung wrote: Hi there, we are currently investigating options for a large-scale solution where the machines (ZEO clients and ZEO server) should be separated across two data centers. Incoming traffic should be balanced

Re: [Zope-dev] ZODB history problem with Zope 2.12.7

2010-09-28 Thread Chris Withers
On 28/09/2010 12:55, Tres Seaver wrote: On 09/28/2010 03:36 AM, Chris Withers wrote: On 28/09/2010 00:12, Marius Gedminas wrote: --- ./OFS/History.py.orig 2010-09-28 02:11:56.535745440 +0300 +++ ./OFS/History.py2010-09-28 02:12:00.043764683 +0300 @@ -151,6 +151,9 @@

Re: [Zope-dev] [ZODB-Dev] attempting to undo an un-undoable transaction gives NotImplementedError with ZODB 3.9.5

2010-09-10 Thread Chris Withers
On 09/09/2010 21:47, Jim Fulton wrote: 2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource manager:MultiObjectResourceAdapter forZODB.DB.TransactionalUndo object at 0x2d509f0 at 47516176 Traceback (most recent call last): File

Re: [Zope-dev] [ZODB-Dev] attempting to undo an un-undoable transaction gives NotImplementedError with ZODB 3.9.5

2010-09-10 Thread Jim Fulton
On Fri, Sep 10, 2010 at 2:27 AM, Chris Withers ch...@simplistix.co.uk wrote: On 09/09/2010 21:47, Jim Fulton wrote: 2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource manager:MultiObjectResourceAdapter forZODB.DB.TransactionalUndo object at 0x2d509f0  at 47516176 Traceback

Re: [Zope-dev] [ZODB-Dev] attempting to undo an un-undoable transaction gives NotImplementedError with ZODB 3.9.5

2010-09-09 Thread Jim Fulton
On Thu, Aug 26, 2010 at 5:51 PM, Chris Withers ch...@simplistix.co.uk wrote: Here's an example: 2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource manager: MultiObjectResourceAdapter for ZODB.DB.TransactionalUndo object at 0x2d509f0 at 47516176 Traceback (most recent call

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-25 Thread jp
Hi, If you want a chapter on NEO (http://www.neoppod.org/) or book review, let us know, we can write or help. NEO is probably the fastest and most scalable storage for ZODB. We also have lots of benchmarks (we use ZODB for huge transactional banking applications and for the largest CRM

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-25 Thread Charlie Clark
Am 24.06.2010, 21:19 Uhr, schrieb Alan Runyan runy...@gmail.com: I am open for any feedback. I desperately want to get the larger community support and feedback early as possible. Please feel free to send comments, concerns, criticisms. Great idea Alan, but So if you want to donate. Send

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-25 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 j...@nexedi.com wrote: Hi, If you want a chapter on NEO (http://www.neoppod.org/) or book review, let us know, we can write or help. NEO is probably the fastest and most scalable storage for ZODB. We also have lots of benchmarks (we use ZODB

[Zope-dev] ZODB Documentation Fundraising

2010-06-24 Thread Alan Runyan
The blog: http://zodbdocs.blogspot.com/ I am coordinating an effort to have a ZODB book written by one of our Zope clan, Carlos de la Guardia. He has completed a recent book for Packt publishing on Grok. He showed interested in writing a ZODB book if it were under Creative Commons. I have set

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-24 Thread Chris McDonough
Thanks for organizing this Alan. Hopefully folks will follow your lead and contribute. Agendaless put some money into the pot today. On Thu, 2010-06-24 at 14:19 -0500, Alan Runyan wrote: The blog: http://zodbdocs.blogspot.com/ I am coordinating an effort to have a ZODB book written by one

Re: [Zope-dev] [ZODB-Dev] Problem with handling of data managers that join transactions after savepoints

2010-05-11 Thread Chris Withers
Jim Fulton wrote: I plan to implement A soon if there are no objections. Unless someone somehow convinced me to do D, I'll also add an assertion in the Transaction.join method to raise an error if a data manager joins more than once. Option A sounds sensible. It also means I won't have to

Re: [Zope-dev] ZODB issue

2010-02-05 Thread Jim Fulton
On Thu, Feb 4, 2010 at 8:00 PM, Roger d...@projekt01.ch wrote: ... But probably this is a problem and should't get released as is. Any hints? You need to rerun your buildout. There are new (C) methods on fsBuckets. Jim -- Jim Fulton ___ Zope-Dev

[Zope-dev] ZODB issue

2010-02-04 Thread Roger
Hi Jim, I've got an error with the latest ZODB3 trunk: Traceback (most recent call last): File D:\XPortal\trunk\bin\app-script.py, line 171, in module ]+sys.argv[1:]) File d:\home\.buildout\eggs\pastescript-1.7.3-py2.5.egg\paste\script\command.py , line 84, in run invoke(command,

Re: [Zope-dev] [ZODB-Dev] Splitting a large ZODB file storage - any light-weight approach?

2009-12-30 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: Hi there, we have some huge ZODB file storage (60-80 GB each) and we want to split the storage into a number of smaller storage (easier to handle for backup and packing). The storages themselves only contain a few (Zope 2)

Re: [Zope-dev] [ZODB-Dev] Splitting a large ZODB file storage - any light-weight approach?

2009-12-30 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: - copy the old Data.fs into three new storage server buildouts. Attach to each with a ZEO client and delete the folders you do not need in that particular storage in the ZMI or via zopectl debug. Delete operations will

Re: [Zope-dev] [ZODB-Dev] Splitting a large ZODB file storage - any light-weight approach?

2009-12-30 Thread Hanno Schlichting
On Wed, Dec 30, 2009 at 9:16 AM, Andreas Jung li...@zopyx.com wrote: Delete operations will trigger events modifying other global metadata related to the those objects. So this approach requires modification to the application in order to avoid such side effects. But if you do it from a

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-12 Thread Jim Fulton
On Sun, Oct 11, 2009 at 3:27 PM, Marius Gedminas mar...@gedmin.as wrote: ... Sadly, the ZODB doesn't track backreferences, so there only way to find out for sure what points to your object is to do a full graph traversal. The zc.zodbdgc package has a database verification scripts that

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-11 Thread Jim Fulton
On Sat, Oct 10, 2009 at 10:00 PM, Shane Hathaway sh...@hathawaymix.org wrote: Hermann Himmelbauer wrote: That's exactly the problem - it's a read operation and there should not be any write operation involved. However, it's hard to find out where the write operation in my code occurs, I

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-10 Thread Hermann Himmelbauer
Am Freitag 09 Oktober 2009 21:44:12 schrieb Roger Ineichen: Hi Hermann Betreff: Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute? Hermann Himmelbauer wrote: Hi, I once in the while get the following warning in my Zope 3 log, which I'd like

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-10 Thread Hermann Himmelbauer
Am Freitag 09 Oktober 2009 19:12:09 schrieb Shane Hathaway: Hermann Himmelbauer wrote: Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing writes/reads at

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-10 Thread Shane Hathaway
Hermann Himmelbauer wrote: That's exactly the problem - it's a read operation and there should not be any write operation involved. However, it's hard to find out where the write operation in my code occurs, I can't find it in the view, maybe there's something in the authentication code,

[Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Hermann Himmelbauer
Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/c/acc/booklist/index.html: database conflict error (oid 0x7a5d, class

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Shane Hathaway
Hermann Himmelbauer wrote: Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/c/acc/booklist/index.html: database

Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute?

2009-10-09 Thread Roger Ineichen
Hi Hermann Betreff: Re: [Zope-dev] ZODB Competing read/writes: How to find out which attribute? Hermann Himmelbauer wrote: Hi, I once in the while get the following warning in my Zope 3 log, which I'd like to resolve: 2009-10-07T14:35:41 WARNING ZopePublication Competing

Re: [Zope-dev] ZODB moved class upgrade script Was: zope.testrunner import location notifications

2009-06-23 Thread Christian Theune
Hi, On Mon, 2009-06-08 at 09:49 +0200, Christian Theune wrote: Hi, On Tue, 2009-05-26 at 12:42 +0200, Martijn Faassen wrote: Hi there, (in particular Christian Theune) What's the status of the 'import location' notification functionality in zope.testrunner? What's the

Re: [Zope-dev] [ZODB-Dev] Removing the unused and untested ZODB.Mount module

2009-06-11 Thread Jim Fulton
On Jun 11, 2009, at 2:19 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: It looking for the ZODBMountPoint object that Tarek refered to, I saw that there is still a Mount module in the ZODB package. AFAIK, this a fossil that never should have been

[Zope-dev] ZODB moved class upgrade script Was: zope.testrunner import location notifications

2009-06-08 Thread Christian Theune
Hi, On Tue, 2009-05-26 at 12:42 +0200, Martijn Faassen wrote: Hi there, (in particular Christian Theune) What's the status of the 'import location' notification functionality in zope.testrunner? What's the status of the ZODB migration code? Done. I just released the package

Re: [Zope-dev] ZODB change notifications

2009-01-22 Thread Rowan Woodhouse
Laurence Rowe wrote: Rowan Woodhouse wrote: Hi, I've got two clients accessing the same object at the same time (one is Zope and the other is a worker interfacing to another system). In the worker client I need to detect a change to the value of an attribute made by the Zope client. I

[Zope-dev] ZODB change notifications

2009-01-20 Thread Rowan Woodhouse
Hi, I've got two clients accessing the same object at the same time (one is Zope and the other is a worker interfacing to another system). In the worker client I need to detect a change to the value of an attribute made by the Zope client. I can do this by polling the value of the attribute

Re: [Zope-dev] ZODB change notifications

2009-01-20 Thread Laurence Rowe
Rowan Woodhouse wrote: Hi, I've got two clients accessing the same object at the same time (one is Zope and the other is a worker interfacing to another system). In the worker client I need to detect a change to the value of an attribute made by the Zope client. I can do this by polling

[Zope-dev] ZODB 3.8.1 issue

2008-12-24 Thread Roger Ineichen
Hi Jim Just found an issue in ZODB 3.8 branch. (3.8.1 release) The line: 370 in blob.py uses *targetpath* (undefined) This should be *path*. The current 3.9 trunk is fixed. I didn't fix and release that issue because I only have a MinGW compiler installed. Can you pick that up? Regards Roger

Re: [Zope-dev] [ZODB-Dev] SVN woes.

2008-11-11 Thread Wichert Akkerman
On 11/11/08 4:10 PM, Izak Burger wrote: Jim Fulton wrote: I'm going to restore svn from a backup and see where that leaves us. I'm going to disable svn access while I work on this. Good luck :-) I know a little something about the hard work involved in recovering subversion repos,

Re: [Zope-dev] [ZODB-Dev] svn.zope.org up again?

2008-11-11 Thread Christian Theune
On Tue, 2008-11-11 at 12:35 +0200, Marius Gedminas wrote: On Tue, Nov 11, 2008 at 08:51:28AM +0100, Adam GROSZER wrote: Hello Stephan, svn: Can't open file '/svn/repos/main/db/revs/70320': No such file or directory program finished with exit code 1 Seems that one revision did not

Re: [Zope-dev] [ZODB-Dev] svn.zope.org up again?

2008-11-11 Thread Marius Gedminas
On Tue, Nov 11, 2008 at 08:51:28AM +0100, Adam GROSZER wrote: Hello Stephan, svn: Can't open file '/svn/repos/main/db/revs/70320': No such file or directory program finished with exit code 1 Seems that one revision did not get restored. It breaks also on show log, where other folders

Re: [Zope-dev] [ZODB-Dev] svn.zope.org up again?

2008-11-10 Thread Adam GROSZER
Hello Stephan, svn: Can't open file '/svn/repos/main/db/revs/70320': No such file or directory program finished with exit code 1 Seems that one revision did not get restored. It breaks also on show log, where other folders with older revisions seem to work. Tuesday, November 11, 2008, 6:55:51

[Zope-dev] zodb session errors

2006-11-16 Thread Miles Waller
Hi, We have a site that we've recently upgraded from 2.7.6 to 2.8.8 which has started exhibiting higher-than-average session errors. The site consists of 2 zeo clients on 2 separate machines, with a shared session tempstorage mounted via the zeo server. I expect some errors with sessions

[Zope-dev] zodb time-stamp reduction error without time chaning on server

2006-10-04 Thread Chris Withers
Hi All, One of my customers has a large (21GB) production zodb which they back up onto a contingency server using repozo and rsync. The process is roughly as follows: 1. pack the production database to 3 days once a day. 2. create a full backup with repozo and rsync this to the contingency

Re: [Zope-dev] zodb time-stamp reduction error without time chaning on server

2006-10-04 Thread Dieter Maurer
Chris Withers wrote at 2006-10-4 15:06 +0100: ... The interesting thing is that it looks like the transactions where the time appears to go backwards are duplicates of earlier transactions: position in file tid time from tid 310253762330x03689abb582f1311 2006-10-03

Re: [Zope-dev] zodb time-stamp reduction error without time chaning on server

2006-10-04 Thread Chris Withers
Dieter Maurer wrote: 3. If repozo is not to blame, what could be? One possibility would be a bad call. A bad call? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist

Re: [Zope-dev] zodb time-stamp reduction error without time chaning on server

2006-10-04 Thread Dieter Maurer
Chris Withers wrote at 2006-10-4 18:23 +0100: Dieter Maurer wrote: 3. If repozo is not to blame, what could be? One possibility would be a bad call. A bad call? You should read my messages carefully! E.g. a call where the same incremental backup file is presented more than onces to

[Zope-dev] [ZODB] probable small hole in transaction management

2006-09-24 Thread Dieter Maurer
ATT: Crosspost. Please reply to zodb-dev@zope.org (Reply-To header set). We recently have had a problem that seems to indicate a small hole in ZODB (3.4) transaction management. Here is the sequence of events: We have got a repeated ConflictError, until ZPublisher gave up. After this, the

Re: [Zope-dev] ZODB for Java?

2004-04-15 Thread Romain Slootmaekers
Ian Beatty wrote: Greetings. Does anyone know of a good (stable, reliable, fast enough for production use in a web app) ZODB-equivalent for persisting Java objects? www.jdocentral.com Thanks, ..Ian -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- Dr. Ian Beatty

[Zope-dev] ZODB for Java?

2004-04-14 Thread Ian Beatty
Greetings. Does anyone know of a good (stable, reliable, fast enough for production use in a web app) ZODB-equivalent for persisting Java objects? Thanks, ..Ian -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- Dr. Ian Beatty [EMAIL PROTECTED]

Re: [Zope-dev] ZODB for Java?

2004-04-14 Thread Andreas Jung
hi, you should search on freshmeat.net. -aj --On Montag, 12. April 2004 16:05 Uhr -0400 Ian Beatty [EMAIL PROTECTED] wrote: Greetings. Does anyone know of a good (stable, reliable, fast enough for production use in a web app) ZODB-equivalent for persisting Java objects? Thanks, ..Ian --

Re: [Zope-dev] ZODB with twisted web.

2004-04-05 Thread Chris Withers
Syver Enstad wrote: I am checking out how to use ZODB with twisted web. Not sure, but you could check the SchoolTool project, which I know uses ZODB and twisted, just not sure if it uses twisted.web or not... Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope-dev] ZODB with twisted web.

2004-04-04 Thread Kapil Thangavelu
On Fri, 2004-04-02 at 17:37, Dieter Maurer wrote: Syver Enstad wrote at 2004-4-2 11:38 +0200: I am checking out how to use ZODB with twisted web. I thought that I would have the DB instance globally accesible and call the open method to get a connection on each request. I thought that if I use

[Zope-dev] ZODB with twisted web.

2004-04-02 Thread Syver Enstad
I am checking out how to use ZODB with twisted web. I thought that I would have the DB instance globally accesible and call the open method to get a connection on each request. I thought that if I use connection.getTransaction().commit() before sending the response I will commit on the connection

Re: [Zope-dev] ZODB with twisted web.

2004-04-02 Thread Dieter Maurer
Syver Enstad wrote at 2004-4-2 11:38 +0200: I am checking out how to use ZODB with twisted web. I thought that I would have the DB instance globally accesible and call the open method to get a connection on each request. I thought that if I use connection.getTransaction().commit() before sending

Re: [Zope-dev] ZODB cache age

2004-02-28 Thread Dieter Maurer
Jeremy Hylton wrote at 2004-2-27 11:11 -0500: ... cache age ... I'd like to mark all of these APIs as deprecated. That includes manage_cache_age in App.CacheManager and a handful of methods in ZODB.DB. +1 -- Dieter ___ Zope-Dev maillist - [EMAIL

[Zope-dev] ZODB load state error

2004-01-26 Thread Thyb
Hi, I just found this in my Zope log file. After this error the Zope system stopped. No wonder, but certainly not because of physical memory error. What could be the problem? My config is: AiX 5.2 Python 2.3.2 Zope 2.7.0-b3 Apache 1.3.26 The error message: 2004-01-25T02:55:21 ERROR(200) ZODB

Re: [Zope-dev] ZODB load state error

2004-01-26 Thread Toby Dickenson
On Monday 26 January 2004 12:08, Thyb wrote: What could be the problem? That indicates that you are out of memory. If that doesnt seem right, maybe your storage is corrupt in a manner that the unpickler interprets as something with a huge memory footprint. -- Toby Dickenson

RE: [Zope-dev] ZODB load state error

2004-01-26 Thread Tim Peters
[Tibor Tolgyesi] I just found this in my Zope log file. After this error the Zope system stopped. No wonder, but certainly not because of physical memory error. What could be the problem? My config is: AiX 5.2 Python 2.3.2 Zope 2.7.0-b3 Apache 1.3.26 The error message:

Re: [Zope-dev] ZODB object upgrades

2003-11-05 Thread Dieter Maurer
alan milligan wrote at 2003-11-2 14:13 +: ... I now desperately need to write a parser to convert all of these nasties to ZCurrency types. I've come up with the following ExternalMethod - whereby I've defined a __currency__ attribute in each obselete incantation's product ...

[Zope-dev] ZODB object upgrades

2003-11-02 Thread alan milligan
Hi, Over the last month or so, I've rather wonderfully managed to corrupt my ZODB with artifacts of my Currency class that no longer exist. This is due to: (i) moving the module to a different package (twice) (ii) renaming the module (iii) changing it's inheritance hierarchy (having removed all

[Zope-dev] ZODB 3.2 feedback

2003-09-29 Thread Jeremy Hylton
Has anyone had a chance to test ZODB 3.2b3? We're hoping to do a release candidate tomorrow, and it would be good to know if anyone has tried to the beta release. If you've got a current CVS checkout of Zope 2.7, that's got the same code. Jeremy

[Zope-dev] ZODB 3.2b2 release

2003-06-17 Thread Jeremy Hylton
We have released ZODB 3.2b2 available from the usual place: http://www.zope.org/Products/ZODB3.2 This release includes several critical bug fixes for ZEO. The bugs are more likely to affect sites that see a lot of read conflicts (resolved or unresolved). The bugs can cause data loss or

[Zope-dev] ZODB 3.1.2b2 released

2003-06-13 Thread Jeremy Hylton
We have released ZODB 3.1.2b2 available from the usual place: http://www.zope.org/Products/ZODB3.1 This release includes several critical bug fixes for ZEO. The bugs are more likely to affect sites that see a lot of read conflicts (resolved or unresolved). The bugs can cause data loss or

[Zope-dev] ZODB: Are all handles closed?

2003-03-07 Thread Ulla Theiss
Hello list, in our product (and additionally in an other process) we use separate ZODB-Storages. Opening and closing the ZODB several times the number of file-handles increases. We have separated the multiple openings and closings to the following code. It shows the increasing of the handles

Re: [Zope-dev] ZODB: Are all handles closed?

2003-03-07 Thread Steve Alexander
Ulla Theiss wrote: Hello list, in our product (and additionally in an other process) we use separate ZODB-Storages. Opening and closing the ZODB several times the number of file-handles increases. You might want to post this to [EMAIL PROTECTED] instead of [EMAIL PROTECTED] Also, be sure to say

[Zope-dev] ZODB 3.2 release plan posted

2002-11-05 Thread Jeremy Hylton
I have posted a tenative release plan for ZODB 3.2 in the ZODB Wiki at http://www.zope.org/Wikis/ZODB/ZODB%203.2%20Release There are a small set of proposed features centering around better configuration and management of ZEO and ZODB. Feedback is welcome. Jeremy

[Zope-dev] ZODB, Catalog and actually using it

2002-05-29 Thread Nicholas Henke
Hello~~ I am playing with using the Catalog class in ZCatalog along with CatalogQuery to create a generic object layer on top of ZODB. I can index and search til I am blue in the face, and I always get the correct answers. Now for the problems... Say I have the following obj: class

Re: [Zope-dev] ZODB, Catalog and actually using it

2002-05-29 Thread Casey Duncan
try: ob = r.getObject() ob.function() or if that doesn't work: ob = catalog.getobject(r.data_record_id_) ob.function() Bear in mind that getObject traverses to the object which is expensive both in time and memory if the number of results is large. hth, -Casey On Wednesday 29 May

Re: [Zope-dev] ZODB, Catalog and actually using it

2002-05-29 Thread Nicholas Henke
On Wednesday 29 May 2002 04:20 pm, Casey Duncan wrote: try: ob = r.getObject() ob.function() ob gets returned as None -- I think this is due to AbstractCatalogBrain::getObject(). I don't believe self.aq_parent is set correctly -- how is it supposed to be set ? or if that doesn't

Re: [Zope-dev] ZODB, Catalog and actually using it

2002-05-29 Thread Casey Duncan
[removed zodb-dev, don't cross post!] If you are using plain catalogs then you need to store the path to the object somewhere (as metadata or as Zope does as the uid of the catalog record). Then traverse to it based on this path. In Zope you use (restrictedTraverse (or unrestrictedTraverse)

Re: [Zope-dev] ZODB thread safety issue.

2002-03-11 Thread Toby Dickenson
On Sun, 10 Mar 2002 11:52:24 +0100 (CET), Romain Slootmaekers [EMAIL PROTECTED] wrote: This explains the problems we have with our system: we have a multithreaded system where each thread iteratese over a set of objects in the ZODB, and sees of something needs to be done... if so the thread does

[Zope-dev] ZODB thread safety issue.

2002-03-10 Thread Romain Slootmaekers
Yo, I read on the doc's : A key feature of Zope 2 (ZODB 3) is that (a copy of) a persistent object is never accessed by more than one thread (unless the programmer goes way out of thier way). Each thread uses it's own database connection(s). Each connection has it's own copies of persistent

Re: [Zope-dev] ZODB thread safety issue.

2002-03-10 Thread Dieter Maurer
Romain Slootmaekers writes: Is there a way we can share the access to the objects, or do we have to create a global lock ? And if we have to create a global lock, what's the desired/standard approach in doing so. You may have a look at SharedResource at

[Zope-dev] ZODB based Product problem

2002-01-14 Thread Antonio Carrasco
Don´t forget. I´m spanish and my english may not be enough good. Have fun with this e-mail. I´ve been a lot of time looking for documentation, studing it and trying to develop usefull things with ZODB. Here is my problem. Well. I´m working in a Product in wich I use a ZODB to store data. I

[Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)

2001-03-16 Thread Ping Lau
I have been using Berkeley DB 2.7.7 as main Zope Storage for about 3 months now. I am running Zope 2.2.4. Everything was fine yesterday. This morning I tried to access a ZClass (base class ZObjectManager), which contains about 2,000 objects, I got ERROR(200) ZODB Couldn't load state for

Re: [Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)

2001-03-16 Thread Chris McDonough
Ping... eek. Do you have a backup? There are no recovery utilities for BerkeleyStorage AFIAK. - Original Message - From: "Ping Lau" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 3:55 AM Subject: [Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)

[Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino (Rivermen)
Hi. Reading from Jims 'Introduction to the Zope Database': "An object's state may be freed at any time by the ZODB to conserve memory usage." What does this mean? That the object can be freed even though there are references to it? The reason I'm asking is becase I want to use threads and

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Chris McDonough
TECTED] Sent: Friday, November 10, 2000 10:35 AM Subject: [Zope-dev] ZODB, Threads and Persistence Hi. Reading from Jims 'Introduction to the Zope Database': "An object's state may be freed at any time by the ZODB to conserve memory usage." What does this mean? That the o

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino
From: "Magnus Heino (Rivermen)" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 10, 2000 10:35 AM Subject: [Zope-dev] ZODB, Threads and Persistence Hi. Reading from Jims 'Introduction to the Zope Database': "An object's state may be freed at any tim

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Chris McDonough
But I guess this still will be the same anyway. That is, if an object inhereted from Persistence.Persistance spawns a thread that manipulated data in the object, I will have no problems. The thread will be running just fine, and the data will be stored in the zodb. This is how I've

[Zope-dev] ZODB

2000-10-04 Thread Roch'e Compaan
I am getting really funny problems with my Zope installation and I have no idea where to start looking. I for instance deleted a python product from the Products directory and when I start Zope the product is still listed in the Product list. I then packed the ZODB, cleared my Browser's cache,

Re: [Zope-dev] ZODB optimization

2000-09-20 Thread Jim Fulton
[EMAIL PROTECTED] wrote: I'm wondering, is the ZODB easily 'fragmented' or .. un-optimized ? If so, are there any tools/functions that will 'unfragment' / optimize it? This really depends on the undelying storage used. Does the 'pack database' in the Administration menu do this?

Re: [Zope-dev] ZODB....

2000-07-26 Thread Toby Dickenson
On Tue, 25 Jul 2000 18:07:06 +0200, [EMAIL PROTECTED] wrote: I want to develop an external program that can store and retrieve an Object (such as a Person) in the ZoDB That sounds a bit cruel. I tried the example that I found in the How to's but it doesn't works In fact, I have

  1   2   >