Hi Rafael, I have seen the same error in the ore.viewlet package. This is because there is an extra space in the parenthesis when the class is declared: class ViewletViewTraverser( ) I thought I had fixed it, but maybe I haven't uploaded it to pypi yet. I don't think this errors will prevent you from using the getpaid product though.
And for the Download error: (113, 'No route to host') -- Some packages may not be found! I keep having it with various buildout today, I think there might be something used by most of the buildouts that is down. Lucie -- S i x F e e t U p , I n c . | http://www.sixfeetup.com Phone: +1 (317) 861-5948 x605 REGISTER NOW for the Plone Deployment Workshop | Nov. 20-21, 2008 http://www.sixfeetup.com/news/plone-deployment-workshop On Sun, Nov 9, 2008 at 12:39 PM, rafael <[EMAIL PROTECTED]> wrote: > > Hi, > > I installing and uninstalling things I could on my local machine get > getpaid working with everything I need, just as in the buildout.cfg > example in the previous email. The funny is that if I use this buildout > in my virtual server, I get the errors, I can't imagine why. I notived > that running the buildout raises me this error. i think it is only a > warning cause it doensn't prevent the installation, but may have > something to do with the bug described... > > Thanks, > > Rafael > > Download error: (113, 'No route to host') -- Some packages may not be found! > Getting distribution for 'ore.viewlet==0.2'. > File "build/bdist.linux-i686/egg/ore/viewlet/browser.py", line 14 > class ViewletViewTraverser( ): > ^ > SyntaxError: invalid syntax > File > "/opt/Plone-3.1.6/buildout-cache/eggs/tmpjlMwtn/ore.viewlet-0.2-py2.4.egg/ore/viewlet/browser.py", > line 14 > class ViewletViewTraverser( ): > ^ > SyntaxError: invalid syntax > > > > > Kapil Thangavelu schrieb: >> i don't know that's anyway to figure out the issue outside of running >> zope in the foreground and playing around in the post mortem debugger. >> >> my random guess, would be some wierd interaction between p4a and pgp. >> >> -kapil >> >> On Thu, Nov 6, 2008 at 2:16 PM, rafael <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> >> Thabks for the answer Kapil. >> >> I see the Traversalerror is complaining about >> ATReferenceBrowserWidget.After advices in #getpaid, I reinstalled this >> product and got the same error. I understand the problem may not be >> with GETPAID. But if I uninstall it, everything works fine again... I >> am attaching my buildout.cfg, maybe someone can shed a light upon it. >> >> Thanks... >> >> >> [buildout] >> eggs-directory=/opt/Plone/buildout-cache/eggs >> download-cache=/opt/Plone/buildout-cache/downloads >> newest = false >> parts = >> plone >> zope2 >> productdistros >> zeoserver >> client1 >> client2 >> zopepy >> precompile >> chown >> unifiedinstaller >> apacheconfig >> squid-instance >> squid-build >> >> >> # Add additional egg download sources here. dist.plone.org >> <http://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 >> >> # Add additional eggs here >> # elementtree is required by Plone >> eggs = >> p4a.plonevideo>=1.1,<=1.1.9999 >> p4a.plonevideoembed>=1.1,<=1.1.9999 >> hachoir-core==1.0.1 >> hachoir-parser==1.0 >> hachoir-metadata==1.0.1 >> Products.PloneFlashUpload == 1.1beta2 >> Products.basesyndication >> Products.fatsyndication >> elementtree >> FeedParser >> Products.CacheSetup >> Products.SlideShowFolder >> p4a.plonecalendar >> collective.dancing >> dateutil >> simplejson >> zc.ssl >> >> # Reference any eggs you are developing here, one per line >> # e.g.: develop = src/my.package >> develop = >> >> [plone] >> recipe = plone.recipe.plone >=3.1.6, < 3.2dev >> >> [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://plone.org/products/ploneslideshow-0-7.0/releases/0.9.0/ploneslideshow-0-9-0-tar.gz >> >> >> http://www.zope.org/Members/ferri/CMFPublicator/1.2.2/CMFPublicator-1.2.2.tgz >> >> nested-packages = >> version-suffix-packages = >> >> >> [zeoserver] >> recipe = plone.recipe.zope2zeoserver >> zope2-location = ${zope2:location} >> zeo-address = 127.0.0.1:8100 <http://127.0.0.1:8100> >> effective-user = plone >> >> >> [client1] >> recipe = plone.recipe.zope2instance >> zope2-location = ${zope2:location} >> zeo-client = true >> zeo-address = ${zeoserver:zeo-address} >> # The line below sets only the initial password. It will not change an >> # existing password. >> user = admin:XXXX >> http-address = 8080 >> effective-user = plone >> #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 = >> ${plone:eggs} >> ${buildout:eggs} >> >> # If you want to register ZCML slugs for any packages, list them here. >> # e.g. zcml = my.package my.other.package >> zcml = >> p4a.z2utils >> p4a.subtyper >> p4a.common >> p4a.fileimage >> p4a.video >> p4a.videoembed >> p4a.plonevideo >> p4a.plonevideoembed >> p4a.plonecalendar-meta >> p4a.plonecalendar >> p4a.ploneevent >> collective.dancing >> products = >> ${buildout:directory}/products >> ${productdistros:location} >> ${plone:products} >> >> >> >> >> [client2] >> recipe = plone.recipe.zope2instance >> zope2-location = ${zope2:location} >> zeo-client = true >> zeo-address = ${zeoserver:zeo-address} >> user = admin:joguinho >> http-address = 8081 >> effective-user = plone >> debug-mode = on >> verbose-security = on >> eggs = ${client1:eggs} >> zcml = ${client1:zcml} >> products = ${client1:products} >> >> >> [zopepy] >> recipe = zc.recipe.egg >> eggs = ${client1:eggs} >> interpreter = zopepy >> extra-paths = ${zope2:location}/lib/python >> scripts = zopepy >> >> >> [precompile] >> recipe = plone.recipe.precompiler >> >> >> [chown] >> # This recipe is used to set permissions -- and ownership for root >> mode installs >> recipe = plone.recipe.command >> command = >> chmod 600 .installed.cfg >> touch ${buildout:directory}/var/log/zeoserver.log >> find ${buildout:directory} -type d -name var -exec chown -R $ >> {client1:effective-user} \{\} \; >> find ${buildout:directory} -type d -name LC_MESSAGES -exec chown - >> R ${client1:effective-user} \{\} \; >> find ${buildout:directory} -name runzope -exec chown $ >> {client1:effective-user} \{\} \; >> update-command = ${chown:command} >> >> >> [unifiedinstaller] >> recipe = plone.recipe.unifiedinstaller >> user = ${client1:user} >> primary-port = ${client1:http-address} >> sudo-command = sudo >> >> [apacheconfig] >> recipe = plone.recipe.apache:config >> mainconfig = /etc/apache2/apache2.conf >> bind = 80 >> backends = >> inverta.org:inverta.org:3128 <http://nverta.org:3128> >> zope2_vhm_map = >> inverta.org:/ >> >> [squid-build] >> recipe = plone.recipe.squid:build >> url = >> http://www.squid-cache.org/Versions/v2/2.6/squid-2.6.STABLE18.tar.gz >> >> [squid-instance] >> recipe = plone.recipe.squid:instance >> bind = 127.0.0.1:3128 <http://127.0.0.1:3128> >> backends = 127.0.0.1:8080 <http://127.0.0.1:8080> >> cache-size = 256 >> >> >> >> >> >> >> On 6 Nov., 16:28, "Kapil Thangavelu" <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> > its not clear that the error is related to getpaid.. the product/id >> > traversal error is having issues with atrefbrowser, but the key >> its looking >> > for is defined in the dictionary.. so its not clear what the >> issue is... >> > >> > -kapil >> > >> > On Thu, Nov 6, 2008 at 12:57 PM, rafael <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> > Than >> > > Anyone? I reinstalled everything.. Same error? Can this be a >> > > compatibility problem with other product? >> > > thanks >> > >> > > On 1 Nov., 01:17, rafael <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> > > > Hi, >> > >> > > > Hi, after installing getpaid in more there one way >> (http://plone.org/ >> > > > >> products/getpaid/documentation/how-to/how-do-i-set-up-buildout-for-an- >> > > > existing-plone-site and manualy) I get an error trying to >> access the >> > > > zmi quickinstaller. >> > >> > > > I updated my site from 3.1.5 to 3.1.6, but still hanging on >> same error >> > >> > > > Anyone has had this problem? >> > >> > > > thnx >> > >> > > > Site Error >> > >> > > > An error was encountered while publishing this resource. >> > >> > > > TraversalError >> > > > Sorry, a site error occurred. >> > >> > > > Traceback (innermost last): >> > >> > > > * Module ZPublisher.Publish, line 202, in >> publish_module_standard >> > > > * Module ZPublisher.Publish, line 150, in publish >> > > > * Module Zope2.App.startup, line 221, in >> zpublisher_exception_hook >> > > > * Module ZPublisher.Publish, line 119, in publish >> > > > * Module ZPublisher.mapply, line 88, in mapply >> > > > * Module ZPublisher.Publish, line 42, in call_object >> > > > * Module Shared.DC.Scripts.Bindings, line 313, in __call__ >> > > > * Module Shared.DC.Scripts.Bindings, line 350, in >> _bindAndExec >> > > > * Module Products.PageTemplates.PageTemplateFile, line >> 129, in >> > > > _exec >> > > > * Module Products.CacheSetup.patch_cmf, line 74, in >> PT_pt_render >> > > > * Module Products.CacheSetup.patch_utils, line 9, in >> call_pattern >> > > > * Module Products.PageTemplates.PageTemplate, line 89, in >> > > > pt_render >> > > > * Module zope.pagetemplate.pagetemplate, line 117, in >> pt_render >> > > > * Module zope.tal.talinterpreter, line 271, in __call__ >> > > > * Module zope.tal.talinterpreter, line 346, in interpret >> > > > * Module zope.tal.talinterpreter, line 534, in do_optTag_tal >> > > > * Module zope.tal.talinterpreter, line 516, in no_tag >> > > > * Module zope.tal.talinterpreter, line 346, in interpret >> > > > * Module zope.tal.talinterpreter, line 534, in do_optTag_tal >> > > > * Module zope.tal.talinterpreter, line 516, in no_tag >> > > > * Module zope.tal.talinterpreter, line 346, in interpret >> > > > * Module zope.tal.talinterpreter, line 824, in do_loop_tal >> > > > * Module zope.tal.talinterpreter, line 346, in interpret >> > > > * Module zope.tal.talinterpreter, line 379, in >> do_startEndTag >> > > > * Module zope.tal.talinterpreter, line 408, in do_startTag >> > > > * Module zope.tal.talinterpreter, line 485, in >> attrAction_tal >> > > > * Module Products.PageTemplates.Expressions, line 228, in >> > > > evaluateText >> > > > * Module zope.tales.tales, line 696, in evaluate >> > > > URL: manage_installProductsForm >> > > > Line 34, Column 12 >> > > > Expression: <PathExpr standard:'product/id'> >> > > > Names: >> > >> > > > {'container': <QuickInstallerTool at /jornal/ >> > > > portal_quickinstaller>, >> > > > 'context': <QuickInstallerTool at /jornal/ >> > > > portal_quickinstaller>, >> > > > 'default': <object object at 0xf7c47528>, >> > > > 'here': <QuickInstallerTool at >> /jornal/portal_quickinstaller>, >> > > > 'loop': {'product': >> > > > <Products.PageTemplates.Expressions.PathIterator object at >> > > > 0xd8d010c>}, >> > > > 'nothing': None, >> > > > 'options': {'args': ()}, >> > > > 'repeat': <Products.PageTemplates.Expressions.SafeMapping >> > > > object at 0xd9c0fcc>, >> > > > 'request': <HTTPRequest, URL=http://inverta.org/jornal/ >> > > > portal_quickinstaller/manage_installProductsForm>, >> > > > 'root': <Application at >, >> > > > 'template': <PageTemplateFile at >> /jornal/portal_quickinstaller/ >> > > > manage_installProductsForm>, >> > > > 'user': <PropertiedUser 'admin'>} >> > >> > > > * Module zope.tales.expressions, line 217, in __call__ >> > > > * Module Products.PageTemplates.Expressions, line 153, >> in _eval >> > > > * Module zope.tales.expressions, line 124, in _eval >> > > > * Module Products.PageTemplates.Expressions, line 83, in >> > > > boboAwareZopeTraverse >> > > > * Module zope.traversing.adapters, line 161, in >> > > > traversePathElement >> > > > __traceback_info__: ({'status': 'new', 'hasError': >> False, 'id': >> > > > 'ATReferenceBrowserWidget', 'title': >> 'ATReferenceBrowserWidget'}, >> > > > 'id') >> > >> > > > TraversalError: ('No traversable adapter found', {'status': >> 'new', >> > > > 'hasError': False, 'id': 'ATReferenceBrowserWidget', 'title': >> > > > 'ATReferenceBrowserWidget'}) (Also, the following error >> occurred while >> > > > attempting to render the standard error message, please see >> the event >> > > > log for full details: ('No traversable adapter found', >> {u'content': >> > > > [('version', '1.6'), ('mode', 'html'), ('setPosition', (108, >> 16)), >> > > > ('setSourceFile', 'main_template'), ('beginScope', >> {u'tal:define': >> > > > u'show_border context/@@plone/showEditableBorder', >> u'metal:define- >> > > > macro': u'content', u'tal:attributes': u"class >> > > > python:test(show_border,'documentEditable','')"}), >> ('setLocal', >> > > > (u'show_border', <PathExpr standard:u'context/@@plone/ >> > > > showEditableBorder'>)), ('startTag', (u'div', >> [(u'metal:define- >> > > > macro', u'content', 'metal'), (u'tal:define', u'show_border >> context/ >> > > > @@plone/showEditableBorder', 'tal'), (u'tal:attributes', >> u"class >> > > > python:test(show_border,'documentEditable','')", 'tal'), >> > > > (u'class', None, 'insert', <PythonExpr >> > > > test(show_border,'documentEditable','')>, False, None)])), >> > > > ('rawtextBeginScope', (u'\n\n ', 18, (112, 18), 0, >> {u'tal:replace': >> > > > u'structure provider:plone.contentviews'})), ('optTag', >> (u'div', '', >> > > > None, 1, [('startEndTag', (u'div', [(u'tal:replace', u'structure >> > > > provider:plone.contentviews', 'tal')]))], [('insertStructure', >> > > > (<StringExpr u'plone.contentviews'>, {}, []))])), >> ('endScope', >> > > > ()), ('rawtextColumn', (u'\n\n <div >> id="region-content" >> > > > class="documentContent">\n\n <span >> > > > id="contentTopLeft"></span>\n <span >> > > > id="contentTopRight"></span>\n \n <a >> > > > name="documentContent"></a>\n\n ', 20)), >> > > > ('setPosition', (122, 20)), ('useMacro', >> (u'here/global_statusmessage/ >> > > > macros/portal_message', <PathExpr standard:u'here/ >> > > > global_statusmessage/macros/portal_message'>, {}, >> [('startTag', >> > > > (u'div', [(u'metal:use-macro', >> u'here/global_statusmessage/macros/ >> > > > portal_message', 'metal')])), ('rawtextColumn', (u'\n Portal >> status >> > > > message\n </div>', 26))])), ('setPosition', (124, 20)), >> > > > ('setSourceFile', 'main_template'), ('rawtextBeginScope', >> (u'\n \n ', >> > > > 20, (126, 20), 0, {u'tal:content': u'structure >> > > > provider:plone.abovecontent', u'id': >> u'viewlet-above-content'})), >> > > > ('startTag', (u'div', [(u'id', u'id="viewlet-above- >> > > > content"'), (u'tal:content', u'structure >> > > > provider:plone.abovecontent', 'tal')])), ('insertStructure', >> > > > (<StringExpr u'plone.abovecontent'>, {}, [])), >> ('endScope', ()), >> > > > ('rawtextColumn', (u'</div>\n\n ', 20)), >> ('setPosition', (128, >> > > > 20)), ('defineSlot', (u'body', [('beginScope', >> {u'metal:define-slot': >> > > > u'body'}), ('optTag', (u'metal:slot', None, 'metal', 0, >> [('startTag', >> > > > (u'metal:slot', [(u'metal:define-slot', u'body', 'metal')]))], >> > > > [('rawtextBeginScope', (u'\n ', 20, (129, 20), 0, {u'replace': >> > > > u'nothing'})), ('optTag', (u'tal:comment', '', 'tal', 0, >> [('startTag', >> > > > (u'tal:comment', [(u'replace', u'nothing', 'tal')]))], >> [('insertText', >> > > > (<PathExpr standard:u'nothing'>, [('rawtextColumn', >> (u"\n >> > > > The div with ID #content will only show up if we're actually >> on a >> > > > content\n view, never on edit forms, control panels etc. >> It's meant to >> > > > only wrap the\n actual content that gets rendered on a page, >> not the >> > > > other UI elements.\n ", 20))]))])), >> ('rawtextBeginScope', (u'\n >> > > > ', 20, (134, 20), 1, {u'tal:omit-tag': u'not:context/ >> > > > @@plone_context_state/is_view_template', u'id': u'content'})), >> > > > ('optTag', (u'div', <NotExpr u'context/@@plone_context_state/ >> > > > is_view_template'>, None, 0, [('startTag', (u'div', [(u'id', >> > > > u'id="content"'), (u'tal:omit-tag', u'not:context/ >> > > > @@plone_context_state/is_view_template', 'tal')]))], >> > > > [('rawtextColumn', (u'\n ', 22)), ('setPosition', (136, 22)), >> > > > ('defineSlot', (u'header', [('beginScope', >> {u'metal:define-slot': >> > > > u'header', u'tal:content': u'nothing'}), ('optTag', >> (u'metal:header', >> > > > None, 'metal', 0, [('startTag', (u'metal:header', >> [(u'metal:define- >> > > > slot', u'header', 'metal'), (u'tal:content', u'nothing', >> 'tal')]))], >> > > > [('insertText', (<PathExpr standard:u'nothing'>, >> > > > [('rawtextColumn', (u'\n Visual Header\n ', 22))]))])), >> ('endScope', >> > > > ())])), ('setPosition', (138, 22)), ('setSourceFile', >> > > > 'main_template'), ('rawtextColumn', (u'\n ', 22)), >> ('setPosition', >> > > > (139, 22)), ('defineSlot', (u'main', [('beginScope', >> {u'metal:define- >> > > > slot': u'main', u'tal:content': u'nothing'}), ('optTag', >> > > > (u'metal:bodytext', None, 'metal', 0, [('startTag', >> > > > (u'metal:bodytext', [(u'metal:define-slot', u'main', 'metal'), >> > > > (u'tal:content', u'nothing', 'tal')]))], [('insertText', >> (<PathExpr >> > > > standard:u'nothing'>, [('rawtextColumn', (u'\n Page body >> text\n ', >> > > > 22))]))])), ('endScope', ())])), ('setPosition', (141, 22)), >> > > > ('setSourceFile', 'main_template'), ('rawtextColumn', (u'\n ', >> > > > 20))])), ('endScope', ()), ('rawtextColumn', (u'\n ', 20))])), >> > > > ('endScope', ())])), ('setPosition', (143, 20)), >> ('setSourceFile', >> > > > 'main_template'), ('rawtextColumn', (u'\n\n ', 20)), >> ('setPosition', >> > > > (145, 20)), ('defineSlot', (u'sub', [('beginScope', >> {u'metal:define- >> > > > slot': u'sub'}), ('optTag', (u'metal:sub', None, 'metal', 0, >> > > > [('startTag', (u'metal:sub', [(u'metal:define-slot', >> > >> > ... >> > >> > Erfahren Sie mehr ยป >> >> >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
