[Buildbot-devel] Issue installing HEAD buildbot-www
Carlo Kok
ck at remobjects.com
Fri Sep 26 20:47:28 UTC 2014
After python setup.py install on buildbot master, pkg and www/base
I get this error starting a master (only when running with --nodaemon,
else it fails silently with no output, or anything in twistd)
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/_sslverify.py:184:
UserWarning: You do not have the service_identity module installed.
Please install it from <https://pypi.python.org/pypi/service_identity>.
Without the service_identity module and a recent enough pyOpenSSL
tosupport it, Twisted can perform only rudimentary TLS client
hostnameverification. Many valid certificate/hostname mappings may be
rejected.
verifyHostname, VerificationError = _selectVerifyImplementation()
Unhandled Error
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/application/app.py",
line 642, in run
runApp(config)
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py",
line 23, in runApp
_SomeApplicationRunner(config).run()
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/application/app.py",
line 376, in run
self.application = self.createOrGetApplication()
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/application/app.py",
line 441, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/application/app.py",
line 452, in getApplication
application = service.loadApplication(filename, style, passphrase)
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/application/service.py",
line 405, in loadApplication
application = sob.loadValueFromFile(filename, 'application',
passphrase)
File
"/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/persisted/sob.py",
line 210, in loadValueFromFile
exec fileObj in d, d
File "buildbot.tac", line 28, in <module>
m = BuildMaster(basedir, configfile, umask)
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/master.py",
line 95, in __init__
self.create_child_services()
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/master.py",
line 165, in create_child_services
self.www = wwwservice.WWWService(self)
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/www/service.py",
line 42, in __init__
self.apps = get_plugins('www', None, load_now=True)
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/plugins/db.py",
line 313, in get_plugins
return _DB.add_namespace(namespace, interface, check_extras,
load_now)
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/plugins/db.py",
line 263, in add_namespace
tempo.load()
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/plugins/db.py",
line 203, in load
self._tree.load()
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/plugins/db.py",
line 70, in load
child.load()
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/plugins/db.py",
line 38, in load
self._value = self._loader(self._entry)
File
"/usr/local/lib/python2.7/dist-packages/buildbot-0.8.9-py2.7.egg/buildbot/plugins/db.py",
line 182, in _load_entry
(self._group, entry.name, str(err)))
buildbot.errors.PluginDBError: Unable to load buildbot.www:base: [Errno
0] Error: 'buildbot_www/VERSION'
Failed to load application: Unable to load buildbot.www:base: [Errno 0]
Error: 'buildbot_www/VERSION'
My OS is mint 17 (ubuntu derived)
in /usr/local/lib/python2.7/dist-packages
i have these buildbot_www related files:
./buildbot_www
./buildbot_www/VERSION
./buildbot_www/static
./buildbot_www/static/d3.min.js
./buildbot_www/static/styles.css
./buildbot_www/static/generatedfixtures.js
./buildbot_www/static/index.html
./buildbot_www/static/img
./buildbot_www/static/img/favicon.ico
./buildbot_www/static/img/nobody.png
./buildbot_www/static/fonts
./buildbot_www/static/fonts/fontawesome-webfont.eot
./buildbot_www/static/fonts/FontAwesome.otf
./buildbot_www/static/fonts/fontawesome-webfont.woff
./buildbot_www/static/fonts/fontawesome-webfont.svg
./buildbot_www/static/fonts/fontawesome-webfont.ttf
./buildbot_www/static/tests.js
./buildbot_www/static/scripts.js
./buildbot_www-0.8.9-py2.7.egg
With some debugging I found that it's looking in the egg file for
VERSION which fails because the egg file only has these files in them:
buildbot_www/__init__.pyc
buildbot_www/__init__.py
EGG-INFO/top_level.txt
EGG-INFO/entry_points.txt
EGG-INFO/zip-safe
EGG-INFO/PKG-INFO
EGG-INFO/dependency_links.txt
EGG-INFO/SOURCES.txt
I tried this pull request https://github.com/buildbot/buildbot/pull/1215
and rebuilding all setups with had no effect on the error. What can I do
now?
More information about the devel
mailing list