← Back to team overview

oship-dev team mailing list archive

Problem to install oship

 

Hello. I am trying to install OSHIP again and I am having some problems. I
am using Ubuntu 9.04 and python 2.6.2. When I run the python boostrap.py
program I received several errors, like these:

SyntaxError: ('invalid syntax',
('build/bdist.linux-i686/egg/zope/app/testing/ztapi.py', 65, 61, "def
provideAdapter(required, provided, factory, name='', with=()):\n"))

SyntaxError: ('invalid syntax',
('/home/wagner/oshipenv/oship/oship/eggs/tmpfxQSz7/zope.app.testing-3.4.3-py2.6.egg/zope/app/testing/ztapi.py',
65, 61, "def provideAdapter(required, provided, factory, name='',
with=()):\n"))


There are a lot of SyntaxError. Nevertheless I can execute bin/buildout. But
when I run "bin/oship-ctl fg" I always see a problem, something like that:

#... a stack of errors
    from zope.app.component.site import SiteManagerContainer
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/wagner/oshipenv/oship/oship/etc/site.zcml.in", line 4.2-4.29
    ZopeXMLConfigurationError: File
"/home/wagner/oshipenv/oship/oship/src/oship/configure.zcml", line 3.2-3.28
    SyntaxError: invalid syntax (site.py, line 241)


There is some problem with the python version I am using? Or Am I doing
something wrong?

Thank you!

Follow ups