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:

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

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

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

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,

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

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

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

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

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

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

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

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

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

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

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

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

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) I have

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

2000-11-10 Thread Chris McDonough
AFAIK, you should be able to spawn a new thread from within any function within Zope and manipulate stuff in the ZODB as long as you lock properly. The number of database connections is fixed, but arbitrary threads can take up a database connection on an ad-hoc basis. If I were you, I'd mess

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

2000-11-10 Thread Magnus Heino
AFAIK, you should be able to spawn a new thread from within any function within Zope and manipulate stuff in the ZODB as long as you lock properly. I guess I wasn't clear enough, but my application isnt within zope, im just using zodb and some more components out of it. Specifically, an

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

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

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

2000-07-26 Thread Carlos Neves
On Tue, 25 Jul 2000, [EMAIL PROTECTED] wrote: Hi, I want to develop an external program that can store and retrieve an Object (such as a Person) in the ZoDB I tried the example that I found in the How to's but it doesn't works In fact, I have the following message :

Re: [Zope-dev] ZODB : store and retrieve (more specific)

2000-07-25 Thread Johan Carlsson
Hi, I want to create a persistent List (I want to store data for a long time without using a relational database). I have found source of such list but I don't know how to use it. The things that I want to know are : -- how could I use personnal object (in Python language) --

Re: [Zope-dev] ZODB : mystery

2000-07-24 Thread Chris Withers
Every time you create a Zope object, such as a DTML document or Folder, it gets stored in the ZODB. Perhaps you could be a little more specific in your aims? cheers, Chris [EMAIL PROTECTED] wrote: Hi, I've a question : How could I store and retrieve object in the ZoDB ? I know that I