|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
getpaid.buildout not running a successful instanceWell, drat. I could have sworn that "bin/instance fg" inside of a
"getpaid.buildout" checkout was working yesterday, and giving me a copy of Plone in which GetPaid was already installed. Was I imagining things? Today, I find that "bin/instance" is broken: $ cd $ svn co https://getpaid.googlecode.com/svn/getpaid.buildout/trunk getpaid.buildout2 $ cd getpaid.buildout2 $ python2.4 bootstrap.py $ bin/buildout $ bin/instance fg The result of "bin/instance fg" is attached below. Does anyone know why the module "zope.component.event" does not exist today when it seemed to be working so well yesterday? Thanks for any ideas! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- 2009-08-16 15:28:34 INFO ZServer HTTP server started at Sun Aug 16 15:28:34 2009 Hostname: 0.0.0.0 Port: 8080 /home/brandon/getpaid.buildout2/parts/plone/Marshall/handlers/__init__.py:38: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers warnings.warn('libxml2 not available. Unable to register libxml2 based ' \ 2009-08-16 15:28:35 WARNING Init Class Products.CMFFormController.ControllerBase.ControllerBase has a security declaration for nonexistent method 'getPostRequired' 2009-08-16 15:28:35 WARNING Zope OFS.Application: Duplicate Product name:After loading Product 'Five' from '/home/brandon/getpaid.buildout2/parts/productdistros', I skipped the one in '/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Products'. 2009-08-16 15:28:35 INFO PlacelessTranslationService Applying patch *** Patching ZPublisher.Publish with the get_request patch! *** 2009-08-16 15:28:36 INFO Plone Dependency Elementtree not found. Plone needs Elementtree for XML transformation. Please download it from http://effbot.org/downloads/#elementtree 2009-08-16 15:28:36 WARNING Plone Deprecation Warning CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead. 2009-08-16 15:28:36 WARNING Plone Deprecation Warning registerSetupWidget is deprecated and will be removed in Plone 3.0. 2009-08-16 15:28:36 WARNING Plone Deprecation Warning registerSetupWidget is deprecated and will be removed in Plone 3.0. 2009-08-16 15:28:36 WARNING Plone Deprecation Warning CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead. 2009-08-16 15:28:36 ERROR Zope Couldn't install Five Traceback (most recent call last): File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/OFS/Application.py", line 783, in install_product initmethod(context) File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/__init__.py", line 31, in initialize zcml.load_site() File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/zcml.py", line 41, in load_site _context = xmlconfig.file(file) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 558, in file include(context, name, package) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 494, in include processxmlfile(f, context) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile parser.parse(src) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS self.context.end() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 544, in end self.stack.pop().finish() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 692, in finish actions = self.handler(context, **args) File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/fiveconfigure.py", line 84, in loadProducts handleBrokenProduct(product) File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/fiveconfigure.py", line 82, in loadProducts xmlconfig.include(_context, zcml, package=product) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 494, in include processxmlfile(f, context) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile parser.parse(src) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS self.context.end() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 544, in end self.stack.pop().finish() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 692, in finish actions = self.handler(context, **args) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 494, in include processxmlfile(f, context) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile parser.parse(src) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS self.context.end() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 544, in end self.stack.pop().finish() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 691, in finish args = toargs(context, *self.argdata) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 1383, in toargs args[str(name)] = field.fromUnicode(s) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/fields.py", line 141, in fromUnicode raise schema.ValidationError(v) ZopeXMLConfigurationError: File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/skel/site.zcml", line 20.2-20.23 ZopeXMLConfigurationError: File "/home/brandon/getpaid.buildout2/src/Products.PloneGetPaid/Products/PloneGetPaid/configure.zcml", line 25.0-25.48 ZopeXMLConfigurationError: File "/home/brandon/getpaid.buildout2/src/five.intid/five/intid/base.zcml", line 39.2-42.7 ConfigurationError: ('Invalid value for', 'handler', "ImportError: Couldn't import zope.component.event, No module named event") Traceback (most recent call last): File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Zope2/Startup/run.py", line 56, in ? run() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Zope2/Startup/run.py", line 21, in run starter.prepare() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Zope2/Startup/__init__.py", line 98, in prepare self.startZope() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Zope2/Startup/__init__.py", line 257, in startZope Zope2.startup() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Zope2/__init__.py", line 47, in startup _startup() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/Zope2/App/startup.py", line 103, in startup OFS.Application.initialize(application) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/OFS/Application.py", line 304, in initialize initializer.initialize() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/OFS/Application.py", line 333, in initialize self.install_products() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/OFS/Application.py", line 605, in install_products return install_products(app) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/OFS/Application.py", line 636, in install_products folder_permissions, raise_exc=debug_mode) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/OFS/Application.py", line 783, in install_product initmethod(context) File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/__init__.py", line 31, in initialize zcml.load_site() File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/zcml.py", line 41, in load_site _context = xmlconfig.file(file) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 558, in file include(context, name, package) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 494, in include processxmlfile(f, context) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile parser.parse(src) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS self.context.end() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 544, in end self.stack.pop().finish() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 692, in finish actions = self.handler(context, **args) File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/fiveconfigure.py", line 84, in loadProducts handleBrokenProduct(product) File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/fiveconfigure.py", line 82, in loadProducts xmlconfig.include(_context, zcml, package=product) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 494, in include processxmlfile(f, context) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile parser.parse(src) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS self.context.end() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 544, in end self.stack.pop().finish() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 692, in finish actions = self.handler(context, **args) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 494, in include processxmlfile(f, context) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile parser.parse(src) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS self.context.end() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 544, in end self.stack.pop().finish() File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 691, in finish args = toargs(context, *self.argdata) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/config.py", line 1383, in toargs args[str(name)] = field.fromUnicode(s) File "/home/brandon/getpaid.buildout2/parts/zope2/lib/python/zope/configuration/fields.py", line 141, in fromUnicode raise schema.ValidationError(v) zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/brandon/getpaid.buildout2/parts/productdistros/Five/skel/site.zcml", line 20.2-20.23 ZopeXMLConfigurationError: File "/home/brandon/getpaid.buildout2/src/Products.PloneGetPaid/Products/PloneGetPaid/configure.zcml", line 25.0-25.48 ZopeXMLConfigurationError: File "/home/brandon/getpaid.buildout2/src/five.intid/five/intid/base.zcml", line 39.2-42.7 ConfigurationError: ('Invalid value for', 'handler', "ImportError: Couldn't import zope.component.event, No module named event") /home/brandon/getpaid.buildout2/parts/instance/bin/runzope -X debug-mode=on -- Brandon Craig Rhodes brandon@... http://rhodesmill.org/brandon |
|
|
Re: getpaid.buildout not running a successful instanceOn Mon, Aug 17, 2009 at 7:29 AM, Brandon Craig Rhodes<brandon@...> wrote: > Well, drat. I could have sworn that "bin/instance fg" inside of a > "getpaid.buildout" checkout was working yesterday, and giving me a copy > of Plone in which GetPaid was already installed. Was I imagining > things? Today, I find that "bin/instance" is broken: > > $ cd > $ svn co https://getpaid.googlecode.com/svn/getpaid.buildout/trunk getpaid.buildout2 > $ cd getpaid.buildout2 > $ python2.4 bootstrap.py > $ bin/buildout > $ bin/instance fg That builds an old version of Plone. Version 2.5. I don't know why you get that error. I don't know if that version is still supported by the getpaid trunk. You can try a newer version (but still slightly behind the latest release) of Plone by using: ./bin/buildout -c 316.cfg -- Michael Dunstan --~--~---------~--~----~------------~-------~--~----~ 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: getpaid.buildout not running a successful instance> You can try a newer version (but still slightly behind the latest
> release) of Plone by using: > ./bin/buildout -c 316.cfg Drat! I forgot. Thank you, Michael. After running that command several times the previous day, the "-c 316.cfg" disappeared off the command when I typed it in from memory the next day. :-) I'm used to typing "./bin/buildout" without an argument all the time from working on other projects, and it's hard to remember that here there are several buildouts available. Any chance we could rename "buildout.cfg" to "250.cfg" (yes, we'd also have to change the name in the other ".cfg" files because they mention it in their "extends =" line), so that, if "buildout" gets run without an argument by accident, a clean error results and the developer has to re-run it with an explicit designation for the file they want to use? Anyway. Now I can finally run the Google Checkout tests, and, just as was suggested, the way to do it is through "bin/instance": bin/instance test -s getpaid.googlecheckout The tests, on my system at least, experience a failure. I've attached a patch that fixes the broken test; could someone else look over it before I commit, since I want my first few changes to the code base to be looked at my someone else, before I get bold enough to fix things on my own? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- Index: src/getpaid.googlecheckout/src/getpaid/googlecheckout/googlecheckout-browser.txt =================================================================== --- src/getpaid.googlecheckout/src/getpaid/googlecheckout/googlecheckout-browser.txt (revision 2889) +++ src/getpaid.googlecheckout/src/getpaid/googlecheckout/googlecheckout-browser.txt (working copy) @@ -76,7 +76,7 @@ Visit the home page and add to the cart: >>> browser.getLink('Home').click() - >>> browser.getLink('Add to Cart').click() + >>> browser.getControl('Add to Cart').click() Which renders the populated cart for the visitor with a Google Checkout button: -- Brandon Craig Rhodes brandon@... http://rhodesmill.org/brandon |
|
|
Re: getpaid.buildout not running a successful instanceOn Tue, Aug 18, 2009 at 5:54 PM, Brandon Craig Rhodes<brandon@...> wrote: >> You can try a newer version (but still slightly behind the latest >> release) of Plone by using: >> ./bin/buildout -c 316.cfg > > Drat! I forgot. Thank you, Michael. After running that command > several times the previous day, the "-c 316.cfg" disappeared off the > command when I typed it in from memory the next day. :-) > > I'm used to typing "./bin/buildout" without an argument all the time > from working on other projects, and it's hard to remember that here > there are several buildouts available. Any chance we could rename > "buildout.cfg" to "250.cfg" (yes, we'd also have to change the name in > the other ".cfg" files because they mention it in their "extends =" > line), so that, if "buildout" gets run without an argument by accident, > a clean error results and the developer has to re-run it with an > explicit designation for the file they want to use? l would like to see that too. > Anyway. > > Now I can finally run the Google Checkout tests, and, just as was > suggested, the way to do it is through "bin/instance": > > bin/instance test -s getpaid.googlecheckout > > The tests, on my system at least, experience a failure. I've attached a > patch that fixes the broken test; could someone else look over it before > I commit, since I want my first few changes to the code base to be > looked at my someone else, before I get bold enough to fix things on my > own? The patch looks good. Feel free to commit that. Thanks. -- Michael Dunstan --~--~---------~--~----~------------~-------~--~----~ 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 |