ImportError: No module named souper.interfaces - in senaite.core v1.3
Opened this issue · 0 comments
Steps to reproduce
While adding egg senaite.sync
in buildout.cfg
, build is successful but it gives run-time error which can be captured in fg
mode.
Current behavior
senaite.sync
is not getting properly installed that's why it gives error:- ImportError: No module named souper.interfaces
Expected behavior
senaite.sync
is very powerful add-on to use with senaite.lims
to sync the data between two instances. So it should work perfectly with senaite.core v1.3 release as well.
Screenshot (optional)
Traceback (most recent call last): File "/usr/local/Plone/zeocluster/parts/client1/bin/interpreter", line 333, in <module> exec(compile(__file__f.read(), __file__, "exec")) File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 76, in <module> run() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 22, in run starter.prepare() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/__init__.py", line 92, in prepare self.startZope() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/__init__.py", line 268, in startZope Zope2.startup() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/__init__.py", line 47, in startup _startup() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/startup.py", line 120, in startup load_zcml() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml load_site() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site _context = xmlconfig.file(site_zcml) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file include(context, name, package) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include processxmlfile(f, context) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile parser.parse(src) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 110, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 213, in feed self._parser.Parse(data, isFinal) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS self.context.end() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end self.stack.pop().finish() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish actions = self.handler(context, **args) File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts xmlconfig.include(_context, zcml, package=product) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include processxmlfile(f, context) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile parser.parse(src) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 110, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 213, in feed self._parser.Parse(data, isFinal) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS self.context.end() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end self.stack.pop().finish() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish actions = self.handler(context, **args) File "/usr/local/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.5-py2.7.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective includeZCMLGroup(_context, info, filename) File "/usr/local/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.5-py2.7.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup include(_context, filename, includable_package) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include processxmlfile(f, context) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile parser.parse(src) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 110, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 213, in feed self._parser.Parse(data, isFinal) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS self.context.end() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end self.stack.pop().finish() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish actions = self.handler(context, **args) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include processxmlfile(f, context) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile parser.parse(src) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 110, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 213, in feed self._parser.Parse(data, isFinal) File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns self._cont_handler.endElementNS(pair, None) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS self.context.end() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end self.stack.pop().finish() File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish args = toargs(context, *self.argdata) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs args[str(name)] = field.fromUnicode(s) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 137, in fromUnicode value = self.context.resolve(name) File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 179, in resolve mod = __import__(mname, *_import_chickens) File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/browser/views.py", line 16, in <module> from senaite.sync.importstep import ImportStep File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/importstep.py", line 16, in <module> from senaite.sync.syncstep import SyncStep File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/syncstep.py", line 19, in <module> from senaite.sync import utils File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/utils.py", line 15, in <module> from senaite.sync.souphandler import REMOTE_UID, REMOTE_PATH, PORTAL_TYPE File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/souphandler.py", line 13, in <module> from souper.interfaces import IStorageLocator zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/usr/local/Plone/zeocluster/parts/client1/etc/site.zcml", line 16.2-16.23 ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.3.14-py2.7.egg/Products/CMFPlone/configure.zcml", line 98.4-102.10 ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/configure.zcml", line 10.2-10.32 ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/senaite.sync-1.0.1-py2.7.egg/senaite/sync/browser/configure.zcml", line 5.2-10.8 ImportError: No module named souper.interfaces