Hello,

I have installed and configured GetPaid in Plone 3.3.4.

I created a new RichDocument and I make it Buyable.

When I click in the Add to Cart button of portlet, I have this error:

---------------------------------------------------
Exception traceback

Time    2010/03/14 14:58:54.232 GMT+1
User Name (User Id)     Me (me)
Request URL     http://mydomain.org/test/@@getpaid-cart-add
Exception Type  POSKeyError
Exception Value         0x01

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Products.PloneGetPaid.browser.cart, line 74, in __call__
    * Module Products.PloneGetPaid.browser.cart, line 82, in addToCart
    * Module Products.PloneGetPaid.content, line 61, in create
    * Module getpaid.core.cart, line 57, in __setitem__
    * Module zope.app.container.ordered, line 200, in __setitem__
    * Module zope.app.container.contained, line 593, in setitem
    * Module zope.event, line 23, in notify
    * Module zope.component.event, line 26, in dispatch
    * Module zope.component._api, line 131, in subscribers
    * Module zope.component.registry, line 300, in subscribers
    * Module zope.interface.adapter, line 535, in subscribers
    * Module zope.component.event, line 33, in objectEventNotify
    * Module zope.component._api, line 131, in subscribers
    * Module zope.component.registry, line 300, in subscribers
    * Module zope.interface.adapter, line 535, in subscribers
    * Module getpaid.discount.subscribers, line 14, in checkDiscount
    * Module getpaid.core.item, line 101, in resolve
    * Module zope.app.intid, line 74, in queryObject
    * Module five.intid.keyreference, line 99, in __call__
    * Module five.intid.keyreference, line 79, in wrapped_object
    * Module five.intid.keyreference, line 72, in root
    * Module ZODB.Connection, line 213, in get
    * Module ZODB.FileStorage.FileStorage, line 548, in load
    * Module ZODB.FileStorage.FileStorage, line 514, in _lookup_pos

POSKeyError: 0x01

Display traceback as text

REQUEST
form
add_item        'True'
quantity        '1'
cookies
__ac    'f1MhG0Ej8xTcsh8bqBi7pqVJcD0gc2l0aW9z'
_ZopeId '70356212A4TIBFPb9Mw'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager at /session_data_manager>>
other
TraversalRequestNameStack       []
LANGUAGE        'es'
AUTHENTICATED_USER      <PloneUser 'Me'>
URL     'http://mydomain.org/test/@@getpaid-cart-add'
VirtualRootPhysicalPath ('', 'site_mydomain_org', 'mydomain.org')
VIRTUAL_URL     'http://mydomain.org/test/@@getpaid-cart-add'
SERVER_URL      'http://mydomain.org'
LANGUAGE_TOOL   <Products.PloneLanguageTool.LanguageTool.LanguageBinding
instance at 0x7fbafc013290>
AUTHENTICATION_PATH     'site_mydomain_org/mydomain.org/virtual_hosting//'
add_item        'True'
__ac    'f1MhG0Ej8xTcsh8bqBi7pqVJcD0gc2l0aW9z'
PUBLISHED       <Products.Five.metaclass.SimpleViewClass from /home/plone/
mybuildout/eggs/Products.PloneGetPaid-0.8.8-py2.4.egg/Products/
PloneGetPaid/browser/templates/cart-manage.pt object at
0x7fbafbe84410>
quantity        '1'
ACTUAL_URL      'http://mydomain.org/test/@@getpaid-cart-add'
VIRTUAL_URL_PARTS       ('http://mydomain.org', 'test/@@getpaid-cart-add')
URL0    http://mydomain.org/test/@@getpaid-cart-add
URL1    http://mydomain.org/test
URL2    http://mydomain.org
URL3    http://mydomain.org
BASE0   http://mydomain.org
BASE1   http://mydomain.org
BASE2   http://mydomain.org
BASE3   http://mydomain.org/test
BASE4   http://mydomain.org/test/@@getpaid-cart-add
environ
HTTP_MAX_FORWARDS       '10'
HTTP_REFERER    'http://mydomain.org/test?portal_status_message=Cambios
+guardados.'
HTTP_ACCEPT_LANGUAGE    'es-es,es;q=0.8,en-us;q=0.5,en;q=0.3'
SERVER_SOFTWARE 'Zope/(unreleased version, python 2.4.4, linux2)
ZServer/1.1 Plone/3.3.4'
SCRIPT_NAME     ''
REQUEST_METHOD  'POST'
PATH_INFO       '/VirtualHostBase/http/mydomain.org/site_mydomain_org/
mydomain.org/VirtualHostRoot/test/@@getpaid-cart-add'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time   1268575119
HTTP_X_FORWARDED_SERVER 'mydomain.org'
CONTENT_LENGTH  '24'
HTTP_ACCEPT_CHARSET     'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:
1.9.0.16) Gecko/2009121609 Iceweasel/3.0.6 (Debian-3.0.6-3)'
HTTP_COOKIE     '__ac="f1MhG0Ej8xTcsh8bqBi7pqVJcD0gc2l0aW9z";
_ZopeId="70356212A4TIBFPb9Mw"'
SERVER_NAME     '0.0.0.0'
REMOTE_ADDR     '127.0.0.1'
PATH_TRANSLATED '/VirtualHostBase/http/mydomain.org/site_mydomain_org/
mydomain.org/VirtualHostRoot/test/@@getpaid-cart-add'
SERVER_PORT     '1234'
HTTP_HOST       'localhost:1234'
HTTP_ACCEPT     'text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8'
GATEWAY_INTERFACE       'CGI/1.1'
HTTP_X_FORWARDED_FOR    '111.222.333.444'
HTTP_X_FORWARDED_HOST   'mydomain.org'
CONTENT_TYPE    'application/x-www-form-urlencoded'
HTTP_ACCEPT_ENCODING    'gzip,deflate'
---------------------------------------------------

Any idea?

Thanks,

Manuel

-- 
GetPaid for Plone: http://www.plonegetpaid.com (overview info) | 
http://code.google.com/p/getpaid (code and issue tracker)
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@googlegroups.com
To unsubscribe from this group, send email to 
getpaid-dev+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en?hl=en

Reply via email to