[Silva-general] Installation on Debian Squeeze
Marc Petitmermet
petitmermet at mat.ethz.ch
Wed May 19 09:16:25 CEST 2010
> Just added an informational page to inform your use case:
> http://infrae.com/download/silva_all/Silva/zope_python_versions
are you sure that this is correct: Silva 2.2: Zope 2.11.x, Python 2.6.x
http://www.zope.org/Products/Zope/2.11.4/Zope-2-11-4-released
"Supported Python versions: Zope 2.11 requires Python 2.4.5 (Python 2.4.4 is still acceptable). Older Python versions are no longer supported. Python 2.5 is not supported at this time."
anyway, i tried to install silva-2.2 using buildout with python-2.4.6 and python-2.6.5 on redhat 5.4.
python-2.4.6 and python-2.6.5 (just replace the -py2.6.egg extension with -py2.4.egg):
i get tons of "SyntaxError: 'return' outside function" from Silva, Products.Silva-2.2-py2.6.egg, SilvaForum, Products.SilvaForum-1.0-py2.6.egg, SilvaNews, Products.SilvaNews-2.8b1-py2.6.egg, SilvaDocument, Products.SilvaDocument-2.2-py2.6.egg, kupu, Products.SilvaKupu-1.4b3-py2.6.egg, SilvaExternalSources, SilvaDocument, Products.SilvaExternalSources-2.2-py2.6.egg
SyntaxError: ('invalid syntax',..) from test_patternchecker.py in Formulator
python-2.6.5:
when trying to start the zope/silva instance:
File "/data/wcms/zopesites/Silva-2.2/parts/zope2/lib/python/AccessControl/ImplC.py", line 30, in <module>
from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
ImportError: No module named ImplPython
python-2.4.6:
Getting required 'sourcecodegen==0.6.11'
We have no distributions for sourcecodegen that satisfies 'sourcecodegen==0.6.11'.
Getting distribution for 'sourcecodegen==0.6.11'.
We have the distribution that satisfies 'setuptools==0.6c11'.
Running easy_install:
/usr/local/python/python-2.4.6/bin/python "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/data/wcms/zopesites/Silva-2.2/eggs/tmpOeeBYX" "-q" "/tmp/tmpn2FpxVget_dist/sourcecodegen-0.6.11.tar.gz"
path=/data/wcms/zopesites/Silva-2.2/eggs/setuptools-0.6c11-py2.4.egg
File "build/bdist.linux-x86_64/egg/sourcecodegen/tests/py25plus.py", line 13
finally:
^
SyntaxError: invalid syntax
File "/data/wcms/zopesites/Silva-2.2/eggs/tmpOeeBYX/sourcecodegen-0.6.11-py2.4.egg/sourcecodegen/tests/py25plus.py", line 13
finally:
^
SyntaxError: invalid syntax
regardless of the errors i could get running silva-2.2 with python-2.4.6. none of the products are broken and i could activate all of the silva extensions without errors. nonetheless, these errors during installation are not really encouraging;-)
regards,
marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2429 bytes
Desc: not available
Url : http://lists.infrae.com/pipermail/silva-general/attachments/20100519/0b99ea44/attachment.bin
More information about the silva-general
mailing list