Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Conflict error

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


miles at jamkit

Mar 19, 2009, 7:50 AM

Post #1 of 2 (944 views)
Permalink
Conflict error

Hi

I have a PAS plugin that pulls user properties from a sql database.

Intermittently, I get conflicterrors from the plugin when zope commits
its transaction - even though no db changes have been made.

Frustratingly, there is very little information in the traceback of
actual use, other than the name of the class itself.

Is there an easy way to identify what's keeping the database in the
transaction so I can correct it?

Thanks

Miles


_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


tseaver at palladion

Mar 19, 2009, 8:03 AM

Post #2 of 2 (854 views)
Permalink
Re: Conflict error [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Miles Waller wrote:
> Hi
>
> I have a PAS plugin that pulls user properties from a sql database.
>
> Intermittently, I get conflicterrors from the plugin when zope commits
> its transaction - even though no db changes have been made.
>
> Frustratingly, there is very little information in the traceback of
> actual use, other than the name of the class itself.
>
> Is there an easy way to identify what's keeping the database in the
> transaction so I can correct it?

The plugin itself is a persistent object: can you check that it is not
accidentally writing data to itself, maybe as a cache?


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver [at] palladion
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJwl7Z+gerLs4ltQ4RAteWAKCQ+beGwq6afBjVEwqyO7R0/eRO9QCglXRb
8+zfnZ6pDLYzNgXGu5MdE0A=
=Y52Y
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.