ConflictError when using the subscription portlet

Bug #293713 reported by Jan Ulrich Hasecke
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Singing & Dancing
Confirmed
Undecided
Unassigned

Bug Description

I get an error when I try to subscribe via the portlet:

The error vanishes when I deinstall LinguaPlone.

2008-11-04 18:12:02 ERROR ZODB.ConflictResolution Unexpected error
Traceback (most recent call last):
  File "/Users/juh/Plone/zinstance/parts/zope2/lib/python/ZODB/ConflictResolution.py", line 125, in tryToResolveConflict
    resolved = resolve(old, committed, newstate)
  File "/Users/juh/Plone/buildout-cache/eggs/five.intid-0.2.0-py2.4.egg/five/intid/keyreference.py", line 127, in __cmp__
    return cmp(
TypeError: ('Could not adapt', PR(159027928 5u), <InterfaceClass ZODB.interfaces.IConnection>)
2008-11-04 18:12:02 INFO ZPublisher.Conflict ConflictError at /Plone/news/portal_factory/News Item/news_item.2008-11-04.6670449699/atct_edit: database conflict error (oid 0x3586, class BTrees._OIBTree.OIBTree, serial this txn started with 0x0379aaa76ebe2644 2008-11-04 17:11:25.955337, serial currently committed 0x0379aaa7fbc39944 2008-11-04 17:11:59.007201) (2 conflicts (0 unresolved) since startup at Tue Nov 4 17:36:53 2008)
2008-11-04 18:12:05 WARNING LinguaPlone The thread number 119298048 doesn't have an associated request object.
^@^@^@^@^@^@^@^@^@^@2008-11-04 18:22:34 ERROR ZODB.ConflictResolution Unexpected error
Traceback (most recent call last):
  File "/Users/juh/Plone/zinstance/parts/zope2/lib/python/ZODB/ConflictResolution.py", line 125, in tryToResolveConflict
    resolved = resolve(old, committed, newstate)
  File "/Users/juh/Plone/buildout-cache/eggs/five.intid-0.2.0-py2.4.egg/five/intid/keyreference.py", line 127, in __cmp__
    return cmp(
TypeError: ('Could not adapt', PR(132270040 5u), <InterfaceClass ZODB.interfaces.IConnection>)
2008-11-04 18:22:34 INFO ZPublisher.Conflict ConflictError at /Plone/portal_factory/Document/document.2008-11-04.3361447682/atct_edit: database conflict error (oid 0x3586, class BTrees._OIBTree.OIBTree, serial this txn started with 0x0379aab24dc28544 2008-11-04 17:22:18.224964, serial currently committed 0x0379aab28e50caee 2008-11-04 17:22:33.355218) (3 conflicts (0 unresolved) since startup at Tue Nov 4 17:36:53 2008)
2008-11-04 18:22:37 WARNING LinguaPlone The thread number 119101440 doesn't have an associated request object.

Revision history for this message
Daniel Nouri (daniel.nouri) wrote :

I can confirm this. I get a ConflictError even without LinguaPlone installed. (Though only one.) I forgot to remember when exactly this happens.

Do you get this ConflictError reliably with every subscription through portlet?

Changed in singing-dancing:
status: New → Confirmed
Revision history for this message
Jan Ulrich Hasecke (janulrich-hasecke) wrote :

I cannot always reproduce it.

In the meantime I got several times this error, when subscribing via portlet.

Traceback (innermost last):
  Module ZPublisher.Publish, line 125, in publish
  Module Zope2.App.startup, line 238, in commit
  Module transaction._manager, line 96, in commit
  Module transaction._transaction, line 395, in commit
  Module transaction._transaction, line 503, in _commitResources
  Module zope.sendmail.delivery, line 87, in tpc_finish
  Module collective.dancing.composer, line 383, in send
  Module zope.sendmail.mailer, line 46, in send
  Module smtplib, line 244, in __init__
  Module smtplib, line 296, in connect
gaierror: (7, 'No address associated with nodename')

But this does not occur always.

Revision history for this message
Daniel Nouri (daniel.nouri) wrote :

Jan Ulrich Hasecke <email address hidden> writes:
> Module smtplib, line 244, in __init__
> Module smtplib, line 296, in connect
> gaierror: (7, 'No address associated with nodename')
>
> But this does not occur always.

Check your internet connection and your SMTP configuration in Plone. Remember that when you subscribe, S&D automatically sends out an email for confirmation.

Revision history for this message
Daniel Nouri (daniel.nouri) wrote :

While I don't have luck reproducing the ConflictError issue again, I've found out that some of our getpaid friends are having the same problem:

  http://www.nabble.com/intid-error--td18679376.html

Jan Ulrich, when this happens again, can you try and hook in with the PDBDebugMode product (just add Products.PDBDebugMode as an egg in your buildout) and print out all variables that are in scope when the exception occurs like so:

  (Pdb) locals()

And paste the result back here? Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.