Closed hvelarde closed 8 years ago
after upgrading to collective.cover 1.3b1 the error is still present.
After remove basic tile and persistent tile memoise decorators:
2016-09-12 11:57:16 ERROR plone.app.viewletmanager rendering of plone.abovecontent in plone.lockinfo fails: An operation previously failed, with traceback:
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/ZServer/PubCore/ZServerPublisher.py", line 31, in __init__
response=b)
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/ZPublisher/Publish.py", line 452, in publish_module
environ, debug, request, response)
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/ZPublisher/Publish.py", line 419, in publish_module_profiled
environ, debug, request, response)
File "/srv/env/pyenv/versions/2.7.9/lib/python2.7/cProfile.py", line 149, in runcall
return func(*args, **kw)
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/ZPublisher/Publish.py", line 394, in pm
request=request, response=response)
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/ZPublisher/Publish.py", line 249, in publish_module_standard
response = publish(request, module_name, after_list, debug=debug)
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/ZPublisher/Publish.py", line 146, in publish
transactions_manager.commit()
File "/srv/cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 301, in commit
transaction.commit()
File "/srv/cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_manager.py", line 89, in commit
return self.get().commit()
File "/srv/cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 336, in commit
t, v, tb = self._saveAndGetCommitishError()
File "/srv/cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 329, in commit
self._commitResources()
File "/srv/cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 443, in _commitResources
rm.commit(self)
File "/srv/cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 567, in commit
self._commit(transaction)
File "/srv/cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 623, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/srv/cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 658, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/srv/cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 422, in serialize
return self._dump(meta, obj.__getstate__())
File "/srv/cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/serialize.py", line 431, in _dump
self._p.dump(state)
File "/srv/env/pyenv/versions/collective.cover/lib/python2.7/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle instancemethod objects
Plone 4.3.10 with collective.cover 1.2b1 and collective.nitf 2.0b2 installed.
you'll see an error:
we need to test if this happens in the 1.x branch also.