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:
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
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
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
-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,
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
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
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
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
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
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
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
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
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
...
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
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
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
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
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
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
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
[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
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 :
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)
--
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
77 matches
Mail list logo