AttributeError: 'module' object has no attribute 'plugin'

Has anyone seen this error within a Travis CI build?

ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plonetheme.barceloneta-1.6.23-py2.7.egg/plonetheme/barceloneta/configure.zcml", line 11.2-11.41
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plone.app.theming-1.3.6-py2.7.egg/plone/app/theming/configure.zcml", line 19.4-19.44
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plone.app.registry-1.5-py2.7.egg/plone/app/registry/configure.zcml", line 12.4-12.34
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plone.app.registry-1.5-py2.7.egg/plone/app/registry/browser/configure.zcml", line 6.4-6.43
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plone.app.z3cform-1.2.3-py2.7.egg/plone/app/z3cform/configure.zcml", line 10.2-10.41
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plone.app.widgets-2.0.7-py2.7.egg/plone/app/widgets/configure.zcml", line 12.2-12.41
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/Products.CMFPlone-5.0.8-py2.7.egg/Products/CMFPlone/configure.zcml", line 15.2-15.46
    ZopeXMLConfigurationError: File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/plone.app.contenttypes-1.2.23-py2.7.egg/plone/app/contenttypes/configure.zcml", line 10.2-10.37
    AttributeError: 'module' object has no attribute 'plugin'

The full traceback is here:

https://travis-ci.org/xml-director/xmldirector.plonecore/jobs/295811237

The same buildout passes on 3 different machines locally but fails badly on Travis.

-aj

Doesn't ring a bell, unfortunately.
The traceback seems missing btw.

Opss....full TB is here:

https://travis-ci.org/xml-director/xmldirector.plonecore/jobs/295811237

Which boto version do you have locally and does it also pass with 2.48.0 locally for you?

That reminds me that we should get rid of using includeDependencies directive from z3c.autoinclude (not completely get rid of autoinclude, but just get rid of using that magical directive, which autoimports setup.py requirements in search for ZCMLs...).

  File "/home/travis/build/xml-director/xmldirector.plonecore/eggs/zope.dottedname-3.4.6-py2.7.egg/zope/dottedname/resolve.py", line 32, in resolve
    found = __import__(used)
  File "/home/travis/build/xml-director/xmldirector.plonecore/lib/python2.7/site-packages/boto/__init__.py", line 1216, in <module>
    boto.plugin.load_plugins(config)

Maybe also try installing boto with buildout insetead of installing it into virtualenv.