Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on collective.z3cform.datetimewidget #852

Open
hvelarde opened this issue Mar 17, 2019 · 1 comment
Open

Remove dependency on collective.z3cform.datetimewidget #852

hvelarde opened this issue Mar 17, 2019 · 1 comment

Comments

@hvelarde
Copy link
Member

The following error is shown while trying to start an instance in Plone 5.2 with Python 3:

$ bin/instance fg
'import warnings' failed; traceback:
Traceback (most recent call last):
  File "/home/hvelarde/collective/buildout.python/python-3.7/lib/python3.7/warnings.py", line 520, in <module>
    _processoptions(sys.warnoptions)
  File "/home/hvelarde/collective/buildout.python/python-3.7/lib/python3.7/warnings.py", line 197, in _processoptions
    _setoption(arg)
  File "/home/hvelarde/collective/buildout.python/python-3.7/lib/python3.7/warnings.py", line 203, in _setoption
    import re
  File "/home/hvelarde/collective/buildout.python/python-3.7/lib/python3.7/re.py", line 122, in <module>
    import enum
ModuleNotFoundError: No module named 'enum'
/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/serve.py:278: DeprecationWarning: 'U' mode is deprecated
/home/hvelarde/.buildout/eggs/Products.PythonScripts-4.2-py3.7.egg/Products/PythonScripts/PythonScript.py:53: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp  # NOQA
/home/hvelarde/.buildout/eggs/plone.dexterity-2.8.0-py3.7.egg/plone/dexterity/events.py:3: DeprecationWarning: ObjectEvent is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import ObjectEvent
/home/hvelarde/.buildout/eggs/Products.CMFUid-3.0.1-py3.7.egg/Products/CMFUid/UniqueIdHandlerTool.py:24: DeprecationWarning: InitializeClass is deprecated. Please import from AccessControl.class_init.
  from App.class_init import InitializeClass
/home/hvelarde/.buildout/eggs/Products.CMFEditions-3.3.0-py3.7.egg/Products/CMFEditions/StandardModifiers.py:46: DeprecationWarning: ComponentLookupError is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import ComponentLookupError
2019-03-17 13:49:25,355 WARNI [Init:88][MainThread] Class Products.CMFFormController.ControllerPythonScript.ControllerPythonScript has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
2019-03-17 13:49:25,385 WARNI [Init:88][MainThread] Class Products.CMFFormController.ControllerValidator.ControllerValidator has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
/home/hvelarde/.buildout/eggs/Products.CMFPlacefulWorkflow-2.0.0-py3.7.egg/Products/CMFPlacefulWorkflow/permissions.py:5: DeprecationWarning: setDefaultRoles is deprecated. Please use addPermission from AccessControl.Permission.
  from Products.CMFCore.permissions import setDefaultRoles
/home/hvelarde/.buildout/eggs/Products.PluggableAuthService-2.0b2-py3.7.egg/Products/PluggableAuthService/utils.py:253: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  args, varargs, kwargs, defaults = inspect.getargspec(wrapped)
/home/hvelarde/.buildout/eggs/Products.PortalTransforms-3.1.5-py3.7.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<script [^>]>.*</scr' (truncated)
  r = re.compile(pat)
/home/hvelarde/.buildout/eggs/Products.PortalTransforms-3.1.5-py3.7.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<style [^>]>.*</styl' (truncated)
  r = re.compile(pat)
/home/hvelarde/.buildout/eggs/Products.PortalTransforms-3.1.5-py3.7.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<head [^>]>.*</head>' (truncated)
  r = re.compile(pat)
/home/hvelarde/.buildout/eggs/Products.PortalTransforms-3.1.5-py3.7.egg/Products/PortalTransforms/libtransforms/retransform.py:25: DeprecationWarning: Flags not at the start of the expression '<[^>]*>(?i)(?m)'
  r = re.compile(pat)
/home/hvelarde/.buildout/eggs/plone.subrequest-1.9.0-py3.7.egg/plone/subrequest/__init__.py:18: DeprecationWarning: zope.site.hooks has moved to zope.component.hooks. Import of zope.site.hooks will become unsupported in Version 5.0
  from zope.site.hooks import getSite
/home/hvelarde/.buildout/eggs/z3c.caching-2.1-py3.7.egg/z3c/caching/interfaces.py:2: DeprecationWarning: IObjectEvent is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import IObjectEvent
/home/hvelarde/.buildout/eggs/z3c.caching-2.1-py3.7.egg/z3c/caching/registry.py:16: DeprecationWarning: IComponents is deprecated. Import from zope.interface.interfaces
  from zope.component.interfaces import IComponents
