Skip to content

buildbot.errors.PluginDBError when importing custom www plugin #7306

Closed
@p12tic

Description

@p12tic

Got this error on buildbot.buildbot.net:

checking basedir
checking for running master
checking master.cfg
Errors loading configuration:
  error while parsing config file: 'buildbot_travis.ep' is not a package (traceback in logfile)
Unhandled error in Deferred:

Traceback (most recent call last):
  File "<string>", line 27, in <module>
    
  File "/home/bbuser/workdir/buildbot/master/buildbot/master.py", line 102, in __init__
    self._services_d = self.create_child_services()
  File "/home/bbuser/buildbot_venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 2256, in unwindGenerator
    return _cancellableInlineCallbacks(gen)
  File "/home/bbuser/buildbot_venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 2168, in _cancellableInlineCallbacks
    _inlineCallbacks(None, gen, status, _copy_context())
--- <exception caught here> ---
  File "/home/bbuser/buildbot_venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 2000, in _inlineCallbacks
    result = context.run(gen.send, result)
  File "/home/bbuser/workdir/buildbot/master/buildbot/master.py", line 188, in create_child_services
    self.www = wwwservice.WWWService()
  File "/home/bbuser/workdir/buildbot/master/buildbot/www/service.py", line 198, in __init__
    self.apps = get_plugins('www', None, load_now=True)
  File "/home/bbuser/workdir/buildbot/master/buildbot/plugins/db.py", line 366, in get_plugins
    return _DB.add_namespace(namespace, interface, load_now)
  File "/home/bbuser/workdir/buildbot/master/buildbot/plugins/db.py", line 316, in add_namespace
    tempo.load()
  File "/home/bbuser/workdir/buildbot/master/buildbot/plugins/db.py", line 253, in load
    self._tree.load()
  File "/home/bbuser/workdir/buildbot/master/buildbot/plugins/db.py", line 130, in load
    child.load()
  File "/home/bbuser/workdir/buildbot/master/buildbot/plugins/db.py", line 59, in load
    self._value = self._loader(self._entry)
  File "/home/bbuser/workdir/buildbot/master/buildbot/plugins/db.py", line 231, in _load_entry
    raise PluginDBError(f'Unable to load {self._group}:{entry.name}: {str(e)}') from e
buildbot.errors.PluginDBError: Unable to load buildbot.www:buildbot_travis: 'buildbot_travis.ep' is not a package

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions