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?
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
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
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
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
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
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
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),
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
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
-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
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
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
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
-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
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:
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:
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
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
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
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':
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
-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
-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
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 @@
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
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
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
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
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
-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
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
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
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
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
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,
-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)
-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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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]
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
--
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
-
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
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
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
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
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
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
[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:
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
...
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
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
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
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
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
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
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
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
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
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
[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)
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
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
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
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
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
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)
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
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
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
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
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,
[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?
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 - 100 of 106 matches
Mail list logo