/home/hvelarde/.buildout/eggs/plone.jsonserializer-0.9.7-py3.7.egg/plone/jsonserializer/serializer/converters.py:37: DeprecationWarning: getSiteEncoding: `getSiteEncoding` is deprecated. Plone only supports UTF-8 currently. This method always returns "utf-8"
  from Products.CMFPlone.utils import getSiteEncoding
/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py:240: DeprecationWarning: IComponentRegistry is deprecated. Import from zope.interface.interfaces
  obj = getattr(mod, oname)
/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py:240: DeprecationWarning: LazyMap is deprecated. Please import from ZTUtils.Lazy.
  obj = getattr(mod, oname)
/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py:240: DeprecationWarning: LazyCat is deprecated. Please import from ZTUtils.Lazy.
  obj = getattr(mod, oname)
/home/hvelarde/.buildout/eggs/plone.app.viewletmanager-3.0.0-py3.7.egg/plone/app/viewletmanager/manager.py:23: DeprecationWarning: Retry is deprecated. Please import from ZPublisher.
  from ZPublisher.Publish import Retry
/home/hvelarde/.buildout/eggs/pyScss-1.3.5-py3.7-linux-x86_64.egg/scss/namespace.py:172: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  argspec = inspect.getargspec(function)
/home/hvelarde/.buildout/eggs/pyScss-1.3.5-py3.7-linux-x86_64.egg/scss/selector.py:54: FutureWarning: Possible nested set at position 329
  ''', re.VERBOSE | re.MULTILINE)
/home/hvelarde/.buildout/eggs/plone.portlet.collection-3.3.1-py3.7.egg/plone/portlet/collection/collection.py:2: DeprecationWarning: isDefaultPage is deprecated. Import from Products.CMFPlone instead
  from plone.app.layout.navigation.defaultpage import isDefaultPage
/home/hvelarde/.buildout/eggs/Products.CMFPlone-5.2b1-py3.7.egg/Products/CMFPlone/browser/syndication/views.py:17: DeprecationWarning: wrap_form is deprecated. Import from plone.z3cform.layout instead.
  from plone.app.z3cform.layout import wrap_form
/home/hvelarde/.buildout/eggs/plone.restapi-3.5.1-py3.7.egg/plone/restapi/serializer/catalog.py:8: DeprecationWarning: Lazy is deprecated. Please import from ZTUtils.Lazy.
  from Products.ZCatalog.Lazy import Lazy
/home/hvelarde/.buildout/eggs/Products.ExtendedPathIndex-3.4.1-py3.7.egg/Products/ExtendedPathIndex/ExtendedPathIndex.py:5: DeprecationWarning: safe_callable is deprecated. Please import from Products.PluginIndexes.util.
  from Products.PluginIndexes.common import safe_callable
/home/hvelarde/.buildout/eggs/plone.behavior-1.3.0-py3.7.egg/plone/behavior/metaconfigure.py:172: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
  u'given has no effect and is superfluous.'.format(title))
2019-03-17 13:49:57,160 WARNI [plone.behavior:172][MainThread] Specifying 'for' in behavior 'Tiles' if no 'factory' is given has no effect and is superfluous.
/home/hvelarde/.buildout/eggs/plone.api-1.9.1-py3.7.egg/plone/api/validation.py:15: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  signature_args, _, _, _ = inspect.getargspec(func)
2019-03-17 13:49:58,355 WARNI [plone.behavior:172][MainThread] Specifying 'for' in behavior 'Page refresh' if no 'factory' is given has no effect and is superfluous.
Traceback (most recent call last):
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
    self.context.end()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 703, in end
    self.stack.pop().finish()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 867, in finish
    args = toargs(context, *self.argdata)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 1686, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/fields.py", line 171, in fromUnicode
    value = self.context.resolve(name)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 225, in resolve
    __import__(mname)
  File "/home/hvelarde/.buildout/eggs/collective.z3cform.datetimewidget-1.2.8-py3.7.egg/collective/z3cform/datetimewidget/__init__.py", line 23, in <module>
    from widget_date import DateWidget, DateFieldWidget
ModuleNotFoundError: No module named 'widget_date'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hvelarde/collective/cover/parts/instance/bin/interpreter", line 279, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/serve.py", line 219, in <module>
    sys.exit(main() or 0)
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/serve.py", line 216, in main
    return command.run()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/serve.py", line 183, in run
    global_conf=vars)
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/serve.py", line 207, in loadapp
    return loadapp(app_spec, name=name, relative_to=relative_to, **kw)
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 253, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 278, in loadobj
    return context.create()
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 715, in create
    return self.object_type.invoke(self)
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 209, in invoke
    app = context.app_context.create()
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 715, in create
    return self.object_type.invoke(self)
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/loadwsgi.py", line 152, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/home/hvelarde/.buildout/eggs/PasteDeploy-2.0.1-py3.7.egg/paste/deploy/util.py", line 55, in fix_call
    val = callable(*args, **kw)
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/run.py", line 67, in make_wsgi_app
    starter.prepare()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/starter.py", line 40, in prepare
    self.startZope()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/Startup/starter.py", line 96, in startZope
    Zope2.startup_wsgi()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/__init__.py", line 49, in startup_wsgi
    _startup()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/App/startup.py", line 142, in startup
    load_zcml()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/App/startup.py", line 57, in load_zcml
    load_site()
  File "/home/hvelarde/.buildout/eggs/Zope-4.0b8-py3.7.egg/Zope2/App/zcml.py", line 43, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 657, in file
    include(context, name, package)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 557, in include
    processxmlfile(f, context)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
    parser.parse(src)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "/tmp/tmpoeLdnBbuildout-python-3.7-build/Python-3.7.0a4/Modules/pyexpat.c", line 466, in EndElement
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 381, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
    self._handle_exception(ex, info)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
    self.context.end()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 703, in end
    self.stack.pop().finish()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 868, in finish
    actions = self.handler(context, **args)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 557, in include
    processxmlfile(f, context)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
    parser.parse(src)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "/tmp/tmpoeLdnBbuildout-python-3.7-build/Python-3.7.0a4/Modules/pyexpat.c", line 466, in EndElement
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 381, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
    self._handle_exception(ex, info)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
    self.context.end()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 703, in end
    self.stack.pop().finish()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 868, in finish
    actions = self.handler(context, **args)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 557, in include
    processxmlfile(f, context)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
    parser.parse(src)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "/tmp/tmpoeLdnBbuildout-python-3.7-build/Python-3.7.0a4/Modules/pyexpat.c", line 466, in EndElement
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 381, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
    self._handle_exception(ex, info)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
    self.context.end()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 703, in end
    self.stack.pop().finish()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 868, in finish
    actions = self.handler(context, **args)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 557, in include
    processxmlfile(f, context)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
    parser.parse(src)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "/tmp/tmpoeLdnBbuildout-python-3.7-build/Python-3.7.0a4/Modules/pyexpat.c", line 466, in EndElement
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 381, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
    self._handle_exception(ex, info)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
    self.context.end()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 703, in end
    self.stack.pop().finish()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 868, in finish
    actions = self.handler(context, **args)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 557, in include
    processxmlfile(f, context)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
    parser.parse(src)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "/tmp/tmpoeLdnBbuildout-python-3.7-build/Python-3.7.0a4/Modules/pyexpat.c", line 466, in EndElement
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python3.7/xml/sax/expatreader.py", line 381, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
    self._handle_exception(ex, info)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 235, in _handle_exception
    reraise(exc, None, sys.exc_info()[2])
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/_compat.py", line 30, in reraise
    raise value.with_traceback(tb)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
    self.context.end()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 703, in end
    self.stack.pop().finish()
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 867, in finish
    args = toargs(context, *self.argdata)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 1686, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/fields.py", line 171, in fromUnicode
    value = self.context.resolve(name)
  File "/home/hvelarde/.buildout/eggs/zope.configuration-4.3.0-py3.7.egg/zope/configuration/config.py", line 225, in resolve
    __import__(mname)
  File "/home/hvelarde/.buildout/eggs/collective.z3cform.datetimewidget-1.2.8-py3.7.egg/collective/z3cform/datetimewidget/__init__.py", line 23, in <module>
    from widget_date import DateWidget, DateFieldWidget
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/hvelarde/collective/cover/src/collective/cover/tiles/configuration_widgets/configure.zcml", line 56.4-61.10
    File "/home/hvelarde/collective/cover/parts/instance/etc/site.zcml", line 15.2-15.55
    File "/home/hvelarde/collective/cover/parts/instance/etc/package-includes/002-collective.cover-configure.zcml", line 1.0-1.60
    File "/home/hvelarde/collective/cover/src/collective/cover/configure.zcml", line 33.2-33.30
    File "/home/hvelarde/collective/cover/src/collective/cover/tiles/configure.zcml", line 12.2-12.46
    ModuleNotFoundError: No module named 'widget_date'
@hvelarde
Copy link
Member Author

hvelarde commented Mar 17, 2019

this is related with #747 and #851.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant