|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
ComponentLookupError: getpaid.core.cart.ShoppingCart objectHi everyone, I just added GetPaid to my plone buildout and I'm trying to set it up with the authorize.net processor. I used PloneFormGen and the GetPaid adapter to create a donation form for www.openict.org/donate. I made that page a variable amount donation, but when I click on the donate button I get this error. Can anyone help me debug this? Also, is there any way I can move the amount field for the variable amount donation onto the donation form itself (perhaps by adding a field to the form and then using the payable mappings in the GetPaid adapter for PFG)? I would prefer to disable the GetPaid portlets and simply make a link to the single-page donation form. This will allow me to have a consistent user experience: as you can see at www.openict.org/donate, I already have a button for PayPal donations and I would like the user to be able to choose between the two options in a way that's not too confusing. Thanks for your help! Kyle Cronan <kyle@...> 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 79, in addToCart Module zope.component._api, line 104, in getMultiAdapter ComponentLookupError: ((<getpaid.core.cart.ShoppingCart object at 0xb5b833ac>, <ATFolder at /openictfoundation/donate>), <InterfaceClass getpaid.core.interfaces.ILineItemFactory>, u'') --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectKyle,
You should be able to add a decimal field to your form, and then map that field using the payables mapping. Once you do that, the value in the field will be the amount the user donates. Then you can disable the portlets since the interface to donations will be handled by the formgen form.
Also what version of getpaid are you using? -Rob
On Tue, Jul 28, 2009 at 4:11 PM, Kyle Cronan <kyle@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectRob, It's 0.7.9 according to the site setup. Here's some more detail: eggs/getpaid.authorizedotnet-0.3.2-py2.4.egg eggs/getpaid.core-0.7.5-py2.4.egg eggs/getpaid.discount-0.8.3-py2.4.egg eggs/getpaid.flatrateshipping-0.2-py2.4.egg eggs/getpaid.formgen-0.2.7-py2.4.egg eggs/getpaid.nullpayment-0.3.1-py2.4.egg eggs/getpaid.recipe.release-1.6_1dev-py2.4.egg eggs/getpaid.wizard-0.3-py2.4.egg eggs/hurry.workflow-0.9.1_getpaid-py2.4.egg eggs/Products.PloneGetPaid-0.8.4-py2.4.egg eggs/yoma.batching-0.2.1_getpaid-py2.4.egg eggs/zc.resourcelibrary-0.5_getpaid-py2.4.egg eggs/zc.table-0.5.1_getpaid-py2.4.egg * Plone 3.1.5.1 * CMF 2.1.1 * Zope (Zope 2.10.6-final, python 2.4.5, linux2) * Python 2.4.5 (#2, Nov 21 2008, 23:43:24) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] * PIL 1.1.6 Thanks, Kyle On Tue, Jul 28, 2009 at 8:38 PM, Rob LaRubbio<larubbio@...> wrote: > Kyle, > You should be able to add a decimal field to your form, and then map > that field using the payables mapping. Once you do that, the value in the > field will be the amount the user donates. Then you can disable the > portlets since the interface to donations will be handled by the formgen > form. > Also what version of getpaid are you using? > -Rob > > On Tue, Jul 28, 2009 at 4:11 PM, Kyle Cronan <kyle@...> wrote: >> >> Hi everyone, >> >> I just added GetPaid to my plone buildout and I'm trying to set it up >> with the authorize.net processor. I used PloneFormGen and the GetPaid >> adapter to create a donation form for www.openict.org/donate. I made >> that page a variable amount donation, but when I click on the donate >> button I get this error. Can anyone help me debug this? >> >> Also, is there any way I can move the amount field for the variable >> amount donation onto the donation form itself (perhaps by adding a >> field to the form and then using the payable mappings in the GetPaid >> adapter for PFG)? I would prefer to disable the GetPaid portlets and >> simply make a link to the single-page donation form. This will allow >> me to have a consistent user experience: as you can see at >> www.openict.org/donate, >> I already have a button for PayPal donations and I would like the user >> to be able to choose between the two options in a way that's not too >> confusing. >> >> Thanks for your help! >> Kyle Cronan >> <kyle@...> >> >> >> 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 79, in addToCart >> Module zope.component._api, line 104, in getMultiAdapter >> ComponentLookupError: ((<getpaid.core.cart.ShoppingCart object at >> 0xb5b833ac>, <ATFolder at /openictfoundation/donate>), <InterfaceClass >> getpaid.core.interfaces.ILineItemFactory>, u'') >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectAre you using getpaid.recipe.release to install it? If so what do you have in your buildout?
-Rob
On Tue, Jul 28, 2009 at 6:57 PM, Kyle Cronan <kyle@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectYes, here is the buildout.cfg. I use a number of different add-ons for my site, so perhaps there is some sort of conflict. I had to use the -N argument to buildout when I added the stuff for GetPaid, starting from a working site that was created in November of last year. When I didn't do that I ran into problems with various updates to the core packages causing problems with quills and collective.dancing: I eventually managed to get the buildout to complete and the zope instance to start, but when I went to the site I got a "no traversable adapter" error. So I restored my site from backup and used the following config with buildout -N. Thanks, Kyle [buildout] parts = plone zope2 productdistros instance zopepy securemaildrop getpaid unzip = true # Add additional egg download sources here. dist.plone.org contains archives # of Plone packages. find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads http://dist.repoze.org # Add additional eggs here # elementtree is required by Plone eggs = elementtree Products.membrane Products.remember plone.mail listen PIL # Reference any eggs you are developing here, one per line # e.g.: develop = src/my.package develop = src/Products.membrane src/Products.remember src/plone.mail src/Products.listen download-cache = /home/kyle/openict/downloads download-directory = /home/kyle/openict/downloads [plone] recipe = plone.recipe.plone>=3.1.1,<3.2dev [getpaid] recipe = getpaid.recipe.release addpackages = getpaid.authorizedotnet getpaid.formgen getpaid.flatrateshipping getpaid.discount [zope2] recipe = plone.recipe.zope2install url = ${plone:zope2-url} fake-zope-eggs = true additional-fake-eggs = ZODB3 skip-fake-eggs = zope.testing zope.component zope.i18n zope.sendmail # Use this section to download additional old-style products. # List any number of URLs for product tarballs under URLs (separate # with whitespace, or break over several lines, with subsequent lines # indented). If any archives contain several products inside a top-level # directory, list the archive file name (i.e. the last part of the URL, # normally with a .tar.gz suffix or similar) under 'nested-packages'. # If any archives extract to a product directory with a version suffix, list # the archive name under 'version-suffix-packages'. [productdistros] recipe = plone.recipe.distros urls = http://www.zope.org/Members/shh/DocFinderTab/1.0.2/DocFinderTab-1.0.2.tar.gz http://www.zope.org/Products/GenericSetup/GenericSetup-1.4.1/GenericSetup-1.4.1.tar.gz nested-packages = version-suffix-packages = [securemaildrop] recipe = topp.recipes.securemaildrop smtp_host = localhost smtp_port = 25 url = http://www.dataflake.org/software/maildrophost/maildrophost_1.20/MaildropHost-1.20.tgz [instance] recipe = plone.recipe.zope2instance zope2-location = ${zope2:location} user = admin:br4Atla http-address = 9239 effective-user = kyle #debug-mode = on #verbose-security = on # If you want Zope to know about any additional eggs, list them here. # This should include any development eggs you listed in develop-eggs above, # e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package eggs = ${buildout:eggs} ${plone:eggs} collective.dancing Products.QuillsEnabled Products.SecureMaildropHost collective.portlet.feedmixer ${getpaid:eggs} # If you want to register ZCML slugs for any packages, list them here. # e.g. zcml = my.package my.other.package zcml = collective.dancing collective.portlet.feedmixer products = ${buildout:directory}/products ${productdistros:location} ${buildout:parts-directory}/securemaildrop ${plone:products} [zopepy] recipe = zc.recipe.egg eggs = ${instance:eggs} interpreter = zopepy extra-paths = ${zope2:location}/lib/python scripts = zopepy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectOh crud, I forgot there is a password in there. That is no longer my admin password. :) Kyle On Tue, Jul 28, 2009 at 11:29 PM, Kyle Cronan<kyle@...> wrote: > Yes, here is the buildout.cfg. I use a number of different add-ons > for my site, so perhaps there is some sort of conflict. I had to use > the -N argument to buildout when I added the stuff for GetPaid, > starting from a working site that was created in November of last > year. When I didn't do that I ran into problems with various updates > to the core packages causing problems with quills and > collective.dancing: I eventually managed to get the buildout to > complete and the zope instance to start, but when I went to the site I > got a "no traversable adapter" error. So I restored my site from > backup and used the following config with buildout -N. > > Thanks, > Kyle > > [buildout] > parts = > plone > zope2 > productdistros > instance > zopepy > securemaildrop > getpaid > > unzip = true > > # Add additional egg download sources here. dist.plone.org contains archives > # of Plone packages. > find-links = > http://dist.plone.org > http://download.zope.org/ppix/ > http://download.zope.org/distribution/ > http://effbot.org/downloads > http://dist.repoze.org > > # Add additional eggs here > # elementtree is required by Plone > eggs = > elementtree > Products.membrane > Products.remember > plone.mail > listen > PIL > > # Reference any eggs you are developing here, one per line > # e.g.: develop = src/my.package > develop = > src/Products.membrane > src/Products.remember > src/plone.mail > src/Products.listen > > download-cache = /home/kyle/openict/downloads > download-directory = /home/kyle/openict/downloads > > [plone] > recipe = plone.recipe.plone>=3.1.1,<3.2dev > > [getpaid] > recipe = getpaid.recipe.release > > addpackages = > getpaid.authorizedotnet > getpaid.formgen > getpaid.flatrateshipping > getpaid.discount > > [zope2] > recipe = plone.recipe.zope2install > url = ${plone:zope2-url} > > fake-zope-eggs = true > additional-fake-eggs = ZODB3 > skip-fake-eggs = > zope.testing > zope.component > zope.i18n > zope.sendmail > > # Use this section to download additional old-style products. > # List any number of URLs for product tarballs under URLs (separate > # with whitespace, or break over several lines, with subsequent lines > # indented). If any archives contain several products inside a top-level > # directory, list the archive file name (i.e. the last part of the URL, > # normally with a .tar.gz suffix or similar) under 'nested-packages'. > # If any archives extract to a product directory with a version suffix, list > # the archive name under 'version-suffix-packages'. > [productdistros] > recipe = plone.recipe.distros > urls = > http://www.zope.org/Members/shh/DocFinderTab/1.0.2/DocFinderTab-1.0.2.tar.gz > http://www.zope.org/Products/GenericSetup/GenericSetup-1.4.1/GenericSetup-1.4.1.tar.gz > nested-packages = > version-suffix-packages = > > [securemaildrop] > recipe = topp.recipes.securemaildrop > smtp_host = localhost > smtp_port = 25 > url = http://www.dataflake.org/software/maildrophost/maildrophost_1.20/MaildropHost-1.20.tgz > > [instance] > recipe = plone.recipe.zope2instance > zope2-location = ${zope2:location} > user = admin:br4Atla > http-address = 9239 > effective-user = kyle > #debug-mode = on > #verbose-security = on > > # If you want Zope to know about any additional eggs, list them here. > # This should include any development eggs you listed in develop-eggs above, > # e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package > eggs = > ${buildout:eggs} > ${plone:eggs} > collective.dancing > Products.QuillsEnabled > Products.SecureMaildropHost > collective.portlet.feedmixer > ${getpaid:eggs} > > # If you want to register ZCML slugs for any packages, list them here. > # e.g. zcml = my.package my.other.package > zcml = > collective.dancing > collective.portlet.feedmixer > > products = > ${buildout:directory}/products > ${productdistros:location} > ${buildout:parts-directory}/securemaildrop > ${plone:products} > > [zopepy] > recipe = zc.recipe.egg > eggs = ${instance:eggs} > interpreter = zopepy > extra-paths = ${zope2:location}/lib/python > scripts = zopepy > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectAnyone have any thoughts on this error I'm seeing? (copied again below) I've looked at the code but I just don't know enough about how Plone works to debug it. Reinstalling GetPaid / manually reimporting the setup steps doesn't fix it. Any help would really be appreciated. It's for a good cause! I'm trying to set up donations by credit card for a nonprofit organization. Thanks, Kyle 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 79, in addToCart Module zope.component._api, line 104, in getMultiAdapter ComponentLookupError: ((<getpaid.core.cart.ShoppingCart object at 0xb5b833ac>, <ATFolder at /openictfoundation/donate>), <InterfaceClass getpaid.core.interfaces.ILineItemFactory>, u'') fyi, likely cause: "I had to use the -N argument to buildout when I added the stuff for GetPaid, starting from a working site that was created in November of last year." (see below) On Tue, Jul 28, 2009 at 11:34 PM, Kyle Cronan<kyle@...> wrote: > Oh crud, I forgot there is a password in there. That is no longer my > admin password. :) > > Kyle > > > On Tue, Jul 28, 2009 at 11:29 PM, Kyle Cronan<kyle@...> wrote: >> Yes, here is the buildout.cfg. I use a number of different add-ons >> for my site, so perhaps there is some sort of conflict. I had to use >> the -N argument to buildout when I added the stuff for GetPaid, >> starting from a working site that was created in November of last >> year. When I didn't do that I ran into problems with various updates >> to the core packages causing problems with quills and >> collective.dancing: I eventually managed to get the buildout to >> complete and the zope instance to start, but when I went to the site I >> got a "no traversable adapter" error. So I restored my site from >> backup and used the following config with buildout -N. >> >> Thanks, >> Kyle >> >> [buildout] >> parts = >> plone >> zope2 >> productdistros >> instance >> zopepy >> securemaildrop >> getpaid >> >> unzip = true >> >> # Add additional egg download sources here. dist.plone.org contains archives >> # of Plone packages. >> find-links = >> http://dist.plone.org >> http://download.zope.org/ppix/ >> http://download.zope.org/distribution/ >> http://effbot.org/downloads >> http://dist.repoze.org >> >> # Add additional eggs here >> # elementtree is required by Plone >> eggs = >> elementtree >> Products.membrane >> Products.remember >> plone.mail >> listen >> PIL >> >> # Reference any eggs you are developing here, one per line >> # e.g.: develop = src/my.package >> develop = >> src/Products.membrane >> src/Products.remember >> src/plone.mail >> src/Products.listen >> >> download-cache = /home/kyle/openict/downloads >> download-directory = /home/kyle/openict/downloads >> >> [plone] >> recipe = plone.recipe.plone>=3.1.1,<3.2dev >> >> [getpaid] >> recipe = getpaid.recipe.release >> >> addpackages = >> getpaid.authorizedotnet >> getpaid.formgen >> getpaid.flatrateshipping >> getpaid.discount >> >> [zope2] >> recipe = plone.recipe.zope2install >> url = ${plone:zope2-url} >> >> fake-zope-eggs = true >> additional-fake-eggs = ZODB3 >> skip-fake-eggs = >> zope.testing >> zope.component >> zope.i18n >> zope.sendmail >> >> # Use this section to download additional old-style products. >> # List any number of URLs for product tarballs under URLs (separate >> # with whitespace, or break over several lines, with subsequent lines >> # indented). If any archives contain several products inside a top-level >> # directory, list the archive file name (i.e. the last part of the URL, >> # normally with a .tar.gz suffix or similar) under 'nested-packages'. >> # If any archives extract to a product directory with a version suffix, list >> # the archive name under 'version-suffix-packages'. >> [productdistros] >> recipe = plone.recipe.distros >> urls = >> http://www.zope.org/Members/shh/DocFinderTab/1.0.2/DocFinderTab-1.0.2.tar.gz >> http://www.zope.org/Products/GenericSetup/GenericSetup-1.4.1/GenericSetup-1.4.1.tar.gz >> nested-packages = >> version-suffix-packages = >> >> [securemaildrop] >> recipe = topp.recipes.securemaildrop >> smtp_host = localhost >> smtp_port = 25 >> url = http://www.dataflake.org/software/maildrophost/maildrophost_1.20/MaildropHost-1.20.tgz >> >> [instance] >> recipe = plone.recipe.zope2instance >> zope2-location = ${zope2:location} >> user = admin:br4Atla >> http-address = 9239 >> effective-user = kyle >> #debug-mode = on >> #verbose-security = on >> >> # If you want Zope to know about any additional eggs, list them here. >> # This should include any development eggs you listed in develop-eggs above, >> # e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package >> eggs = >> ${buildout:eggs} >> ${plone:eggs} >> collective.dancing >> Products.QuillsEnabled >> Products.SecureMaildropHost >> collective.portlet.feedmixer >> ${getpaid:eggs} >> >> # If you want to register ZCML slugs for any packages, list them here. >> # e.g. zcml = my.package my.other.package >> zcml = >> collective.dancing >> collective.portlet.feedmixer >> >> products = >> ${buildout:directory}/products >> ${productdistros:location} >> ${buildout:parts-directory}/securemaildrop >> ${plone:products} >> >> [zopepy] >> recipe = zc.recipe.egg >> eggs = ${instance:eggs} >> interpreter = zopepy >> extra-paths = ${zope2:location}/lib/python >> scripts = zopepy >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectCan you try to explicitly ask for the most recent version? Set your buildout to look like this:
getpaid] recipe = getpaid.recipe.release==1.7 addpackages = getpaid.authorizedotnet getpaid.formgen getpaid.discount getpaid.flatrateshipping then in that same directory delete the file called .installed and re run buildout with -Nv as arguments. Save the output from the command. If it still doesn't work send me the output and the error. -Rob On Thu, Jul 30, 2009 at 5:12 PM, Kyle Cronan <kyle@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: ComponentLookupError: getpaid.core.cart.ShoppingCart objectOkay I did that and it worked, but I'm getting the exact same error. I think maybe I'm just not understanding how this is supposed to work. I followed your earlier advice and added a decimal field for the amount and linked this to the payable. I can submit the form and I got it to the point where it's connecting to the processor and my card is declined (haven't looked into that yet). So that's good: this is how I want the donations to work anyway, you just go right to the form. But what about when I get to the point where I have actual products to sell and I want to do the usual shopping cart thing? Is this error I'm seeing when I click the portlet button (even with my new payables mapping) an actual bug due to my buildout quirks, or am I just configuring it wrong? Can you explain how the payables mappings work? What if I wanted the form to purchase something that was a fixed amount- which field would I map to the fixed-amount payable? When you checkout your shopping cart, does it use some built-in form or could I have that go to a PFG form as well? Sorry if this is documented elsewhere but I couldn't find anything about it. Thanks, Kyle On Thu, Jul 30, 2009 at 7:50 PM, Rob LaRubbio<larubbio@...> wrote: > Can you try to explicitly ask for the most recent version? Set your > buildout to look like this: > > getpaid] > recipe = getpaid.recipe.release==1.7 > > addpackages = > getpaid.authorizedotnet > getpaid.formgen > getpaid.discount > getpaid.flatrateshipping > > then in that same directory delete the file called .installed and re run > buildout with -Nv as arguments. Save the output from the command. If it > still doesn't work send me the output and the error. > > -Rob > > On Thu, Jul 30, 2009 at 5:12 PM, Kyle Cronan <kyle@...> wrote: >> >> Anyone have any thoughts on this error I'm seeing? (copied again >> below) I've looked at the code but I just don't know enough about how >> Plone works to debug it. Reinstalling GetPaid / manually reimporting >> the setup steps doesn't fix it. >> >> Any help would really be appreciated. It's for a good cause! I'm >> trying to set up donations by credit card for a nonprofit >> organization. >> >> Thanks, >> Kyle >> >> 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 79, in addToCart >> Module zope.component._api, line 104, in getMultiAdapter >> ComponentLookupError: ((<getpaid.core.cart.ShoppingCart object at >> 0xb5b833ac>, <ATFolder at /openictfoundation/donate>), <InterfaceClass >> getpaid.core.interfaces.ILineItemFactory>, u'') >> >> fyi, likely cause: "I had to use the -N argument to buildout when I >> added the stuff for GetPaid, starting from a working site that was >> created in November of last year." (see below) >> >> >> On Tue, Jul 28, 2009 at 11:34 PM, Kyle Cronan<kyle@...> wrote: >> > Oh crud, I forgot there is a password in there. That is no longer my >> > admin password. :) >> > >> > Kyle >> > >> > >> > On Tue, Jul 28, 2009 at 11:29 PM, Kyle Cronan<kyle@...> wrote: >> >> Yes, here is the buildout.cfg. I use a number of different add-ons >> >> for my site, so perhaps there is some sort of conflict. I had to use >> >> the -N argument to buildout when I added the stuff for GetPaid, >> >> starting from a working site that was created in November of last >> >> year. When I didn't do that I ran into problems with various updates >> >> to the core packages causing problems with quills and >> >> collective.dancing: I eventually managed to get the buildout to >> >> complete and the zope instance to start, but when I went to the site I >> >> got a "no traversable adapter" error. So I restored my site from >> >> backup and used the following config with buildout -N. >> >> >> >> Thanks, >> >> Kyle >> >> >> >> [buildout] >> >> parts = >> >> plone >> >> zope2 >> >> productdistros >> >> instance >> >> zopepy >> >> securemaildrop >> >> getpaid >> >> >> >> unzip = true >> >> >> >> # Add additional egg download sources here. dist.plone.org contains >> >> archives >> >> # of Plone packages. >> >> find-links = >> >> http://dist.plone.org >> >> http://download.zope.org/ppix/ >> >> http://download.zope.org/distribution/ >> >> http://effbot.org/downloads >> >> http://dist.repoze.org >> >> >> >> # Add additional eggs here >> >> # elementtree is required by Plone >> >> eggs = >> >> elementtree >> >> Products.membrane >> >> Products.remember >> >> plone.mail >> >> listen >> >> PIL >> >> >> >> # Reference any eggs you are developing here, one per line >> >> # e.g.: develop = src/my.package >> >> develop = >> >> src/Products.membrane >> >> src/Products.remember >> >> src/plone.mail >> >> src/Products.listen >> >> >> >> download-cache = /home/kyle/openict/downloads >> >> download-directory = /home/kyle/openict/downloads >> >> >> >> [plone] >> >> recipe = plone.recipe.plone>=3.1.1,<3.2dev >> >> >> >> [getpaid] >> >> recipe = getpaid.recipe.release >> >> >> >> addpackages = >> >> getpaid.authorizedotnet >> >> getpaid.formgen >> >> getpaid.flatrateshipping >> >> getpaid.discount >> >> >> >> [zope2] >> >> recipe = plone.recipe.zope2install >> >> url = ${plone:zope2-url} >> >> >> >> fake-zope-eggs = true >> >> additional-fake-eggs = ZODB3 >> >> skip-fake-eggs = >> >> zope.testing >> >> zope.component >> >> zope.i18n >> >> zope.sendmail >> >> >> >> # Use this section to download additional old-style products. >> >> # List any number of URLs for product tarballs under URLs (separate >> >> # with whitespace, or break over several lines, with subsequent lines >> >> # indented). If any archives contain several products inside a >> >> top-level >> >> # directory, list the archive file name (i.e. the last part of the URL, >> >> # normally with a .tar.gz suffix or similar) under 'nested-packages'. >> >> # If any archives extract to a product directory with a version suffix, >> >> list >> >> # the archive name under 'version-suffix-packages'. >> >> [productdistros] >> >> recipe = plone.recipe.distros >> >> urls = >> >> >> >> http://www.zope.org/Members/shh/DocFinderTab/1.0.2/DocFinderTab-1.0.2.tar.gz >> >> >> >> http://www.zope.org/Products/GenericSetup/GenericSetup-1.4.1/GenericSetup-1.4.1.tar.gz >> >> nested-packages = >> >> version-suffix-packages = >> >> >> >> [securemaildrop] >> >> recipe = topp.recipes.securemaildrop >> >> smtp_host = localhost >> >> smtp_port = 25 >> >> url = >> >> http://www.dataflake.org/software/maildrophost/maildrophost_1.20/MaildropHost-1.20.tgz >> >> >> >> [instance] >> >> recipe = plone.recipe.zope2instance >> >> zope2-location = ${zope2:location} >> >> user = admin:br4Atla >> >> http-address = 9239 >> >> effective-user = kyle >> >> #debug-mode = on >> >> #verbose-security = on >> >> >> >> # If you want Zope to know about any additional eggs, list them here. >> >> # This should include any development eggs you listed in develop-eggs >> >> above, >> >> # e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package >> >> eggs = >> >> ${buildout:eggs} >> >> ${plone:eggs} >> >> collective.dancing >> >> Products.QuillsEnabled >> >> Products.SecureMaildropHost >> >> collective.portlet.feedmixer >> >> ${getpaid:eggs} >> >> >> >> # If you want to register ZCML slugs for any packages, list them here. >> >> # e.g. zcml = my.package my.other.package >> >> zcml = >> >> collective.dancing >> >> collective.portlet.feedmixer >> >> >> >> products = >> >> ${buildout:directory}/products >> >> ${productdistros:location} >> >> ${buildout:parts-directory}/securemaildrop >> >> ${plone:products} >> >> >> >> [zopepy] >> >> recipe = zc.recipe.egg >> >> eggs = ${instance:eggs} >> >> interpreter = zopepy >> >> extra-paths = ${zope2:location}/lib/python >> >> scripts = zopepy >> >> >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |