« Return to Thread: Plone Get Paid and zodb corruption

Plone Get Paid and zodb corruption

by rafael-54 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I don't know if you are aware of Plone Getpaid issue 209

http://code.google.com/p/getpaid/issues/detail?id=209

The title of this issue is not 100% correct. As I get this corruption without restarting the server.  There are some tracebacks over there.

I think the following lines of the payment processor might have to do with it

 # make cart safe for persistence by using pickling
        order.shopping_cart = loads(dumps(cart))
        order.user_id = getSecurityManager().getUser().getId()
        order_manager.store(order)

        # have to wait for the order to be created and the cart added for this to work
        order.finance_workflow.fireTransition('authorize')

        # save html for button - we'll destroy the cart later on
        html = button.cart_post_button(order)

        # and destroy the cart
        cart_util.destroy(self.context)

        return html



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:

Traceback (innermost last):

KeyError: 'n'

Thanks,

Rafael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to getpaid-dev@...
To unsubscribe from this group, send email to getpaid-dev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Plone Get Paid and zodb corruption