[Setup] Install an add-on using buildout

becca gesshoku at gmail.com
Wed Sep 17 15:57:24 UTC 2008


Hi,

I'm trying to install the LinguaPlone and AdSense extensions using buildout. 
Following the Plone documentation, my understanding is that I simply need to
add these extension names to my buildout.cfg file in the eggs line of the
buildout and rerun buildout.  

So I added Products.LinguaPlone and collective.portlet.adsense to my
buildout.cfg file in eggs= line in the buildout section and reran
./bin/buildout.  I got the output below and as far as I can tell, nothing
got installed.  I don't see these 2 add-ons in the add-ons page.  Is there
something more that I need to do?



[root at localhost zinstance]# ./bin/buildout
Updating plone.
Updating zope2.
Updating productdistros.
Installing instance.
Getting distribution for 'Products.LinguaPlone'.
  File
"build/bdist.linux-i686/egg/Products/LinguaPlone/skins/LinguaPlone/translationbrowser_queryCatalog.py",
line 81
    return results
SyntaxError: 'return' outside function
  File
"build/bdist.linux-i686/egg/Products/LinguaPlone/skins/LinguaPlone/getUntranslatedLanguages.py",
line 14
    return languages
SyntaxError: 'return' outside function
  File
"build/bdist.linux-i686/egg/Products/LinguaPlone/skins/LinguaPlone/mimetypesToRenderInTranslationForm.py",
line 17
    return ('text/html',)
SyntaxError: 'return' outside function
  File
"build/bdist.linux-i686/egg/Products/LinguaPlone/skins/LinguaPlone/getTranslatedLanguages.py",
line 14
    return languages
SyntaxError: 'return' outside function
  File
"build/bdist.linux-i686/egg/Products/LinguaPlone/skins/LinguaPlone/getDeletableLanguages.py",
line 20
    return languages
SyntaxError: 'return' outside function
  File
"/opt/Plone-3.1/buildout-cache/eggs/tmprDDxTL/Products.LinguaPlone-2.2-py2.4.egg/Products/LinguaPlone/skins/LinguaPlone/translationbrowser_queryCatalog.py",
line 81
    return results
SyntaxError: 'return' outside function
  File
"/opt/Plone-3.1/buildout-cache/eggs/tmprDDxTL/Products.LinguaPlone-2.2-py2.4.egg/Products/LinguaPlone/skins/LinguaPlone/getUntranslatedLanguages.py",
line 14
    return languages
SyntaxError: 'return' outside function
  File
"/opt/Plone-3.1/buildout-cache/eggs/tmprDDxTL/Products.LinguaPlone-2.2-py2.4.egg/Products/LinguaPlone/skins/LinguaPlone/mimetypesToRenderInTranslationForm.py",
line 17
    return ('text/html',)
SyntaxError: 'return' outside function
  File
"/opt/Plone-3.1/buildout-cache/eggs/tmprDDxTL/Products.LinguaPlone-2.2-py2.4.egg/Products/LinguaPlone/skins/LinguaPlone/getTranslatedLanguages.py",
line 14
    return languages
SyntaxError: 'return' outside function
  File
"/opt/Plone-3.1/buildout-cache/eggs/tmprDDxTL/Products.LinguaPlone-2.2-py2.4.egg/Products/LinguaPlone/skins/LinguaPlone/getDeletableLanguages.py",
line 20
    return languages
SyntaxError: 'return' outside function
Got Products.LinguaPlone 2.2.
Getting distribution for 'collective.portlet.adsense'.
Got collective.portlet.adsense 0.5.
Generated script '/opt/Plone-3.1/zinstance/bin/instance'.
Installing zopepy.
Generated interpreter '/opt/Plone-3.1/zinstance/bin/zopepy'.
Updating chown.
chown: Running
chmod 600 .installed.cfg
find /opt/Plone-3.1/zinstance -type d -name var -exec chown -R plone \{\} \;
find /opt/Plone-3.1/zinstance -type d -name LC_MESSAGES -exec chown -R plone
\{\} \;
find /opt/Plone-3.1/zinstance -name runzope -exec chown plone \{\} \;
Updating unifiedinstaller.
Updating precompile.
  precompiling python scripts in /opt/Plone-3.1/zinstance/products
  precompiling python scripts in
/opt/Plone-3.1/zinstance/parts/productdistros
  precompiling python scripts in /opt/Plone-3.1/zinstance/parts/plone

-- 
View this message in context: http://n2.nabble.com/Install-an-add-on-using-buildout-tp1095691p1095691.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list