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 "", line 1, in > AttributeError: __exit__ > > When did that stop working and what should I now do ins

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 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 Under Pyth

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, fo

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 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 move ZEO in this d

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 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 wrote : >> > Anything else different? Did you make any performance comparisons >> > between RelStorage and NEO? >>

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

2012-08-28 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 wrote : > > Anything else different? Did you make any performance comparisons > > between RelStorage and NEO? > > I believe the main difference compared to all other ZODB Sto

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 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 all storage impleme

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 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), with failure resil

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 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 python dicts is. Except

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 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 machines, and by rem

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 packag

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 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 the C ext

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 t

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 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 possibility for othe

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

2012-06-30 Thread Leonardo Rochael Almeida
Hi Tres, 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? Regards, Leo On Sat, Jun 30, 2012 at 8:02 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have comp

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: i

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: i

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

[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 sep

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'r

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 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 t

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 obj

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-de

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

2010-10-21 Thread Benji York
On Thu, Oct 21, 2010 at 11:32 AM, Andreas Jung wrote: > 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 fail

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 bal

[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 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 Jim Fulton
On Fri, Sep 10, 2010 at 2:27 AM, Chris Withers wrote: > On 09/09/2010 21:47, Jim Fulton wrote: >>> >>> 2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource >>> manager:>> object at 0x2d509f0>  at 47516176> >>> Traceback (most recent call last): >>>   File "transaction-1.1.0-py2.6.egg

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

2010-09-09 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:> object at 0x2d509f0> at 47516176> >> Traceback (most recent call last): >>File "transaction-1.1.0-py2.6.egg/transaction/_transaction.py", line >> 475, in abort >> rm.a

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 wrote: > Here's an example: > > 2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource > manager: object at 0x2d509f0> at 47516176> > Traceback (most recent call last): >   File "transaction-1.1.0-py2.6.egg/transaction/_transaction.py", l

[Zope-dev] ZODB Book Project

2010-06-29 Thread Alan Runyan
http://zodbdocs.blogspot.com/ - ZODB Book Project Hello zope-dev, I wanted to provide a status update for the upcoming ZODB book. We have achieved our initial financial goal to get an advance to Carlos de la Guardia. He will begin planning and writing. We need more money. Please take this oppo

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-25 Thread Alan Runyan
> "So if you want to donate. Send us some money. You can use Paypal or send > us a check." > > I don't do Paypal and I couldn't send you a cheque if I wanted to. IBAN, > please. Let's see how many other people want to do IBAN/wires xfers. We could offer it. ___

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 ZO

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-25 Thread Charlie Clark
Am 24.06.2010, 21:19 Uhr, schrieb Alan Runyan : > 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 us some money.

Re: [Zope-dev] ZODB Documentation Fundraising

2010-06-24 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 operatio

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

[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 up

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

Re: [Zope-dev] ZODB issue

2010-02-05 Thread Jim Fulton
On Thu, Feb 4, 2010 at 8:00 PM, Roger 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 maillist - Zope-

[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 ]+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, comman

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 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 debug prompt, y

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 tri

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

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 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 optionally creates a bac

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

2009-10-11 Thread Marius Gedminas
On Sat, Oct 10, 2009 at 10:56:09AM +0200, Hermann Himmelbauer wrote: > 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-07T1

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 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 can't find it in

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 co

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 > > /BSPSite/act/++vh

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 f

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: > > >

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: > databas

[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 BTrees.OOBT

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? > > >

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 h

[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 `z

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

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 pol

[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 th

[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, in

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 re

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 f

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

Re: [Zope-dev] [ZODB-Dev] Blobs and modes

2008-10-24 Thread Christian Theune
On Fri, 2008-10-24 at 15:50 -0400, Benji York wrote: > On Fri, Oct 24, 2008 at 3:28 PM, Jim Fulton <[EMAIL PROTECTED]> wrote: > > > > On Oct 24, 2008, at 3:24 PM, Benji York wrote: > > > >> Is there a good reason blobs don't support "b" or "t" in the mode > >> strings passed to "open"? I'm refacto

[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 as

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 on

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 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-

[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

[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

Re: [Zope-dev] ZODB for Java?

2004-04-14 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

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 -- -

[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] Physics

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 - http:

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

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 sendin

[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 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 - [EM

[Zope-dev] ZODB cache age

2004-02-27 Thread Jeremy Hylton
The old ZODB object cache had a notion of cache age. Objects that hadn't been accessed within a certain time were removed from the cache. This feature was removed in Zope 2.6, but all of the APIs that controlled the age (sometimes called cacheDeactivateAfter) were kept around. I'd like to mark a

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: > 2004-

[Zope-dev] ZODB 3.3 in Zope 3 status

2004-01-26 Thread Jim Fulton
Fred Drake and I have been working on getting Zope 3 working with ZODB 3.3. See: http://zope.org/Wikis/ZODB/PersistentCodeImplementationPlan (which is part of the Zope 2,8 plan) We are currently working on milestone 2. I *hope* to get this done early this week. When we think everything is wor

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 Chris Withers
Thyb wrote: The error message: 2004-01-25T02:55:21 ERROR(200) ZODB Couldn't load state for 3ef2 Traceback (most recent call last): File "/opt/freeware/zope/lib/python/ZODB/Connection.py", line 564, in setstate self._set_ghost_state(obj, p) File "/opt/freeware/zope/lib/python/ZO

[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 Cou

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 > ..

Re: [Zope-dev] ZODB object upgrades

2003-11-04 Thread alan milligan
Thanks for the reply, you've raised a couple of points I need clarification upon... Attributes added to product code are not automatically present in the objects defined by that code, only those created by that code. Methods, however, will be present on all instances of a given class. I won't b

Re: [Zope-dev] ZODB object upgrades

2003-11-03 Thread J. Cameron Cooper
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 (Currency object's are used in the spirit of DateTime rather than

[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 corru

[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 cor

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: 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 cle

[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 _

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) to

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'

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 2

[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 tes

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

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

  1   2   >