[Zope] Stepper1.5.0 failed to run

Marco Bizzarri marco.bizzarri at gmail.com
Thu Oct 16 12:20:57 EDT 2008


Yes.

You've a __init__.py inside your $INSTANCE_HOME/Products directory.

Try removing it, and I think it will work.

Regards
Marco



On Thu, Oct 16, 2008 at 6:13 PM, JeanMichel FRANCOIS
<jeanmichel.francois at makina-corpus.com> wrote:
> Hi
>
> I may have missed something, first time i m trying Stepper, i really want to
> use it, and i don't understand the trace.
>
> I have read the whole readme, just i have done a really simple step but it
> doesn't work.
>
> How i have tryied to start it
>
> $ export STEPPER_CONFIG=Products.AntiCancerMigrations.20081017
>
> $ ./bin/zopectl run Products/Stepper/run.py /anticancer/www.anticancer.fr
> mychain1
>
> Traceback (most recent call last):
>
> File "<string>", line 1, in ?
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/Zope2/Startup/run.py",
> line 31, in configure
>
> opts = _setconfig(configfile)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/Zope2/Startup/run.py",
> line 46, in _setconfig
>
> opts.realize(doc="Sorry, no option docs yet.", raise_getopt_errs=0)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/zdaemon/zdoptions.py",
> line 273, in realize
>
> self.load_schema()
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/zdaemon/zdoptions.py",
> line 321, in load_schema
>
> self.schema = ZConfig.loadSchema(self.schemafile)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/loader.py",
> line 31, in loadSchema
>
> return SchemaLoader().loadURL(url)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/loader.py",
> line 65, in loadURL
>
> return self.loadResource(r)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/loader.py",
> line 159, in loadResource
>
> schema = ZConfig.schema.parseResource(resource, self)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/schema.py",
> line 27, in parseResource
>
> xml.sax.parse(resource.file, parser)
>
> File
> "/home/toutpt/workspace/minitage/dependencies/python-2.4/parts/part/lib/python2.4/xml/sax/__init__.py",
> line 33, in parse
>
> parser.parse(source)
>
> File
> "/home/toutpt/workspace/minitage/dependencies/python-2.4/parts/part/lib/python2.4/xml/sax/expatreader.py",
> line 107, in parse
>
> xmlreader.IncrementalParser.parse(self, source)
>
> File
> "/home/toutpt/workspace/minitage/dependencies/python-2.4/parts/part/lib/python2.4/xml/sax/xmlreader.py",
> line 123, in parse
>
> self.feed(buffer)
>
> File
> "/home/toutpt/workspace/minitage/dependencies/python-2.4/parts/part/lib/python2.4/xml/sax/expatreader.py",
> line 207, in feed
>
> self._parser.Parse(data, isFinal)
>
> File
> "/home/toutpt/workspace/minitage/dependencies/python-2.4/parts/part/lib/python2.4/xml/sax/expatreader.py",
> line 300, in start_element
>
> self._cont_handler.startElement(name, AttributesImpl(attrs))
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/schema.py",
> line 99, in startElement
>
> getattr(self, "start_" + name)(attrs)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/schema.py",
> line 475, in start_schema
>
> keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/schema.py",
> line 201, in get_sect_typeinfo
>
> datatype = self.get_datatype(attrs, "datatype", "null", base)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/schema.py",
> line 194, in get_datatype
>
> return self._registry.get(dtname)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/datatypes.py",
> line 398, in get
>
> t = self.search(name)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/ZConfig/datatypes.py",
> line 423, in search
>
> package = __import__(n, g, g, component)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/Zope2/Startup/datatypes.py",
> line 21, in ?
>
> import OFS.Uninstalled
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/OFS/Uninstalled.py",
> line 20, in ?
>
> import SimpleItem, Globals, Acquisition
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/OFS/SimpleItem.py",
> line 26, in ?
>
> import AccessControl.Role, AccessControl.Owned, App.Common
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/AccessControl/Role.py",
> line 21, in ?
>
> import Globals, ExtensionClass, PermissionMapping, Products
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/AccessControl/PermissionMapping.py",
> line 29, in ?
>
> from Owned import UnownableOwner
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/AccessControl/Owned.py",
> line 276, in ?
>
> Globals.default__class_init__(Owned)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/App/class_init.py",
> line 69, in default__class_init__
>
> AccessControl.Permission.registerPermissions(self.__ac_permissions__)
>
> File
> "/home/toutpt/workspace/minitage/zope/plone25-guerir-dev/parts/zope2/lib/python/AccessControl/Permission.py",
> line 132, in registerPermissions
>
> Products.__ac_permissions__=(
>
> AttributeError: 'module' object has no attribute '__ac_permissions__'
>
> Have you any idea of what happens ?
>
> --
>
> JeanMichel FRANCOIS
>
> Makina Corpus
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
>



-- 
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/


More information about the Zope mailing list