<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I don't know if you are aware of Plone Getpaid issue 209 <br>
<br>
<a class="moz-txt-link-freetext" href="http://code.google.com/p/getpaid/issues/detail?id=209">http://code.google.com/p/getpaid/issues/detail?id=209</a><br>
<br>
The title of this issue is not 100% correct. As I get this corruption
without restarting the server.&nbsp; There are some tracebacks over there.<br>
<br>
I think the following lines of the payment processor might have to do
with it<br>
<br>
&nbsp;# make cart safe for persistence by using pickling<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order.shopping_cart = loads(dumps(cart))<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order.user_id = getSecurityManager().getUser().getId()<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order_manager.store(order)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # have to wait for the order to be created and the cart added
for this to work<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; order.finance_workflow.fireTransition('authorize')<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # save html for button - we'll destroy the cart later on<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = button.cart_post_button(order)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # and destroy the cart<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cart_util.destroy(self.context)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return html<br>
<br>
<br>
<br>
Recently, I tried moving from zeo to filestorage to see if this was
related. I get the same error, but now instead of breaking my site
(givving errors for different actions), it seems it is just preventing
me from packing... The tracebak I get when packing is:<br>
<br>
<p>Traceback (innermost last):
</p>
<ul>
  <li> Module ZPublisher.Publish, line 119, in publish</li>
  <li> Module ZPublisher.mapply, line 88, in mapply</li>
  <li> Module ZPublisher.Publish, line 42, in call_object</li>
  <li> Module &lt;string&gt;, line 3, in _facade</li>
  <li> Module AccessControl.requestmethod, line 64, in _curried</li>
  <li> Module App.ApplicationManager, line 431, in manage_pack</li>
  <li> Module ZODB.DB, line 624, in pack</li>
  <li> Module ZODB.FileStorage.FileStorage, line 1352, in pack</li>
  <li> Module ZODB.FileStorage.fspack, line 482, in pack</li>
  <li> Module ZODB.FileStorage.fspack, line 228, in findReachable</li>
  <li> Module ZODB.FileStorage.fspack, line 304, in
findReachableAtPacktime</li>
  <li> Module ZODB.FileStorage.fspack, line 377, in findrefs</li>
  <li> Module ZODB.serialize, line 645, in referencesf</li>
</ul>
KeyError: 'n'
<br>
<br>
Thanks,<br>
<br>
Rafael<br>
</body>
</html>